1 26 27 package net.sourceforge.groboutils.pmti.v1; 28 29 import net.sourceforge.groboutils.util.throwable.v1.*; 30 import junit.framework.Test; 31 import junit.framework.TestCase; 32 import junit.framework.TestSuite; 33 import net.sourceforge.groboutils.autodoc.v1.AutoDoc; 34 import net.sourceforge.groboutils.junit.v1.iftc.*; 35 import junit.framework.AssertionFailedError; 36 37 38 45 public class IssueRemovedExceptionUTest extends TestCase 46 { 47 50 private static final Class THIS_CLASS = IssueRemovedExceptionUTest.class; 51 private static final AutoDoc DOC = new AutoDoc( THIS_CLASS ); 52 53 public IssueRemovedExceptionUTest( String name ) 54 { 55 super( name ); 56 } 57 58 59 62 63 67 protected void setUp() throws Exception 68 { 69 super.setUp(); 70 71 } 73 74 75 78 79 80 public void testAllTestsCoveredByInterfaceTests() 81 { 82 } 83 84 85 86 89 90 93 94 private static class IREFactory 95 implements IChainableExceptionUTestI.IChainableExceptionFactory 96 { 97 public IChainableException createException() 98 { 99 return new IssueRemovedException(); 100 } 101 102 public IChainableException createException( String message ) 103 { 104 return new IssueRemovedException( message ); 105 } 106 107 public IChainableException createException( Throwable cause ) 108 { 109 return new IssueRemovedException( cause ); 110 } 111 112 public IChainableException createException( String message, 113 Throwable cause ) 114 { 115 return new IssueRemovedException( message, cause ); 116 } 117 118 public IChainableException createException( Throwable cause, 119 String message ) 120 { 121 return new IssueRemovedException( cause, message ); 122 } 123 } 124 125 126 public static Test suite() 127 { 128 InterfaceTestSuite suite = IChainableExceptionUTestI.suite(); 129 suite.addTestSuite( THIS_CLASS ); 130 suite.addFactory( new CxFactory( "A" ) { 131 public Object createImplObject() { 132 return new IREFactory(); 133 } 134 } ); 135 136 return suite; 137 } 138 139 public static void main( String [] args ) 140 { 141 String [] name = { THIS_CLASS.getName() }; 142 143 146 junit.textui.TestRunner.main( name ); 147 } 148 149 150 154 protected void tearDown() throws Exception 155 { 156 158 159 super.tearDown(); 160 } 161 } 162 163 | Popular Tags |