You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2024/12/04 12:39:51 UTC
(groovy) 02/04: minor refactor: remove gradle warning about no tests
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 687f59b8d18d163eaa866355bb483efadb43a4c4
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Dec 4 22:38:45 2024 +1000
minor refactor: remove gradle warning about no tests
---
.../performance/src/test/groovy/DummyTest.groovy | 31 ++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/subprojects/performance/src/test/groovy/DummyTest.groovy b/subprojects/performance/src/test/groovy/DummyTest.groovy
new file mode 100644
index 0000000000..6d90587099
--- /dev/null
+++ b/subprojects/performance/src/test/groovy/DummyTest.groovy
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ */
+
+import org.junit.Test
+
+/**
+ * Gradle complains if we have no tests, so this keeps it happy
+ */
+final class DummyTest {
+
+ @Test
+ void testTrue() {
+ assert 1 + 1 == 2
+ }
+}