This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 108265 - Test failures in freeform.ui.ViewTest
Summary: Test failures in freeform.ui.ViewTest
Status: RESOLVED DUPLICATE of bug 103491
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-06-27 11:43 UTC by Milan Kubec
Modified: 2007-08-06 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2007-06-27 11:43:07 UTC
There are failures in org.netbeans.modules.ant.freeform.ui.ViewTest:

testViewItemBasic:
junit.framework.AssertionFailedError: two child nodes expected:<2> but was:<0>
	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 junit.framework.Assert.assertEquals(Assert.java:198)
	at org.netbeans.modules.ant.freeform.ui.ViewTest.testViewItemBasic(ViewTest.java:79)

testViewItemChanges:
junit.framework.AssertionFailedError: two child nodes expected:<2> but was:<0>
	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 junit.framework.Assert.assertEquals(Assert.java:198)
	at org.netbeans.modules.ant.freeform.ui.ViewTest.testViewItemChanges(ViewTest.java:92)

testFindPath:
junit.framework.AssertionFailedError: found node for xdocs/foo.xml
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertNotNull(Assert.java:217)
	at org.netbeans.modules.ant.freeform.ui.ViewTest.doTestFindPathPositive(ViewTest.java:145)
	at org.netbeans.modules.ant.freeform.ui.ViewTest.testFindPath(ViewTest.java:131)

testIncludesExcludes:
junit.framework.ComparisonFailure: expected:<prj[{s{ignored{file} relevant{excluded{file} included{file}}}}]> but
was:<prj[]>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at junit.framework.Assert.assertEquals(Assert.java:87)
	at org.netbeans.modules.ant.freeform.ui.ViewTest.doTestIncludesExcludes(ViewTest.java:179)
	at org.netbeans.modules.ant.freeform.ui.ViewTest.testIncludesExcludes(ViewTest.java:216)
Comment 1 Milan Kubec 2007-08-06 14:18:22 UTC

*** This issue has been marked as a duplicate of 103491 ***