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