org.nuiton.util
Class TestUtil

java.lang.Object
  extended by org.nuiton.util.TestUtil

Deprecated. since 1.5.3, will not be replaced here and will be removed in 2.0

@Deprecated
public class TestUtil
extends Object

TODO tchemit 2010-08-25 : Why a Test thing is here ? Move it to the test and expose nuiton-utils with a test classifier. This class contains useful methods for Tests. Created: 22 juin 2010

Author:
fdesbois

Field Summary
static String TESTS_DATA_DEFAULT_DIR
          Deprecated.  
 
Constructor Summary
TestUtil()
          Deprecated.  
 
Method Summary
static File createDefaultTestsDataDirectory()
          Deprecated. Create a directory in target directory for maven projects.
static File createTestsDataDirectory(String dirName)
          Deprecated. Create a directory in target directory for maven projects.
static File getBaseDir()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TESTS_DATA_DEFAULT_DIR

public static final String TESTS_DATA_DEFAULT_DIR
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

TestUtil

public TestUtil()
Deprecated. 
Method Detail

createDefaultTestsDataDirectory

public static File createDefaultTestsDataDirectory()
Deprecated. 
Create a directory in target directory for maven projects. The directory name will be the default one defined by TESTS_DATA_DEFAULT_DIR

Returns:
the directory created
See Also:
createTestsDataDirectory(String)

createTestsDataDirectory

public static File createTestsDataDirectory(String dirName)
Deprecated. 
Create a directory in target directory for maven projects. The directory will be called dirName. This directory will be useful to put all data created during tests.

Parameters:
dirName - name of the directory to create
Returns:
the directory created

getBaseDir

public static File getBaseDir()
Deprecated. 


Copyright © 2004-2010 CodeLutin. All Rights Reserved.