org.apache.maven.shared.tools.easymock
Class TestUtils
java.lang.Object
org.apache.maven.shared.tools.easymock.TestUtils
public final class TestUtils
- extends Object
- Version:
- $Id: TestUtils.java 677117 2008-07-16 00:29:56Z vsiveton $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writeToFile
public static void writeToFile(File file,
String testStr)
throws IOException
- Parameters:
file
- testStr
-
- Throws:
IOException
- if any
readFile
public static String readFile(File file)
throws IOException
- Parameters:
file
-
- Returns:
-
- Throws:
IOException
- if any
toString
public static String toString(Throwable error)
- Parameters:
error
-
- Returns:
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.