Documentation ¶
Index ¶
- func FormatSnapshot(document *scip.Document, commentSyntax string, formatter scip.SymbolFormatter, ...) (string, error)
- func FormatSnapshots(index *scip.Index, commentSyntax string, symbolFormatter scip.SymbolFormatter, ...) ([]*scip.SourceFile, error)
- func SnapshotTest(t *testing.T, baseDir string, indexFunction indexFunction)
- func SnapshotTestDirectories(t *testing.T, inputDirectory, outputDirectory string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSnapshot ¶
func FormatSnapshot( document *scip.Document, commentSyntax string, formatter scip.SymbolFormatter, sourceFilePath string, ) (string, error)
FormatSnapshot renders the provided SCIP index into a pretty-printed text format that is suitable for snapshot testing.
func FormatSnapshots ¶
func FormatSnapshots( index *scip.Index, commentSyntax string, symbolFormatter scip.SymbolFormatter, customProjectRoot string, ) ([]*scip.SourceFile, error)
FormatSnapshots renders the provided SCIP index into a pretty-printed text format that is suitable for snapshot testing.
func SnapshotTest ¶
func SnapshotTestDirectories ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.