We have an accidental use of opentest4j, make sure we use plain
AssertionError.
Change-Id: I06e0b184fdc9d129d70ba927e8f6d0d9f4001ceb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import org.opendaylight.yangtools.yang.parser.api.YangSyntaxErrorException;
import org.opendaylight.yangtools.yang.parser.rfc7950.ir.IRSchemaSource;
import org.opendaylight.yangtools.yang.parser.rfc7950.repo.TextToIRTransformer;
-import org.opentest4j.AssertionFailedError;
public abstract class AbstractSchemaRepositoryTest {
static @NonNull EffectiveModelContext assertModelContext(
try {
return Futures.getDone(future);
} catch (ExecutionException e) {
- throw new AssertionFailedError("Failed to create context", e);
+ throw new AssertionError("Failed to create context", e);
}
}