Class LightFixtureSpecRenderer<T extends CodeInsightFixtureSpecTestCase>
- java.lang.Object
-
- com.vladsch.flexmark.test.util.SpecExampleRendererBase
-
- com.vladsch.plugin.test.util.renderers.LightFixtureSpecRenderer<T>
-
- All Implemented Interfaces:
com.vladsch.flexmark.test.util.SpecExampleRenderer
- Direct Known Subclasses:
ActionSpecRenderer,LineMarkerSpecRenderer,StripTrailingSpacesFilterSpecRenderer
public abstract class LightFixtureSpecRenderer<T extends CodeInsightFixtureSpecTestCase> extends com.vladsch.flexmark.test.util.SpecExampleRendererBase
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringBuilderastprotected java.lang.StringBuilderhtmlprotected AdditionalProjectFilesmyAdditionalProjectFilesprotected @NotNull java.util.HashMap<java.lang.String,com.intellij.openapi.vfs.VirtualFile>myAdditionalVirtualFilesprotected TmySpecTest
-
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.PsiFileaddFileToProject(@NotNull java.lang.String relativePath, @NotNull java.lang.String fileText)voidaddSuppressedException(@NotNull java.lang.Throwable e)voidallowTreeAccessForAllFiles()voidallowTreeAccessForFile(@NotNull com.intellij.openapi.vfs.VirtualFile file)booleanannotatedWith(@NotNull java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)static <T> voidassertContainsElements(@NotNull java.util.Collection<? extends T> collection, @NotNull java.util.Collection<? extends T> expected)static <T> voidassertContainsElements(@NotNull java.util.Collection<? extends T> collection, @NotNull T... expected)static <T> voidassertContainsOrdered(@NotNull java.util.Collection<? extends T> collection, @NotNull java.util.Collection<? extends T> expected)static <T> voidassertContainsOrdered(@NotNull java.util.Collection<? extends T> collection, @NotNull T... expected)static <T> voidassertDoesntContain(@NotNull java.util.Collection<? extends T> collection, @NotNull java.util.Collection<? extends T> notExpected)static <T> voidassertDoesntContain(@NotNull java.util.Collection<? extends T> collection, @NotNull T... notExpected)static voidassertDoesntExist(@NotNull java.io.File file)static voidassertEmpty(@NotNull java.lang.Object[] array)static <T> voidassertEmpty(@NotNull java.lang.String errorMsg, @NotNull java.util.Collection<? extends T> collection)static voidassertEmpty(@NotNull java.util.Collection<?> collection)static voidassertEmpty(java.lang.String s)static voidassertEquals(boolean expected, boolean actual)static voidassertEquals(byte expected, byte actual)static voidassertEquals(char expected, char actual)static voidassertEquals(double expected, double actual, double delta)static voidassertEquals(float expected, float actual, float delta)static voidassertEquals(int expected, int actual)static voidassertEquals(long expected, long actual)static voidassertEquals(short expected, short actual)static voidassertEquals(java.lang.Object expected, java.lang.Object actual)static voidassertEquals(java.lang.String message, boolean expected, boolean actual)static voidassertEquals(java.lang.String message, byte expected, byte actual)static voidassertEquals(java.lang.String message, char expected, char actual)static voidassertEquals(java.lang.String message, double expected, double actual, double delta)static voidassertEquals(java.lang.String message, float expected, float actual, float delta)static voidassertEquals(java.lang.String message, int expected, int actual)static voidassertEquals(java.lang.String message, long expected, long actual)static voidassertEquals(java.lang.String message, short expected, short actual)static voidassertEquals(java.lang.String message, java.lang.Object expected, java.lang.Object actual)static voidassertEquals(java.lang.String expected, java.lang.String actual)static voidassertEquals(java.lang.String message, java.lang.String expected, java.lang.String actual)static voidassertExists(@NotNull java.io.File file)static voidassertFalse(boolean condition)static voidassertFalse(java.lang.String message, boolean condition)static <T> TassertInstanceOf(java.lang.Object o, @NotNull java.lang.Class<T> aClass)static voidassertNotEmpty(java.util.Collection<?> collection)voidassertNoThrowable(@NotNull java.lang.Runnable closure)static voidassertNotNull(java.lang.Object object)static voidassertNotNull(java.lang.String message, java.lang.Object object)static voidassertNotSame(java.lang.Object expected, java.lang.Object actual)static voidassertNotSame(java.lang.String message, java.lang.Object expected, java.lang.Object actual)static voidassertNull(java.lang.Object object)static voidassertNull(java.lang.String message, java.lang.Object object)static voidassertNullOrEmpty(@Nullable java.util.Collection<?> collection)static <T> TassertOneElement(@NotNull java.util.Collection<? extends T> collection)static <T> TassertOneElement(@NotNull T[] ts)static <T> voidassertOneOf(T value, @NotNull T... values)static <T> voidassertOrderedCollection(@NotNull java.util.Collection<? extends T> collection, @NotNull com.intellij.util.Consumer<T>... checkers)static <T> voidassertOrderedCollection(@NotNull T[] collection, @NotNull com.intellij.util.Consumer<T>... checkers)static voidassertOrderedEquals(@org.jetbrains.annotations.NotNull byte[] actual, @org.jetbrains.annotations.NotNull byte[] expected)static voidassertOrderedEquals(@org.jetbrains.annotations.NotNull int[] actual, @org.jetbrains.annotations.NotNull int[] expected)static <T> voidassertOrderedEquals(@NotNull java.lang.Iterable<? extends T> actual, @NotNull java.lang.Iterable<? extends T> expected)static <T> voidassertOrderedEquals(@NotNull java.lang.Iterable<? extends T> actual, @NotNull T... expected)static <T> voidassertOrderedEquals(@NotNull java.lang.String errorMsg, @NotNull java.lang.Iterable<? extends T> actual, @NotNull java.lang.Iterable<? extends T> expected)static <T> voidassertOrderedEquals(@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> voidassertOrderedEquals(@NotNull java.lang.String errorMsg, @NotNull java.lang.Iterable<? extends T> actual, @NotNull T... expected)static <T> voidassertOrderedEquals(@NotNull T[] actual, @NotNull T... expected)voidassertPreferredCompletionItems(int selected, @NotNull java.lang.String... expected)static voidassertSame(java.lang.Object expected, java.lang.Object actual)static voidassertSame(java.lang.String message, java.lang.Object expected, java.lang.Object actual)static <T> voidassertSameElements(@NotNull java.lang.String message, @NotNull java.util.Collection<? extends T> actual, @NotNull java.util.Collection<? extends T> expected)static <T> voidassertSameElements(@NotNull java.util.Collection<? extends T> actual, @NotNull java.util.Collection<? extends T> expected)static <T> voidassertSameElements(@NotNull java.util.Collection<? extends T> actual, @NotNull T... expected)static <T> voidassertSameElements(@NotNull T[] actual, @NotNull T... expected)static voidassertSameLines(@NotNull java.lang.String expected, @NotNull java.lang.String actual)static voidassertSameLines(@Nullable java.lang.String message, @NotNull java.lang.String expected, @NotNull java.lang.String actual)static voidassertSameLinesWithFile(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText)static voidassertSameLinesWithFile(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText, boolean trimBeforeComparing)static voidassertSameLinesWithFile(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText, boolean trimBeforeComparing, @Nullable java.util.function.Supplier<java.lang.String> messageProducer)static voidassertSameLinesWithFile(@NotNull java.lang.String filePath, @NotNull java.lang.String actualText, @NotNull java.util.function.Supplier<java.lang.String> messageProducer)static voidassertSize(int expectedSize, @NotNull java.lang.Object[] array)static voidassertSize(int expectedSize, @NotNull java.util.Collection<?> c)static <T extends java.lang.Throwable>
voidassertThrows(@NotNull java.lang.Class<? extends java.lang.Throwable> exceptionClass, @NotNull com.intellij.util.ThrowableRunnable<T> runnable)static <T extends java.lang.Throwable>
voidassertThrows(@NotNull java.lang.Class<? extends java.lang.Throwable> exceptionClass, @Nullable java.lang.String expectedErrorMsg, @NotNull com.intellij.util.ThrowableRunnable<T> runnable)static voidassertTrue(boolean condition)static voidassertTrue(java.lang.String message, boolean condition)static <T> voidassertUnorderedCollection(@NotNull java.util.Collection<? extends T> collection, @NotNull com.intellij.util.Consumer<T>... checkers)static <T> voidassertUnorderedCollection(@NotNull T[] collection, @NotNull com.intellij.util.Consumer<T>... checkers)longcheckHighlighting()longcheckHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings)longcheckHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, boolean ignoreExtraHighlighting)voidcheckResult(@NotNull java.lang.String text)voidcheckResult(@NotNull java.lang.String text, boolean stripTrailingSpaces)voidcheckResult(@NotNull java.lang.String filePath, @NotNull java.lang.String text, boolean stripTrailingSpaces)voidcheckResultByFile(@NotNull java.lang.String expectedFile)voidcheckResultByFile(@NotNull java.lang.String expectedFile, boolean ignoreTrailingWhitespaces)voidcheckResultByFile(@NotNull java.lang.String filePath, @NotNull java.lang.String expectedFile, boolean ignoreTrailingWhitespaces)voidcheckResultWithInlays(java.lang.String text)static voidclearDeclaredFields(@NotNull java.lang.Object test, @NotNull java.lang.Class<?> aClass)static voidclearFields(@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.PsiFileconfigureByFile(@NotNull java.lang.String filePath)@NotNull com.intellij.psi.PsiFile[]configureByFiles(@NotNull java.lang.String... filePaths)com.intellij.psi.PsiFileconfigureByText(@NotNull com.intellij.openapi.fileTypes.FileType fileType, @NotNull java.lang.String text)com.intellij.psi.PsiFileconfigureByText(@NotNull java.lang.String fileName, @NotNull java.lang.String text)voidconfigureFromExistingVirtualFile(@NotNull com.intellij.openapi.vfs.VirtualFile virtualFile)com.intellij.psi.PsiFileconfigureFromTempProjectFile(@NotNull java.lang.String filePath)@NotNull com.intellij.openapi.vfs.VirtualFilecopyDirectoryToProject(@NotNull java.lang.String sourceFilePath, @NotNull java.lang.String targetPath)@NotNull com.intellij.openapi.vfs.VirtualFilecopyFileToProject(@NotNull java.lang.String sourceFilePath)@NotNull com.intellij.openapi.vfs.VirtualFilecopyFileToProject(@NotNull java.lang.String sourceFilePath, @NotNull java.lang.String targetPath)com.intellij.psi.PsiFilecreateLightFile(com.intellij.openapi.fileTypes.FileType fileType, java.lang.String text)com.intellij.psi.PsiFilecreateLightFile(java.lang.String fileName, com.intellij.lang.Language language, java.lang.String text)voiddefaultRunBare(@NotNull com.intellij.util.ThrowableRunnable<java.lang.Throwable> testRunnable)voiddisableInspections(@NotNull com.intellij.codeInspection.InspectionProfileEntry... inspections)<T extends com.intellij.openapi.Disposable>
TdisposeOnTearDown(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 voiddoPostponedFormatting(@NotNull com.intellij.openapi.project.Project project)voidenableInspections(@NotNull com.intellij.codeInspection.InspectionProfileEntry... inspections)voidenableInspections(@NotNull com.intellij.codeInspection.InspectionToolProvider... providers)voidenableInspections(@NotNull java.lang.Class<? extends com.intellij.codeInspection.LocalInspectionTool>... inspections)voidenableInspections(@NotNull java.util.Collection<java.lang.Class<? extends com.intellij.codeInspection.LocalInspectionTool>> inspections)static voidexecuteAction(@NotNull com.intellij.openapi.editor.Editor editor, boolean assertActionIsEnabled, @NotNull com.intellij.openapi.actionSystem.AnAction action)voidexecuteAction(@NotNull java.lang.String actionId)voidexecuteAction(@NotNull java.lang.String actionId, @NotNull com.intellij.openapi.editor.Editor editor)static voidexecuteAction(@NotNull java.lang.String actionId, @NotNull com.intellij.openapi.editor.Editor editor, com.intellij.openapi.project.Project project)static voidexecuteKeystroke(@NotNull com.intellij.openapi.editor.Editor editor, @NotNull javax.swing.KeyStroke stroke)static voidfail()static voidfail(java.lang.String message)static voidfailNotEquals(java.lang.String message, java.lang.Object expected, java.lang.Object actual)static voidfailNotSame(java.lang.String message, java.lang.Object expected, java.lang.Object actual)static voidfailSame(java.lang.String message)@NotNull java.util.List<com.intellij.codeInsight.intention.IntentionAction>filterAvailableIntentions(@NotNull java.lang.String hint)voidfinalizeDocument()voidfinalizeRender()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>
TfindElementByText(@NotNull java.lang.String text, @NotNull java.lang.Class<T> elementClass)com.intellij.openapi.vfs.VirtualFilefindFileInTempDir(@NotNull java.lang.String filePath)@Nullable com.intellij.codeInsight.daemon.GutterMarkfindGutter(@NotNull java.lang.String filePath)@NotNull java.util.List<com.intellij.codeInsight.daemon.GutterMark>findGuttersAtCaret()@NotNull com.intellij.codeInsight.intention.IntentionActionfindSingleIntention(@NotNull java.lang.String hint)@NotNull java.util.Collection<com.intellij.usageView.UsageInfo>findUsages(@NotNull com.intellij.psi.PsiElement to)voidfinishLookup(char completionChar)static java.lang.Stringformat(java.lang.String message, java.lang.Object expected, java.lang.Object actual)AdditionalProjectFilesgetAdditionalProjectFiles()@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.StringgetAstBanner()@Nullable com.intellij.codeInsight.intention.IntentionActiongetAvailableIntention(@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()intgetCaretOffset()@Nullable java.util.List<java.lang.String>getCompletionVariants(@NotNull java.lang.String... filesBefore)com.intellij.openapi.editor.DocumentgetDocument(@NotNull com.intellij.psi.PsiFile file)com.intellij.openapi.editor.EditorgetEditor()@NotNull com.intellij.psi.PsiElementgetElementAtCaret()protected @NotNull java.lang.StringgetExampleFileName(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example, @NotNull com.vladsch.flexmark.util.data.DataHolder options)protected @NotNull java.lang.StringgetExampleName(@NotNull com.vladsch.flexmark.test.util.spec.SpecExample example)com.intellij.psi.PsiFilegetFile()com.intellij.testFramework.fixtures.CodeInsightTestFixturegetFixture()@NotNull java.util.List<java.lang.Object>getGotoClassResults(@NotNull java.lang.String pattern, boolean searchEverywhere, @Nullable com.intellij.psi.PsiElement contextForSorting)@NotNull java.lang.StringgetHomePath()protected @NotNull com.intellij.openapi.editor.EditorgetHostEditor()protected com.intellij.psi.PsiFilegetHostFileAtCaret()com.intellij.codeInsight.lookup.LookupExgetLookup()@Nullable com.intellij.codeInsight.lookup.LookupElement[]getLookupElements()@Nullable java.util.List<java.lang.String>getLookupElementStrings()@NotNull com.intellij.openapi.module.ModulegetModule()@NotNull com.vladsch.flexmark.util.data.DataHoldergetOptions()protected com.intellij.openapi.project.ProjectgetProject()@NotNull com.intellij.openapi.DisposablegetProjectDisposable()com.intellij.psi.PsiManagergetPsiManager()@Nullable com.intellij.psi.PsiReferencegetReferenceAtCaretPosition(@NotNull java.lang.String... filePaths)@NotNull com.intellij.psi.PsiReferencegetReferenceAtCaretPositionWithAssertion(@NotNull java.lang.String... filePaths)protected com.intellij.openapi.editor.EditorgetResultEditor()protected com.intellij.psi.PsiFilegetResultFile()protected @NotNull java.lang.StringgetResultTextWithMarkup(boolean withCarets, boolean withTestCaretMarkup)protected @NotNull java.lang.StringgetResultTextWithMarkup(@NotNull com.intellij.openapi.editor.Editor editor, boolean withCarets, boolean withTestCaretMarkup)@NotNull com.intellij.testFramework.fixtures.TempDirTestFixturegetTempDirFixture()@NotNull java.lang.StringgetTempDirPath()@NotNull java.lang.StringgetTestDirectoryName()@NotNull java.lang.StringgetTestName(boolean lowercaseFirstLetter)static @NotNull java.lang.StringgetTestName(@Nullable java.lang.String name, boolean lowercaseFirstLetter)@NotNull com.intellij.openapi.DisposablegetTestRootDisposable()@NotNull java.lang.StringgetUsageViewTreeTextRepresentation(@NotNull com.intellij.psi.PsiElement to)@NotNull java.lang.StringgetUsageViewTreeTextRepresentation(@NotNull java.util.Collection<? extends com.intellij.usageView.UsageInfo> usages)voidincludeDocument(@NotNull java.lang.String includedText)booleanincludeExampleInfo()booleanisIconRequired()booleanisPerformanceTest()booleanisStressTest()voidlaunchAction(@NotNull com.intellij.codeInsight.intention.IntentionAction action)voidmoveFile(@NotNull java.lang.String filePath, @NotNull java.lang.String to, @NotNull java.lang.String... additionalFiles)voidopenFileInEditor(@NotNull com.intellij.openapi.vfs.VirtualFile file)protected com.vladsch.flexmark.util.data.DataHolderoptions(java.lang.String optionSet)voidparse(java.lang.CharSequence input)voidperformEditorAction(@NotNull java.lang.String actionId)static voidprintThreadDump()static com.intellij.openapi.vfs.VirtualFilerefreshAndFindFile(@NotNull java.io.File file)static voidrefreshRecursively(@NotNull com.intellij.openapi.vfs.VirtualFile file)voidrenameElement(@NotNull com.intellij.psi.PsiElement element, @NotNull java.lang.String newName)voidrenameElement(@NotNull com.intellij.psi.PsiElement element, @NotNull java.lang.String newName, boolean searchInComments, boolean searchTextOccurrences)voidrenameElementAtCaret(@NotNull java.lang.String newName)voidrenameElementAtCaretUsingHandler(@NotNull java.lang.String newName)protected @NotNull java.lang.StringrenderAst()protected voidrenderAst(java.lang.StringBuilder out)protected voidrenderAstText(java.lang.StringBuilder out, com.intellij.psi.PsiElement element, java.lang.String indent)protected abstract @NotNull java.lang.StringrenderHtml()protected voidrenderIntentions(java.lang.StringBuilder out, boolean atCaretOnly)protected voidrenderQuickFixesText(java.lang.StringBuilder out)voidrenderRanges(java.lang.StringBuilder out, com.vladsch.flexmark.util.sequence.BasedSequence result)booleanrunInDispatchThread()voidsaveText(@NotNull com.intellij.openapi.vfs.VirtualFile file, @NotNull java.lang.String text)voidsetCaresAboutInjection(boolean caresAboutInjection)voidsetTestDataPath(@NotNull java.lang.String dataPath)booleanshouldContainTempFiles()booleanshouldRunTest()@NotNull com.intellij.openapi.actionSystem.PresentationtestAction(@NotNull com.intellij.openapi.actionSystem.AnAction action)voidtestCompletion(@NotNull java.lang.String[] filesBefore, @NotNull java.lang.String fileAfter)voidtestCompletion(@NotNull java.lang.String fileBefore, @NotNull java.lang.String fileAfter, @NotNull java.lang.String... additionalFiles)voidtestCompletionTyping(@NotNull java.lang.String[] filesBefore, @NotNull java.lang.String toType, @NotNull java.lang.String fileAfter)voidtestCompletionTyping(@NotNull java.lang.String fileBefore, @NotNull java.lang.String toType, @NotNull java.lang.String fileAfter, @NotNull java.lang.String... additionalFiles)voidtestCompletionVariants(@NotNull java.lang.String fileBefore, @NotNull java.lang.String... items)@NotNull com.intellij.testFramework.HighlightTestInfotestFile(@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)voidtestFolding(@NotNull java.lang.String fileName)voidtestFoldingWithCollapseStatus(@NotNull java.lang.String fileName)voidtestFoldingWithCollapseStatus(@NotNull java.lang.String verificationFileName, @Nullable java.lang.String destinationFileName)longtestHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull com.intellij.openapi.vfs.VirtualFile file)longtestHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull java.lang.String... filePaths)longtestHighlighting(@NotNull java.lang.String... filePaths)longtestHighlightingAllFiles(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull com.intellij.openapi.vfs.VirtualFile... files)longtestHighlightingAllFiles(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, @NotNull java.lang.String... filePaths)@NotNull com.intellij.openapi.editor.markup.RangeHighlighter[]testHighlightUsages(@NotNull java.lang.String... files)voidtestInlays()voidtestInlays(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)voidtestInspection(@NotNull java.lang.String testDir, @NotNull com.intellij.codeInspection.ex.InspectionToolWrapper toolWrapper)voidtestRainbow(@NotNull java.lang.String fileName, @NotNull java.lang.String text, boolean isRainbowOn, boolean withColor)voidtestRename(@NotNull java.lang.String fileAfter, @NotNull java.lang.String newName)voidtestRename(@NotNull java.lang.String fileBefore, @NotNull java.lang.String fileAfter, @NotNull java.lang.String newName, @NotNull java.lang.String... additionalFiles)voidtestRenameUsingHandler(@NotNull java.lang.String fileAfter, @NotNull java.lang.String newName)voidtestRenameUsingHandler(@NotNull java.lang.String fileBefore, @NotNull java.lang.String fileAfter, @NotNull java.lang.String newName, @NotNull java.lang.String... additionalFiles)voidtestStructureView(com.intellij.util.Consumer<? super com.intellij.ide.structureView.newStructureView.StructureViewComponent> consumer)static @NotNull java.lang.StringtoString(@NotNull java.lang.Iterable<?> collection)static @NotNull java.lang.StringtoString(@NotNull java.lang.Object[] collection, @NotNull java.lang.String separator)static @NotNull java.lang.StringtoString(@NotNull java.util.Collection<?> collection, @NotNull java.lang.String separator)voidtype(char c)voidtype(@NotNull java.lang.String s)static voidwaitForAppLeakingThreads(long timeout, @NotNull java.util.concurrent.TimeUnit timeUnit)protected booleanwantAstByDefault()
-
-
-
Field Detail
-
mySpecTest
@NotNull protected final T extends CodeInsightFixtureSpecTestCase mySpecTest
-
myAdditionalVirtualFiles
@NotNull protected final @NotNull java.util.HashMap<java.lang.String,com.intellij.openapi.vfs.VirtualFile> myAdditionalVirtualFiles
-
myAdditionalProjectFiles
protected final AdditionalProjectFiles myAdditionalProjectFiles
-
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()
-
getAdditionalProjectFiles
public AdditionalProjectFiles getAdditionalProjectFiles()
-
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:
includeExampleInfoin interfacecom.vladsch.flexmark.test.util.SpecExampleRenderer- Overrides:
includeExampleInfoin classcom.vladsch.flexmark.test.util.SpecExampleRendererBase
-
getOptions
@NotNull public final @NotNull com.vladsch.flexmark.util.data.DataHolder getOptions()
- Specified by:
getOptionsin interfacecom.vladsch.flexmark.test.util.SpecExampleRenderer- Overrides:
getOptionsin classcom.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:
renderAstin classcom.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:
renderHtmlin classcom.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:
finalizeRenderin interfacecom.vladsch.flexmark.test.util.SpecExampleRenderer- Overrides:
finalizeRenderin classcom.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
-
-