[TAV-742] JTidyWorkerTest fails due to character set assumptions Created: 2008-04-02 Updated: 2008-04-02 Resolved: 2008-04-02
|Affects Version/s:||1.5, 1.5.1, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 1.5.2, 126.96.36.199, 1.6, 1.6.1, 1.6.2, 188.8.131.52, 1.7|
|Reporter:||Stian Soiland-Reyes||Assignee:||Stian Soiland-Reyes|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
As reported by Chathura Herath to taverna-hackers on 2008-03-26:
The bug probably only appears on systems with a character encoding default that is different from latin1.
Additionally, the test (of a component that is no longer included in the Taverna workbench) assumes network access and that http://www.nature.com/ is available.
Suggest action is to either ignore or remove the failing test.
If the test is to be fixed it should use a html file bundled in src/test/resources - and specify the encoding to InputStreamReader specifically. This bug is related to TAV-273 because it uses the constructor new InputStreamReader(InputStream) - and usage of such should also be checked for over all of the source code.
|Comment by Stian Soiland-Reyes [ 2008-04-02 ]|
added @Ignore for the test and added comments about wrong character set assumptions