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 48771 - Commit Validation fails on windows
Summary: Commit Validation fails on windows
Status: RESOLVED DUPLICATE of bug 47584
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-09-09 13:55 UTC by Jaroslav Tulach
Modified: 2004-09-10 09:26 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 Jaroslav Tulach 2004-09-09 13:55:47 UTC
I do not know why, but I have not managed to 
succeed with commit validation on my windows 
computer. The tests in ant module always fail:

testVersionability:
      junit.framework.AssertionFailedError: One 
line modified expected:<1> but was:<106>
	at junit.framework.Assert.fail
(Assert.java:47)
	at junit.framework.Assert.failNotEquals
(Assert.java:282)
	at junit.framework.Assert.assertEquals
(Assert.java:64)
	at junit.framework.Assert.assertEquals
(Assert.java:201)
	at 
org.netbeans.spi.project.support.ant.EditablePrope
rtiesTest.testVersionability
(EditablePropertiesTest.java:131)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)



testComment:
      junit.framework.AssertionFailedError: No 
lines modified expected:<0> but was:<107>
	at junit.framework.Assert.fail
(Assert.java:47)
	at junit.framework.Assert.failNotEquals
(Assert.java:282)
	at junit.framework.Assert.assertEquals
(Assert.java:64)
	at junit.framework.Assert.assertEquals
(Assert.java:201)
	at 
org.netbeans.spi.project.support.ant.EditablePrope
rtiesTest.testComment
(EditablePropertiesTest.java:255)
Comment 1 Jaroslav Tulach 2004-09-09 13:56:40 UTC
The attachement with full test failure is result.tar.gz at:
http://www.netbeans.org/issues/showattachment.cgi?attach_id=17515
Comment 2 David Konecny 2004-09-09 16:18:44 UTC
I believe your working scenario is the same as described in issue
47584 - you share one source checkout from both Unix and Windows.

*** This issue has been marked as a duplicate of 47584 ***
Comment 3 Jaroslav Tulach 2004-09-09 16:44:49 UTC
Well, I do not share checkout between windows and unix. I am just
using command line cvs.
Comment 4 David Konecny 2004-09-10 09:26:31 UTC
"Well, I do not share checkout between windows and unix. I am just
using command line cvs." - what is your line separator in file
ant\project\test\unit\src\org\netbeans\spi\project\support\ant\data\test.properties?
I guess it is not CRLF? Btw. see issue 47584 where I described what
the test does and why it is failing.