diff options
Diffstat (limited to 'java/sca/itest/corba')
-rw-r--r-- | java/sca/itest/corba/pom.xml | 2 | ||||
-rw-r--r-- | java/sca/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/java/sca/itest/corba/pom.xml b/java/sca/itest/corba/pom.xml index 9670e8059f..b7b7f26b22 100644 --- a/java/sca/itest/corba/pom.xml +++ b/java/sca/itest/corba/pom.xml @@ -112,7 +112,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.2</version> + <version>4.5</version> <scope>compile</scope> </dependency> diff --git a/java/sca/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java b/java/sca/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java index 3c12bf1b8c..b7309d68a0 100644 --- a/java/sca/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java +++ b/java/sca/itest/corba/src/test/java/org/apache/tuscany/sca/test/corba/ScenarioSixTestCase.java @@ -180,7 +180,7 @@ public class ScenarioSixTestCase { inner.setY(10f); arg.setIu(inner); TRichUnion result = ref.passRichUnion(arg); - assertEquals(arg.getIu().getY(), result.getIu().getY()); + assertEquals(arg.getIu().getY(), result.getIu().getY(), 0.0f); } catch (Exception e) { e.printStackTrace(); fail(); @@ -190,7 +190,7 @@ public class ScenarioSixTestCase { TRichUnion arg = new TRichUnion(); arg.setY(15f); TRichUnion result = ref.passRichUnion(arg); - assertEquals(arg.getY(), result.getY()); + assertEquals(arg.getY(), result.getY(), 0.0f); } catch (Exception e) { e.printStackTrace(); fail(); @@ -214,11 +214,11 @@ public class ScenarioSixTestCase { inner.y(20f); arg.iu(inner); RichUnion result = ref.passRichUnion(arg); - assertEquals(arg.iu().y(), result.iu().y()); + assertEquals(arg.iu().y(), result.iu().y(), 0.0f); arg = new RichUnion(); arg.y(15f); result = ref.passRichUnion(arg); - assertEquals(arg.y(), result.y()); + assertEquals(arg.y(), result.y(), 0.0f); } catch (Exception e) { e.printStackTrace(); fail(); |