From: <yan...@lu...> - 2002-07-17 10:57:08
|
Buildfile: build.xml init: [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build/classes [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build/test [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build/aspect [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build/logs [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build/lib [mkdir] Created dir: /u/yangjing/CDChamber/CDChamber/build/test-results src_gen: compile: [javac] Compiling 10 source files to /u/yangjing/CDChamber/CDChamber/build/classes compilewithajc: [ajc] Compiling 3 source and 1 arg files to /u/yangjing/CDChamber/CDChamber/build/aspect test.compile: [javac] Compiling 4 source files to /u/yangjing/CDChamber/CDChamber/build/test test.run: [junit] Testsuite: org.cdchamber.util.testtools.FileComparatorTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.24 sec [junit] [junit] Testcase: testWrongFile took 0.009 sec [junit] Testcase: testSameFile took 0.004 sec [junit] Testcase: testDiffFile took 0.003 sec [junit] java.lang.IllegalArgumentException: root is null [junit] at javax.swing.tree.DefaultTreeModel.<init>(DefaultTreeModel.java:83) [junit] at javax.swing.tree.DefaultTreeModel.<init>(DefaultTreeModel.java:67) [junit] at org.cdchamber.gui.FileTreeModel.<init>(FileTreeModel.java:19) [junit] at org.cdchamber.gui.CDCMainFrame.jbInit(CDCMainFrame.java:58) [junit] at org.cdchamber.gui.CDCMainFrame.<init>(CDCMainFrame.java:36) [junit] at org.cdchamber.gui.CDCMainFrameTest.setUp(Unknown Source) [junit] at junit.framework.TestCase.runBare(TestCase.java:138) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409) [junit] Testsuite: org.cdchamber.gui.CDCMainFrameTest [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 3.582 sec [junit] [junit] Testcase: testComponentPresent took 2.25 sec [junit] java.lang.IllegalArgumentException: root is null [junit] Testcase: testDataLoad took 0.045 sec [junit] at javax.swing.tree.DefaultTreeModel.<init>(DefaultTreeModel.java:83) [junit] Caused an ERROR [junit] java.lang.String [junit] at javax.swing.tree.DefaultTreeModel.<init>(DefaultTreeModel.java:67) [junit] at org.cdchamber.gui.FileTreeModel.<init>(FileTreeModel.java:19) [junit] java.lang.ClassCastException: java.lang.String [junit] at org.cdchamber.gui.CDCMainFrameTest.testDataLoad(Unknown Source) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at org.cdchamber.gui.CDCMainFrame.jbInit(CDCMainFrame.java:58) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at org.cdchamber.gui.CDCMainFrame.<init>(CDCMainFrame.java:36) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at org.cdchamber.gui.CDCMainFrameTest.setUp(Unknown Source) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestCase.runBare(TestCase.java:138) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409) [junit] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409) BUILD FAILED /u/yangjing/CDChamber/CDChamber/build.xml:92: Test org.cdchamber.gui.CDCMainFrameTest failed Total time: 20 seconds BUILD FAILED,jar file is not successfully generated Buildfile: build.xml clean: [delete] Deleting directory /u/yangjing/CDChamber/CDChamber/build BUILD SUCCESSFUL Total time: 3 seconds |