mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
1425 lines
41 KiB
Swift
1425 lines
41 KiB
Swift
// Generated using Sourcery 2.1.2 — https://github.com/krzysztofzablocki/Sourcery
|
|
// DO NOT EDIT
|
|
@testable import SwiftLintBuiltInRules
|
|
@testable import SwiftLintCore
|
|
import SwiftLintTestHelpers
|
|
|
|
// swiftlint:disable:next blanket_disable_command
|
|
// swiftlint:disable file_length single_test_class type_name
|
|
|
|
final class AccessibilityLabelForImageRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(AccessibilityLabelForImageRule.description)
|
|
}
|
|
}
|
|
|
|
final class AccessibilityTraitForButtonRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(AccessibilityTraitForButtonRule.description)
|
|
}
|
|
}
|
|
|
|
final class AnonymousArgumentInMultilineClosureRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(AnonymousArgumentInMultilineClosureRule.description)
|
|
}
|
|
}
|
|
|
|
final class AnyObjectProtocolRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(AnyObjectProtocolRule.description)
|
|
}
|
|
}
|
|
|
|
final class ArrayInitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ArrayInitRule.description)
|
|
}
|
|
}
|
|
|
|
final class AttributesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(AttributesRule.description)
|
|
}
|
|
}
|
|
|
|
final class BalancedXCTestLifecycleRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(BalancedXCTestLifecycleRule.description)
|
|
}
|
|
}
|
|
|
|
final class BlanketDisableCommandRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(BlanketDisableCommandRule.description)
|
|
}
|
|
}
|
|
|
|
final class BlockBasedKVORuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(BlockBasedKVORule.description)
|
|
}
|
|
}
|
|
|
|
final class CaptureVariableRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CaptureVariableRule.description)
|
|
}
|
|
}
|
|
|
|
final class ClassDelegateProtocolRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ClassDelegateProtocolRule.description)
|
|
}
|
|
}
|
|
|
|
final class ClosingBraceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ClosingBraceRule.description)
|
|
}
|
|
}
|
|
|
|
final class ClosureBodyLengthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ClosureBodyLengthRule.description)
|
|
}
|
|
}
|
|
|
|
final class ClosureEndIndentationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ClosureEndIndentationRule.description)
|
|
}
|
|
}
|
|
|
|
final class ClosureParameterPositionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ClosureParameterPositionRule.description)
|
|
}
|
|
}
|
|
|
|
final class ClosureSpacingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ClosureSpacingRule.description)
|
|
}
|
|
}
|
|
|
|
final class CollectionAlignmentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CollectionAlignmentRule.description)
|
|
}
|
|
}
|
|
|
|
final class ColonRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ColonRule.description)
|
|
}
|
|
}
|
|
|
|
final class CommaInheritanceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CommaInheritanceRule.description)
|
|
}
|
|
}
|
|
|
|
final class CommaRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CommaRule.description)
|
|
}
|
|
}
|
|
|
|
final class CommentSpacingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CommentSpacingRule.description)
|
|
}
|
|
}
|
|
|
|
final class CompilerProtocolInitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CompilerProtocolInitRule.description)
|
|
}
|
|
}
|
|
|
|
final class ComputedAccessorsOrderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ComputedAccessorsOrderRule.description)
|
|
}
|
|
}
|
|
|
|
final class ConditionalReturnsOnNewlineRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ConditionalReturnsOnNewlineRule.description)
|
|
}
|
|
}
|
|
|
|
final class ContainsOverFilterCountRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ContainsOverFilterCountRule.description)
|
|
}
|
|
}
|
|
|
|
final class ContainsOverFilterIsEmptyRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ContainsOverFilterIsEmptyRule.description)
|
|
}
|
|
}
|
|
|
|
final class ContainsOverFirstNotNilRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ContainsOverFirstNotNilRule.description)
|
|
}
|
|
}
|
|
|
|
final class ContainsOverRangeNilComparisonRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ContainsOverRangeNilComparisonRule.description)
|
|
}
|
|
}
|
|
|
|
final class ControlStatementRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ControlStatementRule.description)
|
|
}
|
|
}
|
|
|
|
final class ConvenienceTypeRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ConvenienceTypeRule.description)
|
|
}
|
|
}
|
|
|
|
final class CyclomaticComplexityRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(CyclomaticComplexityRule.description)
|
|
}
|
|
}
|
|
|
|
final class DeploymentTargetRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DeploymentTargetRule.description)
|
|
}
|
|
}
|
|
|
|
final class DirectReturnRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DirectReturnRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscardedNotificationCenterObserverRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscardedNotificationCenterObserverRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscouragedAssertRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscouragedAssertRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscouragedDirectInitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscouragedDirectInitRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscouragedNoneNameRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscouragedNoneNameRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscouragedObjectLiteralRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscouragedObjectLiteralRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscouragedOptionalBooleanRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscouragedOptionalBooleanRule.description)
|
|
}
|
|
}
|
|
|
|
final class DiscouragedOptionalCollectionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DiscouragedOptionalCollectionRule.description)
|
|
}
|
|
}
|
|
|
|
final class DuplicateConditionsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DuplicateConditionsRule.description)
|
|
}
|
|
}
|
|
|
|
final class DuplicateEnumCasesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DuplicateEnumCasesRule.description)
|
|
}
|
|
}
|
|
|
|
final class DuplicateImportsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DuplicateImportsRule.description)
|
|
}
|
|
}
|
|
|
|
final class DuplicatedKeyInDictionaryLiteralRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DuplicatedKeyInDictionaryLiteralRule.description)
|
|
}
|
|
}
|
|
|
|
final class DynamicInlineRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(DynamicInlineRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyCollectionLiteralRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyCollectionLiteralRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyCountRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyCountRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyEnumArgumentsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyEnumArgumentsRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyParametersRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyParametersRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyParenthesesWithTrailingClosureRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyParenthesesWithTrailingClosureRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyStringRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyStringRule.description)
|
|
}
|
|
}
|
|
|
|
final class EmptyXCTestMethodRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EmptyXCTestMethodRule.description)
|
|
}
|
|
}
|
|
|
|
final class EnumCaseAssociatedValuesLengthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(EnumCaseAssociatedValuesLengthRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExpiringTodoRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExpiringTodoRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExplicitACLRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExplicitACLRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExplicitEnumRawValueRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExplicitEnumRawValueRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExplicitInitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExplicitInitRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExplicitSelfRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExplicitSelfRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExplicitTopLevelACLRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExplicitTopLevelACLRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExplicitTypeInterfaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExplicitTypeInterfaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class ExtensionAccessModifierRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ExtensionAccessModifierRule.description)
|
|
}
|
|
}
|
|
|
|
final class FallthroughRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FallthroughRule.description)
|
|
}
|
|
}
|
|
|
|
final class FatalErrorMessageRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FatalErrorMessageRule.description)
|
|
}
|
|
}
|
|
|
|
final class FileHeaderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FileHeaderRule.description)
|
|
}
|
|
}
|
|
|
|
final class FileLengthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FileLengthRule.description)
|
|
}
|
|
}
|
|
|
|
final class FileNameNoSpaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FileNameNoSpaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class FileNameRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FileNameRule.description)
|
|
}
|
|
}
|
|
|
|
final class FileTypesOrderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FileTypesOrderRule.description)
|
|
}
|
|
}
|
|
|
|
final class FinalTestCaseRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FinalTestCaseRule.description)
|
|
}
|
|
}
|
|
|
|
final class FirstWhereRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FirstWhereRule.description)
|
|
}
|
|
}
|
|
|
|
final class FlatMapOverMapReduceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FlatMapOverMapReduceRule.description)
|
|
}
|
|
}
|
|
|
|
final class ForWhereRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ForWhereRule.description)
|
|
}
|
|
}
|
|
|
|
final class ForceCastRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ForceCastRule.description)
|
|
}
|
|
}
|
|
|
|
final class ForceTryRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ForceTryRule.description)
|
|
}
|
|
}
|
|
|
|
final class ForceUnwrappingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ForceUnwrappingRule.description)
|
|
}
|
|
}
|
|
|
|
final class FunctionBodyLengthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FunctionBodyLengthRule.description)
|
|
}
|
|
}
|
|
|
|
final class FunctionDefaultParameterAtEndRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FunctionDefaultParameterAtEndRule.description)
|
|
}
|
|
}
|
|
|
|
final class FunctionParameterCountRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(FunctionParameterCountRule.description)
|
|
}
|
|
}
|
|
|
|
final class GenericTypeNameRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(GenericTypeNameRule.description)
|
|
}
|
|
}
|
|
|
|
final class IBInspectableInExtensionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(IBInspectableInExtensionRule.description)
|
|
}
|
|
}
|
|
|
|
final class IdenticalOperandsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(IdenticalOperandsRule.description)
|
|
}
|
|
}
|
|
|
|
final class IdentifierNameRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(IdentifierNameRule.description)
|
|
}
|
|
}
|
|
|
|
final class ImplicitGetterRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ImplicitGetterRule.description)
|
|
}
|
|
}
|
|
|
|
final class ImplicitReturnRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ImplicitReturnRule.description)
|
|
}
|
|
}
|
|
|
|
final class ImplicitlyUnwrappedOptionalRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ImplicitlyUnwrappedOptionalRule.description)
|
|
}
|
|
}
|
|
|
|
final class InclusiveLanguageRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(InclusiveLanguageRule.description)
|
|
}
|
|
}
|
|
|
|
final class IndentationWidthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(IndentationWidthRule.description)
|
|
}
|
|
}
|
|
|
|
final class InertDeferRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(InertDeferRule.description)
|
|
}
|
|
}
|
|
|
|
final class InvalidSwiftLintCommandRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(InvalidSwiftLintCommandRule.description)
|
|
}
|
|
}
|
|
|
|
final class IsDisjointRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(IsDisjointRule.description)
|
|
}
|
|
}
|
|
|
|
final class JoinedDefaultParameterRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(JoinedDefaultParameterRule.description)
|
|
}
|
|
}
|
|
|
|
final class LargeTupleRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LargeTupleRule.description)
|
|
}
|
|
}
|
|
|
|
final class LastWhereRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LastWhereRule.description)
|
|
}
|
|
}
|
|
|
|
final class LeadingWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LeadingWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyCGGeometryFunctionsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyCGGeometryFunctionsRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyConstantRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyConstantRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyConstructorRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyConstructorRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyHashingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyHashingRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyMultipleRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyMultipleRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyNSGeometryFunctionsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyNSGeometryFunctionsRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyObjcTypeRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyObjcTypeRule.description)
|
|
}
|
|
}
|
|
|
|
final class LegacyRandomRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LegacyRandomRule.description)
|
|
}
|
|
}
|
|
|
|
final class LetVarWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LetVarWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class LineLengthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LineLengthRule.description)
|
|
}
|
|
}
|
|
|
|
final class LiteralExpressionEndIndentationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LiteralExpressionEndIndentationRule.description)
|
|
}
|
|
}
|
|
|
|
final class LocalDocCommentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LocalDocCommentRule.description)
|
|
}
|
|
}
|
|
|
|
final class LowerACLThanParentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(LowerACLThanParentRule.description)
|
|
}
|
|
}
|
|
|
|
final class MarkRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MarkRule.description)
|
|
}
|
|
}
|
|
|
|
final class MissingDocsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MissingDocsRule.description)
|
|
}
|
|
}
|
|
|
|
final class ModifierOrderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ModifierOrderRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultilineArgumentsBracketsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultilineArgumentsBracketsRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultilineArgumentsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultilineArgumentsRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultilineFunctionChainsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultilineFunctionChainsRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultilineLiteralBracketsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultilineLiteralBracketsRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultilineParametersBracketsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultilineParametersBracketsRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultilineParametersRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultilineParametersRule.description)
|
|
}
|
|
}
|
|
|
|
final class MultipleClosuresWithTrailingClosureRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(MultipleClosuresWithTrailingClosureRule.description)
|
|
}
|
|
}
|
|
|
|
final class NSLocalizedStringKeyRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NSLocalizedStringKeyRule.description)
|
|
}
|
|
}
|
|
|
|
final class NSLocalizedStringRequireBundleRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NSLocalizedStringRequireBundleRule.description)
|
|
}
|
|
}
|
|
|
|
final class NSNumberInitAsFunctionReferenceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NSNumberInitAsFunctionReferenceRule.description)
|
|
}
|
|
}
|
|
|
|
final class NSObjectPreferIsEqualRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NSObjectPreferIsEqualRule.description)
|
|
}
|
|
}
|
|
|
|
final class NestingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NestingRule.description)
|
|
}
|
|
}
|
|
|
|
final class NimbleOperatorRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NimbleOperatorRule.description)
|
|
}
|
|
}
|
|
|
|
final class NoExtensionAccessModifierRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NoExtensionAccessModifierRule.description)
|
|
}
|
|
}
|
|
|
|
final class NoFallthroughOnlyRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NoFallthroughOnlyRule.description)
|
|
}
|
|
}
|
|
|
|
final class NoGroupingExtensionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NoGroupingExtensionRule.description)
|
|
}
|
|
}
|
|
|
|
final class NoMagicNumbersRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NoMagicNumbersRule.description)
|
|
}
|
|
}
|
|
|
|
final class NoSpaceInMethodCallRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NoSpaceInMethodCallRule.description)
|
|
}
|
|
}
|
|
|
|
final class NonOptionalStringDataConversionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NonOptionalStringDataConversionRule.description)
|
|
}
|
|
}
|
|
|
|
final class NonOverridableClassDeclarationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NonOverridableClassDeclarationRule.description)
|
|
}
|
|
}
|
|
|
|
final class NotificationCenterDetachmentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NotificationCenterDetachmentRule.description)
|
|
}
|
|
}
|
|
|
|
final class NumberSeparatorRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(NumberSeparatorRule.description)
|
|
}
|
|
}
|
|
|
|
final class ObjectLiteralRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ObjectLiteralRule.description)
|
|
}
|
|
}
|
|
|
|
final class OneDelarationPerFileRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OneDelarationPerFileRule.description)
|
|
}
|
|
}
|
|
|
|
final class OpeningBraceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OpeningBraceRule.description)
|
|
}
|
|
}
|
|
|
|
final class OperatorFunctionWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OperatorFunctionWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class OperatorUsageWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OperatorUsageWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class OptionalEnumCaseMatchingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OptionalEnumCaseMatchingRule.description)
|
|
}
|
|
}
|
|
|
|
final class OrphanedDocCommentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OrphanedDocCommentRule.description)
|
|
}
|
|
}
|
|
|
|
final class OverriddenSuperCallRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OverriddenSuperCallRule.description)
|
|
}
|
|
}
|
|
|
|
final class OverrideInExtensionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(OverrideInExtensionRule.description)
|
|
}
|
|
}
|
|
|
|
final class PatternMatchingKeywordsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PatternMatchingKeywordsRule.description)
|
|
}
|
|
}
|
|
|
|
final class PeriodSpacingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PeriodSpacingRule.description)
|
|
}
|
|
}
|
|
|
|
final class PreferNimbleRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PreferNimbleRule.description)
|
|
}
|
|
}
|
|
|
|
final class PreferSelfInStaticReferencesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PreferSelfInStaticReferencesRule.description)
|
|
}
|
|
}
|
|
|
|
final class PreferSelfTypeOverTypeOfSelfRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PreferSelfTypeOverTypeOfSelfRule.description)
|
|
}
|
|
}
|
|
|
|
final class PreferZeroOverExplicitInitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PreferZeroOverExplicitInitRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrefixedTopLevelConstantRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrefixedTopLevelConstantRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrivateActionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrivateActionRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrivateOutletRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrivateOutletRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrivateOverFilePrivateRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrivateOverFilePrivateRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrivateSubjectRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrivateSubjectRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrivateSwiftUIStatePropertyRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrivateSwiftUIStatePropertyRule.description)
|
|
}
|
|
}
|
|
|
|
final class PrivateUnitTestRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(PrivateUnitTestRule.description)
|
|
}
|
|
}
|
|
|
|
final class ProhibitedInterfaceBuilderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ProhibitedInterfaceBuilderRule.description)
|
|
}
|
|
}
|
|
|
|
final class ProhibitedSuperRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ProhibitedSuperRule.description)
|
|
}
|
|
}
|
|
|
|
final class ProtocolPropertyAccessorsOrderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ProtocolPropertyAccessorsOrderRule.description)
|
|
}
|
|
}
|
|
|
|
final class QuickDiscouragedCallRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(QuickDiscouragedCallRule.description)
|
|
}
|
|
}
|
|
|
|
final class QuickDiscouragedFocusedTestRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(QuickDiscouragedFocusedTestRule.description)
|
|
}
|
|
}
|
|
|
|
final class QuickDiscouragedPendingTestRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(QuickDiscouragedPendingTestRule.description)
|
|
}
|
|
}
|
|
|
|
final class RawValueForCamelCasedCodableEnumRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RawValueForCamelCasedCodableEnumRule.description)
|
|
}
|
|
}
|
|
|
|
final class ReduceBooleanRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ReduceBooleanRule.description)
|
|
}
|
|
}
|
|
|
|
final class ReduceIntoRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ReduceIntoRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantDiscardableLetRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantDiscardableLetRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantNilCoalescingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantNilCoalescingRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantObjcAttributeRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantObjcAttributeRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantOptionalInitializationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantOptionalInitializationRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantSelfInClosureRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantSelfInClosureRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantSetAccessControlRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantSetAccessControlRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantStringEnumValueRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantStringEnumValueRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantTypeAnnotationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantTypeAnnotationRule.description)
|
|
}
|
|
}
|
|
|
|
final class RedundantVoidReturnRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RedundantVoidReturnRule.description)
|
|
}
|
|
}
|
|
|
|
final class RequiredDeinitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RequiredDeinitRule.description)
|
|
}
|
|
}
|
|
|
|
final class RequiredEnumCaseRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(RequiredEnumCaseRule.description)
|
|
}
|
|
}
|
|
|
|
final class ReturnArrowWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ReturnArrowWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class ReturnValueFromVoidFunctionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ReturnValueFromVoidFunctionRule.description)
|
|
}
|
|
}
|
|
|
|
final class SelfBindingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SelfBindingRule.description)
|
|
}
|
|
}
|
|
|
|
final class SelfInPropertyInitializationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SelfInPropertyInitializationRule.description)
|
|
}
|
|
}
|
|
|
|
final class ShorthandArgumentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ShorthandArgumentRule.description)
|
|
}
|
|
}
|
|
|
|
final class ShorthandOperatorRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ShorthandOperatorRule.description)
|
|
}
|
|
}
|
|
|
|
final class ShorthandOptionalBindingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ShorthandOptionalBindingRule.description)
|
|
}
|
|
}
|
|
|
|
final class SingleTestClassRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SingleTestClassRule.description)
|
|
}
|
|
}
|
|
|
|
final class SortedEnumCasesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SortedEnumCasesRule.description)
|
|
}
|
|
}
|
|
|
|
final class SortedFirstLastRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SortedFirstLastRule.description)
|
|
}
|
|
}
|
|
|
|
final class SortedImportsRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SortedImportsRule.description)
|
|
}
|
|
}
|
|
|
|
final class StatementPositionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(StatementPositionRule.description)
|
|
}
|
|
}
|
|
|
|
final class StaticOperatorRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(StaticOperatorRule.description)
|
|
}
|
|
}
|
|
|
|
final class StaticOverFinalClassRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(StaticOverFinalClassRule.description)
|
|
}
|
|
}
|
|
|
|
final class StrictFilePrivateRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(StrictFilePrivateRule.description)
|
|
}
|
|
}
|
|
|
|
final class StrongIBOutletRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(StrongIBOutletRule.description)
|
|
}
|
|
}
|
|
|
|
final class SuperfluousElseRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SuperfluousElseRule.description)
|
|
}
|
|
}
|
|
|
|
final class SwitchCaseAlignmentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SwitchCaseAlignmentRule.description)
|
|
}
|
|
}
|
|
|
|
final class SwitchCaseOnNewlineRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SwitchCaseOnNewlineRule.description)
|
|
}
|
|
}
|
|
|
|
final class SyntacticSugarRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(SyntacticSugarRule.description)
|
|
}
|
|
}
|
|
|
|
final class TestCaseAccessibilityRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TestCaseAccessibilityRule.description)
|
|
}
|
|
}
|
|
|
|
final class TodoRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TodoRule.description)
|
|
}
|
|
}
|
|
|
|
final class ToggleBoolRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ToggleBoolRule.description)
|
|
}
|
|
}
|
|
|
|
final class TrailingClosureRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TrailingClosureRule.description)
|
|
}
|
|
}
|
|
|
|
final class TrailingCommaRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TrailingCommaRule.description)
|
|
}
|
|
}
|
|
|
|
final class TrailingNewlineRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TrailingNewlineRule.description)
|
|
}
|
|
}
|
|
|
|
final class TrailingSemicolonRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TrailingSemicolonRule.description)
|
|
}
|
|
}
|
|
|
|
final class TrailingWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TrailingWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class TypeBodyLengthRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TypeBodyLengthRule.description)
|
|
}
|
|
}
|
|
|
|
final class TypeContentsOrderRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TypeContentsOrderRule.description)
|
|
}
|
|
}
|
|
|
|
final class TypeNameRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TypeNameRule.description)
|
|
}
|
|
}
|
|
|
|
final class TypesafeArrayInitRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(TypesafeArrayInitRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnavailableConditionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnavailableConditionRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnavailableFunctionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnavailableFunctionRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnhandledThrowingTaskRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnhandledThrowingTaskRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnneededBreakInSwitchRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnneededBreakInSwitchRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnneededOverrideRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnneededOverrideRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnneededParenthesesInClosureArgumentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnneededParenthesesInClosureArgumentRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnneededSynthesizedInitializerRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnneededSynthesizedInitializerRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnownedVariableCaptureRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnownedVariableCaptureRule.description)
|
|
}
|
|
}
|
|
|
|
final class UntypedErrorInCatchRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UntypedErrorInCatchRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedCaptureListRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedCaptureListRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedClosureParameterRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedClosureParameterRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedControlFlowLabelRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedControlFlowLabelRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedDeclarationRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedDeclarationRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedEnumeratedRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedEnumeratedRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedImportRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedImportRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedOptionalBindingRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedOptionalBindingRule.description)
|
|
}
|
|
}
|
|
|
|
final class UnusedSetterValueRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(UnusedSetterValueRule.description)
|
|
}
|
|
}
|
|
|
|
final class ValidIBInspectableRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(ValidIBInspectableRule.description)
|
|
}
|
|
}
|
|
|
|
final class VerticalParameterAlignmentOnCallRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VerticalParameterAlignmentOnCallRule.description)
|
|
}
|
|
}
|
|
|
|
final class VerticalParameterAlignmentRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VerticalParameterAlignmentRule.description)
|
|
}
|
|
}
|
|
|
|
final class VerticalWhitespaceBetweenCasesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VerticalWhitespaceBetweenCasesRule.description)
|
|
}
|
|
}
|
|
|
|
final class VerticalWhitespaceClosingBracesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VerticalWhitespaceClosingBracesRule.description)
|
|
}
|
|
}
|
|
|
|
final class VerticalWhitespaceOpeningBracesRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VerticalWhitespaceOpeningBracesRule.description)
|
|
}
|
|
}
|
|
|
|
final class VerticalWhitespaceRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VerticalWhitespaceRule.description)
|
|
}
|
|
}
|
|
|
|
final class VoidFunctionInTernaryConditionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VoidFunctionInTernaryConditionRule.description)
|
|
}
|
|
}
|
|
|
|
final class VoidReturnRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(VoidReturnRule.description)
|
|
}
|
|
}
|
|
|
|
final class WeakDelegateRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(WeakDelegateRule.description)
|
|
}
|
|
}
|
|
|
|
final class XCTFailMessageRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(XCTFailMessageRule.description)
|
|
}
|
|
}
|
|
|
|
final class XCTSpecificMatcherRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(XCTSpecificMatcherRule.description)
|
|
}
|
|
}
|
|
|
|
final class YodaConditionRuleGeneratedTests: SwiftLintTestCase {
|
|
func testWithDefaultConfiguration() {
|
|
verifyRule(YodaConditionRule.description)
|
|
}
|
|
}
|