diff --git a/src/it/java/com/eprosima/integration/Test.java b/src/it/java/com/eprosima/integration/Test.java index 630410c1..8156b5ee 100644 --- a/src/it/java/com/eprosima/integration/Test.java +++ b/src/it/java/com/eprosima/integration/Test.java @@ -46,11 +46,10 @@ public boolean generate( String generatorName, String inputPath, String exampleArch, - String cdr_version, boolean testFlag) { String program = "java -jar " + generatorName + ".jar"; - String flags = " -cdr " + cdr_version + " -replace -example" + " " + exampleArch + (testFlag ? " -test" : ""); + String flags = " -replace -example" + " " + exampleArch + (testFlag ? " -test" : ""); String output = " -d " + outputPath; String idlPath = " " + inputPath + "/" + idl + ".idl"; @@ -63,11 +62,10 @@ public boolean generate( public boolean generate( String generatorName, String inputPath, - String cdr_version, boolean testFlag) { String program = "java -jar " + generatorName + ".jar"; - String flags = " -cdr " + cdr_version + " -replace -example" + (testFlag ? " -test" : ""); + String flags = " -replace -example" + (testFlag ? " -test" : ""); String output = " -d " + outputPath; String idlPath = " " + inputPath + "/" + idl + ".idl"; diff --git a/src/it/java/com/eprosima/integration/TestManager.java b/src/it/java/com/eprosima/integration/TestManager.java index cf98ce7c..e51c0c19 100644 --- a/src/it/java/com/eprosima/integration/TestManager.java +++ b/src/it/java/com/eprosima/integration/TestManager.java @@ -39,14 +39,12 @@ public int getValue() private String exampleArch; private List cMakeArgs; private boolean errorOutputOnly; - private String cdr_version_; public TestManager( TestLevel level, String generatorName, String inputPath, String outputPath, - String cdr_version, List list_tests, List blacklist_tests) { @@ -59,7 +57,6 @@ public TestManager( this.exampleArch = null; this.cMakeArgs = new ArrayList(); this.errorOutputOnly = true; - this.cdr_version_ = cdr_version; } public TestManager( @@ -68,7 +65,6 @@ public TestManager( String inputPath, String outputPath, String exampleArch, - String cdr_version, List list_tests, List blacklist_tests) { @@ -81,7 +77,6 @@ public TestManager( this.exampleArch = exampleArch; this.cMakeArgs = new ArrayList(); this.errorOutputOnly = true; - this.cdr_version_ = cdr_version; } public void processIDLsDirectory( @@ -164,9 +159,9 @@ public boolean generate(Test test) if (exampleArch == null) { - return printlnStatus(test.generate(generatorName, inputPath, cdr_version_, level == TestLevel.RUN)); + return printlnStatus(test.generate(generatorName, inputPath, level == TestLevel.RUN)); } else { - return printlnStatus(test.generate(generatorName, inputPath, exampleArch, cdr_version_, level == TestLevel.RUN)); + return printlnStatus(test.generate(generatorName, inputPath, exampleArch, level == TestLevel.RUN)); } }