org.apache.maven.shared.tools.easymock
Class TestUtils

java.lang.Object
  extended by org.apache.maven.shared.tools.easymock.TestUtils

public final class TestUtils
extends java.lang.Object


Method Summary
static java.lang.String readFile(java.io.File file)
           
static java.lang.String toString(java.lang.Throwable error)
           
static void writeToFile(java.io.File file, java.lang.String testStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeToFile

public static void writeToFile(java.io.File file,
                               java.lang.String testStr)
                        throws java.io.IOException
Throws:
java.io.IOException

readFile

public static java.lang.String readFile(java.io.File file)
                                 throws java.io.IOException
Throws:
java.io.IOException

toString

public static java.lang.String toString(java.lang.Throwable error)


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.