Interface CodeInsightFixtureSpecTestCase

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void addFullSpecExample​(@NotNull com.vladsch.flexmark.test.util.SpecExampleRenderer exampleRenderer, @NotNull com.vladsch.flexmark.test.util.SpecExampleParse exampleParse, @Nullable com.vladsch.flexmark.util.data.DataHolder exampleOptions, boolean ignoredTestCase, @NotNull java.lang.String html, @Nullable java.lang.String ast)
      Called from dumpSpecReader as it is accumulating tests
      void addSuppressedException​(@NotNull java.lang.Throwable e)
      Add a suppressed exception
      boolean annotatedWith​(@NotNull java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)  
      static void appendBanner​(@NotNull java.lang.StringBuilder out, @NotNull java.lang.String banner)  
      static void appendBannerIfNeeded​(@NotNull java.lang.StringBuilder out, @NotNull java.lang.String banner)  
      default com.vladsch.flexmark.util.data.DataHolder appendDefaultExampleOptions​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @Nullable com.vladsch.flexmark.util.data.DataHolder options, @NotNull java.lang.String optionsText)
      Used to add default example options as text
      void assertNoThrowable​(@NotNull java.lang.Runnable closure)  
      static @NotNull java.lang.String bannerText​(@NotNull java.lang.String message)  
      default void beforeDoHighlighting​(@NotNull LightFixtureSpecRenderer<?> specRenderer, @NotNull com.intellij.psi.PsiFile file)
      Called before do highlighting is called on the file
      default @NotNull com.vladsch.flexmark.test.util.spec.SpecExample checkExample​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example)
      Called to allow customizing the example before it is used for tests
      static void clearFields​(@NotNull java.lang.Object test)  
      default void closeOpenFile​(@NotNull LightFixtureSpecRenderer<?> specRenderer)  
      default com.vladsch.flexmark.util.misc.Pair<java.lang.String,​java.lang.String> collectAndCheckHighlighting​(@NotNull LightFixtureSpecRenderer<?> specRenderer, boolean checkLineMarkers, boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, boolean ignoreExtraHighlighting)  
      default com.vladsch.flexmark.util.misc.Pair<java.lang.String,​java.lang.String> collectAndCheckHighlighting​(@NotNull LightFixtureSpecRenderer<?> specRenderer, @NotNull com.intellij.testFramework.ExpectedHighlightingData data, boolean checkLineMarkers)  
      static void collectIntentionActions​(@Nullable java.lang.Integer atOffset, com.intellij.codeInsight.daemon.impl.HighlightInfo info, boolean fileLevel, @NotNull com.intellij.openapi.editor.Editor editor, @NotNull com.intellij.psi.PsiFile file, java.util.List<IntentionInfo> intentions)  
      default @NotNull com.vladsch.flexmark.test.util.DumpSpecReader create​(@NotNull com.vladsch.flexmark.test.util.spec.ResourceLocation location)
      crate a DumpSpecReader for the given resource location and file resource
      LightFixtureSpecRenderer<?> createExampleSpecRenderer​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @Nullable com.vladsch.flexmark.util.data.DataHolder options)  
      default com.intellij.openapi.vfs.VirtualFile createImageFile​(java.lang.String fileName, java.io.InputStream content)
      Create image file
      com.intellij.psi.PsiFile createLightFile​(com.intellij.openapi.fileTypes.FileType fileType, java.lang.String text)
      Create a light file for the given text
      com.intellij.psi.PsiFile createLightFile​(java.lang.String fileName, com.intellij.lang.Language language, java.lang.String text)
      Create a light file for the given text
      static @Nullable com.vladsch.flexmark.util.data.DataHolder[] dataHolders​(@Nullable com.vladsch.flexmark.util.data.DataHolder other, @Nullable com.vladsch.flexmark.util.data.DataHolder[] overrides)  
      void defaultRunBare​(@NotNull com.intellij.util.ThrowableRunnable<java.lang.Throwable> testRunnable)  
      default void defaultTestCase()  
      <T extends com.intellij.openapi.Disposable>
      T
      disposeOnTearDown​(T disposable)  
      default void executeAction​(@NonNls @NotNull java.lang.String actionId)  
      default void executeAction​(@NonNls @NotNull java.lang.String actionId, @NotNull com.intellij.openapi.editor.Editor editor)  
      static void executeAction​(@NonNls @NotNull java.lang.String actionId, @NotNull com.intellij.openapi.editor.Editor editor, com.intellij.openapi.project.Project project)  
      static void executeAction​(@NotNull com.intellij.openapi.editor.Editor editor, boolean assertActionIsEnabled, @NotNull com.intellij.openapi.actionSystem.AnAction action)  
      static void executeKeystroke​(@NotNull com.intellij.openapi.editor.Editor editor, @NotNull javax.swing.KeyStroke stroke)  
      <T extends CodeInsightFixtureSpecTestCase>
      void
      finalizeRenderer​(@NotNull LightFixtureSpecRenderer<T> specRenderer, @NotNull com.vladsch.flexmark.util.data.DataHolder specRendererOptions)
      Reset extra settings for next test and clean up any resources
      default void fullTestSpecComplete()
      Called from dumpSpecReader as it is accumulating tests, to signal end of full test spec
      default void fullTestSpecStarting()
      Called from dumpSpecReader as it is accumulating tests to signal start of full test spec
      static @NotNull java.lang.String getActualLineMarkerFileText​(@NotNull com.intellij.openapi.editor.Document myDocument, @NotNull java.util.Collection<? extends com.intellij.codeInsight.daemon.LineMarkerInfo> markerInfos, @NotNull java.util.function.Function<javax.swing.Icon,​java.lang.String> iconResolver)  
      default @NotNull java.util.List<IntentionInfo> getAvailableIntentionsWithRanges​(@NotNull LightFixtureSpecRenderer<?> specRenderer, @NotNull com.intellij.openapi.editor.Editor editor, @NotNull com.intellij.psi.PsiFile file, boolean atCaretOnly)  
      default int getCaretOffset()
      Returns the offset of the caret in the in-memory editor instance.
      @NotNull com.vladsch.flexmark.util.data.DataHolder getDefaultOptions()
      Get default options for the tests
      default com.intellij.openapi.editor.ex.EditorEx getEditor()
      Returns the editor currently opened in the in-memory editor.
      @NotNull com.vladsch.flexmark.test.util.spec.SpecExample getExample()
      Get the current spec example
      static @NotNull java.lang.String getExampleFileName​(@NotNull java.lang.Class<?> testCaseClass, @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @NotNull com.vladsch.flexmark.util.data.DataHolder options)  
      static @NotNull java.lang.String getExampleName​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example)  
      default com.intellij.psi.PsiFile getFile()
      Returns the file currently loaded into the in-memory editor.
      com.intellij.testFramework.fixtures.CodeInsightTestFixture getFixture()  
      @NotNull java.lang.String getHomePath()  
      default com.intellij.psi.PsiFile getHostFile()  
      @NotNull com.intellij.openapi.module.Module getModule()
      Get Module for the test
      static java.util.Map<java.lang.String,​com.vladsch.flexmark.util.data.DataHolder> getOptionsMap()  
      com.intellij.openapi.project.Project getProject()  
      com.intellij.psi.PsiManager getPsiManager()
      Get PsiManager for the test
      default @NotNull java.lang.String getResultTextWithMarkup​(boolean withCarets, boolean withTestCaretMarkup)  
      default @NotNull java.lang.String getResultTextWithMarkup​(@NotNull com.intellij.openapi.editor.Editor editor, boolean withCarets, boolean withTestCaretMarkup)  
      default @NotNull LightFixtureSpecRenderer<?> getSpecExampleRenderer​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @Nullable com.vladsch.flexmark.util.data.DataHolder exampleOptions)
      Create spec renderer for example
      @NotNull com.intellij.testFramework.fixtures.TempDirTestFixture getTempDirFixture()  
      @NotNull java.lang.String getTestDirectoryName()  
      @NotNull java.lang.String getTestName​(boolean lowercaseFirstLetter)  
      @NotNull com.intellij.openapi.Disposable getTestRootDisposable()  
      static @NotNull java.util.List<java.lang.Object[]> getTests​(@NotNull com.vladsch.flexmark.test.util.spec.ResourceLocation location)  
      @NotNull org.junit.rules.ExpectedException getThrown()  
      <T extends CodeInsightFixtureSpecTestCase>
      void
      initializeRenderer​(@NotNull LightFixtureSpecRenderer<T> specRenderer)
      Load extra settings and initialize spec renderer for parse
      boolean isIconRequired()  
      boolean isPerformanceTest()  
      boolean isStressTest()  
      com.intellij.openapi.diagnostic.Logger LOG()
      Get logger for the test
      static @Nullable java.util.Map<java.lang.String,​? extends com.vladsch.flexmark.util.data.DataHolder> optionsMaps​(@Nullable java.util.Map<java.lang.String,​? extends com.vladsch.flexmark.util.data.DataHolder> other, @Nullable java.util.Map<java.lang.String,​? extends com.vladsch.flexmark.util.data.DataHolder> overrides)  
      static void removeDuplicatedRangesForInjected​(@NotNull java.util.List<? extends com.intellij.codeInsight.daemon.impl.HighlightInfo> infos)  
      <T extends CodeInsightFixtureSpecTestCase>
      void
      renderSpecTestAst​(@NotNull java.lang.StringBuilder ast, @NotNull LightFixtureSpecRenderer<T> specRenderer, @NotNull com.vladsch.flexmark.util.data.DataHolder specRendererOptions)
      Add extra rendered info to spec test AST
      default java.lang.String resolveIconName​(@Nullable javax.swing.Icon icon)  
      boolean runInDispatchThread()  
      boolean shouldContainTempFiles()  
      boolean shouldRunTest()  
      • Methods inherited from interface com.vladsch.flexmark.test.util.SpecExampleProcessor

        options
    • Field Detail

      • BANNER_AST

        static final java.lang.String BANNER_AST
      • BANNER_AST_AFTER_ACTION

        static final java.lang.String BANNER_AST_AFTER_ACTION
      • BANNER_AST_BEFORE_ACTION

        static final java.lang.String BANNER_AST_BEFORE_ACTION
      • BANNER_QUICK_FIXES

        static final java.lang.String BANNER_QUICK_FIXES
      • BANNER_RANGES

        static final java.lang.String BANNER_RANGES
      • BANNER_CLIPBOARD

        static final java.lang.String BANNER_CLIPBOARD
      • BANNER_SEGMENTS

        static final java.lang.String BANNER_SEGMENTS
      • BANNER_AFTER_ACTION

        static final java.lang.String BANNER_AFTER_ACTION
      • BANNER_BEFORE_ACTION

        static final java.lang.String BANNER_BEFORE_ACTION
      • EXCEPTION_MATCHER

        static final com.vladsch.flexmark.test.util.ExceptionMatcher EXCEPTION_MATCHER
      • optionsMap

        static final java.util.Map<java.lang.String,​com.vladsch.flexmark.util.data.DataHolder> optionsMap
      • TEST_CARET_MARKUP

        static final com.vladsch.flexmark.util.data.DataKey<java.lang.Boolean> TEST_CARET_MARKUP
    • Method Detail

      • getOptionsMap

        static java.util.Map<java.lang.String,​com.vladsch.flexmark.util.data.DataHolder> getOptionsMap()
      • bannerText

        @NotNull
        static @NotNull java.lang.String bannerText​(@NotNull
                                                    @NotNull java.lang.String message)
      • appendBanner

        static void appendBanner​(@NotNull
                                 @NotNull java.lang.StringBuilder out,
                                 @NotNull
                                 @NotNull java.lang.String banner)
      • appendBannerIfNeeded

        static void appendBannerIfNeeded​(@NotNull
                                         @NotNull java.lang.StringBuilder out,
                                         @NotNull
                                         @NotNull java.lang.String banner)
      • getTests

        @NotNull
        static @NotNull java.util.List<java.lang.Object[]> getTests​(@NotNull
                                                                    @NotNull com.vladsch.flexmark.test.util.spec.ResourceLocation location)
      • optionsMaps

        @Nullable
        static @Nullable java.util.Map<java.lang.String,​? extends com.vladsch.flexmark.util.data.DataHolder> optionsMaps​(@Nullable
                                                                                                                               @Nullable java.util.Map<java.lang.String,​? extends com.vladsch.flexmark.util.data.DataHolder> other,
                                                                                                                               @Nullable
                                                                                                                               @Nullable java.util.Map<java.lang.String,​? extends com.vladsch.flexmark.util.data.DataHolder> overrides)
      • dataHolders

        @Nullable
        static @Nullable com.vladsch.flexmark.util.data.DataHolder[] dataHolders​(@Nullable
                                                                                 @Nullable com.vladsch.flexmark.util.data.DataHolder other,
                                                                                 @Nullable
                                                                                 @Nullable com.vladsch.flexmark.util.data.DataHolder[] overrides)
      • executeAction

        static void executeAction​(@NonNls @NotNull
                                  @NonNls @NotNull java.lang.String actionId,
                                  @NotNull
                                  @NotNull com.intellij.openapi.editor.Editor editor,
                                  com.intellij.openapi.project.Project project)
      • executeAction

        static void executeAction​(@NotNull
                                  @NotNull com.intellij.openapi.editor.Editor editor,
                                  boolean assertActionIsEnabled,
                                  @NotNull
                                  @NotNull com.intellij.openapi.actionSystem.AnAction action)
      • executeKeystroke

        static void executeKeystroke​(@NotNull
                                     @NotNull com.intellij.openapi.editor.Editor editor,
                                     @NotNull
                                     @NotNull javax.swing.KeyStroke stroke)
      • resolveIconName

        default java.lang.String resolveIconName​(@Nullable
                                                 @Nullable javax.swing.Icon icon)
      • getActualLineMarkerFileText

        @NotNull
        static @NotNull java.lang.String getActualLineMarkerFileText​(@NotNull
                                                                     @NotNull com.intellij.openapi.editor.Document myDocument,
                                                                     @NotNull
                                                                     @NotNull java.util.Collection<? extends com.intellij.codeInsight.daemon.LineMarkerInfo> markerInfos,
                                                                     @NotNull
                                                                     @NotNull java.util.function.Function<javax.swing.Icon,​java.lang.String> iconResolver)
      • removeDuplicatedRangesForInjected

        static void removeDuplicatedRangesForInjected​(@NotNull
                                                      @NotNull java.util.List<? extends com.intellij.codeInsight.daemon.impl.HighlightInfo> infos)
      • clearFields

        static void clearFields​(@NotNull
                                @NotNull java.lang.Object test)
                         throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException
      • getExampleFileName

        @NotNull
        static @NotNull java.lang.String getExampleFileName​(@NotNull
                                                            @NotNull java.lang.Class<?> testCaseClass,
                                                            @NotNull
                                                            @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example,
                                                            @NotNull
                                                            @NotNull com.vladsch.flexmark.util.data.DataHolder options)
      • getExampleName

        @NotNull
        static @NotNull java.lang.String getExampleName​(@NotNull
                                                        @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example)
      • getAvailableIntentionsWithRanges

        @NotNull
        default @NotNull java.util.List<IntentionInfo> getAvailableIntentionsWithRanges​(@NotNull
                                                                                        @NotNull LightFixtureSpecRenderer<?> specRenderer,
                                                                                        @NotNull
                                                                                        @NotNull com.intellij.openapi.editor.Editor editor,
                                                                                        @NotNull
                                                                                        @NotNull com.intellij.psi.PsiFile file,
                                                                                        boolean atCaretOnly)
      • collectIntentionActions

        static void collectIntentionActions​(@Nullable
                                            @Nullable java.lang.Integer atOffset,
                                            com.intellij.codeInsight.daemon.impl.HighlightInfo info,
                                            boolean fileLevel,
                                            @NotNull
                                            @NotNull com.intellij.openapi.editor.Editor editor,
                                            @NotNull
                                            @NotNull com.intellij.psi.PsiFile file,
                                            java.util.List<IntentionInfo> intentions)
      • createExampleSpecRenderer

        LightFixtureSpecRenderer<?> createExampleSpecRenderer​(@NotNull
                                                              @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example,
                                                              @Nullable
                                                              @Nullable com.vladsch.flexmark.util.data.DataHolder options)
      • appendDefaultExampleOptions

        default com.vladsch.flexmark.util.data.DataHolder appendDefaultExampleOptions​(@NotNull
                                                                                      @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example,
                                                                                      @Nullable
                                                                                      @Nullable com.vladsch.flexmark.util.data.DataHolder options,
                                                                                      @NotNull
                                                                                      @NotNull java.lang.String optionsText)
        Used to add default example options as text
        Parameters:
        example - example
        options - example options
        optionsText - option text
        Returns:
        resulting data holder to use for spec renderer instantiation
      • initializeRenderer

        <T extends CodeInsightFixtureSpecTestCase> void initializeRenderer​(@NotNull
                                                                           @NotNull LightFixtureSpecRenderer<T> specRenderer)
        Load extra settings and initialize spec renderer for parse
        Type Parameters:
        T - test case type
        Parameters:
        specRenderer - spec renderer
      • finalizeRenderer

        <T extends CodeInsightFixtureSpecTestCase> void finalizeRenderer​(@NotNull
                                                                         @NotNull LightFixtureSpecRenderer<T> specRenderer,
                                                                         @NotNull
                                                                         @NotNull com.vladsch.flexmark.util.data.DataHolder specRendererOptions)
        Reset extra settings for next test and clean up any resources
        Type Parameters:
        T - test case type
        Parameters:
        specRenderer - spec renderer
        specRendererOptions - options for spec renderer
      • renderSpecTestAst

        <T extends CodeInsightFixtureSpecTestCase> void renderSpecTestAst​(@NotNull
                                                                          @NotNull java.lang.StringBuilder ast,
                                                                          @NotNull
                                                                          @NotNull LightFixtureSpecRenderer<T> specRenderer,
                                                                          @NotNull
                                                                          @NotNull com.vladsch.flexmark.util.data.DataHolder specRendererOptions)
        Add extra rendered info to spec test AST
        Type Parameters:
        T - test case type
        Parameters:
        ast - to add to ast section of spec test
        specRenderer - spec renderer
        specRendererOptions - options for spec renderer
      • getSpecExampleRenderer

        @NotNull
        default @NotNull LightFixtureSpecRenderer<?> getSpecExampleRenderer​(@NotNull
                                                                            @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example,
                                                                            @Nullable
                                                                            @Nullable com.vladsch.flexmark.util.data.DataHolder exampleOptions)
        Create spec renderer for example
        Specified by:
        getSpecExampleRenderer in interface com.vladsch.flexmark.test.util.SpecExampleProcessor
        Parameters:
        example - spec example
        exampleOptions - example custom options
        Returns:
        example spec renderer
      • createImageFile

        default com.intellij.openapi.vfs.VirtualFile createImageFile​(java.lang.String fileName,
                                                                     java.io.InputStream content)
        Create image file
        Parameters:
        fileName - file name
        content - file content
        Returns:
        virtual file for the image file
      • addFullSpecExample

        default void addFullSpecExample​(@NotNull
                                        @NotNull com.vladsch.flexmark.test.util.SpecExampleRenderer exampleRenderer,
                                        @NotNull
                                        @NotNull com.vladsch.flexmark.test.util.SpecExampleParse exampleParse,
                                        @Nullable
                                        @Nullable com.vladsch.flexmark.util.data.DataHolder exampleOptions,
                                        boolean ignoredTestCase,
                                        @NotNull
                                        @NotNull java.lang.String html,
                                        @Nullable
                                        @Nullable java.lang.String ast)
        Called from dumpSpecReader as it is accumulating tests
        Specified by:
        addFullSpecExample in interface com.vladsch.flexmark.test.util.SpecExampleProcessor
        Parameters:
        exampleRenderer - example renderer
        exampleParse - example parse state
        exampleOptions - example options
        ignoredTestCase - true if ignored example
        html - html used for comparison to expected html
        ast - ast used for comparison to expected ast
      • fullTestSpecStarting

        default void fullTestSpecStarting()
        Called from dumpSpecReader as it is accumulating tests to signal start of full test spec
      • fullTestSpecComplete

        default void fullTestSpecComplete()
        Called from dumpSpecReader as it is accumulating tests, to signal end of full test spec
      • beforeDoHighlighting

        default void beforeDoHighlighting​(@NotNull
                                          @NotNull LightFixtureSpecRenderer<?> specRenderer,
                                          @NotNull
                                          @NotNull com.intellij.psi.PsiFile file)
        Called before do highlighting is called on the file
        Parameters:
        specRenderer - spec renderer
        file - psi file
      • create

        @NotNull
        default @NotNull com.vladsch.flexmark.test.util.DumpSpecReader create​(@NotNull
                                                                              @NotNull com.vladsch.flexmark.test.util.spec.ResourceLocation location)
        crate a DumpSpecReader for the given resource location and file resource
        Parameters:
        location - resource location
        Returns:
        DumpSpecReader
      • checkExample

        @NotNull
        default @NotNull com.vladsch.flexmark.test.util.spec.SpecExample checkExample​(@NotNull
                                                                                      @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example)
        Called to allow customizing the example before it is used for tests
        Specified by:
        checkExample in interface com.vladsch.flexmark.test.util.SpecExampleProcessor
        Parameters:
        example - example as it is in the test or spec file
        Returns:
        example to use for tests
      • getDefaultOptions

        @NotNull
        @NotNull com.vladsch.flexmark.util.data.DataHolder getDefaultOptions()
        Get default options for the tests
        Returns:
        default options
      • LOG

        com.intellij.openapi.diagnostic.Logger LOG()
        Get logger for the test
        Returns:
        Logger
      • getExample

        @NotNull
        @NotNull com.vladsch.flexmark.test.util.spec.SpecExample getExample()
        Get the current spec example
        Returns:
        spec example
      • getThrown

        @NotNull
        @NotNull org.junit.rules.ExpectedException getThrown()
      • getTempDirFixture

        @NotNull
        @NotNull com.intellij.testFramework.fixtures.TempDirTestFixture getTempDirFixture()
      • getProject

        com.intellij.openapi.project.Project getProject()
      • getEditor

        default com.intellij.openapi.editor.ex.EditorEx getEditor()
        Returns the editor currently opened in the in-memory editor. to make it same as LightPlatformCodeInsightTestCase
        Returns:
        editor currently opened in the in-memory editor.
      • getCaretOffset

        default int getCaretOffset()
        Returns the offset of the caret in the in-memory editor instance.
        Returns:
        the offset of the caret in the in-memory editor instance.
      • getFile

        default com.intellij.psi.PsiFile getFile()
        Returns the file currently loaded into the in-memory editor.
        Returns:
        the file currently loaded into the in-memory editor.
      • getPsiManager

        com.intellij.psi.PsiManager getPsiManager()
        Get PsiManager for the test
        Returns:
        PsiManager
      • createLightFile

        com.intellij.psi.PsiFile createLightFile​(com.intellij.openapi.fileTypes.FileType fileType,
                                                 java.lang.String text)
        Create a light file for the given text
        Parameters:
        fileType - file type
        text - file text
        Returns:
        PsiFile
      • createLightFile

        com.intellij.psi.PsiFile createLightFile​(java.lang.String fileName,
                                                 com.intellij.lang.Language language,
                                                 java.lang.String text)
        Create a light file for the given text
        Parameters:
        fileName - file name
        language - language
        text - file text
        Returns:
        PsiFile
      • getModule

        @NotNull
        @NotNull com.intellij.openapi.module.Module getModule()
        Get Module for the test
        Returns:
        Module
      • addSuppressedException

        void addSuppressedException​(@NotNull
                                    @NotNull java.lang.Throwable e)
        Add a suppressed exception
        Parameters:
        e - exception to add
      • shouldContainTempFiles

        boolean shouldContainTempFiles()
      • isIconRequired

        boolean isIconRequired()
      • getTestRootDisposable

        @NotNull
        @NotNull com.intellij.openapi.Disposable getTestRootDisposable()
      • shouldRunTest

        boolean shouldRunTest()
      • defaultRunBare

        void defaultRunBare​(@NotNull
                            @NotNull com.intellij.util.ThrowableRunnable<java.lang.Throwable> testRunnable)
                     throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • runInDispatchThread

        boolean runInDispatchThread()
      • disposeOnTearDown

        @NotNull
        <T extends com.intellij.openapi.Disposable> T disposeOnTearDown​(@NotNull
                                                                        T disposable)
      • getTestName

        @NotNull
        @NotNull java.lang.String getTestName​(boolean lowercaseFirstLetter)
      • getTestDirectoryName

        @NotNull
        @NotNull java.lang.String getTestDirectoryName()
      • isPerformanceTest

        boolean isPerformanceTest()
      • isStressTest

        boolean isStressTest()
      • assertNoThrowable

        void assertNoThrowable​(@NotNull
                               @NotNull java.lang.Runnable closure)
      • annotatedWith

        boolean annotatedWith​(@NotNull
                              @NotNull java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
      • getHomePath

        @NotNull
        @NotNull java.lang.String getHomePath()
      • getFixture

        com.intellij.testFramework.fixtures.CodeInsightTestFixture getFixture()
      • executeAction

        default void executeAction​(@NonNls @NotNull
                                   @NonNls @NotNull java.lang.String actionId)
      • executeAction

        default void executeAction​(@NonNls @NotNull
                                   @NonNls @NotNull java.lang.String actionId,
                                   @NotNull
                                   @NotNull com.intellij.openapi.editor.Editor editor)
      • getResultTextWithMarkup

        @NotNull
        default @NotNull java.lang.String getResultTextWithMarkup​(boolean withCarets,
                                                                  boolean withTestCaretMarkup)
      • getResultTextWithMarkup

        @NotNull
        default @NotNull java.lang.String getResultTextWithMarkup​(@NotNull
                                                                  @NotNull com.intellij.openapi.editor.Editor editor,
                                                                  boolean withCarets,
                                                                  boolean withTestCaretMarkup)
      • collectAndCheckHighlighting

        default com.vladsch.flexmark.util.misc.Pair<java.lang.String,​java.lang.String> collectAndCheckHighlighting​(@NotNull
                                                                                                                         @NotNull LightFixtureSpecRenderer<?> specRenderer,
                                                                                                                         boolean checkLineMarkers,
                                                                                                                         boolean checkWarnings,
                                                                                                                         boolean checkInfos,
                                                                                                                         boolean checkWeakWarnings,
                                                                                                                         boolean ignoreExtraHighlighting)
      • getHostFile

        default com.intellij.psi.PsiFile getHostFile()
      • collectAndCheckHighlighting

        default com.vladsch.flexmark.util.misc.Pair<java.lang.String,​java.lang.String> collectAndCheckHighlighting​(@NotNull
                                                                                                                         @NotNull LightFixtureSpecRenderer<?> specRenderer,
                                                                                                                         @NotNull
                                                                                                                         @NotNull com.intellij.testFramework.ExpectedHighlightingData data,
                                                                                                                         boolean checkLineMarkers)
      • defaultTestCase

        default void defaultTestCase()