Skip to content
Snippets Groups Projects
Commit 27bcfa68 authored by david_williams's avatar david_williams
Browse files

update test reference

parent d8fd8df7
No related branches found
No related tags found
No related merge requests found
...@@ -456,9 +456,9 @@ public class BuildTests extends TestCase { ...@@ -456,9 +456,9 @@ public class BuildTests extends TestCase {
* @throws Exception * @throws Exception
*/ */
public void testVersionCompare() throws Exception { public void testVersionCompare() throws Exception {
VersionLister versionLister = new VersionLister(); VersionLister versionLister = new VersionLister();
String[] args = new String[]{"countQualifierIncreaseOnlyAsError", "-testToReference", "WTP-3.0.3-20081113203138", "http://download.eclipse.org/webtools/downloads/drops/R3.0/R-3.0.3-20081113203138/versioningReference_3.0.3.xml", "-listToReferenceFile"}; String[] args = new String[]{"countQualifierIncreaseOnlyAsError", "-testToReference", "M-3.0.4-20090124030800", "http://download.eclipse.org/webtools/downloads/drops/R3.0/M-3.0.4-20090124030800/versioningReference_M-3.0.4-20090124030800.xml", "-listToReferenceFile"};
Object result = versionLister.run(args); Object result = versionLister.run(args);
boolean testok = (IApplication.EXIT_OK.equals(result)); boolean testok = (IApplication.EXIT_OK.equals(result));
assertTrue("There is an error in versioning. See full listing for details.", testok); assertTrue("There is an error in versioning. See full listing for details.", testok);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment