Class LightFixtureSpecRenderer<T extends CodeInsightFixtureSpecTestCase>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.StringBuilder ast  
      protected java.lang.StringBuilder html  
      protected AdditionalProjectFiles myAdditionalProjectFiles  
      protected @NotNull java.util.HashMap<java.lang.String,​com.intellij.openapi.vfs.VirtualFile> myAdditionalVirtualFiles  
      protected T mySpecTest  
      • Fields inherited from class com.vladsch.flexmark.test.util.SpecExampleRendererBase

        myExample, myIncludeExampleInfo, myOptions
      • Fields inherited from interface com.vladsch.flexmark.test.util.SpecExampleRenderer

        NULL
    • Constructor Summary

      Constructors 
      Constructor Description
      LightFixtureSpecRenderer​(T specTest, @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @Nullable com.vladsch.flexmark.util.data.DataHolder options)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      com.intellij.psi.PsiFile addFileToProject​(@NotNull java.lang.String relativePath, @NotNull java.lang.String fileText)  
      void addSuppressedException​(@NotNull java.lang.Throwable e)  
      void allowTreeAccessForAllFiles()  
      void allowTreeAccessForFile​(@NotNull com.intellij.openapi.vfs.VirtualFile file)  
      boolean annotatedWith​(@NotNull java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)  
      static <T> void assertContainsElements​(@NotNull java.util.Collection<? extends T> collection, @NotNull java.util.Collection<? extends T> expected)  
      static <T> void assertContainsElements​(@NotNull java.util.Collection<? extends T> collection, @NotNull T... expected)  
      static <T> void assertContainsOrdered​(@NotNull java.util.Collection<? extends T> collection, @NotNull java.util.Collection<? extends T> expected)  
      static <T> void assertContainsOrdered​(@NotNull java.util.Collection<? extends T> collection, @NotNull T... expected)  
      static <T> void assertDoesntContain​(@NotNull java.util.Collection<? extends T> collection, @NotNull java.util.Collection<? extends T> notExpected)  
      static <T> void assertDoesntContain​(@NotNull java.util.Collection<? extends T> collection, @NotNull T... notExpected)  
      static void assertDoesntExist​(@NotNull java.io.File file)  
      static void assertEmpty​(@NotNull java.lang.Object[] array)  
      static <T> void assertEmpty​(@NotNull java.lang.String errorMsg, @NotNull java.util.Collection<? extends T> collection)  
      static void assertEmpty​(@NotNull java.util.Collection<?> collection)  
      static void assertEmpty​(java.lang.String s)  
      static void assertEquals​(boolean expected, boolean actual)  
      static void assertEquals​(byte expected, byte actual)  
      static void assertEquals​(char expected, char actual)  
      static void assertEquals​(double expected, double actual, double delta)  
      static void assertEquals​(float expected, float actual, float delta)  
      static void assertEquals​(int expected, int actual)  
      static void assertEquals​(long expected, long actual)  
      static void assertEquals​(short expected, short actual)  
      static void assertEquals​(java.lang.Object expected, java.lang.Object actual)  
      static void assertEquals​(java.lang.String message, boolean expected, boolean actual)  
      static void assertEquals​(java.lang.String message, byte expected, byte actual)  
      static void assertEquals​(java.lang.String message, char expected, char actual)  
      static void assertEquals​(java.lang.String message, double expected, double actual, double delta)  
      static void assertEquals​(java.lang.String message, float expected, float actual, float delta)  
      static void assertEquals​(java.lang.String message, int expected, int actual)  
      static void assertEquals​(java.lang.String message, long expected, long actual)  
      static void assertEquals​(java.lang.String message, short expected, short actual)  
      static void assertEquals​(java.lang.String message, java.lang.Object expected, java.lang.Object actual)  
      static void assertEquals​(java.lang.String expected, java.lang.String actual)  
      static void assertEquals​(java.lang.String message, java.lang.String expected, java.lang.String actual)  
      static void assertExists​(@NotNull java.io.File file)  
      static void assertFalse​(boolean condition)  
      static void assertFalse​(java.lang.String message, boolean condition)  
      static <T> T assertInstanceOf​(java.lang.Object o, @NotNull java.lang.Class<T> aClass)  
      static void assertNotEmpty​(java.util.Collection<?> collection)  
      void assertNoThrowable​(@NotNull java.lang.Runnable closure)  
      static void assertNotNull​(java.lang.Object object)  
      static void assertNotNull​(java.lang.String message, java.lang.Object object)  
      static void assertNotSame​(java.lang.Object expected, java.lang.Object actual)  
      static void assertNotSame​(java.lang.String message, java.lang.Object expected, java.lang.Object actual)  
      static void assertNull​(java.lang.Object object)  
      static void assertNull​(java.lang.String message, java.lang.Object object)  
      static void assertNullOrEmpty​(@Nullable java.util.Collection<?> collection)  
      static <T> T assertOneElement​(@NotNull java.util.Collection<? extends T> collection)  
      static <T> T assertOneElement​(@NotNull T[] ts)  
      static <T> void assertOneOf​(T value, @NotNull T... values)  
      static <T> void assertOrderedCollection​(@NotNull java.util.Collection<? extends T> collection, @NotNull com.intellij.util.Consumer<T>... checkers)  
      static <T> void assertOrderedCollection​(@NotNull T[] collection, @NotNull com.intellij.util.Consumer<T>... checkers)  
      static void assertOrderedEquals​(@org.jetbrains.annotations.NotNull byte[] actual, @org.jetbrains.annotations.NotNull byte[] expected)  
      static void assertOrderedEquals​(@org.jetbrains.annotations.NotNull int[] actual, @org.jetbrains.annotations.NotNull int[] expected)  
      static <T> void assertOrderedEquals​(@NotNull java.lang.Iterable<? extends T> actual, @NotNull java.lang.Iterable<? extends T> expected)  
      static <T> void assertOrderedEquals​(@NotNull java.lang.Iterable<? extends T> actual, @NotNull T... expected)  
      static <T> void assertOrderedEquals​(@NotNull java.lang.String errorMsg, @NotNull java.lang.Iterable<? extends T> actual, @NotNull java.lang.Iterable<? extends T> expected)  
      static <T> void assertOrderedEquals​(@NotNull java.lang.String errorMsg, @NotNull java.lang.Iterable<? extends T> actual, @NotNull java.lang.Iterable<? extends T> expected, @NotNull gnu.trove.Equality<? super T> comparator)  
      static <T> void assertOrderedEquals​(@NotNull java.lang.String errorMsg, @NotNull java.lang.Iterable<? extends T> actual, @NotNull T... expected)  
      static <T> void assertOrderedEquals​(@NotNull T[] actual, @NotNull T... expected)  
      void assertPreferredCompletionItems​(int selected, @NotNull java.lang.String... expected)  
      static void assertSame​(java.lang.Object expected, java.lang.Object actual)  
      static void assertSame​(java.lang.String message, java.lang.Object expected, java.lang.Object actual)  
      static <T> void assertSameElements​(@NotNull java.lang.String message, @NotNull java.util.Collection<? extends T> actual, @NotNull java.util.Collection<? extends T> expected)  
      static <T> void assertSameElements​(@NotNull java.util.Collection<? extends T> actual, @NotNull java.util.Collection<? extends T> expected)  
      static <T> void assertSameElements​(@NotNull java.util.Collection<? extends T> actual, @NotNull T... expected)  
      static <T> void assertSameElements​(@NotNull T[] actual, @NotNull T... expected)  
      static void assertSameLines​(@NotNull java.lang.String expected, @NotNull java.lang.String actual)  
      static void assertSameLines​(@Nullable java.lang.String message, @NotNull java.lang.String expected, @NotNull java.lang.String actual)  
      static void assertSameLinesWithFile​(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText)  
      static void assertSameLinesWithFile​(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText, boolean trimBeforeComparing)  
      static void assertSameLinesWithFile​(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText, boolean trimBeforeComparing, @Nullable java.util.function.Supplier<java.lang.String> messageProducer)  
      static void assertSameLinesWithFile​(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText, @NotNull java.util.function.Supplier<java.lang.String> messageProducer)  
      static void assertSize​(int expectedSize, @NotNull java.lang.Object[] array)  
      static void assertSize​(int expectedSize, @NotNull java.util.Collection<?> c)  
      static <T extends java.lang.Throwable>
      void
      assertThrows​(@NotNull java.lang.Class<? extends java.lang.Throwable> exceptionClass, @NotNull com.intellij.util.ThrowableRunnable<T> runnable)  
      static <T extends java.lang.Throwable>
      void
      assertThrows​(@NotNull java.lang.Class<? extends java.lang.Throwable> exceptionClass, @Nullable java.lang.String expectedErrorMsg, @NotNull com.intellij.util.ThrowableRunnable<T> runnable)  
      static void assertTrue​(boolean condition)  
      static void assertTrue​(java.lang.String message, boolean condition)  
      static <T> void assertUnorderedCollection​(@NotNull java.util.Collection<? extends T> collection, @NotNull com.intellij.util.Consumer<T>... checkers)  
      static <T> void assertUnorderedCollection​(@NotNull T[] collection, @NotNull com.intellij.util.Consumer<T>... checkers)  
      long checkHighlighting()  
      long checkHighlighting​(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings)  
      long checkHighlighting​(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, boolean ignoreExtraHighlighting)  
      void checkResult​(@NotNull java.lang.String text)  
      void checkResult​(@NotNull java.lang.String text, boolean stripTrailingSpaces)  
      void checkResult​(@NotNull java.lang.String filePath, @NotNull java.lang.String text, boolean stripTrailingSpaces)  
      void checkResultByFile​(@NotNull java.lang.String expectedFile)  
      void checkResultByFile​(@NotNull java.lang.String expectedFile, boolean ignoreTrailingWhitespaces)  
      void checkResultByFile​(@NotNull java.lang.String filePath, @NotNull java.lang.String expectedFile, boolean ignoreTrailingWhitespaces)  
      void checkResultWithInlays​(java.lang.String text)  
      static void clearDeclaredFields​(@NotNull java.lang.Object test, @NotNull java.lang.Class<?> aClass)  
      static void clearFields​(@NotNull java.lang.Object test)  
      com.intellij.codeInsight.lookup.LookupElement[] complete​(@NotNull com.intellij.codeInsight.completion.CompletionType type)  
      com.intellij.codeInsight.lookup.LookupElement[] complete​(@NotNull com.intellij.codeInsight.completion.CompletionType type, int invocationCount)  
      com.intellij.codeInsight.lookup.LookupElement[] completeBasic()  
      @NotNull java.util.List<com.intellij.codeInsight.lookup.LookupElement> completeBasicAllCarets​(@Nullable java.lang.Character charToTypeAfterCompletion)  
      com.intellij.psi.PsiFile configureByFile​(@NotNull java.lang.String filePath)  
      @NotNull com.intellij.psi.PsiFile[] configureByFiles​(@NotNull java.lang.String... filePaths)  
      com.intellij.psi.PsiFile configureByText​(@NotNull com.intellij.openapi.fileTypes.FileType fileType, @NotNull java.lang.String text)  
      com.intellij.psi.PsiFile configureByText​(@NotNull java.lang.String fileName, @NotNull java.lang.String text)  
      void configureFromExistingVirtualFile​(@NotNull com.intellij.openapi.vfs.VirtualFile virtualFile)  
      com.intellij.psi.PsiFile configureFromTempProjectFile​(@NotNull java.lang.String filePath)  
      @NotNull com.intellij.openapi.vfs.VirtualFile copyDirectoryToProject​(@NotNull java.lang.String sourceFilePath, @NotNull java.lang.String targetPath)  
      @NotNull com.intellij.openapi.vfs.VirtualFile copyFileToProject​(@NotNull java.lang.String sourceFilePath)  
      @NotNull com.intellij.openapi.vfs.VirtualFile copyFileToProject​(@NotNull java.lang.String sourceFilePath, @NotNull java.lang.String targetPath)  
      com.intellij.psi.PsiFile createLightFile​(com.intellij.openapi.fileTypes.FileType fileType, java.lang.String text)  
      com.intellij.psi.PsiFile createLightFile​(java.lang.String fileName, com.intellij.lang.Language language, java.lang.String text)  
      void defaultRunBare​(@NotNull com.intellij.util.ThrowableRunnable<java.lang.Throwable> testRunnable)  
      void disableInspections​(@NotNull com.intellij.codeInspection.InspectionProfileEntry... inspections)  
      <T extends com.intellij.openapi.Disposable>
      T
      disposeOnTearDown​(T disposable)  
      @NotNull java.util.List<com.intellij.codeInsight.daemon.impl.HighlightInfo> doHighlighting()  
      @NotNull java.util.List<com.intellij.codeInsight.daemon.impl.HighlightInfo> doHighlighting​(@NotNull com.intellij.lang.annotation.HighlightSeverity minimalSeverity)  
      static void doPostponedFormatting​(@NotNull com.intellij.openapi.project.Project project)  
      void enableInspections​(@NotNull com.intellij.codeInspection.InspectionProfileEntry... inspections)  
      void enableInspections​(@NotNull com.intellij.codeInspection.InspectionToolProvider... providers)  
      void enableInspections​(@NotNull java.lang.Class<? extends com.intellij.codeInspection.LocalInspectionTool>... inspections)  
      void enableInspections​(@NotNull java.util.Collection<java.lang.Class<? extends com.intellij.codeInspection.LocalInspectionTool>> inspections)  
      static void executeAction​(@NotNull com.intellij.openapi.editor.Editor editor, boolean assertActionIsEnabled, @NotNull com.intellij.openapi.actionSystem.AnAction action)  
      void executeAction​(@NotNull java.lang.String actionId)  
      void executeAction​(@NotNull java.lang.String actionId, @NotNull com.intellij.openapi.editor.Editor editor)  
      static void executeAction​(@NotNull java.lang.String actionId, @NotNull com.intellij.openapi.editor.Editor editor, com.intellij.openapi.project.Project project)  
      static void executeKeystroke​(@NotNull com.intellij.openapi.editor.Editor editor, @NotNull javax.swing.KeyStroke stroke)  
      static void fail()  
      static void fail​(java.lang.String message)  
      static void failNotEquals​(java.lang.String message, java.lang.Object expected, java.lang.Object actual)  
      static void failNotSame​(java.lang.String message, java.lang.Object expected, java.lang.Object actual)  
      static void failSame​(java.lang.String message)  
      @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> filterAvailableIntentions​(@NotNull java.lang.String hint)  
      void finalizeDocument()  
      void finalizeRender()  
      java.util.List<com.intellij.codeInsight.daemon.GutterMark> findAllGutters()  
      @NotNull java.util.List<com.intellij.codeInsight.daemon.GutterMark> findAllGutters​(@NotNull java.lang.String filePath)  
      <T extends com.intellij.psi.PsiElement>
      T
      findElementByText​(@NotNull java.lang.String text, @NotNull java.lang.Class<T> elementClass)  
      com.intellij.openapi.vfs.VirtualFile findFileInTempDir​(@NotNull java.lang.String filePath)  
      @Nullable com.intellij.codeInsight.daemon.GutterMark findGutter​(@NotNull java.lang.String filePath)  
      @NotNull java.util.List<com.intellij.codeInsight.daemon.GutterMark> findGuttersAtCaret()  
      @NotNull com.intellij.codeInsight.intention.IntentionAction findSingleIntention​(@NotNull java.lang.String hint)  
      @NotNull java.util.Collection<com.intellij.usageView.UsageInfo> findUsages​(@NotNull com.intellij.psi.PsiElement to)  
      void finishLookup​(char completionChar)  
      static java.lang.String format​(java.lang.String message, java.lang.Object expected, java.lang.Object actual)  
      AdditionalProjectFiles getAdditionalProjectFiles()  
      @NotNull java.util.HashMap<java.lang.String,​com.intellij.openapi.vfs.VirtualFile> getAdditionalVirtualFiles()  
      @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> getAllQuickFixes​(@NotNull java.lang.String... filePaths)  
      protected java.lang.String getAstBanner()  
      @Nullable com.intellij.codeInsight.intention.IntentionAction getAvailableIntention​(@NotNull java.lang.String intentionName, @NotNull java.lang.String... filePaths)  
      @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> getAvailableIntentions()  
      @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> getAvailableIntentions​(@NotNull java.lang.String... filePaths)  
      @NotNull java.util.List<IntentionInfo> getAvailableIntentionsWithRanges​(boolean atCaretOnly)  
      @NotNull java.util.List<com.intellij.ui.components.breadcrumbs.Crumb> getBreadcrumbsAtCaret()  
      int getCaretOffset()  
      @Nullable java.util.List<java.lang.String> getCompletionVariants​(@NotNull java.lang.String... filesBefore)  
      com.intellij.openapi.editor.Document getDocument​(@NotNull com.intellij.psi.PsiFile file)  
      com.intellij.openapi.editor.Editor getEditor()  
      @NotNull com.intellij.psi.PsiElement getElementAtCaret()  
      protected @NotNull java.lang.String getExampleFileName​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @NotNull com.vladsch.flexmark.util.data.DataHolder options)  
      protected @NotNull java.lang.String getExampleName​(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example)  
      com.intellij.psi.PsiFile getFile()  
      com.intellij.testFramework.fixtures.CodeInsightTestFixture getFixture()  
      @NotNull java.util.List<java.lang.Object> getGotoClassResults​(@NotNull java.lang.String pattern, boolean searchEverywhere, @Nullable com.intellij.psi.PsiElement contextForSorting)  
      @NotNull java.lang.String getHomePath()  
      protected @NotNull com.intellij.openapi.editor.Editor getHostEditor()  
      protected com.intellij.psi.PsiFile getHostFileAtCaret()  
      com.intellij.codeInsight.lookup.LookupEx getLookup()  
      @Nullable com.intellij.codeInsight.lookup.LookupElement[] getLookupElements()  
      @Nullable java.util.List<java.lang.String> getLookupElementStrings()  
      @NotNull com.intellij.openapi.module.Module getModule()  
      @NotNull com.vladsch.flexmark.util.data.DataHolder getOptions()  
      protected com.intellij.openapi.project.Project getProject()  
      @NotNull com.intellij.openapi.Disposable getProjectDisposable()  
      com.intellij.psi.PsiManager getPsiManager()  
      @Nullable com.intellij.psi.PsiReference getReferenceAtCaretPosition​(@NotNull java.lang.String... filePaths)  
      @NotNull com.intellij.psi.PsiReference getReferenceAtCaretPositionWithAssertion​(@NotNull java.lang.String... filePaths)  
      protected com.intellij.openapi.editor.Editor getResultEditor()  
      protected com.intellij.psi.PsiFile getResultFile()  
      protected @NotNull java.lang.String getResultTextWithMarkup​(boolean withCarets, boolean withTestCaretMarkup)  
      protected @NotNull java.lang.String getResultTextWithMarkup​(@NotNull com.intellij.openapi.editor.Editor editor, boolean withCarets, boolean withTestCaretMarkup)  
      @NotNull com.intellij.testFramework.fixtures.TempDirTestFixture getTempDirFixture()  
      @NotNull java.lang.String getTempDirPath()  
      @NotNull java.lang.String getTestDirectoryName()  
      @NotNull java.lang.String getTestName​(boolean lowercaseFirstLetter)  
      static @NotNull java.lang.String getTestName​(@Nullable java.lang.String name, boolean lowercaseFirstLetter)  
      @NotNull com.intellij.openapi.Disposable getTestRootDisposable()  
      @NotNull java.lang.String getUsageViewTreeTextRepresentation​(@NotNull com.intellij.psi.PsiElement to)  
      @NotNull java.lang.String getUsageViewTreeTextRepresentation​(@NotNull java.util.Collection<? extends com.intellij.usageView.UsageInfo> usages)  
      void includeDocument​(@NotNull java.lang.String includedText)  
      boolean includeExampleInfo()  
      boolean isIconRequired()  
      boolean isPerformanceTest()  
      boolean isStressTest()  
      void launchAction​(@NotNull com.intellij.codeInsight.intention.IntentionAction action)  
      void moveFile​(@NotNull java.lang.String filePath, @NotNull java.lang.String to, @NotNull java.lang.String... additionalFiles)  
      void openFileInEditor​(@NotNull com.intellij.openapi.vfs.VirtualFile file)  
      protected com.vladsch.flexmark.util.data.DataHolder options​(java.lang.String optionSet)  
      void parse​(java.lang.CharSequence input)  
      void performEditorAction​(@NotNull java.lang.String actionId)  
      static void printThreadDump()  
      static com.intellij.openapi.vfs.VirtualFile refreshAndFindFile​(@NotNull java.io.File file)  
      static void refreshRecursively​(@NotNull com.intellij.openapi.vfs.VirtualFile file)  
      void renameElement​(@NotNull com.intellij.psi.PsiElement element, @NotNull java.lang.String newName)  
      void renameElement​(@NotNull com.intellij.psi.PsiElement element, @NotNull java.lang.String newName, boolean searchInComments, boolean searchTextOccurrences)  
      void renameElementAtCaret​(@NotNull java.lang.String newName)  
      void renameElementAtCaretUsingHandler​(@NotNull java.lang.String newName)  
      protected @NotNull java.lang.String renderAst()  
      protected void renderAst​(java.lang.StringBuilder out)  
      protected void renderAstText​(java.lang.StringBuilder out, com.intellij.psi.PsiElement element, java.lang.String indent)  
      protected abstract @NotNull java.lang.String renderHtml()  
      protected void renderIntentions​(java.lang.StringBuilder out, boolean atCaretOnly)  
      protected void renderQuickFixesText​(java.lang.StringBuilder out)  
      void renderRanges​(java.lang.StringBuilder out, com.vladsch.flexmark.util.sequence.BasedSequence result)  
      boolean runInDispatchThread()  
      void saveText​(@NotNull com.intellij.openapi.vfs.VirtualFile file, @NotNull java.lang.String text)  
      void setCaresAboutInjection​(boolean caresAboutInjection)  
      void setTestDataPath​(@NotNull java.lang.String dataPath)  
      boolean shouldContainTempFiles()  
      boolean shouldRunTest()  
      @NotNull com.intellij.openapi.actionSystem.Presentation testAction​(@NotNull com.intellij.openapi.actionSystem.AnAction action)  
      void testCompletion​(@NotNull java.lang.String[] filesBefore, @NotNull java.lang.String fileAfter)  
      void testCompletion​(@NotNull java.lang.String fileBefore, @NotNull java.lang.String fileAfter, @NotNull java.lang.String... additionalFiles)  
      void testCompletionTyping​(@NotNull java.lang.String[] filesBefore, @NotNull java.lang.String toType, @NotNull java.lang.String fileAfter)  
      void testCompletionTyping​(@NotNull java.lang.String fileBefore, @NotNull java.lang.String toType, @NotNull java.lang.String fileAfter, @NotNull java.lang.String... additionalFiles)  
      void testCompletionVariants​(@NotNull java.lang.String fileBefore, @NotNull java.lang.String... items)  
      @NotNull com.intellij.testFramework.HighlightTestInfo testFile​(@NotNull java.lang.String... filePath)  
      @NotNull java.util.Collection<com.intellij.usageView.UsageInfo> testFindUsages​(@NotNull java.lang.String... fileNames)  
      @NotNull java.util.Collection<com.intellij.usages.Usage> testFindUsagesUsingAction​(@NotNull java.lang.String... fileNames)  
      void testFolding​(@NotNull java.lang.String fileName)  
      void testFoldingWithCollapseStatus​(@NotNull java.lang.String fileName)  
      void testFoldingWithCollapseStatus​(@NotNull java.lang.String verificationFileName, @Nullable java.lang.String destinationFileName)  
      long testHighlighting​(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull com.intellij.openapi.vfs.VirtualFile file)  
      long testHighlighting​(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull java.lang.String... filePaths)  
      long testHighlighting​(@NotNull java.lang.String... filePaths)  
      long testHighlightingAllFiles​(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull com.intellij.openapi.vfs.VirtualFile... files)  
      long testHighlightingAllFiles​(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull java.lang.String... filePaths)  
      @NotNull com.intellij.openapi.editor.markup.RangeHighlighter[] testHighlightUsages​(@NotNull java.lang.String... files)  
      void testInlays()  
      void testInlays​(java.util.function.Function<? super com.intellij.openapi.editor.Inlay,​java.lang.String> inlayPresenter, java.util.function.Predicate<? super com.intellij.openapi.editor.Inlay> inlayFilter)  
      void testInspection​(@NotNull java.lang.String testDir, @NotNull com.intellij.codeInspection.ex.InspectionToolWrapper toolWrapper)  
      void testRainbow​(@NotNull java.lang.String fileName, @NotNull java.lang.String text, boolean isRainbowOn, boolean withColor)  
      void testRename​(@NotNull java.lang.String fileAfter, @NotNull java.lang.String newName)  
      void testRename​(@NotNull java.lang.String fileBefore, @NotNull java.lang.String fileAfter, @NotNull java.lang.String newName, @NotNull java.lang.String... additionalFiles)  
      void testRenameUsingHandler​(@NotNull java.lang.String fileAfter, @NotNull java.lang.String newName)  
      void testRenameUsingHandler​(@NotNull java.lang.String fileBefore, @NotNull java.lang.String fileAfter, @NotNull java.lang.String newName, @NotNull java.lang.String... additionalFiles)  
      void testStructureView​(com.intellij.util.Consumer<? super com.intellij.ide.structureView.newStructureView.StructureViewComponent> consumer)  
      static @NotNull java.lang.String toString​(@NotNull java.lang.Iterable<?> collection)  
      static @NotNull java.lang.String toString​(@NotNull java.lang.Object[] collection, @NotNull java.lang.String separator)  
      static @NotNull java.lang.String toString​(@NotNull java.util.Collection<?> collection, @NotNull java.lang.String separator)  
      void type​(char c)  
      void type​(@NotNull java.lang.String s)  
      static void waitForAppLeakingThreads​(long timeout, @NotNull java.util.concurrent.TimeUnit timeUnit)  
      protected boolean wantAstByDefault()  
      • Methods inherited from class com.vladsch.flexmark.test.util.SpecExampleRendererBase

        getAst, getExample, getHtml, isFinalized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • myAdditionalVirtualFiles

        @NotNull
        protected final @NotNull java.util.HashMap<java.lang.String,​com.intellij.openapi.vfs.VirtualFile> myAdditionalVirtualFiles
      • ast

        protected final java.lang.StringBuilder ast
      • html

        protected final java.lang.StringBuilder html
    • Constructor Detail

      • LightFixtureSpecRenderer

        public LightFixtureSpecRenderer​(@NotNull
                                        T specTest,
                                        @NotNull
                                        @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example,
                                        @Nullable
                                        @Nullable com.vladsch.flexmark.util.data.DataHolder options)
    • Method Detail

      • getAdditionalVirtualFiles

        @NotNull
        public @NotNull java.util.HashMap<java.lang.String,​com.intellij.openapi.vfs.VirtualFile> getAdditionalVirtualFiles()
      • getAvailableIntentionsWithRanges

        @NotNull
        public @NotNull java.util.List<IntentionInfo> getAvailableIntentionsWithRanges​(boolean atCaretOnly)
      • getHostEditor

        @NotNull
        protected @NotNull com.intellij.openapi.editor.Editor getHostEditor()
      • getHostFileAtCaret

        protected com.intellij.psi.PsiFile getHostFileAtCaret()
      • includeExampleInfo

        public boolean includeExampleInfo()
        Specified by:
        includeExampleInfo in interface com.vladsch.flexmark.test.util.SpecExampleRenderer
        Overrides:
        includeExampleInfo in class com.vladsch.flexmark.test.util.SpecExampleRendererBase
      • getOptions

        @NotNull
        public final @NotNull com.vladsch.flexmark.util.data.DataHolder getOptions()
        Specified by:
        getOptions in interface com.vladsch.flexmark.test.util.SpecExampleRenderer
        Overrides:
        getOptions in class com.vladsch.flexmark.test.util.SpecExampleRendererBase
      • wantAstByDefault

        protected boolean wantAstByDefault()
      • renderAst

        protected void renderAst​(java.lang.StringBuilder out)
      • getAstBanner

        protected java.lang.String getAstBanner()
      • renderQuickFixesText

        protected void renderQuickFixesText​(java.lang.StringBuilder out)
      • renderRanges

        public void renderRanges​(java.lang.StringBuilder out,
                                 com.vladsch.flexmark.util.sequence.BasedSequence result)
      • getResultEditor

        protected com.intellij.openapi.editor.Editor getResultEditor()
      • getResultFile

        protected com.intellij.psi.PsiFile getResultFile()
      • renderAst

        @NotNull
        protected final @NotNull java.lang.String renderAst()
        Specified by:
        renderAst in class com.vladsch.flexmark.test.util.SpecExampleRendererBase
      • includeDocument

        public void includeDocument​(@NotNull
                                    @NotNull java.lang.String includedText)
      • renderAstText

        protected void renderAstText​(java.lang.StringBuilder out,
                                     com.intellij.psi.PsiElement element,
                                     java.lang.String indent)
      • renderHtml

        @NotNull
        protected abstract @NotNull java.lang.String renderHtml()
        Specified by:
        renderHtml in class com.vladsch.flexmark.test.util.SpecExampleRendererBase
      • renderIntentions

        protected void renderIntentions​(java.lang.StringBuilder out,
                                        boolean atCaretOnly)
      • parse

        public void parse​(java.lang.CharSequence input)
      • finalizeDocument

        public void finalizeDocument()
      • finalizeRender

        public void finalizeRender()
        Specified by:
        finalizeRender in interface com.vladsch.flexmark.test.util.SpecExampleRenderer
        Overrides:
        finalizeRender in class com.vladsch.flexmark.test.util.SpecExampleRendererBase
      • executeAction

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

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

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

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

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

        public com.intellij.openapi.editor.Editor getEditor()
      • getCaretOffset

        public int getCaretOffset()
      • getFile

        public com.intellij.psi.PsiFile getFile()
      • setTestDataPath

        public void setTestDataPath​(@NotNull
                                    @NotNull java.lang.String dataPath)
      • getTempDirPath

        @NotNull
        public @NotNull java.lang.String getTempDirPath()
      • getTempDirFixture

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

        @NotNull
        public @NotNull com.intellij.openapi.vfs.VirtualFile copyFileToProject​(@NotNull
                                                                               @NotNull java.lang.String sourceFilePath)
      • copyFileToProject

        @NotNull
        public @NotNull com.intellij.openapi.vfs.VirtualFile copyFileToProject​(@NotNull
                                                                               @NotNull java.lang.String sourceFilePath,
                                                                               @NotNull
                                                                               @NotNull java.lang.String targetPath)
      • copyDirectoryToProject

        @NotNull
        public @NotNull com.intellij.openapi.vfs.VirtualFile copyDirectoryToProject​(@NotNull
                                                                                    @NotNull java.lang.String sourceFilePath,
                                                                                    @NotNull
                                                                                    @NotNull java.lang.String targetPath)
      • configureByFile

        public com.intellij.psi.PsiFile configureByFile​(@NotNull
                                                        @NotNull java.lang.String filePath)
      • configureByFiles

        @NotNull
        public @NotNull com.intellij.psi.PsiFile[] configureByFiles​(@NotNull
                                                                    @NotNull java.lang.String... filePaths)
      • configureByText

        public com.intellij.psi.PsiFile configureByText​(@NotNull
                                                        @NotNull com.intellij.openapi.fileTypes.FileType fileType,
                                                        @NotNull
                                                        @NotNull java.lang.String text)
      • configureByText

        public com.intellij.psi.PsiFile configureByText​(@NotNull
                                                        @NotNull java.lang.String fileName,
                                                        @NotNull
                                                        @NotNull java.lang.String text)
      • configureFromTempProjectFile

        public com.intellij.psi.PsiFile configureFromTempProjectFile​(@NotNull
                                                                     @NotNull java.lang.String filePath)
      • configureFromExistingVirtualFile

        public void configureFromExistingVirtualFile​(@NotNull
                                                     @NotNull com.intellij.openapi.vfs.VirtualFile virtualFile)
      • addFileToProject

        public com.intellij.psi.PsiFile addFileToProject​(@NotNull
                                                         @NotNull java.lang.String relativePath,
                                                         @NotNull
                                                         @NotNull java.lang.String fileText)
      • checkResultByFile

        public void checkResultByFile​(@NotNull
                                      @NotNull java.lang.String expectedFile)
      • checkResultByFile

        public void checkResultByFile​(@NotNull
                                      @NotNull java.lang.String expectedFile,
                                      boolean ignoreTrailingWhitespaces)
      • checkResultByFile

        public void checkResultByFile​(@NotNull
                                      @NotNull java.lang.String filePath,
                                      @NotNull
                                      @NotNull java.lang.String expectedFile,
                                      boolean ignoreTrailingWhitespaces)
      • enableInspections

        public void enableInspections​(@NotNull
                                      @NotNull com.intellij.codeInspection.InspectionProfileEntry... inspections)
      • enableInspections

        public void enableInspections​(@NotNull
                                      @NotNull java.lang.Class<? extends com.intellij.codeInspection.LocalInspectionTool>... inspections)
      • enableInspections

        public void enableInspections​(@NotNull
                                      @NotNull java.util.Collection<java.lang.Class<? extends com.intellij.codeInspection.LocalInspectionTool>> inspections)
      • disableInspections

        public void disableInspections​(@NotNull
                                       @NotNull com.intellij.codeInspection.InspectionProfileEntry... inspections)
      • enableInspections

        public void enableInspections​(@NotNull
                                      @NotNull com.intellij.codeInspection.InspectionToolProvider... providers)
      • testHighlighting

        public long testHighlighting​(boolean checkWarnings,
                                     boolean checkInfos,
                                     boolean checkWeakWarnings,
                                     @NotNull
                                     @NotNull java.lang.String... filePaths)
      • testHighlightingAllFiles

        public long testHighlightingAllFiles​(boolean checkWarnings,
                                             boolean checkInfos,
                                             boolean checkWeakWarnings,
                                             @NotNull
                                             @NotNull java.lang.String... filePaths)
      • testHighlightingAllFiles

        public long testHighlightingAllFiles​(boolean checkWarnings,
                                             boolean checkInfos,
                                             boolean checkWeakWarnings,
                                             @NotNull
                                             @NotNull com.intellij.openapi.vfs.VirtualFile... files)
      • checkHighlighting

        public long checkHighlighting​(boolean checkWarnings,
                                      boolean checkInfos,
                                      boolean checkWeakWarnings)
      • checkHighlighting

        public long checkHighlighting​(boolean checkWarnings,
                                      boolean checkInfos,
                                      boolean checkWeakWarnings,
                                      boolean ignoreExtraHighlighting)
      • checkHighlighting

        public long checkHighlighting()
      • testHighlighting

        public long testHighlighting​(@NotNull
                                     @NotNull java.lang.String... filePaths)
      • testHighlighting

        public long testHighlighting​(boolean checkWarnings,
                                     boolean checkInfos,
                                     boolean checkWeakWarnings,
                                     @NotNull
                                     @NotNull com.intellij.openapi.vfs.VirtualFile file)
      • testFile

        @NotNull
        public @NotNull com.intellij.testFramework.HighlightTestInfo testFile​(@NotNull
                                                                              @NotNull java.lang.String... filePath)
      • openFileInEditor

        public void openFileInEditor​(@NotNull
                                     @NotNull com.intellij.openapi.vfs.VirtualFile file)
      • testInspection

        public void testInspection​(@NotNull
                                   @NotNull java.lang.String testDir,
                                   @NotNull
                                   @NotNull com.intellij.codeInspection.ex.InspectionToolWrapper toolWrapper)
      • doHighlighting

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.daemon.impl.HighlightInfo> doHighlighting()
      • doHighlighting

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.daemon.impl.HighlightInfo> doHighlighting​(@NotNull
                                                                                                          @NotNull com.intellij.lang.annotation.HighlightSeverity minimalSeverity)
      • getReferenceAtCaretPosition

        @Nullable
        public @Nullable com.intellij.psi.PsiReference getReferenceAtCaretPosition​(@NotNull
                                                                                   @NotNull java.lang.String... filePaths)
      • getReferenceAtCaretPositionWithAssertion

        @NotNull
        public @NotNull com.intellij.psi.PsiReference getReferenceAtCaretPositionWithAssertion​(@NotNull
                                                                                               @NotNull java.lang.String... filePaths)
      • getAvailableIntentions

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> getAvailableIntentions​(@NotNull
                                                                                                                  @NotNull java.lang.String... filePaths)
      • getAllQuickFixes

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> getAllQuickFixes​(@NotNull
                                                                                                            @NotNull java.lang.String... filePaths)
      • getAvailableIntentions

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> getAvailableIntentions()
      • filterAvailableIntentions

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction> filterAvailableIntentions​(@NotNull
                                                                                                                     @NotNull java.lang.String hint)
      • findSingleIntention

        @NotNull
        public @NotNull com.intellij.codeInsight.intention.IntentionAction findSingleIntention​(@NotNull
                                                                                               @NotNull java.lang.String hint)
      • getAvailableIntention

        @Nullable
        public @Nullable com.intellij.codeInsight.intention.IntentionAction getAvailableIntention​(@NotNull
                                                                                                  @NotNull java.lang.String intentionName,
                                                                                                  @NotNull
                                                                                                  @NotNull java.lang.String... filePaths)
      • launchAction

        public void launchAction​(@NotNull
                                 @NotNull com.intellij.codeInsight.intention.IntentionAction action)
      • testCompletion

        public void testCompletion​(@NotNull
                                   @NotNull java.lang.String[] filesBefore,
                                   @NotNull
                                   @NotNull java.lang.String fileAfter)
      • testCompletionTyping

        public void testCompletionTyping​(@NotNull
                                         @NotNull java.lang.String[] filesBefore,
                                         @NotNull
                                         @NotNull java.lang.String toType,
                                         @NotNull
                                         @NotNull java.lang.String fileAfter)
      • testCompletion

        public void testCompletion​(@NotNull
                                   @NotNull java.lang.String fileBefore,
                                   @NotNull
                                   @NotNull java.lang.String fileAfter,
                                   @NotNull
                                   @NotNull java.lang.String... additionalFiles)
      • testCompletionTyping

        public void testCompletionTyping​(@NotNull
                                         @NotNull java.lang.String fileBefore,
                                         @NotNull
                                         @NotNull java.lang.String toType,
                                         @NotNull
                                         @NotNull java.lang.String fileAfter,
                                         @NotNull
                                         @NotNull java.lang.String... additionalFiles)
      • testCompletionVariants

        public void testCompletionVariants​(@NotNull
                                           @NotNull java.lang.String fileBefore,
                                           @NotNull
                                           @NotNull java.lang.String... items)
      • testRename

        public void testRename​(@NotNull
                               @NotNull java.lang.String fileBefore,
                               @NotNull
                               @NotNull java.lang.String fileAfter,
                               @NotNull
                               @NotNull java.lang.String newName,
                               @NotNull
                               @NotNull java.lang.String... additionalFiles)
      • testRenameUsingHandler

        public void testRenameUsingHandler​(@NotNull
                                           @NotNull java.lang.String fileBefore,
                                           @NotNull
                                           @NotNull java.lang.String fileAfter,
                                           @NotNull
                                           @NotNull java.lang.String newName,
                                           @NotNull
                                           @NotNull java.lang.String... additionalFiles)
      • testRename

        public void testRename​(@NotNull
                               @NotNull java.lang.String fileAfter,
                               @NotNull
                               @NotNull java.lang.String newName)
      • testRenameUsingHandler

        public void testRenameUsingHandler​(@NotNull
                                           @NotNull java.lang.String fileAfter,
                                           @NotNull
                                           @NotNull java.lang.String newName)
      • testFindUsages

        @NotNull
        public @NotNull java.util.Collection<com.intellij.usageView.UsageInfo> testFindUsages​(@NotNull
                                                                                              @NotNull java.lang.String... fileNames)
      • testFindUsagesUsingAction

        @NotNull
        public @NotNull java.util.Collection<com.intellij.usages.Usage> testFindUsagesUsingAction​(@NotNull
                                                                                                  @NotNull java.lang.String... fileNames)
      • findUsages

        @NotNull
        public @NotNull java.util.Collection<com.intellij.usageView.UsageInfo> findUsages​(@NotNull
                                                                                          @NotNull com.intellij.psi.PsiElement to)
      • getUsageViewTreeTextRepresentation

        @NotNull
        public @NotNull java.lang.String getUsageViewTreeTextRepresentation​(@NotNull
                                                                            @NotNull java.util.Collection<? extends com.intellij.usageView.UsageInfo> usages)
      • getUsageViewTreeTextRepresentation

        @NotNull
        public @NotNull java.lang.String getUsageViewTreeTextRepresentation​(@NotNull
                                                                            @NotNull com.intellij.psi.PsiElement to)
      • testHighlightUsages

        @NotNull
        public @NotNull com.intellij.openapi.editor.markup.RangeHighlighter[] testHighlightUsages​(@NotNull
                                                                                                  @NotNull java.lang.String... files)
      • moveFile

        public void moveFile​(@NotNull
                             @NotNull java.lang.String filePath,
                             @NotNull
                             @NotNull java.lang.String to,
                             @NotNull
                             @NotNull java.lang.String... additionalFiles)
      • findGutter

        @Nullable
        public @Nullable com.intellij.codeInsight.daemon.GutterMark findGutter​(@NotNull
                                                                               @NotNull java.lang.String filePath)
      • findGuttersAtCaret

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.daemon.GutterMark> findGuttersAtCaret()
      • completeBasic

        public com.intellij.codeInsight.lookup.LookupElement[] completeBasic()
      • complete

        public com.intellij.codeInsight.lookup.LookupElement[] complete​(@NotNull
                                                                        @NotNull com.intellij.codeInsight.completion.CompletionType type)
      • complete

        public com.intellij.codeInsight.lookup.LookupElement[] complete​(@NotNull
                                                                        @NotNull com.intellij.codeInsight.completion.CompletionType type,
                                                                        int invocationCount)
      • checkResult

        public void checkResult​(@NotNull
                                @NotNull java.lang.String text)
      • checkResult

        public void checkResult​(@NotNull
                                @NotNull java.lang.String text,
                                boolean stripTrailingSpaces)
      • checkResult

        public void checkResult​(@NotNull
                                @NotNull java.lang.String filePath,
                                @NotNull
                                @NotNull java.lang.String text,
                                boolean stripTrailingSpaces)
      • getDocument

        public com.intellij.openapi.editor.Document getDocument​(@NotNull
                                                                @NotNull com.intellij.psi.PsiFile file)
      • findAllGutters

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.daemon.GutterMark> findAllGutters​(@NotNull
                                                                                                  @NotNull java.lang.String filePath)
      • findAllGutters

        public java.util.List<com.intellij.codeInsight.daemon.GutterMark> findAllGutters()
      • type

        public void type​(char c)
      • type

        public void type​(@NotNull
                         @NotNull java.lang.String s)
      • performEditorAction

        public void performEditorAction​(@NotNull
                                        @NotNull java.lang.String actionId)
      • testAction

        @NotNull
        public @NotNull com.intellij.openapi.actionSystem.Presentation testAction​(@NotNull
                                                                                  @NotNull com.intellij.openapi.actionSystem.AnAction action)
      • getCompletionVariants

        @Nullable
        public @Nullable java.util.List<java.lang.String> getCompletionVariants​(@NotNull
                                                                                @NotNull java.lang.String... filesBefore)
      • getLookupElements

        @Nullable
        public @Nullable com.intellij.codeInsight.lookup.LookupElement[] getLookupElements()
      • findFileInTempDir

        public com.intellij.openapi.vfs.VirtualFile findFileInTempDir​(@NotNull
                                                                      @NotNull java.lang.String filePath)
      • getLookupElementStrings

        @Nullable
        public @Nullable java.util.List<java.lang.String> getLookupElementStrings()
      • finishLookup

        public void finishLookup​(char completionChar)
      • getLookup

        public com.intellij.codeInsight.lookup.LookupEx getLookup()
      • getElementAtCaret

        @NotNull
        public @NotNull com.intellij.psi.PsiElement getElementAtCaret()
      • renameElementAtCaret

        public void renameElementAtCaret​(@NotNull
                                         @NotNull java.lang.String newName)
      • renameElementAtCaretUsingHandler

        public void renameElementAtCaretUsingHandler​(@NotNull
                                                     @NotNull java.lang.String newName)
      • renameElement

        public void renameElement​(@NotNull
                                  @NotNull com.intellij.psi.PsiElement element,
                                  @NotNull
                                  @NotNull java.lang.String newName)
      • allowTreeAccessForFile

        public void allowTreeAccessForFile​(@NotNull
                                           @NotNull com.intellij.openapi.vfs.VirtualFile file)
      • allowTreeAccessForAllFiles

        public void allowTreeAccessForAllFiles()
      • renameElement

        public void renameElement​(@NotNull
                                  @NotNull com.intellij.psi.PsiElement element,
                                  @NotNull
                                  @NotNull java.lang.String newName,
                                  boolean searchInComments,
                                  boolean searchTextOccurrences)
      • findElementByText

        public <T extends com.intellij.psi.PsiElement> T findElementByText​(@NotNull
                                                                           @NotNull java.lang.String text,
                                                                           @NotNull
                                                                           @NotNull java.lang.Class<T> elementClass)
      • testFolding

        public void testFolding​(@NotNull
                                @NotNull java.lang.String fileName)
      • testFoldingWithCollapseStatus

        public void testFoldingWithCollapseStatus​(@NotNull
                                                  @NotNull java.lang.String verificationFileName,
                                                  @Nullable
                                                  @Nullable java.lang.String destinationFileName)
      • testFoldingWithCollapseStatus

        public void testFoldingWithCollapseStatus​(@NotNull
                                                  @NotNull java.lang.String fileName)
      • testRainbow

        public void testRainbow​(@NotNull
                                @NotNull java.lang.String fileName,
                                @NotNull
                                @NotNull java.lang.String text,
                                boolean isRainbowOn,
                                boolean withColor)
      • testInlays

        public void testInlays()
      • testInlays

        public void testInlays​(java.util.function.Function<? super com.intellij.openapi.editor.Inlay,​java.lang.String> inlayPresenter,
                               java.util.function.Predicate<? super com.intellij.openapi.editor.Inlay> inlayFilter)
      • checkResultWithInlays

        public void checkResultWithInlays​(java.lang.String text)
      • assertPreferredCompletionItems

        public void assertPreferredCompletionItems​(int selected,
                                                   @NotNull
                                                   @NotNull java.lang.String... expected)
      • testStructureView

        public void testStructureView​(@NotNull
                                      com.intellij.util.Consumer<? super com.intellij.ide.structureView.newStructureView.StructureViewComponent> consumer)
      • setCaresAboutInjection

        public void setCaresAboutInjection​(boolean caresAboutInjection)
      • completeBasicAllCarets

        @NotNull
        public @NotNull java.util.List<com.intellij.codeInsight.lookup.LookupElement> completeBasicAllCarets​(@Nullable
                                                                                                             @Nullable java.lang.Character charToTypeAfterCompletion)
      • getGotoClassResults

        @NotNull
        public @NotNull java.util.List<java.lang.Object> getGotoClassResults​(@NotNull
                                                                             @NotNull java.lang.String pattern,
                                                                             boolean searchEverywhere,
                                                                             @Nullable
                                                                             @Nullable com.intellij.psi.PsiElement contextForSorting)
      • getBreadcrumbsAtCaret

        @NotNull
        public @NotNull java.util.List<com.intellij.ui.components.breadcrumbs.Crumb> getBreadcrumbsAtCaret()
      • saveText

        public void saveText​(@NotNull
                             @NotNull com.intellij.openapi.vfs.VirtualFile file,
                             @NotNull
                             @NotNull java.lang.String text)
      • getProjectDisposable

        @NotNull
        public @NotNull com.intellij.openapi.Disposable getProjectDisposable()
      • getFixture

        public com.intellij.testFramework.fixtures.CodeInsightTestFixture getFixture()
      • options

        protected com.vladsch.flexmark.util.data.DataHolder options​(java.lang.String optionSet)
      • getExampleFileName

        @NotNull
        protected @NotNull java.lang.String getExampleFileName​(@NotNull
                                                               @NotNull com.vladsch.flexmark.test.util.spec.SpecExample example,
                                                               @NotNull
                                                               @NotNull com.vladsch.flexmark.util.data.DataHolder options)
      • getExampleName

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

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

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

        protected com.intellij.openapi.project.Project getProject()
      • getPsiManager

        public com.intellij.psi.PsiManager getPsiManager()
      • createLightFile

        public com.intellij.psi.PsiFile createLightFile​(com.intellij.openapi.fileTypes.FileType fileType,
                                                        java.lang.String text)
      • createLightFile

        public com.intellij.psi.PsiFile createLightFile​(java.lang.String fileName,
                                                        com.intellij.lang.Language language,
                                                        java.lang.String text)
      • getModule

        @NotNull
        public @NotNull com.intellij.openapi.module.Module getModule()
      • addSuppressedException

        public void addSuppressedException​(@NotNull
                                           @NotNull java.lang.Throwable e)
      • shouldContainTempFiles

        public boolean shouldContainTempFiles()
      • isIconRequired

        public boolean isIconRequired()
      • getTestRootDisposable

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

        public boolean shouldRunTest()
      • defaultRunBare

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

        public boolean runInDispatchThread()
      • disposeOnTearDown

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

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

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

        public boolean isPerformanceTest()
      • isStressTest

        public boolean isStressTest()
      • assertNoThrowable

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

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

        @NotNull
        public @NotNull java.lang.String getHomePath()
      • assertOrderedEquals

        @SafeVarargs
        public static <T> void assertOrderedEquals​(@NotNull
                                                   @NotNull T[] actual,
                                                   @NotNull
                                                   @NotNull T... expected)
      • assertOrderedEquals

        @SafeVarargs
        public static <T> void assertOrderedEquals​(@NotNull
                                                   @NotNull java.lang.Iterable<? extends T> actual,
                                                   @NotNull
                                                   @NotNull T... expected)
      • assertOrderedEquals

        public static void assertOrderedEquals​(@NotNull
                                               @org.jetbrains.annotations.NotNull byte[] actual,
                                               @NotNull
                                               @org.jetbrains.annotations.NotNull byte[] expected)
      • assertOrderedEquals

        public static void assertOrderedEquals​(@NotNull
                                               @org.jetbrains.annotations.NotNull int[] actual,
                                               @NotNull
                                               @org.jetbrains.annotations.NotNull int[] expected)
      • assertOrderedEquals

        @SafeVarargs
        public static <T> void assertOrderedEquals​(@NotNull
                                                   @NotNull java.lang.String errorMsg,
                                                   @NotNull
                                                   @NotNull java.lang.Iterable<? extends T> actual,
                                                   @NotNull
                                                   @NotNull T... expected)
      • assertOrderedEquals

        public static <T> void assertOrderedEquals​(@NotNull
                                                   @NotNull java.lang.Iterable<? extends T> actual,
                                                   @NotNull
                                                   @NotNull java.lang.Iterable<? extends T> expected)
      • assertOrderedEquals

        public static <T> void assertOrderedEquals​(@NotNull
                                                   @NotNull java.lang.String errorMsg,
                                                   @NotNull
                                                   @NotNull java.lang.Iterable<? extends T> actual,
                                                   @NotNull
                                                   @NotNull java.lang.Iterable<? extends T> expected)
      • assertOrderedEquals

        public static <T> void assertOrderedEquals​(@NotNull
                                                   @NotNull java.lang.String errorMsg,
                                                   @NotNull
                                                   @NotNull java.lang.Iterable<? extends T> actual,
                                                   @NotNull
                                                   @NotNull java.lang.Iterable<? extends T> expected,
                                                   @NotNull
                                                   @NotNull gnu.trove.Equality<? super T> comparator)
      • assertOrderedCollection

        @SafeVarargs
        public static <T> void assertOrderedCollection​(@NotNull
                                                       @NotNull T[] collection,
                                                       @NotNull
                                                       @NotNull com.intellij.util.Consumer<T>... checkers)
      • assertSameElements

        @SafeVarargs
        public static <T> void assertSameElements​(@NotNull
                                                  @NotNull T[] actual,
                                                  @NotNull
                                                  @NotNull T... expected)
      • assertSameElements

        @SafeVarargs
        public static <T> void assertSameElements​(@NotNull
                                                  @NotNull java.util.Collection<? extends T> actual,
                                                  @NotNull
                                                  @NotNull T... expected)
      • assertSameElements

        public static <T> void assertSameElements​(@NotNull
                                                  @NotNull java.util.Collection<? extends T> actual,
                                                  @NotNull
                                                  @NotNull java.util.Collection<? extends T> expected)
      • assertSameElements

        public static <T> void assertSameElements​(@NotNull
                                                  @NotNull java.lang.String message,
                                                  @NotNull
                                                  @NotNull java.util.Collection<? extends T> actual,
                                                  @NotNull
                                                  @NotNull java.util.Collection<? extends T> expected)
      • assertContainsOrdered

        @SafeVarargs
        public static <T> void assertContainsOrdered​(@NotNull
                                                     @NotNull java.util.Collection<? extends T> collection,
                                                     @NotNull
                                                     @NotNull T... expected)
      • assertContainsOrdered

        public static <T> void assertContainsOrdered​(@NotNull
                                                     @NotNull java.util.Collection<? extends T> collection,
                                                     @NotNull
                                                     @NotNull java.util.Collection<? extends T> expected)
      • assertContainsElements

        @SafeVarargs
        public static <T> void assertContainsElements​(@NotNull
                                                      @NotNull java.util.Collection<? extends T> collection,
                                                      @NotNull
                                                      @NotNull T... expected)
      • assertContainsElements

        public static <T> void assertContainsElements​(@NotNull
                                                      @NotNull java.util.Collection<? extends T> collection,
                                                      @NotNull
                                                      @NotNull java.util.Collection<? extends T> expected)
      • assertDoesntContain

        @SafeVarargs
        public static <T> void assertDoesntContain​(@NotNull
                                                   @NotNull java.util.Collection<? extends T> collection,
                                                   @NotNull
                                                   @NotNull T... notExpected)
      • assertDoesntContain

        public static <T> void assertDoesntContain​(@NotNull
                                                   @NotNull java.util.Collection<? extends T> collection,
                                                   @NotNull
                                                   @NotNull java.util.Collection<? extends T> notExpected)
      • assertOrderedCollection

        @SafeVarargs
        public static <T> void assertOrderedCollection​(@NotNull
                                                       @NotNull java.util.Collection<? extends T> collection,
                                                       @NotNull
                                                       @NotNull com.intellij.util.Consumer<T>... checkers)
      • assertUnorderedCollection

        @SafeVarargs
        public static <T> void assertUnorderedCollection​(@NotNull
                                                         @NotNull T[] collection,
                                                         @NotNull
                                                         @NotNull com.intellij.util.Consumer<T>... checkers)
      • assertUnorderedCollection

        @SafeVarargs
        public static <T> void assertUnorderedCollection​(@NotNull
                                                         @NotNull java.util.Collection<? extends T> collection,
                                                         @NotNull
                                                         @NotNull com.intellij.util.Consumer<T>... checkers)
      • assertInstanceOf

        @NotNull
        @Contract("null, _ -> fail")
        public static <T> T assertInstanceOf​(java.lang.Object o,
                                             @NotNull
                                             @NotNull java.lang.Class<T> aClass)
      • assertOneElement

        public static <T> T assertOneElement​(@NotNull
                                             @NotNull java.util.Collection<? extends T> collection)
      • assertOneElement

        public static <T> T assertOneElement​(@NotNull
                                             @NotNull T[] ts)
      • assertOneOf

        @SafeVarargs
        public static <T> void assertOneOf​(T value,
                                           @NotNull
                                           @NotNull T... values)
      • assertEmpty

        public static void assertEmpty​(@NotNull
                                       @NotNull java.lang.Object[] array)
      • assertNotEmpty

        public static void assertNotEmpty​(java.util.Collection<?> collection)
      • assertEmpty

        public static void assertEmpty​(@NotNull
                                       @NotNull java.util.Collection<?> collection)
      • assertNullOrEmpty

        public static void assertNullOrEmpty​(@Nullable
                                             @Nullable java.util.Collection<?> collection)
      • assertEmpty

        public static void assertEmpty​(java.lang.String s)
      • assertEmpty

        public static <T> void assertEmpty​(@NotNull
                                           @NotNull java.lang.String errorMsg,
                                           @NotNull
                                           @NotNull java.util.Collection<? extends T> collection)
      • assertSize

        public static void assertSize​(int expectedSize,
                                      @NotNull
                                      @NotNull java.lang.Object[] array)
      • assertSize

        public static void assertSize​(int expectedSize,
                                      @NotNull
                                      @NotNull java.util.Collection<?> c)
      • assertSameLines

        public static void assertSameLines​(@NotNull
                                           @NotNull java.lang.String expected,
                                           @NotNull
                                           @NotNull java.lang.String actual)
      • assertSameLines

        public static void assertSameLines​(@Nullable
                                           @Nullable java.lang.String message,
                                           @NotNull
                                           @NotNull java.lang.String expected,
                                           @NotNull
                                           @NotNull java.lang.String actual)
      • assertExists

        public static void assertExists​(@NotNull
                                        @NotNull java.io.File file)
      • assertDoesntExist

        public static void assertDoesntExist​(@NotNull
                                             @NotNull java.io.File file)
      • getTestName

        @NotNull
        public static @NotNull java.lang.String getTestName​(@Nullable
                                                            @Nullable java.lang.String name,
                                                            boolean lowercaseFirstLetter)
      • assertSameLinesWithFile

        public static void assertSameLinesWithFile​(@NotNull
                                                   @NotNull java.lang.String filePath,
                                                   @NotNull
                                                   @NotNull java.lang.String actualText)
      • assertSameLinesWithFile

        public static void assertSameLinesWithFile​(@NotNull
                                                   @NotNull java.lang.String filePath,
                                                   @NotNull
                                                   @NotNull java.lang.String actualText,
                                                   @NotNull
                                                   @NotNull java.util.function.Supplier<java.lang.String> messageProducer)
      • assertSameLinesWithFile

        public static void assertSameLinesWithFile​(@NotNull
                                                   @NotNull java.lang.String filePath,
                                                   @NotNull
                                                   @NotNull java.lang.String actualText,
                                                   boolean trimBeforeComparing)
      • assertSameLinesWithFile

        public static void assertSameLinesWithFile​(@NotNull
                                                   @NotNull java.lang.String filePath,
                                                   @NotNull
                                                   @NotNull java.lang.String actualText,
                                                   boolean trimBeforeComparing,
                                                   @Nullable
                                                   @Nullable java.util.function.Supplier<java.lang.String> messageProducer)
      • clearFields

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

        public static void clearDeclaredFields​(@NotNull
                                               @NotNull java.lang.Object test,
                                               @NotNull
                                               @NotNull java.lang.Class<?> aClass)
                                        throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException
      • assertThrows

        public static <T extends java.lang.Throwable> void assertThrows​(@NotNull
                                                                        @NotNull java.lang.Class<? extends java.lang.Throwable> exceptionClass,
                                                                        @NotNull
                                                                        @NotNull com.intellij.util.ThrowableRunnable<T> runnable)
      • assertThrows

        public static <T extends java.lang.Throwable> void assertThrows​(@NotNull
                                                                        @NotNull java.lang.Class<? extends java.lang.Throwable> exceptionClass,
                                                                        @Nullable
                                                                        @Nullable java.lang.String expectedErrorMsg,
                                                                        @NotNull
                                                                        @NotNull com.intellij.util.ThrowableRunnable<T> runnable)
      • assertTrue

        public static void assertTrue​(java.lang.String message,
                                      boolean condition)
      • assertTrue

        public static void assertTrue​(boolean condition)
      • assertFalse

        public static void assertFalse​(java.lang.String message,
                                       boolean condition)
      • assertFalse

        public static void assertFalse​(boolean condition)
      • fail

        public static void fail​(java.lang.String message)
      • fail

        public static void fail()
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        java.lang.Object expected,
                                        java.lang.Object actual)
      • assertEquals

        public static void assertEquals​(java.lang.Object expected,
                                        java.lang.Object actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        java.lang.String expected,
                                        java.lang.String actual)
      • assertEquals

        public static void assertEquals​(java.lang.String expected,
                                        java.lang.String actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        double expected,
                                        double actual,
                                        double delta)
      • assertEquals

        public static void assertEquals​(double expected,
                                        double actual,
                                        double delta)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        float expected,
                                        float actual,
                                        float delta)
      • assertEquals

        public static void assertEquals​(float expected,
                                        float actual,
                                        float delta)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        long expected,
                                        long actual)
      • assertEquals

        public static void assertEquals​(long expected,
                                        long actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        boolean expected,
                                        boolean actual)
      • assertEquals

        public static void assertEquals​(boolean expected,
                                        boolean actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        byte expected,
                                        byte actual)
      • assertEquals

        public static void assertEquals​(byte expected,
                                        byte actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        char expected,
                                        char actual)
      • assertEquals

        public static void assertEquals​(char expected,
                                        char actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        short expected,
                                        short actual)
      • assertEquals

        public static void assertEquals​(short expected,
                                        short actual)
      • assertEquals

        public static void assertEquals​(java.lang.String message,
                                        int expected,
                                        int actual)
      • assertEquals

        public static void assertEquals​(int expected,
                                        int actual)
      • assertNotNull

        public static void assertNotNull​(java.lang.Object object)
      • assertNotNull

        public static void assertNotNull​(java.lang.String message,
                                         java.lang.Object object)
      • assertNull

        public static void assertNull​(java.lang.Object object)
      • assertNull

        public static void assertNull​(java.lang.String message,
                                      java.lang.Object object)
      • assertSame

        public static void assertSame​(java.lang.String message,
                                      java.lang.Object expected,
                                      java.lang.Object actual)
      • assertSame

        public static void assertSame​(java.lang.Object expected,
                                      java.lang.Object actual)
      • assertNotSame

        public static void assertNotSame​(java.lang.String message,
                                         java.lang.Object expected,
                                         java.lang.Object actual)
      • assertNotSame

        public static void assertNotSame​(java.lang.Object expected,
                                         java.lang.Object actual)
      • failSame

        public static void failSame​(java.lang.String message)
      • failNotSame

        public static void failNotSame​(java.lang.String message,
                                       java.lang.Object expected,
                                       java.lang.Object actual)
      • failNotEquals

        public static void failNotEquals​(java.lang.String message,
                                         java.lang.Object expected,
                                         java.lang.Object actual)
      • format

        public static java.lang.String format​(java.lang.String message,
                                              java.lang.Object expected,
                                              java.lang.Object actual)
      • toString

        @NotNull
        public static @NotNull java.lang.String toString​(@NotNull
                                                         @NotNull java.lang.Iterable<?> collection)
      • toString

        @NotNull
        public static @NotNull java.lang.String toString​(@NotNull
                                                         @NotNull java.lang.Object[] collection,
                                                         @NotNull
                                                         @NotNull java.lang.String separator)
      • toString

        @NotNull
        public static @NotNull java.lang.String toString​(@NotNull
                                                         @NotNull java.util.Collection<?> collection,
                                                         @NotNull
                                                         @NotNull java.lang.String separator)
      • printThreadDump

        public static void printThreadDump()
      • doPostponedFormatting

        public static void doPostponedFormatting​(@NotNull
                                                 @NotNull com.intellij.openapi.project.Project project)
      • refreshRecursively

        public static void refreshRecursively​(@NotNull
                                              @NotNull com.intellij.openapi.vfs.VirtualFile file)
      • refreshAndFindFile

        public static com.intellij.openapi.vfs.VirtualFile refreshAndFindFile​(@NotNull
                                                                              @NotNull java.io.File file)
      • waitForAppLeakingThreads

        public static void waitForAppLeakingThreads​(long timeout,
                                                    @NotNull
                                                    @NotNull java.util.concurrent.TimeUnit timeUnit)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception