/*******************************************************************************
 * Copyright (c) 2018 SAP SE and others.
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *    Andreas Sewe - initial API and implementation
 *******************************************************************************/
package bundle.test;

import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assumptions.assumeTrue;

import org.junit.jupiter.api.Test;
import org.opentest4j.*;

class OpenTest4JTest {

    @Test
    void successfulTest() {
        assumeTrue(true);

        assertTrue(true);
    }

    @Test
    void implicitAssertedFailedError() {
        assertTrue(false);
    }

    @Test
    void explicitAssertionFailedError() {
        throw new AssertionFailedError();
    }

    @Test
    void implicitTestAbortedException() {
        assumeTrue(false);
    }

    @Test
    void explicitTestAbortedException() {
        throw new TestAbortedException();
    }
}
