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 Object

Version:
$Id: TestUtils.java 677117 2008-07-16 00:29:56Z vsiveton $

Method Summary
static String readFile(File file)
           
static String toString(Throwable error)
           
static void writeToFile(File file, 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(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.