mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
formatter_test.md: make FormatterTestCase more prominent
This commit is contained in:
parent
ed0a879357
commit
501903145b
@ -1,9 +1,11 @@
|
||||
[//]: # (title: 5. Formatter Test)
|
||||
|
||||
<!-- Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
<!-- Copyright 2000-2021 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
|
||||
|
||||
This test checks if the Simple Language formatter, implemented in the [Formatter](formatter.md) section of the Custom Language Support Tutorial, works as expected.
|
||||
|
||||
> See also [`FormatterTestCase`](upsource:///platform/testFramework/src/com/intellij/psi/formatter/FormatterTestCase.java) as convenient base class.
|
||||
|
||||
## Define Test Data
|
||||
Create the `FormatterTestData.simple` properties file in the `testData` directory.
|
||||
|
||||
@ -35,5 +37,3 @@ Add the `testFormatter()` method to the `SimpleCodeInsightTest` class [previousl
|
||||
|
||||
## Run the Test
|
||||
[Run](completion_test.md#run-the-test) the test and make sure it's green.
|
||||
|
||||
> See also [`FormatterTestCase`](upsource:///platform/testFramework/src/com/intellij/psi/formatter/FormatterTestCase.java) as convenient base class.
|
Loading…
x
Reference in New Issue
Block a user