/*
 * Copyright 2015-2020 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v2.0 which
 * accompanies this distribution and is available at
 *
 * https://www.eclipse.org/legal/epl-v20.html
 */

package org.junit.platform.launcher.listeners;

import static org.apiguardian.api.API.Status.EXPERIMENTAL;

import org.apiguardian.api.API;
import org.junit.platform.launcher.TestExecutionListener;

/**
 * A {@link TestExecutionListener} that generates Java Flight Recorder
 * events.
 *
 * @see <a href="https://openjdk.java.net/jeps/328">JEP 328: Flight Recorder</a>
 * @since 1.7
 */
@API(status = EXPERIMENTAL, since = "1.7")
public class FlightRecordingListener implements TestExecutionListener {
}

@@ -478,38 +478,188 @@
 orm.
-launcher.TestExecutionListener
+engine.TestExecutionResult;%0Aimport org.junit.platform.launcher.TestExecutionListener;%0Aimport org.junit.platform.launcher.TestIdentifier;%0Aimport org.junit.platform.launcher.TestPlan
 ;%0A%0A/
@@ -888,16 +888,16 @@
  %221.7%22)%0A
-
 public c
@@ -959,11 +959,540 @@
 stener %7B
+%0A%0A%09@Override%0A%09public void testPlanExecutionStarted(TestPlan testPlan) %7B%0A%0A%09%7D%0A%0A%09@Override%0A%09public void testPlanExecutionFinished(TestPlan testPlan) %7B%0A%0A%09%7D%0A%0A%09@Override%0A%09public void dynamicTestRegistered(TestIdentifier testIdentifier) %7B%0A%0A%09%7D%0A%0A%09@Override%0A%09public void executionSkipped(TestIdentifier testIdentifier, String reason) %7B%0A%0A%09%7D%0A%0A%09@Override%0A%09public void executionStarted(TestIdentifier testIdentifier) %7B%0A%0A%09%7D%0A%0A%09@Override%0A%09public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) %7B%0A%0A%09%7D
 %0A%7D%0A

Synchronize API of base type and versioned type