public abstract class TestUtils extends Object
| Constructor and Description |
|---|
TestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static junit.framework.TestResult |
cloneTestResults(OsgiTestInfoHolder source,
junit.framework.TestResult destination,
junit.framework.Test test)
Clones the test result from a TestResult loaded through a different
classloader.
|
static void |
unpackProblems(junit.framework.TestResult result,
OsgiTestInfoHolder holder)
Utility method which extracts the information from a TestResult and
stores it as primordial classes.
|
public static junit.framework.TestResult cloneTestResults(OsgiTestInfoHolder source, junit.framework.TestResult destination, junit.framework.Test test)
source - test result loaded through a different classloaderdestination - test result reported to the outside frameworktest - initial test used for bootstrapping the integration frameworkpublic static void unpackProblems(junit.framework.TestResult result,
OsgiTestInfoHolder holder)
result - holder - Copyright © 2006–2023. All rights reserved.