Author: dgolovin
Date: 2007-09-25 14:57:19 -0400 (Tue, 25 Sep 2007)
New Revision: 3793
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java
Log:
fix JUnit test errors
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java 2007-09-25
16:06:51 UTC (rev 3792)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view/SeamComponentsViewTest.java 2007-09-25
18:57:19 UTC (rev 3793)
@@ -369,7 +369,7 @@
public void testCreatedProjectIsShownOnTree() {
TestProjectProvider provider=null;
try {
- provider = new TestProjectProvider("org.jboss.tools.seam.ui.test", null,
"TestComponentView", true);
+ provider = new TestProjectProvider("org.jboss.tools.seam.ui.test", null,
"TestComponentView1", true);
} catch (Exception e1) {
JUnitUtils.fail("Cannot create Project Provider", e1);
}
@@ -387,7 +387,7 @@
public void testThatDeletedProjectIsDisappearedFromTree() {
try {
- ResourcesPlugin.getWorkspace().getRoot().findMember("TestComponentView").delete(true,
new NullProgressMonitor());
+ ResourcesPlugin.getWorkspace().getRoot().findMember("TestComponentView1").delete(true,
new NullProgressMonitor());
} catch (CoreException e) {
JUnitUtils.fail(e.getMessage(),e);
}
Show replies by date