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 AutoDocLogUTestI extends InterfaceTestCase 46 { 47 50 private static final Class THIS_CLASS = AutoDocLogUTestI.class; 51 53 public AutoDocLogUTestI( String name, ImplFactory f ) 54 { 55 super( name, AutoDocLog.class, f ); 56 } 57 58 59 public AutoDocLog createAutoDocLog() 60 { 61 return (AutoDocLog)createImplObject(); 62 } 63 64 65 68 public void testDebug1() 69 { 70 createAutoDocLog().debug( (Object )null ); 71 } 72 73 public void testDebug2() 74 { 75 createAutoDocLog().debug( "test message" ); 76 } 77 78 public void testDebug3() 79 { 80 createAutoDocLog().debug( (Object [])null ); 81 } 82 83 public void testDebug4() 84 { 85 createAutoDocLog().debug( new Object [2] ); 86 } 87 88 public void testDebug4a() 89 { 90 createAutoDocLog().debug( new Object [0] ); 91 } 92 93 public void testDebug5() 94 { 95 createAutoDocLog().debug( new Object [] { "a", null, new Integer (1) } ); 96 } 97 98 public void testDebug5a() 99 { 100 createAutoDocLog().debug( new Object [] { "a", "b", new Integer (1) } ); 101 } 102 103 public void testDebug6() 104 { 105 createAutoDocLog().debug( (Object )null, null ); 106 } 107 108 public void testDebug7() 109 { 110 createAutoDocLog().debug( (Object )null, new Throwable ("ignore") ); 111 } 112 113 public void testDebug8() 114 { 115 createAutoDocLog().debug( new Object (), null ); 116 } 117 118 public void testDebug9() 119 { 120 createAutoDocLog().debug( new Object (), new Throwable ("ignore") ); 121 } 122 123 public void testDebug10() 124 { 125 createAutoDocLog().debug( (Object [])null, null ); 126 } 127 128 public void testDebug11() 129 { 130 createAutoDocLog().debug( new Object [2], null ); 131 } 132 133 public void testDebug12() 134 { 135 createAutoDocLog().debug( new Object [0], null ); 136 } 137 138 public void testDebug13() 139 { 140 createAutoDocLog().debug( new Object [] { "a", null, "b" }, null ); 141 } 142 143 public void testDebug13a() 144 { 145 createAutoDocLog().debug( new Object [] { "a", "b" }, null ); 146 } 147 148 public void testDebug14() 149 { 150 createAutoDocLog().debug( (Object [])null, new Throwable ("ignore") ); 151 } 152 153 public void testDebug15() 154 { 155 createAutoDocLog().debug( new Object [2], new Throwable ("ignore") ); 156 } 157 158 public void testDebug16() 159 { 160 createAutoDocLog().debug( new Object [0], new Throwable ("ignore") ); 161 } 162 163 public void testDebug17() 164 { 165 createAutoDocLog().debug( new Object [] { "a", null, "b" }, 166 new Throwable ("ignore") ); 167 } 168 169 public void testDebug18() 170 { 171 createAutoDocLog().debug( new Object [] { "a", "b" }, 172 new Throwable ("ignore") ); 173 } 174 175 176 178 public void testInfo1() 179 { 180 createAutoDocLog().info( (Object )null ); 181 } 182 183 public void testInfo2() 184 { 185 createAutoDocLog().info( "test message" ); 186 } 187 188 public void testInfo3() 189 { 190 createAutoDocLog().info( (Object [])null ); 191 } 192 193 public void testInfo4() 194 { 195 createAutoDocLog().info( new Object [2] ); 196 } 197 198 public void testInfo5() 199 { 200 createAutoDocLog().info( new Object [0] ); 201 } 202 203 public void testInfo6() 204 { 205 createAutoDocLog().info( new Object [] { "a", null, new Integer (1) } ); 206 } 207 208 public void testInfo7() 209 { 210 createAutoDocLog().info( new Object [] { "a", "b", new Integer (1) } ); 211 } 212 213 public void testInfo8() 214 { 215 createAutoDocLog().info( (Object )null, null ); 216 } 217 218 public void testInfo9() 219 { 220 createAutoDocLog().info( (Object )null, new Throwable ("ignore") ); 221 } 222 223 public void testInfo10() 224 { 225 createAutoDocLog().info( new Object (), null ); 226 } 227 228 public void testInfo11() 229 { 230 createAutoDocLog().info( new Object (), new Throwable ("ignore") ); 231 } 232 233 public void testInfo12() 234 { 235 createAutoDocLog().info( (Object [])null, null ); 236 } 237 238 public void testInfo13() 239 { 240 createAutoDocLog().info( new Object [2], null ); 241 } 242 243 public void testInfo14() 244 { 245 createAutoDocLog().info( new Object [0], null ); 246 } 247 248 public void testInfo15() 249 { 250 createAutoDocLog().info( new Object [] { "a", null, "b" }, null ); 251 } 252 253 public void testInfo16() 254 { 255 createAutoDocLog().info( new Object [] { "a", "b" }, null ); 256 } 257 258 public void testInfo17() 259 { 260 createAutoDocLog().info( (Object [])null, new Throwable ("ignore") ); 261 } 262 263 public void testInfo18() 264 { 265 createAutoDocLog().info( new Object [2], new Throwable ("ignore") ); 266 } 267 268 public void testInfo19() 269 { 270 createAutoDocLog().info( new Object [0], new Throwable ("ignore") ); 271 } 272 273 public void testInfo20() 274 { 275 createAutoDocLog().info( new Object [] { "a", null, "b" }, 276 new Throwable ("ignore") ); 277 } 278 279 public void testInfo21() 280 { 281 createAutoDocLog().info( new Object [] { "a", "b" }, 282 new Throwable ("ignore") ); 283 } 284 285 286 287 288 290 public void testWarn1() 291 { 292 createAutoDocLog().warn( (Object )null ); 293 } 294 295 public void testWarn2() 296 { 297 createAutoDocLog().warn( "test message" ); 298 } 299 300 public void testWarn3() 301 { 302 createAutoDocLog().warn( (Object [])null ); 303 } 304 305 public void testWarn4() 306 { 307 createAutoDocLog().warn( new Object [2] ); 308 } 309 310 public void testWarn5() 311 { 312 createAutoDocLog().warn( new Object [0] ); 313 } 314 315 public void testWarn6() 316 { 317 createAutoDocLog().warn( new Object [] { "a", null, new Integer (1) } ); 318 } 319 320 public void testWarn7() 321 { 322 createAutoDocLog().warn( new Object [] { "a", "b", new Integer (1) } ); 323 } 324 325 public void testWarn8() 326 { 327 createAutoDocLog().warn( (Object )null, null ); 328 } 329 330 public void testWarn9() 331 { 332 createAutoDocLog().warn( (Object )null, new Throwable ("ignore") ); 333 } 334 335 public void testWarn10() 336 { 337 createAutoDocLog().warn( new Object (), null ); 338 } 339 340 public void testWarn11() 341 { 342 createAutoDocLog().warn( new Object (), new Throwable ("ignore") ); 343 } 344 345 public void testWarn12() 346 { 347 createAutoDocLog().warn( (Object [])null, null ); 348 } 349 350 public void testWarn13() 351 { 352 createAutoDocLog().warn( new Object [2], null ); 353 } 354 355 public void testWarn14() 356 { 357 createAutoDocLog().warn( new Object [0], null ); 358 } 359 360 public void testWarn15() 361 { 362 createAutoDocLog().warn( new Object [] { "a", null, "b" }, null ); 363 } 364 365 public void testWarn16() 366 { 367 createAutoDocLog().warn( new Object [] { "a", "b" }, null ); 368 } 369 370 public void testWarn17() 371 { 372 createAutoDocLog().warn( (Object [])null, new Throwable ("ignore") ); 373 } 374 375 public void testWarn18() 376 { 377 createAutoDocLog().warn( new Object [2], new Throwable ("ignore") ); 378 } 379 380 public void testWarn19() 381 { 382 createAutoDocLog().warn( new Object [0], new Throwable ("ignore") ); 383 } 384 385 public void testWarn20() 386 { 387 createAutoDocLog().warn( new Object [] { "a", null, "b" }, 388 new Throwable ("ignore") ); 389 } 390 391 public void testWarn21() 392 { 393 createAutoDocLog().warn( new Object [] { "a", "b" }, 394 new Throwable ("ignore") ); 395 } 396 397 398 399 402 403 public static InterfaceTestSuite suite() 404 { 405 InterfaceTestSuite suite = new InterfaceTestSuite( THIS_CLASS ); 406 407 return suite; 408 } 409 410 public static void main( String [] args ) 411 { 412 String [] name = { THIS_CLASS.getName() }; 413 414 417 junit.textui.TestRunner.main( name ); 418 } 419 420 421 425 protected void setUp() throws Exception 426 { 427 super.setUp(); 428 429 } 431 432 433 437 protected void tearDown() throws Exception 438 { 439 441 442 super.tearDown(); 443 } 444 } 445 446 | Popular Tags |