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 81390 - Cannot run test from command line without testing in NB first
Summary: Cannot run test from command line without testing in NB first
Status: VERIFIED INVALID
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Test Driver (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-29 00:50 UTC by bugbridge
Modified: 2006-09-20 19:39 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 bugbridge 2006-07-29 00:50:38 UTC
Original status: 1-Dispatched; Suggested Status: NEW

Original Target Release: coke_dev; Suggested Target Milestone : 5.5

Description:
Running a test from command line (i.e. <ALASKA>/jbicomps/nbbuild) fails unless 
the test has been deployed and run from NB5.5 first.  The error at the command 
line is:
    [junit] ------------- ---------------- ---------------
    [junit] Null Test:  Caused an ERROR
    [junit] null
    [junit] java.lang.reflect.InvocationTargetException
    [junit] Caused by: java.io.FileNotFoundException: test\selected-
tests.properties (The system cannot find the file specified)
    [junit]     at java.io.FileInputStream.open(Native Method)
    [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [junit]     at 
org.netbeans.modules.compapp.catd.ConfiguredTest.loadProperties
(ConfiguredTest.java:1298)
    [junit]     at org.netbeans.modules.compapp.catd.ConfiguredTest.suite
(ConfiguredTest.java:129)
    [junit]     ... 7 more


    [junit] Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED

test-report:

-post-test-run:
 [for-each] ***************************************
 [for-each] Test Project Failed [ jbi-unit-test ] 
C:\alaska\jbicomps\nbbuild\..\test\xsltse\requestReply\RequestReplyXsltJbi
 [for-each] C:\alaska\jbicomps\nbbuild\build.xml:102: The following error 
occurred while executing this line:
 [for-each] 
C:\alaska\jbicomps\test\xsltse\requestReply\RequestReplyXsltJbi\nbproject\build-
impl.xml:317: Some tests failed; see details above.
 [for-each] ***************************************

Workaround:
Deploy the composite application containing test cases manually and run tests 
inside NB5.5 prior to running tests at command-line.
Comment 1 Jun Qian 2006-08-31 23:20:15 UTC
This is not for the Denali release. Lowering priority.
Comment 2 Sanjay.k Sharma 2006-09-07 02:39:45 UTC
Moved to bugster/Alaska/integration test
Comment 3 pchen 2006-09-20 19:39:03 UTC
verified that this test has been moved to bugster as CR6468047 with a priority P4