From b9b4498af68679d523b0720c48d0f9fb09b0f2e9 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 7 Jun 2017 16:28:01 +0200 Subject: [PATCH] make CustomFileTypeLexerTest compiled statically --- .../ide/highlighter/custom/CustomFileTypeLexerTest.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy b/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy index 1d501e7bf444..d231cb000fa6 100644 --- a/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy +++ b/platform/platform-tests/testSrc/com/intellij/ide/highlighter/custom/CustomFileTypeLexerTest.groovy @@ -24,6 +24,7 @@ import com.intellij.testFramework.LexerTestCase import com.intellij.testFramework.PlatformTestUtil import com.intellij.util.Processor import com.intellij.util.ThrowableRunnable +import groovy.transform.CompileStatic import junit.framework.TestCase import org.jetbrains.annotations.NonNls import org.jetbrains.annotations.NotNull @@ -31,6 +32,7 @@ import org.jetbrains.annotations.Nullable /** * @author peter */ +@CompileStatic class CustomFileTypeLexerTest extends TestCase { private static void doTest(SyntaxTable table, @NonNls String text, @Nullable String expected) { @@ -464,7 +466,7 @@ NUMBER ('0yabc0') int count = 3000 List keywords = [] for (i in 0..