org.codehaus.httpcache4j.util
Class TestUtil

java.lang.Object
  extended by org.codehaus.httpcache4j.util.TestUtil

public class TestUtil
extends java.lang.Object

Copied from PlexusTestCase. original authors: Jason van Zyl Trygve Laugstøl Michal Maczka This utility class makes us able to create temporary directories. This should only be used by Test cases. It is placed in main so we don't have to depend on the test sources.

Author:
Erlend Hamnaberg

Constructor Summary
TestUtil()
           
 
Method Summary
static java.lang.String getBasedir()
           
static java.io.File getTestFile(java.lang.String path)
           
static java.io.File getTestFile(java.lang.String basedir, java.lang.String path)
           
static java.lang.String getTestPath(java.lang.String path)
           
static java.lang.String getTestPath(java.lang.String basedir, java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtil

public TestUtil()
Method Detail

getTestFile

public static java.io.File getTestFile(java.lang.String path)

getTestFile

public static java.io.File getTestFile(java.lang.String basedir,
                                       java.lang.String path)

getTestPath

public static java.lang.String getTestPath(java.lang.String path)

getTestPath

public static java.lang.String getTestPath(java.lang.String basedir,
                                           java.lang.String path)

getBasedir

public static java.lang.String getBasedir()


Copyright © 2008-2009. All Rights Reserved.