Test Suite org.netbeans.core.projects.ValidateLayerConsistencyTest

go back to testbag

Summary:

Total testsExpected PassesUnexpected PassesExpected FailsUnexpected FailsErrorsSuccess RateRun(when)Time(ms)
75002071.43%2007-11-01 08:42:30.60733757


Individual Tests:

NameStatusMessageWorkdirTime(ms)
testAreAttributesFinepassYes4379
testValidShadowspassYes5532
testContentCanBeReadpassYes354
testInstantiateAllInstancespassYes15070
testIfOneFileIsDefinedTwiceByDifferentModulesTheyNeedToHaveMutualDependencyfailSome modules override their files and do not depend on each other Loaders/text/x-wsdl+xml/Actions/org-openide-actions-PropertiesAction.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core] org.netbeans.modules.xml.wsdlui: different attributes = '{position=2300} org.netbeans.modules.websvc.core: different attributes = '{position=2100} Loaders/text/x-wsdl+xml/Actions/org-openide-actions-FileSystemAction.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core] org.netbeans.modules.xml.wsdlui: different attributes = '{position=2000} org.netbeans.modules.websvc.core: different attributes = '{position=300} Loaders/text/x-wsdl+xml/Actions/org-openide-actions-ToolsAction.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core] org.netbeans.modules.xml.wsdlui: different attributes = '{position=2200} org.netbeans.modules.websvc.core: different attributes = '{position=2000} Yes2476
testNoWarningsFromLayerParsingpassYes1382
testFolderOrderingfailNo warnings relating to folder ordering expected:<[]> but was:<[Found same position 2100 for both Loaders/text/x-wsdl+xml/Actions/org-openide-actions-PropertiesAction.instance and Loaders/text/x-wsdl+xml/Actions/sep-6.instance]>Yes4478


Details for failed test/tests with errors:


testIfOneFileIsDefinedTwiceByDifferentModulesTheyNeedToHaveMutualDependency:
      junit.framework.AssertionFailedError: Some modules override their files and do not depend on each other
Loaders/text/x-wsdl+xml/Actions/org-openide-actions-PropertiesAction.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core]
 org.netbeans.modules.xml.wsdlui: different attributes = '{position=2300}
 org.netbeans.modules.websvc.core: different attributes = '{position=2100}
Loaders/text/x-wsdl+xml/Actions/org-openide-actions-FileSystemAction.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core]
 org.netbeans.modules.xml.wsdlui: different attributes = '{position=2000}
 org.netbeans.modules.websvc.core: different attributes = '{position=300}
Loaders/text/x-wsdl+xml/Actions/org-openide-actions-ToolsAction.instance is provided by: [org.netbeans.modules.xml.wsdlui, org.netbeans.modules.websvc.core]
 org.netbeans.modules.xml.wsdlui: different attributes = '{position=2200}
 org.netbeans.modules.websvc.core: different attributes = '{position=2000}

	at junit.framework.Assert.fail(Assert.java:47)
	at org.netbeans.core.projects.ValidateLayerConsistencyTest.testIfOneFileIsDefinedTwiceByDifferentModulesTheyNeedToHaveMutualDependency(ValidateLayerConsistencyTest.java:442)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:82)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:313)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:251)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

   

testFolderOrdering:
      junit.framework.AssertionFailedError: No warnings relating to folder ordering expected:<[]> but was:<[Found same position 2100 for both Loaders/text/x-wsdl+xml/Actions/org-openide-actions-PropertiesAction.instance and Loaders/text/x-wsdl+xml/Actions/sep-6.instance]>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at org.netbeans.core.projects.ValidateLayerConsistencyTest.testFolderOrdering(ValidateLayerConsistencyTest.java:536)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:82)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:313)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:251)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)