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 98777 - Uncompilable tests
Summary: Uncompilable tests
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Localhistory (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: TEST
Depends on:
Blocks: 83174
  Show dependency tree
 
Reported: 2007-03-23 12:06 UTC by pzajac
Modified: 2007-05-02 14:35 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 pzajac 2007-03-23 12:06:25 UTC
Please fix uncomilable tests:

 [subant] Failure for target 'build-all-tests' of:
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/versioncontrol/localhistory/build.xml

log is available at:
http://hrebejk-ws.czech.sun.com:8080/hudson/job/NetBeansTestDistBuild/lastSuccessfulBuild/artifact/cvs/testdistbuild.log


    [mkdir] Created dir:
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/versioncontrol/localhistory/build/test/unit/classes
    [javac] Compiling 1 source file to
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/versioncontrol/localhistory/build/test/unit/classes
    [javac]
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/versioncontrol/localhistory/test/unit/src/org/netbeans/modules/localhistory/store/LocalHistoryStoreTest.java:388:
cannot find symbol
    [javac] symbol  : method copyOfRange(byte[],int,int)
    [javac] location: class java.util.Arrays
    [javac]             return new String(java.util.Arrays.copyOfRange(buffer,
0, len));
    [javac]                                               ^
    [javac] 1 error
   [subant] Failure for target 'build-all-tests' of:
/home/www/.hudson/jobs/NetBeansTestDistBuild/workspace/cvs/versioncontrol/localhistory/build.xml
Comment 1 Tomas Stupka 2007-03-23 15:29:51 UTC
fixed

Checking in LocalHistoryStoreTest.java;
/cvs/versioncontrol/localhistory/test/unit/src/org/netbeans/modules/localhistory/store/LocalHistoryStoreTest.java,v
 <--  LocalHistoryStoreTest.java
new revision: 1.4; previous revision: 1.3
done
Comment 2 pzajac 2007-05-02 14:35:58 UTC
v