Files
openide/java/java-tests/testSrc/com/intellij/java/codeInspection/DataFlowInspectionTestSuite.java
Tagir Valeev aa6829d7c1 [java-tests] IDEA-333831 Separate mock JDK and JetBrains annotations for testing
Also: avoid manual mocking of Java 10 classes in StreamCollector10Inlining test, use mockJDK11 instead
Also: rewrite SliceTestCase and its inheritors to LightJavaCodeInsightFixtureTestCase, as annotations.jar is not included into project created by DaemonAnalyzerTestCase
Also: 'mutates' attribute of @Contract annotation is resolvable now, as we can use newer jetbrains-annotations library.
Also: documentation tests now don't generate links to JetBrains annotations, which corresponds to the actual behavior in production

GitOrigin-RevId: e460826893c1277cb2b78b18aae9d5aca97d8333
2023-10-05 11:24:29 +00:00

69 lines
2.4 KiB
Java

// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.java.codeInspection;
import com.intellij.codeInsight.daemon.impl.quickfix.*;
import com.intellij.java.codeInsight.completion.NormalCompletionDfaTest;
import com.intellij.java.codeInsight.completion.SmartTypeCompletionDfaTest;
import com.intellij.java.codeInspection.dataFlow.OptionalOfNullableMisuseInspectionTest;
import com.intellij.java.slicer.SliceBackwardTest;
import com.intellij.java.slicer.SliceTreeTest;
import com.siyeh.ig.redundancy.RedundantOperationOnEmptyContainerInspectionTest;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.platform.suite.api.Suite;
@Suite
@SelectClasses({
DataFlowInspectionTest.class,
DataFlowInspection8Test.class,
DataFlowInspection9Test.class,
DataFlowInspection11Test.class,
DataFlowInspection16Test.class,
DataFlowInspection20Test.class,
DataFlowInspection21Test.class,
DataFlowInspectionHeavyTest.class,
DataFlowInspectionAncientTest.class,
DataFlowInspectionCancellingTest.class,
ContractCheckTest.class,
HardcodedContractsTest.class,
DataFlowRangeAnalysisTest.class,
OptionalGetWithoutIsPresentInspectionTest.class,
RedundantOperationOnEmptyContainerInspectionTest.class,
ContractInferenceFromSourceTest.class,
NullityInferenceFromSourceTestCase.DfaInferenceTest.class,
NullityInferenceFromSourceTestCase.LightInferenceTest.class,
PurityInferenceFromSourceTest.class,
ParameterNullityInferenceFromSourceTest.class,
SliceTreeTest.class,
SliceBackwardTest.class,
SmartTypeCompletionDfaTest.class,
NormalCompletionDfaTest.class,
NullableStuffInspectionTest.class,
NullableStuffInspectionAncientTest.class,
CheckerNullityTest.class,
AddAssertStatementFixTest.class,
SurroundWithIfFixTest.class,
ReplaceWithTernaryOperatorTest.class,
ReplaceWithObjectsEqualsTest.class,
ReplaceWithOfNullableFixTest.class,
ReplaceWithNullCheckFixTest.class,
ReplaceFromOfNullableFixTest.class,
ReplaceWithTrivialLambdaFixTest.class,
UnwrapIfStatementFixTest.class,
StreamFilterNotNullFixTest.class,
RedundantInstanceofFixTest.class,
ReplaceComputeWithComputeIfPresentFixTest.class,
DeleteSwitchLabelFixTest.class,
DeleteRedundantUpdateFixTest.class,
ReplaceTypeInCastFixTest.class,
ReplaceMinMaxWithArgumentFixTest.class,
OptionalOfNullableMisuseInspectionTest.class
})
public class DataFlowInspectionTestSuite {
}