From f7c07565264665e2a79e440456a431dc9de059be Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Wed, 25 May 2016 10:17:02 +0100 Subject: [PATCH] Add a dummy test to NonEmptySetTest.Guava Add a dummy test so that when IntelliJ (incorrectly) scans NonEmptySetTest.Guava looking for tests, it finds one and doesn't complain. --- .../kotlin/com/r3corda/core/utilities/NonEmptySetTest.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/test/kotlin/com/r3corda/core/utilities/NonEmptySetTest.kt b/core/src/test/kotlin/com/r3corda/core/utilities/NonEmptySetTest.kt index bb29d92a6c..58f07eefab 100644 --- a/core/src/test/kotlin/com/r3corda/core/utilities/NonEmptySetTest.kt +++ b/core/src/test/kotlin/com/r3corda/core/utilities/NonEmptySetTest.kt @@ -44,6 +44,13 @@ class NonEmptySetTest { .suppressing(CollectionRetainAllTester::class.java.getMethods().toList()) .createTestSuite() } + + /** + * For some reason IntelliJ really wants to scan this class for tests and fail when + * it doesn't find any. This stops that error from occurring. + */ + @Test fun dummy() { + } } /**