FileDocCategorySizeDatePackage
StatusTest.javaAPI DocGlassfish v2 API3367Fri May 04 22:23:16 BST 2007com.sun.enterprise.config.backup

StatusTest

public class StatusTest extends TestCase
author
Byron Nevins

Fields Summary
Constructors Summary
public StatusTest(String testName)

		super(testName);
	
Methods Summary
public static voidmain(java.lang.String[] args)

		junit.textui.TestRunner.run(suite());
	
public static junit.framework.Testsuite()

		TestSuite suite = new TestSuite(StatusTest.class);
		return suite;
	
public voidtestDelete()
Test of delete method, of class com.sun.enterprise.config.backup.Status.

	
public voidtestRead()
Test of read method, of class com.sun.enterprise.config.backup.Status.

		System.out.println("*************** testRead - terse\n");

		File f = new File("C:/tmp/domains/domain1/backups/no-status.zip");
		Status s = new Status();
		System.out.println(s.read(f, true));
		System.out.println("\n*************** testRead - verbose\n");
		System.out.println(s.read(f, false));
	
public voidtestWrite()
Test of write method, of class com.sun.enterprise.config.backup.Status.

		System.out.println("testWrite");