From: Steve L. <st...@us...> - 2004-09-07 11:35:14
|
Update of /cvsroot/smartfrog/core/components/cddlm/test/org/smartfrog/services/cddlm/test/system/console In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4225/components/cddlm/test/org/smartfrog/services/cddlm/test/system/console Modified Files: DeployingTestBase.java DeploySmartFrogTest.java ServerStatusTest.java Log Message: lots more tests passing; working on undeploy Index: DeployingTestBase.java =================================================================== RCS file: /cvsroot/smartfrog/core/components/cddlm/test/org/smartfrog/services/cddlm/test/system/console/DeployingTestBase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DeployingTestBase.java 7 Sep 2004 09:50:21 -0000 1.1 --- DeployingTestBase.java 7 Sep 2004 11:34:56 -0000 1.2 *************** *** 123,128 **** assertNotNull("app status of "+uri,status); LifecycleStateEnum state = status.getState(); ! state.getValue(); ! assertEquals(stateName, state); ! } } --- 123,128 ---- assertNotNull("app status of "+uri,status); LifecycleStateEnum state = status.getState(); ! String currentState = state.getValue(); ! assertEquals(stateName, currentState); ! } } Index: DeploySmartFrogTest.java =================================================================== RCS file: /cvsroot/smartfrog/core/components/cddlm/test/org/smartfrog/services/cddlm/test/system/console/DeploySmartFrogTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** DeploySmartFrogTest.java 7 Sep 2004 09:50:21 -0000 1.1 --- DeploySmartFrogTest.java 7 Sep 2004 11:34:56 -0000 1.2 *************** *** 44,48 **** String stateName = FaultCodes.STATE_RUNNING; assertInState(uri, stateName); ! operation.undeploy(uri, "end test"); } --- 44,49 ---- String stateName = FaultCodes.STATE_RUNNING; assertInState(uri, stateName); ! assertTrue("undeloy returned false", ! operation.undeploy(uri, "end test")); } Index: ServerStatusTest.java =================================================================== RCS file: /cvsroot/smartfrog/core/components/cddlm/test/org/smartfrog/services/cddlm/test/system/console/ServerStatusTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ServerStatusTest.java 7 Sep 2004 09:50:21 -0000 1.5 --- ServerStatusTest.java 7 Sep 2004 11:34:56 -0000 1.6 *************** *** 89,93 **** String languageURI = FaultCodes.XPATH_NAMESPACE; boolean found = operation.supportsLanguage(languageURI); ! assertTrue("supported :" + languageURI, found); } --- 89,93 ---- String languageURI = FaultCodes.XPATH_NAMESPACE; boolean found = operation.supportsLanguage(languageURI); ! assertFalse("supported :" + languageURI, found); } |