Class TestFileManager
java.lang.Object
org.apache.maven.shared.tools.easymock.TestFileManager
Deprecated.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.Temp dir from "java.io.tmpdir" property -
Constructor Summary
ConstructorsConstructorDescriptionTestFileManager
(String baseFilename, String fileSuffix) Deprecated.Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
assertFileContents
(File dir, String filename, String contentsTest) Deprecated.void
assertFileExistence
(File dir, String filename, boolean shouldExist) Deprecated.void
cleanUp()
Deprecated.createFile
(File dir, String filename, String contents) Deprecated.createFile
(String filename, String content) Deprecated.Deprecated.Deprecated.protected void
finalize()
Deprecated.getFileContents
(File file) Deprecated.void
markForDeletion
(File toDelete) Deprecated.protected void
Deprecated.
-
Field Details
-
TEMP_DIR_PATH
Deprecated.Temp dir from "java.io.tmpdir" property
-
-
Constructor Details
-
TestFileManager
Deprecated.Default constructor- Parameters:
baseFilename
-fileSuffix
-
-
-
Method Details
-
maybeWarnAboutCleanUp
protected void maybeWarnAboutCleanUp()Deprecated. -
markForDeletion
Deprecated.- Parameters:
toDelete
-
-
createTempDir
Deprecated.- Returns:
- a temp dir
-
createTempFile
Deprecated.- Returns:
- a temp file
- Throws:
IOException
- if any
-
cleanUp
Deprecated.- Throws:
IOException
- if any
-
assertFileExistence
Deprecated.- Parameters:
dir
-filename
-shouldExist
-
-
assertFileContents
Deprecated.- Parameters:
dir
-filename
-contentsTest
-- Throws:
IOException
- if any
-
createFile
Deprecated.- Parameters:
dir
-filename
-contents
-- Returns:
- Throws:
IOException
- if any
-
getFileContents
Deprecated.- Parameters:
file
-- Returns:
- Throws:
IOException
- if any
-
finalize
Deprecated. -
createFile
Deprecated.- Parameters:
filename
-content
-- Returns:
- Throws:
IOException
- if any
-