org.nuiton.util
Class TestUtil
java.lang.Object
org.nuiton.util.TestUtil
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
- Version:
- $Id: TestUtil.java 1948 2010-11-17 21:31:00Z sletellier $
- Author:
- fdesbois
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TESTS_DATA_DEFAULT_DIR
public static final String TESTS_DATA_DEFAULT_DIR
- See Also:
- Constant Field Values
TestUtil
public TestUtil()
createDefaultTestsDataDirectory
public static File createDefaultTestsDataDirectory()
- 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)
- 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()
Copyright © 2004-2010 CodeLutin. All Rights Reserved.