org.apache.its.util
Class TestUtils

java.lang.Object
  extended by org.apache.its.util.TestUtils

public class TestUtils
extends Object


Constructor Summary
TestUtils()
           
 
Method Summary
static String archivePathFromChild(String artifactId, String version, String childName, String childPath)
           
static String archivePathFromProject(String artifactId, String version, String path)
           
static void assertTarContents(Set<String> required, Set<String> banned, File assembly)
           
static void assertZipContents(Set<String> required, Set<String> banned, File assembly)
           
static File getTestDir(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtils

public TestUtils()
Method Detail

archivePathFromChild

public static String archivePathFromChild(String artifactId,
                                          String version,
                                          String childName,
                                          String childPath)

archivePathFromProject

public static String archivePathFromProject(String artifactId,
                                            String version,
                                            String path)

assertTarContents

public static void assertTarContents(Set<String> required,
                                     Set<String> banned,
                                     File assembly)
                              throws IOException
Throws:
IOException

assertZipContents

public static void assertZipContents(Set<String> required,
                                     Set<String> banned,
                                     File assembly)
                              throws ZipException,
                                     IOException
Throws:
ZipException
IOException

getTestDir

public static File getTestDir(String name)
                       throws IOException,
                              URISyntaxException
Throws:
IOException
URISyntaxException


Copyright © 2006-2010 The Apache Software Foundation. All Rights Reserved.