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 83550

Summary: Commit validation is failing due uncompilable code in core/windows/WindowSystemCompatibilityTest test
Product: platform Reporter: Marian Mirilovic <mmirilovic>
Component: Window SystemAssignee: David Simonek <dsimonek>
Status: CLOSED FIXED    
Severity: blocker Keywords: TEST
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://www.netbeans.org/download/dev/buildlogs/continuous/20060828-0452/xtest_results/index.html
Issue Type: DEFECT Exception Reporter:

Description Marian Mirilovic 2006-08-28 07:50:48 UTC
http://www.netbeans.org/download/dev/buildlogs/continuous/20060828-0452/xtest_results/index.html

do-test-build:
    [mkdir] Created dir:
/tmp/netbeans/dev/trunkcb/nb_all/core/windows/build/test/unit/classes
    [mkdir] Created dir: /tmp/netbeans/dev/trunkcb/nb_all/nbbuild/build/testdist
    [javac] Compiling 18 source files to
/tmp/netbeans/dev/trunkcb/nb_all/core/windows/build/test/unit/classes
    [xtest]
/tmp/netbeans/dev/trunkcb/nb_all/core/windows/test/unit/src/org/netbeans/core/windows/WMCompatTest.java:21:
cannot find symbol
    [xtest] symbol  : class WindowSystemCompatibilityTest
    [xtest] location: package org.openide.windows
    [xtest] import org.openide.windows.WindowSystemCompatibilityTest;
    [xtest]                            ^
    [xtest]
/tmp/netbeans/dev/trunkcb/nb_all/core/windows/test/unit/src/org/netbeans/core/windows/WMCompatTest.java:33:
cannot find symbol
    [xtest] symbol  : variable WindowSystemCompatibilityTest
    [xtest] location: class org.netbeans.core.windows.WMCompatTest
    [xtest]         WindowSystemCompatibilityTest.init();
    [xtest]         ^
    [xtest]
/tmp/netbeans/dev/trunkcb/nb_all/core/windows/test/unit/src/org/netbeans/core/windows/WMCompatTest.java:36:
cannot find symbol
    [xtest] symbol  : variable WindowSystemCompatibilityTest
    [xtest] location: class org.netbeans.core.windows.WMCompatTest
    [xtest]         suite.addTest(WindowSystemCompatibilityTest.suite(new
WindowManagerImpl()));
    [xtest]                       ^
Comment 1 pzajac 2006-08-28 09:32:51 UTC
Masterconfig.xml doesn't know test dependencies :(. I added compilation of tests
before commitValidation run. 

Checking in build.properties;
/cvs/nbbuild/build.properties,v  <--  build.properties
new revision: 1.399; previous revision: 1.398
done
Checking in build.xml;
/cvs/nbbuild/build.xml,v  <--  build.xml
new revision: 1.755; previous revision: 1.754
done
Comment 2 Marian Mirilovic 2006-08-29 12:45:46 UTC
verified