User: vharcq
Date: 02/02/21 14:04:41
Added: core/samples/junit/src/xdoclet/test ExampleTest.java
Log:
JUnit build scripts and structure
Revision Changes Path
1.1 xdoclet/core/samples/junit/src/xdoclet/test/ExampleTest.java
Index: ExampleTest.java
===================================================================
package xdoclet.test;
import junit.framework.TestCase;
import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;
/**
* Test case Example
*
* @author: $Author: vharcq $
* @version: $Revision: 1.1 $
*/
public class ExampleTest extends TestCase {
public ExampleTest(String name) {
super(name);
}
public static void main(String[] args){
TestRunner.run(suite());
}
public static Test suite(){
return new TestSuite(ExampleTest.class);
}
/**
* Test Example
*/
public void testOne() {
String a = "xdoclet";
assertNotNull("The Value should not be null",a);
}
}
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel