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

ListManagerTest

public class ListManagerTest extends TestCase
author
bnevins

Fields Summary
Constructors Summary
public ListManagerTest(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(ListManagerTest.class);
		return suite;
	
public voidtestListManager()
Test of foo method, of class com.sun.enterprise.config.backup.ListManager.

		System.out.println("testListManager");
		
		try
		{
			BackupRequest req = new BackupRequest("C:/tmp/domains", "domain1");
			ListManager listMgr = new ListManager(req);
			System.out.println(listMgr.list());
		}
		catch(BackupException be)
		{
			fail("Got an unexpected BackupException: " + be);
		}
		catch(Exception e)
		{
			fail("Got an unexpected BackupException: " + e);
		}