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 200696

Summary: EditablePropertiesTest.testPreservationOfFormatting
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal Keywords: TEST
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2011-08-05 10:28:33 UTC
EditablePropertiesTest.testPreservationOfFormatting  test fails on windows. See:

http://hudson4qe.czech.sun.com/view/Platform/job/platform-util/280/testReport/
Comment 1 Jaroslav Tulach 2011-08-05 10:35:17 UTC
junit.framework.ComparisonFailure: null expected:<k1=\[
A long line. \
    Broken into pieces.
k2=more
k3=whatever
k4=more
k5=Label\:]
> but was:<k1=\[
A long line. \
    Broken into pieces.
k2=more
k3=whatever
k4=more
k5=Label\:
]
>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.openide.util.EditablePropertiesTest.testPreservationOfFormatting(EditablePropertiesTest.java:323)
        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:597)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
        at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:396)
        at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:325)
        at java.lang.Thread.run(Thread.java:662)
Comment 2 Jesse Glick 2011-08-05 14:26:30 UTC
core-main #b1291dc21448
Comment 3 Quality Engineering 2011-08-06 13:59:59 UTC
Integrated into 'main-golden', will be available in build *201108060600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b1291dc21448
User: Jesse Glick <jglick@netbeans.org>
Log: #200696: EditablePropertiesTest.testPreservationOfFormatting