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.
[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]
Created attachment 16557 [details] test log
Dafe, you've been mangling with ctrl-backquote, during last week. Maybe this is related to your changes?
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.
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.
OK, that sounds reasonable, I'll try to do it.
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.
[200408091800] The test fails again.
Created attachment 16714 [details] test log
more ignoring of Shortcuts/BACK_QUOTE.shadow
v