test: added test descriptions and resources for manually testing different project setup methods
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package com.mycompany.app;
|
||||
|
||||
class Bar implements FooBar
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.mycompany.app;
|
||||
|
||||
class Foo implements FooBar
|
||||
{
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.mycompany.app;
|
||||
|
||||
public interface FooBar
|
||||
{
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.mycompany.app;
|
||||
|
||||
public class Main
|
||||
{
|
||||
public Foo m_foo;
|
||||
public Bar m_bar;
|
||||
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
||||
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package com.mycompany.app;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
/**
|
||||
* Unit test for simple App.
|
||||
*/
|
||||
public class AppTest
|
||||
extends TestCase
|
||||
{
|
||||
/**
|
||||
* Create the test case
|
||||
*
|
||||
* @param testName name of the test case
|
||||
*/
|
||||
public AppTest( String testName )
|
||||
{
|
||||
super( testName );
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the suite of tests being tested
|
||||
*/
|
||||
public static Test suite()
|
||||
{
|
||||
return new TestSuite( AppTest.class );
|
||||
}
|
||||
|
||||
/**
|
||||
* Rigourous Test :-)
|
||||
*/
|
||||
public void testApp()
|
||||
{
|
||||
assertTrue( true );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user