dataflow suite: convert to junit 5 to ensure all tests run

GitOrigin-RevId: 4ce3508a0dbe676ae179797eda095fbec88377d9
This commit is contained in:
Anna Kozlova
2021-12-02 17:35:28 +00:00
committed by intellij-monorepo-bot
parent 352eb24635
commit 0ce7936250
3 changed files with 31 additions and 19 deletions
+25
View File
@@ -0,0 +1,25 @@
<component name="libraryTable">
<library name="JUnit5Suites" type="repository">
<properties maven-id="org.junit.platform:junit-platform-suite:1.8.1">
<exclude>
<dependency maven-id="org.junit.platform:junit-platform-commons" />
<dependency maven-id="org.apiguardian:apiguardian-api" />
<dependency maven-id="org.junit.platform:junit-platform-engine" />
<dependency maven-id="org.junit.platform:junit-platform-launcher" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite/1.8.1/junit-platform-suite-1.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite-api/1.8.1/junit-platform-suite-api-1.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite-engine/1.8.1/junit-platform-suite-engine-1.8.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite-commons/1.8.1/junit-platform-suite-commons-1.8.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite/1.8.1/junit-platform-suite-1.8.1-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite-api/1.8.1/junit-platform-suite-api-1.8.1-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite-engine/1.8.1/junit-platform-suite-engine-1.8.1-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-suite-commons/1.8.1/junit-platform-suite-commons-1.8.1-sources.jar!/" />
</SOURCES>
</library>
</component>
+1
View File
@@ -83,5 +83,6 @@
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
<orderEntry type="library" scope="TEST" name="JUnit5" level="project" />
<orderEntry type="module" module-name="intellij.platform.lang" scope="TEST" />
<orderEntry type="library" scope="TEST" name="JUnit5Suites" level="project" />
</component>
</module>
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed 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.
*/
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.java.codeInspection;
import com.intellij.java.codeInsight.completion.NormalCompletionDfaTest;
@@ -21,11 +7,11 @@ import com.intellij.java.codeInsight.daemon.quickFix.*;
import com.intellij.java.slicer.SliceBackwardTest;
import com.intellij.java.slicer.SliceTreeTest;
import com.siyeh.ig.redundancy.RedundantOperationOnEmptyContainerInspectionTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.platform.suite.api.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
@Suite
@SelectClasses({
DataFlowInspectionTest.class,
DataFlowInspection8Test.class,
DataFlowInspection9Test.class,