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 46753 - failure in testAreAttributesFine
Summary: failure in testAreAttributesFine
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-07-29 17:32 UTC by pzajac
Modified: 2008-12-22 19:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test log (1.65 KB, text/plain)
2004-07-29 17:33 UTC, pzajac
Details
test log (1.65 KB, text/plain)
2004-08-10 09:34 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-07-29 17:32:59 UTC
[200407281800]  	
Test Case:  	 testAreAttributesFine
Test Suite: 
org.netbeans.core.projects. ValidateLayerConsistencyTest
Module Name: 	core


testAreAttributesFine	fail	
Some attributes in files are unreadable[ File
MultiFileObject@1ee75a5[nbfs://nbhost/SystemFileSystem/Shortcuts/C-BACK_QUOTE.shadow]
attribute name originalFile]
Comment 1 pzajac 2004-07-29 17:33:17 UTC
Created attachment 16557 [details]
test log
Comment 2 Jaroslav Tulach 2004-07-30 08:52:49 UTC
Dafe, you've been mangling with ctrl-backquote, during last week.
Maybe this is related to your changes?
Comment 3 David Simonek 2004-07-30 10:19:15 UTC
Nice. I'm a bit annoyed. I have to complain. Why is it so hard thanks
to our processes to integrate useful changes into our product? This is
not the way we should go.
Anyway, yes this is result of my changes. However my code is OK, test
is wrong. Code I wrote *intentionally* defines invalid C-BACK_QUOTE
for non-unix platform, which is the only way I know how to define
shortcut that works only on some OSs.
So Petr, who should I talk to? Who is the author of the test and will
be able to fix it? Fix I suggest is simple: ignore C-BACK_QUOTE
shortcut in the test.
Comment 4 Jaroslav Tulach 2004-07-30 10:33:21 UTC
The problem is that in 99.9% of cases broken attributes are wrong. I
am the author of the test and afaik there is a list of files that
should not be checked. Just modify the test to make sure it ignores
your file on unix.
Comment 5 David Simonek 2004-07-30 10:44:16 UTC
OK, that sounds reasonable, I'll try to do it.
Comment 6 David Simonek 2004-07-30 13:05:30 UTC
fixed in main trunk:
/cvs/core/test/unit/src/org/netbeans/core/projects/ValidateLayerConsistencyTest.java,v
 <--  ValidateLayerConsistencyTest.java

new revision: 1.7; previous revision: 1.6

btw, this test is not possible to run from inside build system, it
gave me nonsense compile errors in other sources. ach jo.
Comment 7 pzajac 2004-08-10 09:34:00 UTC
[200408091800]
The test fails again.

Comment 8 pzajac 2004-08-10 09:34:45 UTC
Created attachment 16714 [details]
test log
Comment 9 Milos Kleint 2004-08-10 14:09:12 UTC
more ignoring of Shortcuts/BACK_QUOTE.shadow
Comment 10 pzajac 2004-08-17 15:18:21 UTC
v