This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch fix/backport-log4j3-api
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit fe8bbd4b0b06cda4164d07f2b100be621d500f09
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Fri Mar 15 16:04:10 2024 +0100

    Port `Tags` from 3.x
---
 .../org/apache/logging/log4j/test/junit/Tags.java  | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git 
a/log4j-api-test/src/main/java/org/apache/logging/log4j/test/junit/Tags.java 
b/log4j-api-test/src/main/java/org/apache/logging/log4j/test/junit/Tags.java
new file mode 100644
index 0000000000..06bef43b06
--- /dev/null
+++ b/log4j-api-test/src/main/java/org/apache/logging/log4j/test/junit/Tags.java
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.logging.log4j.test.junit;
+
+/**
+ * A set of tags for JUnit 5 tests.
+ */
+public final class Tags {
+
+    /**
+     * Marks tests that don't modify the global environment.
+     * <p>
+     *     These tests can safely be run in parallel.
+     * </p>
+     */
+    public static final String PARALLEL = "parallel";
+
+    private Tags() {}
+}

Reply via email to