org.apache.commons.logging
Class LoadTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.logging.LoadTestCase
All Implemented Interfaces:
junit.framework.Test

public class LoadTestCase
extends junit.framework.TestCase

testcase to emulate container and application isolated from container

Version:
$Id: LoadTestCase.java 424108 2006-07-20 23:19:55Z skitching $
Author:
baliuka

Constructor Summary
LoadTestCase()
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void tearDown()
           
 void testInContainer()
          Test what happens when we play various classloader tricks like those that happen in web and j2ee containers.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadTestCase

public LoadTestCase()
Method Detail

testInContainer

public void testInContainer()
                     throws Exception
Test what happens when we play various classloader tricks like those that happen in web and j2ee containers.

Note that this test assumes that commons-logging.jar and log4j.jar are available via the system classpath.

Throws:
Exception

main

public static void main(String[] args)

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.