fork download
  1. import junit.framework.Test;
  2. import junit.framework.TestCase;
  3. import junit.framework.TestSuite;
  4.  
  5. /**
  6.  * This file aggregates all of the unit tests for this component.
  7.  *
  8.  * @author TCSDEVELOPER
  9.  */
  10. public class UnitTests extends TestCase
  11. {
  12.  
  13. /**
  14. * Creates a test suite containing all unit tests
  15. * for this component.
  16. *
  17. * @return A test suite containing all unit tests.
  18. */
  19. public static Test suite()
  20. {
  21. TestSuite suite = new TestSuite();
  22.  
  23. // Add tests here.
  24. // suite.addTestSuite(TestClass.class);
  25.  
  26. return suite;
  27. }
  28.  
  29. }
  30.  
  31. /**
  32.  * This class tests TutorialLayout for proper behavior. It covers
  33.  * saving, loading, rearranging, ....
  34.  *
  35.  * @author TCSDEVELOPER
  36.  */
  37. public class TutorialLayoutTest extends TestCase
  38. {
  39. }
  40.  
  41. int a = 5
  42.  
  43. /**
  44.  * Tests saving a blank TutorialLayout object.
  45.  */
  46. public void testSaveAsBlank()
  47. {
  48.  
  49. assertTrue("cool", a == 5);
  50. }
  51.  
  52.  
  53.  
  54.  
  55.  
  56. TestSuite suite = new TestSuite();
  57. // Add tests here.
  58. // suite.addTestSuite(TestClass.class);
  59. return suite;
Success #stdin #stdout 0.03s 25572KB
stdin
Standard input is empty
stdout
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * This file aggregates all of the unit tests for this component.
 *
 * @author TCSDEVELOPER
 */
public class UnitTests extends TestCase 
{

	/**
	 * Creates a test suite containing all unit tests
	 * for this component.
	 *
	 * @return A test suite containing all unit tests.
	 */
	public static Test suite() 
	{
		TestSuite suite = new TestSuite();
		
		// Add tests here.
		// suite.addTestSuite(TestClass.class);
		
		return suite;
	}

}

/**
 * This class tests TutorialLayout for proper behavior.  It covers
 * saving, loading, rearranging, ....
 *
 * @author TCSDEVELOPER
 */
public class TutorialLayoutTest extends TestCase
{
}

int a = 5

/**
 * Tests saving a blank TutorialLayout object.
 */
public void testSaveAsBlank()
{

   assertTrue("cool", a == 5);
}





TestSuite suite = new TestSuite();
// Add tests here.
// suite.addTestSuite(TestClass.class);
return suite;