/[debian]/libjxp-java/trunk/debian/patches/fix-test.patch
ViewVC logotype

Contents of /libjxp-java/trunk/debian/patches/fix-test.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1614 - (show annotations)
Sun Mar 1 19:15:04 2009 UTC (12 years ago) by tmancill
File size: 406 byte(s)
update patch of unit-test for abs() function
1 Author: gregor herrmann <gregoa@debian.org>
2 Description: disable a test that fails
3
4 --- a/src/test/org/onemind/jxp/testJdk15.jxp
5 +++ b/src/test/org/onemind/jxp/testJdk15.jxp
6 @@ -6,7 +6,7 @@
7 var values[] = { "a", "b", "c" };
8
9 //test function from math
10 -assert(abs(-1.3f)==1.3);
11 +assert(abs(-1.3f).compareTo(Double.valueOf(1.3d)) == 0);
12
13 //test methods from test class
14 //staticPrivateMethod();

  ViewVC Help
Powered by ViewVC 1.1.26