ASF Bugzilla – Attachment 3924 Details for
Bug 3158
"java" task has got problems with loading classes on Java1.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Java test that fails when not forked
myTest.java (text/plain), 802 bytes, created by
Steve Schlaifer
on 2002-11-22 19:10:54 UTC
(
hide
)
Description:
Java test that fails when not forked
Filename:
MIME Type:
Creator:
Steve Schlaifer
Created:
2002-11-22 19:10:54 UTC
Size:
802 bytes
patch
obsolete
>import junit.framework.Test; >import junit.framework.TestCase; >import junit.framework.TestSuite; >import junit.framework.TestResult; > >public class myTest extends TestCase { > > public myTest(String name) { > super(name); > } > > public static Test suite() throws ClassNotFoundException { > return new TestSuite(Class.forName("myTest")); > } > > public void test0() { } > public void test1() { } > public void test2() { } > public void test3() { } > public void test4() { } > public void test5() { } > > public static void main(String[] argv) throws Exception { > Test suite = suite(); > junit.textui.TestRunner runner = new junit.textui.TestRunner(); > TestResult result = new TestResult(); > suite.run(result); > runner.print(result); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3158
:
434
|
629
|
2751
| 3924 |
3925