idea-plugin / arrow.meta.ide.testing.dsl.folding / FoldingTestSyntax

FoldingTestSyntax

interface FoldingTestSyntax

FoldingTestSyntax provides test methods for FoldingBuilder.

Functions

collectFolding collectFolding collects all folded regions in the given code example. match reuse the same match function from FoldingSyntax.addFoldingBuilderopen fun IdeTestSyntax.collectFolding(code: Source, myFixture: CodeInsightTestFixture, match: (KtTypeReference) -> Boolean): List<FoldingDescriptor>
collects all FoldingDescriptor from a List of PsiElements.open fun List<PsiElement>.collectFolding(document: Document, match: (KtTypeReference) -> Boolean): List<FoldingDescriptor>

Inheritors

IdeTestSyntax interface IdeTestSyntax : IdeTestTypeSyntax, LineMarkerTestSyntax, IconProviderTestSyntax, InspectionTestSyntax, ResolutionSyntax, FoldingTestSyntax, GitSyntax, GradleSyntax

Do you like Arrow?

Arrow Org
<