KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jruby > test > FailingTest


1 package org.jruby.test;
2
3 import junit.framework.TestCase;
4
5
6
7 public class FailingTest extends TestCase {
8     private final String JavaDoc message;
9
10     public FailingTest(String JavaDoc name, String JavaDoc message) {
11         super(name);
12         this.message = message;
13     }
14
15     public void runTest() throws Throwable JavaDoc {
16         fail(message);
17     }
18 }
Popular Tags