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