Author: rob.stryker(a)jboss.com
Date: 2009-04-08 06:11:18 -0400 (Wed, 08 Apr 2009)
New Revision: 14595
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/model/StringSubstitutionTest.java
Log:
Failing Unit Test
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java
===================================================================
---
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java 2009-04-08
08:29:24 UTC (rev 14594)
+++
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java 2009-04-08
10:11:18 UTC (rev 14595)
@@ -76,7 +76,7 @@
currentProject = projectName;
try {
- return
VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(expression);
+ return
VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(expression,
reportUndefinedVariables);
} finally {
currentProject = null;
}
Modified:
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/model/StringSubstitutionTest.java
===================================================================
---
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/model/StringSubstitutionTest.java 2009-04-08
08:29:24 UTC (rev 14594)
+++
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/model/StringSubstitutionTest.java 2009-04-08
10:11:18 UTC (rev 14595)
@@ -49,7 +49,7 @@
String out2 = vfs.performStringSubstitution(TWO, null, false);
assertEquals(TWO, out2);
} catch( CoreException ce ) {
- fail();
+ fail(ce.getMessage());
}
}
@@ -61,7 +61,7 @@
assertEquals("/here", out);
ResourcesPlugin.getWorkspace().getPathVariableManager().setValue("test_variable",
null);
} catch( CoreException ce ) {
- fail();
+ fail(ce.getMessage());
}
}
}
Show replies by date