formatter_test.md: make FormatterTestCase more prominent

This commit is contained in:
Yann Cébron 2021-06-23 16:43:23 +02:00
parent ed0a879357
commit 501903145b

View File

@ -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.