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 43397

Summary: When invoke Run Test File, all other tests run as well
Product: java Reporter: vbrabant <vbrabant>
Component: UnsupportedAssignee: David Konecny <dkonecny>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description vbrabant 2004-05-17 21:58:51 UTC
NB200405161800, JDK 1.4.2

When I want to run one single test, that test is
runned, but after execution of single test, all
tests are runned.

Problem is that in the build-impl.xml, the target
test-single depends on post-test-run that depends
on do-test-run, that executes all test.
Just delete the dependance between post-test-run
and do-test-run, and everything will be ok.
Comment 1 Jesse Glick 2004-05-17 22:34:47 UTC
Should be simple to fix, thanks for catching.
Comment 2 David Konecny 2004-05-18 10:46:17 UTC
Thanx. Reopening project in IDE built with this change will regenerate
build-impl.xml and fix it.

Fixed in:
src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
new revision: 1.9; previous revision: 1.8