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.
Module: core/windows -------------------- Suite: org.netbeans.core.windows.persistence.ModeParserTest Test Case: testLoadMode05 Last failed: 200502031900 Suite: org.netbeans.core.windows.persistence.TCGroupParserTest Test Case: testLoadTCGroup01 Last failed: 200502021900 Test Case: testSaveTCGroup01 Last failed: 200502021900 Suite: org.netbeans.core.windows.persistence.WindowManagerParserTest Test Case: testSaveWM01 Last failed: 200502031900 Test Case: testSaveWM02 Last failed: 200502031900
the had been actually already fixed before this issue was raised (i just didn't update the test reports) i couldn't get the TCGroupParserTest test to fail though. +++ ModeParserTest.java 4 Feb 2005 11:09:50 -0000 @@ -261,7 +261,7 @@ // assertEquals("Mode frame state",Frame.MAXIMIZED_BOTH,modeCfg.frameState); assertEquals("Active TC","output",modeCfg.selectedTopComponentID); - assertFalse("Permanent",modeCfg.permanent); + assertTrue("Permanent",modeCfg.permanent); System.out.println("ModeParserTest.testLoadMode05 FINISH"); } RCS file: /cvs/core/windows/src/org/netbeans/core/windows/persistence/ModeConfig.java,v retrieving revision 1.5 diff -u -r1.5 ModeConfig.java --- ModeConfig.java 16 Nov 2004 10:22:37 -0000 1.5 +++ ModeConfig.java 4 Feb 2005 13:15:07 -0000 @@ -80,7 +80,9 @@ if ((state != modeCfg.state) || (kind != modeCfg.kind)) { return false; } - if (side != modeCfg.side) { + if (null != side && !side.equals( modeCfg.side ) ) { + return false; + } else if( null == side && null != modeCfg.side ) { return false; } //Order of constraints array is defined
Standa, please look at this again, tests are failing each day in test4u infrastructure.
the problem is i can't reproduce it on my windows machine. and the error messages suggest that it is the test setup that is failing, not the test itself. i'll see what i can do.
fixed Checking in windows/test/cfg-unit.xml; /cvs/core/windows/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.11; previous revision: 1.10 done
Verified