[Batchserver-cvs] batchserver/test/org/jmonks/batchserver/framework/config ConfigurationExceptionTes
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-03-13 14:31:18
|
Update of /cvsroot/batchserver/batchserver/test/org/jmonks/batchserver/framework/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18893/config Modified Files: ConfigurationExceptionTest.java FrameworkConfigTest.java Log Message: no message Index: FrameworkConfigTest.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/test/org/jmonks/batchserver/framework/config/FrameworkConfigTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FrameworkConfigTest.java 9 Mar 2006 04:42:55 -0000 1.2 --- FrameworkConfigTest.java 13 Mar 2006 14:31:14 -0000 1.3 *************** *** 36,39 **** --- 36,41 ---- { TestSuite suite = new TestSuite(FrameworkConfigTest.class); + //TestSuite suite=new TestSuite(); + //suite.addTest(new FrameworkConfigTest("testGetInstance")); return suite; } *************** *** 99,102 **** --- 101,105 ---- assertNotNull(loggingConfig); assertNotNull(loggingConfig.getLoggingDirecotry()); + assertTrue(!loggingConfig.getLoggingDirecotry().equals("")); assertNotNull(loggingConfig.getFrameworkLogLevel()); assertNotNull(loggingConfig.getBasePackageName()); Index: ConfigurationExceptionTest.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/test/org/jmonks/batchserver/framework/config/ConfigurationExceptionTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ConfigurationExceptionTest.java 7 Mar 2006 03:42:25 -0000 1.1 --- ConfigurationExceptionTest.java 13 Mar 2006 14:31:14 -0000 1.2 *************** *** 42,48 **** public void testGetErrorCode() { ! ConfigurationException exception=new ConfigurationException(ErrorCode.FRAMEWORK_CONFIG_FILE_NOT_FOUND); ! ErrorCode code=exception.getErrorCode(); ! assertNotNull(code); } --- 42,48 ---- public void testGetErrorCode() { ! ConfigurationException exception=new ConfigurationException(ConfigurationException.FRAMEWORK_CONFIG, "Some Message"); ! String cmpName=exception.getExceptionComponent(); ! assertNotNull(cmpName); } |