Library Moduleswift-syntax 600.0.1_SwiftSyntaxGenericTestSupport
_SwiftSyntaxGenericTestSupport
import _SwiftSyntaxGenericTestSupport
Module information
- Declarations
- 13
- Symbols
- 13
Uncategorized
Types
struct TestFailureLocation
Defines the location at which the a test failure should be anchored. This is typically the location where the assertion function is called.
struct TestFailureSpec
Defines the details of a test failure, consisting of a message and the location at which the test failure should be shown.
Globals
func assertStringsEqualWithDiff(String, String, String, additionalInfo: @autoclosure () -> String?, location: TestFailureLocation, failureHandler: (TestFailureSpec) -> Void
) Asserts that the two strings are equal, providing Unix
diff
-style output if they are not.func failStringsEqualWithDiff(String, String, String, additionalInfo: @autoclosure () -> String?, location: TestFailureLocation, failureHandler: (TestFailureSpec) -> Void
) XCTFail
withdiff
-style output.
Other modules
SwiftBasicFormat
SwiftCompilerPlugin
SwiftCompilerPluginMessageHandling
SwiftDiagnostics
SwiftIDEUtils
SwiftLibraryPluginProvider
SwiftOperators
An implementation of Swift’s user-defined operator declarations and precedence groups, allowing a program to reason about the relative precedence of infix operations and transform syntax trees to describe the order of operations.
SwiftParser
A parser for the Swift programming language.
SwiftParserDiagnostics
SwiftRefactor
SwiftSyntax
A library for working with Swift code.
SwiftSyntax509
SwiftSyntax510
SwiftSyntax600
SwiftSyntaxBuilder
SwiftSyntaxBuilder is a tool for generating Swift code in a convenient way using result builders.
SwiftSyntaxMacroExpansion
SwiftSyntaxMacros
SwiftSyntaxMacrosGenericTestSupport
SwiftSyntaxMacrosTestSupport
_SwiftLibraryPluginProviderCShims
_SwiftSyntaxCShims