testException = e;
}
if (test instanceof TestCase) {
TestCase base = (TestCase) test;
TestDriver driver = base.getWrappedDriver();
// If any driver is present we don't need a different supplier's driver to initialize
// TestIgnorance. This skips the supplies(klass) check in createDriverIfNecessary().
if (driver == null || !driver.isRunning()) {
base.createDriverIfNecessary();
driver = base.getWrappedDriver();
}
ignorance = new TestIgnorance(driver.getServices().getAvailableServices(),
driver.getRunner() != null,
driver.getServices().isOperaIdleAvailable(),
driver.utils().getPlatform(),
driver.utils().getProduct());
} else {
ignorance = new TestIgnorance(new LinkedHashMap<ScopeService, String>(),
false,
false,
Platform.getCurrent(),