com.partnersoft.platform.junit
Class JUnitBootstrap

java.lang.Object
  extended by com.partnersoft.platform.junit.JUnitBootstrap

public class JUnitBootstrap
extends java.lang.Object

Bootstraps the Partner system environment for use with JUnit tests.

This class takes care of various startup chores like initializing logging and setting various Java properties.

In the setUp() method of a JUnitTest, call the pull() method.

Copyright 2006-2007 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
JUnitBootstrap()
           
 
Method Summary
static void pull()
          Sets up the Partner system environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitBootstrap

public JUnitBootstrap()
Method Detail

pull

public static void pull()
Sets up the Partner system environment. Only does this once. If it's been called before it just sticks a warning in the log and returns.