public final class PathTestHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Path |
getAppClassLocation(Class<?> testClass)
Resolves the directory or the JAR file containing the application being tested by the test class.
|
static Path |
getTestClassesLocation(Class<?> testClass)
Resolves the directory or the JAR file containing the test class.
|
static boolean |
isTestClass(String className,
ClassLoader classLoader) |
public static Path getTestClassesLocation(Class<?> testClass)
testClass - the test classpublic static Path getAppClassLocation(Class<?> testClass)
testClass - the test classpublic static boolean isTestClass(String className, ClassLoader classLoader)
Copyright © 2019 JBoss by Red Hat. All rights reserved.