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 161144

Summary: apisupport.project tests don't pass
Product: apisupport Reporter: Jaroslav Tulach <jtulach>
Component: ProjectAssignee: rmichalsky <rmichalsky>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: Other   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Simple fix to make the SuiteProjectTest pass

Description Jaroslav Tulach 2009-03-25 14:43:02 UTC
Is anyone actually running them somewhere? Please take a look at http://ruhudson4qe.russia if you seek for an easy way 
to run the tests daily.

    [junit] Testcase: 
testSuiteEvaluatorReturnsUpToDateValues(org.netbeans.modules.apisupport.project.suite.SuiteProjectTest):  Caused an 
ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at 
org.netbeans.modules.apisupport.project.suite.SuiteProjectTest.testSuiteEvaluatorReturnsUpToDateValues(SuiteProjectTest.java:103)
    [junit]     at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:88)
    [junit]     at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:336)
    [junit]     at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:273)
    [junit]     at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:355)
    [junit]     at org.netbeans.junit.NbTestCase.run(NbTestCase.java:213)
Comment 1 Jesse Glick 2009-03-25 14:50:09 UTC
They ought to be fixed up and included in the core-main script.
Comment 2 Jaroslav Tulach 2009-03-25 14:50:59 UTC
Created attachment 78826 [details]
Simple fix to make the SuiteProjectTest pass
Comment 3 rmichalsky 2009-03-25 15:00:31 UTC
apisupport.project tests hasn't been taken care of for a long time and are not in state to be run regularly. I work on
them now and then, but it would still take substantial amount of time to fix them all, no point to file P2 issue on it. 

Otherwise thanks for the fix for SuiteProjectTest, I guess there will be more of them affected by recent changes in test
infrastructure, I fixed some others yesterday as part of issue #159622.

*** This issue has been marked as a duplicate of 61014 ***