Author: mareshkau
Date: 2008-01-10 08:31:52 -0500 (Thu, 10 Jan 2008)
New Revision: 5582
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1562, junit code adjustment
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-01-10
13:15:28 UTC (rev 5581)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-01-10
13:31:52 UTC (rev 5582)
@@ -43,9 +43,9 @@
//add here projects which should be imported for junit tests
List<ImportBean> projectToImport = new ArrayList<ImportBean>();
ImportBean importBean = new ImportBean();
- importBean.setImportProjectName("jsfTest");
+ importBean.setImportProjectName(JsfComponentTest.IMPORT_PROJECT_NAME);
importBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
-
+ projectToImport.add(importBean);
return new VpeTestSetup(suite,projectToImport);
}
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10
13:15:28 UTC (rev 5581)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10
13:31:52 UTC (rev 5582)
@@ -82,8 +82,8 @@
nsIDOMElement elementInput2 = (nsIDOMElement)
elements.get(2).queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
assertEquals(elementInput0.getAttribute("value"),"");
- assertNotNull(elementInput1.getAttribute("value"),"");
- assertNotNull(elementInput2.getAttribute("value"),"test");
+ assertEquals(elementInput1.getAttribute("value"),"");
+ assertEquals(elementInput2.getAttribute("value"),"test");
if(getException()!=null) {
throw getException();
}