1 26 27 package net.sourceforge.groboutils.autodoc.v1; 28 29 import org.easymock.EasyMock; 31 import org.easymock.MockControl; 32 import net.sourceforge.groboutils.junit.v1.iftc.*; 33 import junit.framework.Test; 34 import junit.framework.TestCase; 35 import junit.framework.TestSuite; 36 37 38 45 public class AutoDocITUTestI extends InterfaceTestCase 46 { 47 50 private static final Class THIS_CLASS = AutoDocITUTestI.class; 51 53 public AutoDocITUTestI( String name, ImplFactory f ) 54 { 55 super( name, AutoDocIT.class, f ); 56 } 57 58 59 public AutoDocIT createAutoDocIT() 60 { 61 return (AutoDocIT)createImplObject(); 62 } 63 64 65 68 public void testTestsIssueSL1() 69 { 70 AutoDocIT it = createAutoDocIT(); 71 it.testsIssue( null, 0L ); 72 } 73 74 public void testTestsIssueSL2() 75 { 76 AutoDocIT it = createAutoDocIT(); 77 it.testsIssue( "", -1L ); 78 } 79 80 public void testTestsIssueSL3() 81 { 82 AutoDocIT it = createAutoDocIT(); 83 it.testsIssue( "blah", 1000L ); 84 } 85 86 public void testTestsIssueSL4() 87 { 88 AutoDocIT it = createAutoDocIT(); 89 it.testsIssue( "blah", Long.MIN_VALUE ); 90 } 91 92 public void testTestsIssueSL5() 93 { 94 AutoDocIT it = createAutoDocIT(); 95 it.testsIssue( "blah", Long.MAX_VALUE ); 96 } 97 98 99 public void testTestsIssueSS1() 100 { 101 AutoDocIT it = createAutoDocIT(); 102 it.testsIssue( null, null ); 103 } 104 105 public void testTestsIssueSS2() 106 { 107 AutoDocIT it = createAutoDocIT(); 108 it.testsIssue( "a", null ); 109 } 110 111 public void testTestsIssueSS3() 112 { 113 AutoDocIT it = createAutoDocIT(); 114 it.testsIssue( null, "a" ); 115 } 116 117 public void testTestsIssueSS4() 118 { 119 AutoDocIT it = createAutoDocIT(); 120 it.testsIssue( "", "" ); 121 } 122 123 public void testTestsIssueSS5() 124 { 125 AutoDocIT it = createAutoDocIT(); 126 it.testsIssue( "blah", "asdf" ); 127 } 128 129 130 131 public void testTestsIssueL1() 132 { 133 AutoDocIT it = createAutoDocIT(); 134 it.testsIssue( -1L ); 135 } 136 137 public void testTestsIssueL2() 138 { 139 AutoDocIT it = createAutoDocIT(); 140 it.testsIssue( 0L ); 141 } 142 143 public void testTestsIssueL3() 144 { 145 AutoDocIT it = createAutoDocIT(); 146 it.testsIssue( Long.MAX_VALUE ); 147 } 148 149 public void testTestsIssueL4() 150 { 151 AutoDocIT it = createAutoDocIT(); 152 it.testsIssue( Long.MIN_VALUE ); 153 } 154 155 public void testTestsIssueL5() 156 { 157 AutoDocIT it = createAutoDocIT(); 158 it.testsIssue( 10000L ); 159 } 160 161 162 public void testTestsIssueS1() 163 { 164 AutoDocIT it = createAutoDocIT(); 165 it.testsIssue( null ); 166 } 167 168 public void testTestsIssueS2() 169 { 170 AutoDocIT it = createAutoDocIT(); 171 it.testsIssue( "" ); 172 } 173 174 public void testTestsIssueS3() 175 { 176 AutoDocIT it = createAutoDocIT(); 177 it.testsIssue( " " ); 178 } 179 180 public void testTestsIssueS4() 181 { 182 AutoDocIT it = createAutoDocIT(); 183 it.testsIssue( "asdf" ); 184 } 185 186 187 188 public void testMultiTests() 189 { 190 AutoDocIT it = createAutoDocIT(); 191 it.testsIssue( "asdf" ); 192 it.testsIssue( null ); 193 it.testsIssue( "blah", "asdf" ); 194 it.testsIssue( -1L ); 195 it.testsIssue( "blah", 1000L ); 196 it.testsIssue( "asdf" ); 197 } 198 199 200 201 204 205 public static InterfaceTestSuite suite() 206 { 207 InterfaceTestSuite suite = new InterfaceTestSuite( THIS_CLASS ); 208 209 return suite; 210 } 211 212 public static void main( String [] args ) 213 { 214 String [] name = { THIS_CLASS.getName() }; 215 216 219 junit.textui.TestRunner.main( name ); 220 } 221 222 223 227 protected void setUp() throws Exception 228 { 229 super.setUp(); 230 231 } 233 234 235 239 protected void tearDown() throws Exception 240 { 241 243 244 super.tearDown(); 245 } 246 } 247 248 | Popular Tags |