You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/01/09 17:40:15 UTC
DO NOT REPLY [Bug 52442] New: JUNIT methods attribute won't work
https://issues.apache.org/bugzilla/show_bug.cgi?id=52442
Bug #: 52442
Summary: JUNIT methods attribute won't work
Product: Ant
Version: 1.8.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: milo.nimrod@gmail.com
Classification: Unclassified
Created attachment 28128
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28128
a file containing all the files with the examples
When trying to use the new methods attribute in the test, the running build
file is ignoring it and running all the methods in the test file.
see attached example for the results:
run_test:
[junit] Testsuite: TestEx0
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.023 sec
[junit]
all:
BUILD SUCCESSFUL
Total time: 1 second
although there is only one test in :
<test name="TestEx0" methods="testTask1Case2"/>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52442] JUNIT methods attribute won't work
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52442
Jesse Glick <jg...@netbeans.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jglick@netbeans.org
Resolution| |WORKSFORME
--- Comment #1 from Jesse Glick <jg...@netbeans.org> 2012-01-11 18:19:50 UTC ---
ant52442$ java -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Server VM (build 22.0-b10, mixed mode)
ant52442$ ant -version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
ant52442$ ant -f assignment3-test.xml
Buildfile: /tmp/ant52442/assignment3-test.xml
run_test:
[junit] Testsuite: TestEx0
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
[junit]
all:
BUILD SUCCESSFUL
Total time: 0 seconds
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 52442] JUNIT methods attribute won't work
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52442
milo nimrod <mi...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |milo.nimrod@gmail.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.