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 2009/07/22 17:10:20 UTC
DO NOT REPLY [Bug 47558] New: Assertion status silently ignored by
if unforked
https://issues.apache.org/bugzilla/show_bug.cgi?id=47558
Summary: Assertion status silently ignored by <junit> if
unforked
Product: Ant
Version: 1.6.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Optional Tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: jglick@netbeans.org
Compare the <junit><assertions> code added to 1.6 to
https://issues.apache.org/bugzilla/attachment.cgi?id=7141 from bug #21387; it
does not support assertions in unforked mode, and looks like it does not even
warn you if you try. Options:
1. Make JUnitTask.executeInVM warn:
if (getCommandline().getAssertions() != null) {
log("assertions are ignored if running in the same VM.",
Project.MSG_WARN);
}
2. Add a method to BaseAssertion to configure a ClassLoader with
set*AssertionStatus, and use this in JUnitTask.executeInVM (possibly also in
ExecuteJava.execute).
--
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 47558] Assertion status silently ignored by
if unforked
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47558
Jesse Glick <jg...@netbeans.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |21387
--
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 47558] Assertion status silently ignored by
if unforked
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47558
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-07-30 07:04:29 PST ---
patch attached to bug #21387
who'd be more qualified than Jesse to apply it? 8-)
--
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 47558] Assertion status silently ignored by
if unforked
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47558
Jesse Glick <jg...@netbeans.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|PatchAvailable |
--- Comment #2 from Jesse Glick <jg...@netbeans.org> 2009-07-30 07:17:28 PST ---
That patch is not suitable for trunk code, I'm afraid.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.