1 23 24 30 31 package com.sun.enterprise.config.backup; 32 33 import com.sun.enterprise.config.backup.util.StringUtils; 34 import junit.framework.*; 35 36 40 public class BackupExceptionTest extends TestCase 41 { 42 43 public BackupExceptionTest(java.lang.String testName) 44 { 45 super(testName); 46 } 47 48 public static Test suite() 49 { 50 TestSuite suite = new TestSuite(BackupExceptionTest.class); 51 return suite; 52 } 53 54 public void test() 55 { 56 System.out.println("testFoo"); 57 BackupException be = new BackupException("backup-res.Sample", "foog"); 58 be.printStackTrace(); 59 } 60 61 public static void main(java.lang.String [] args) 62 { 63 junit.textui.TestRunner.run(suite()); 64 } 65 66 70 71 } 72 | Popular Tags |