mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
light_and_heavy_tests.md: mention LightPlatformTestCase
This commit is contained in:
parent
4135cd7014
commit
3435cb7ce6
@ -1,4 +1,4 @@
|
|||||||
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||||
|
|
||||||
# Light and Heavy Tests
|
# Light and Heavy Tests
|
||||||
|
|
||||||
@ -25,7 +25,9 @@ The standard way of writing a light test is to extend one of the following class
|
|||||||
<tabs>
|
<tabs>
|
||||||
<tab title="Default">
|
<tab title="Default">
|
||||||
|
|
||||||
[`BasePlatformTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/fixtures/BasePlatformTestCase.java) for tests that don't have any dependency on Java functionality.
|
Use [`LightPlatformTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java)
|
||||||
|
or [`BasePlatformTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/fixtures/BasePlatformTestCase.java)
|
||||||
|
for tests that don't have any dependency on Java functionality.
|
||||||
|
|
||||||
For 2019.2 and earlier, use [`LightPlatformCodeInsightFixtureTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/fixtures/LightPlatformCodeInsightFixtureTestCase.java).
|
For 2019.2 and earlier, use [`LightPlatformCodeInsightFixtureTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/fixtures/LightPlatformCodeInsightFixtureTestCase.java).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user