sidecar_test
library
Functions
-
createAnalysisOptionsContents({bool isPluginEnabled = true})
→ String
-
-
createWorkspace({required List<SidecarBaseConstructor> constructors, ResourceProvider? resourceProvider, FileSystem? fileSystem, ProviderContainer? container, String? rootPath})
→ WorkspaceResource
-
-
expectLintResult(LintResult actual, ExpectedLint expectedLint)
→ void
-
-
expectLints(dynamic actual, List<ExpectedLint> expectedLints)
→ void
-
-
lint(RuleCode code, int offset, int length, {LintSeverity? severity})
→ ExpectedLint
-
-
modifyFile(String relativePath, {required String content})
→ Future<void>
-
-
resolveFile2({required String path, ResourceProvider? resourceProvider, required Uri packageRoot})
→ Future<SomeResolvedUnitResult>
-
Return the result of resolving the file at the given
path
.
-
ruleTest(String description, String content, List<ExpectedText> expectedResults, {String? relativePath})
→ Future<void>
-
-
setUpRules(List<Rule> rules)
→ void
-