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

RestoreManagerTest

public class RestoreManagerTest extends TestCase
author
bnevins

Fields Summary
Constructors Summary
public RestoreManagerTest(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(RestoreManagerTest.class);
		return suite;
	
public voidtestRestore()

		try
		{
			System.out.println("testRestore");
			BackupRequest req = new BackupRequest("C:/tmp/domains", "domain1");
			RestoreManager mgr = new RestoreManager(req);
			mgr.restore();
		}
		catch(BackupException be)
		{
			fail("Got an Exception: " + be);
		}