Debian Codegraph @

junit-platform-engine/src/main/java/org/junit/platform/engine/TestSource.java

raw
1 /*
2 * Copyright 2015-2024 the original author or authors.
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v2.0 which
6 * accompanies this distribution and is available at
7 *
8 * https://www.eclipse.org/legal/epl-v20.html
9 */
10
11 package org.junit.platform.engine;
12
13 import static org.apiguardian.api.API.Status.STABLE;
14
15 import java.io.Serializable;
16
17 import org.apiguardian.api.API;
18
19 /**
20 * Representation of the source of a test or container used to navigate to
21 * its location by IDEs and build tools.
22 *
23 * <p>This is a marker interface. Clients need to check instances for concrete
24 * subclasses or subinterfaces.
25 *
26 * <p>Implementations of this interface need to ensure that they are
27 * <em>serializable</em> and <em>immutable</em> since they may be used as data
28 * transfer objects.
29 *
30 * @since 1.0
31 */
32 @API(status = STABLE, since = "1.0")
33 public interface TestSource extends Serializable {
34 }