You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2016/04/27 11:21:25 UTC

svn commit: r1741175 - /sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java

Author: stefanegli
Date: Wed Apr 27 09:21:25 2016
New Revision: 1741175

URL: http://svn.apache.org/viewvc?rev=1741175&view=rev
Log:
SLING-5694: introducing a Slow junit category that can be thus used by individual bundles to exclude such marked tests from their respective default test goal

Added:
    sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java   (with props)

Added: sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java?rev=1741175&view=auto
==============================================================================
--- sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java (added)
+++ sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java Wed Apr 27 09:21:25 2016
@@ -0,0 +1,24 @@
+/*
+ * 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.sling.commons.testing.junit.categories;
+
+/** JUnit Category for tests that are considered slow and
+ * are thus only run when explicitly enabled (by default off) */
+public interface Slow {
+}
\ No newline at end of file

Propchange: sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/junit/categories/Slow.java
------------------------------------------------------------------------------
    svn:eol-style = native