public class TestUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_SEPARATOR
Definição do separador de arquivos, que não deve ser dependente da plataforma.
|
| Constructor and Description |
|---|
TestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(File src,
File dst)
Copia um arquivo.
|
static String |
getDataDir(Class testClass)
Retorna o diretório onde se encontram os dados para a classe especificada.
|
public static final String FILE_SEPARATOR
public static String getDataDir(Class testClass)
testClass - classe de testes que deseja fazer acesso a dados.public static void copy(File src, File dst) throws IOException
src - arquivo de origem.dst - arquivo de destino.IOExceptionCopyright © 2019. All rights reserved.