SwiftLint/Tests/SwiftLintFrameworkTests/AutomaticRuleTests.generate...

860 lines
22 KiB
Swift

// Generated using Sourcery 0.17.0 https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
import SwiftLintFramework
import XCTest
// swiftlint:disable file_length single_test_class type_name
class AnyObjectProtocolRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(AnyObjectProtocolRule.description)
}
}
class ArrayInitRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ArrayInitRule.description)
}
}
class BlockBasedKVORuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(BlockBasedKVORule.description)
}
}
class ClassDelegateProtocolRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ClassDelegateProtocolRule.description)
}
}
class ClosingBraceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ClosingBraceRule.description)
}
}
class ClosureBodyLengthRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ClosureBodyLengthRule.description)
}
}
class ClosureEndIndentationRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ClosureEndIndentationRule.description)
}
}
class ClosureParameterPositionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ClosureParameterPositionRule.description)
}
}
class ClosureSpacingRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ClosureSpacingRule.description)
}
}
class CommaRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(CommaRule.description)
}
}
class ContainsOverFilterCountRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ContainsOverFilterCountRule.description)
}
}
class ContainsOverFilterIsEmptyRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ContainsOverFilterIsEmptyRule.description)
}
}
class ContainsOverRangeNilComparisonRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ContainsOverRangeNilComparisonRule.description)
}
}
class ControlStatementRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ControlStatementRule.description)
}
}
class ConvenienceTypeRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ConvenienceTypeRule.description)
}
}
class DiscardedNotificationCenterObserverRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(DiscardedNotificationCenterObserverRule.description)
}
}
class DiscouragedOptionalBooleanRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(DiscouragedOptionalBooleanRule.description)
}
}
class DiscouragedOptionalCollectionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(DiscouragedOptionalCollectionRule.description)
}
}
class DuplicateEnumCasesRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(DuplicateEnumCasesRule.description)
}
}
class DuplicateImportsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(DuplicateImportsRule.description)
}
}
class DynamicInlineRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(DynamicInlineRule.description)
}
}
class EmptyCollectionLiteralRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyCollectionLiteralRule.description)
}
}
class EmptyCountRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyCountRule.description)
}
}
class EmptyEnumArgumentsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyEnumArgumentsRule.description)
}
}
class EmptyParametersRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyParametersRule.description)
}
}
class EmptyParenthesesWithTrailingClosureRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyParenthesesWithTrailingClosureRule.description)
}
}
class EmptyStringRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyStringRule.description)
}
}
class EmptyXCTestMethodRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EmptyXCTestMethodRule.description)
}
}
class EnumCaseAssociatedValuesLengthRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(EnumCaseAssociatedValuesLengthRule.description)
}
}
class ExplicitACLRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ExplicitACLRule.description)
}
}
class ExplicitEnumRawValueRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ExplicitEnumRawValueRule.description)
}
}
class ExplicitInitRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ExplicitInitRule.description)
}
}
class ExplicitSelfRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ExplicitSelfRule.description)
}
}
class ExplicitTopLevelACLRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ExplicitTopLevelACLRule.description)
}
}
class ExtensionAccessModifierRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ExtensionAccessModifierRule.description)
}
}
class FallthroughRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(FallthroughRule.description)
}
}
class FatalErrorMessageRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(FatalErrorMessageRule.description)
}
}
class FirstWhereRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(FirstWhereRule.description)
}
}
class FlatMapOverMapReduceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(FlatMapOverMapReduceRule.description)
}
}
class ForWhereRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ForWhereRule.description)
}
}
class ForceCastRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ForceCastRule.description)
}
}
class ForceTryRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ForceTryRule.description)
}
}
class ForceUnwrappingRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ForceUnwrappingRule.description)
}
}
class FunctionDefaultParameterAtEndRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(FunctionDefaultParameterAtEndRule.description)
}
}
class IdenticalOperandsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(IdenticalOperandsRule.description)
}
}
class ImplicitGetterRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ImplicitGetterRule.description)
}
}
class InertDeferRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(InertDeferRule.description)
}
}
class IsDisjointRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(IsDisjointRule.description)
}
}
class JoinedDefaultParameterRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(JoinedDefaultParameterRule.description)
}
}
class LargeTupleRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LargeTupleRule.description)
}
}
class LastWhereRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LastWhereRule.description)
}
}
class LegacyCGGeometryFunctionsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyCGGeometryFunctionsRule.description)
}
}
class LegacyConstantRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyConstantRule.description)
}
}
class LegacyConstructorRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyConstructorRule.description)
}
}
class LegacyHashingRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyHashingRule.description)
}
}
class LegacyMultipleRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyMultipleRule.description)
}
}
class LegacyNSGeometryFunctionsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyNSGeometryFunctionsRule.description)
}
}
class LegacyRandomRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LegacyRandomRule.description)
}
}
class LetVarWhitespaceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LetVarWhitespaceRule.description)
}
}
class LiteralExpressionEndIdentationRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LiteralExpressionEndIdentationRule.description)
}
}
class LowerACLThanParentRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(LowerACLThanParentRule.description)
}
}
class MissingDocsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MissingDocsRule.description)
}
}
class MultilineArgumentsBracketsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MultilineArgumentsBracketsRule.description)
}
}
class MultilineFunctionChainsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MultilineFunctionChainsRule.description)
}
}
class MultilineLiteralBracketsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MultilineLiteralBracketsRule.description)
}
}
class MultilineParametersBracketsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MultilineParametersBracketsRule.description)
}
}
class MultilineParametersRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MultilineParametersRule.description)
}
}
class MultipleClosuresWithTrailingClosureRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(MultipleClosuresWithTrailingClosureRule.description)
}
}
class NSLocalizedStringKeyRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NSLocalizedStringKeyRule.description)
}
}
class NSLocalizedStringRequireBundleRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NSLocalizedStringRequireBundleRule.description)
}
}
class NSObjectPreferIsEqualRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NSObjectPreferIsEqualRule.description)
}
}
class NestingRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NestingRule.description)
}
}
class NimbleOperatorRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NimbleOperatorRule.description)
}
}
class NoExtensionAccessModifierRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NoExtensionAccessModifierRule.description)
}
}
class NoFallthroughOnlyRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NoFallthroughOnlyRule.description)
}
}
class NoGroupingExtensionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NoGroupingExtensionRule.description)
}
}
class NoSpaceInMethodCallRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NoSpaceInMethodCallRule.description)
}
}
class NotificationCenterDetachmentRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(NotificationCenterDetachmentRule.description)
}
}
class OpeningBraceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(OpeningBraceRule.description)
}
}
class OperatorFunctionWhitespaceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(OperatorFunctionWhitespaceRule.description)
}
}
class OperatorUsageWhitespaceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(OperatorUsageWhitespaceRule.description)
}
}
class OptionalEnumCaseMatchingRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(OptionalEnumCaseMatchingRule.description)
}
}
class OverriddenSuperCallRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(OverriddenSuperCallRule.description)
}
}
class OverrideInExtensionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(OverrideInExtensionRule.description)
}
}
class PatternMatchingKeywordsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(PatternMatchingKeywordsRule.description)
}
}
class PreferSelfTypeOverTypeOfSelfRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(PreferSelfTypeOverTypeOfSelfRule.description)
}
}
class PrivateActionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(PrivateActionRule.description)
}
}
class PrivateUnitTestRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(PrivateUnitTestRule.description)
}
}
class ProhibitedInterfaceBuilderRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ProhibitedInterfaceBuilderRule.description)
}
}
class ProhibitedSuperRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ProhibitedSuperRule.description)
}
}
class ProtocolPropertyAccessorsOrderRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ProtocolPropertyAccessorsOrderRule.description)
}
}
class QuickDiscouragedCallRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(QuickDiscouragedCallRule.description)
}
}
class QuickDiscouragedFocusedTestRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(QuickDiscouragedFocusedTestRule.description)
}
}
class QuickDiscouragedPendingTestRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(QuickDiscouragedPendingTestRule.description)
}
}
class RawValueForCamelCasedCodableEnumRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RawValueForCamelCasedCodableEnumRule.description)
}
}
class ReduceBooleanRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ReduceBooleanRule.description)
}
}
class ReduceIntoRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ReduceIntoRule.description)
}
}
class RedundantDiscardableLetRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantDiscardableLetRule.description)
}
}
class RedundantNilCoalescingRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantNilCoalescingRule.description)
}
}
class RedundantObjcAttributeRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantObjcAttributeRule.description)
}
}
class RedundantOptionalInitializationRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantOptionalInitializationRule.description)
}
}
class RedundantSetAccessControlRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantSetAccessControlRule.description)
}
}
class RedundantStringEnumValueRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantStringEnumValueRule.description)
}
}
class RedundantTypeAnnotationRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantTypeAnnotationRule.description)
}
}
class RedundantVoidReturnRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RedundantVoidReturnRule.description)
}
}
class RequiredDeinitRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(RequiredDeinitRule.description)
}
}
class ReturnArrowWhitespaceRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ReturnArrowWhitespaceRule.description)
}
}
class ReturnValueFromVoidFunctionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ReturnValueFromVoidFunctionRule.description)
}
}
class ShorthandOperatorRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ShorthandOperatorRule.description)
}
}
class SingleTestClassRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(SingleTestClassRule.description)
}
}
class SortedFirstLastRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(SortedFirstLastRule.description)
}
}
class SortedImportsRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(SortedImportsRule.description)
}
}
class StaticOperatorRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(StaticOperatorRule.description)
}
}
class StrictFilePrivateRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(StrictFilePrivateRule.description)
}
}
class StrongIBOutletRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(StrongIBOutletRule.description)
}
}
class SwitchCaseOnNewlineRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(SwitchCaseOnNewlineRule.description)
}
}
class SyntacticSugarRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(SyntacticSugarRule.description)
}
}
class ToggleBoolRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ToggleBoolRule.description)
}
}
class TrailingSemicolonRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(TrailingSemicolonRule.description)
}
}
class TypeBodyLengthRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(TypeBodyLengthRule.description)
}
}
class UnavailableFunctionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnavailableFunctionRule.description)
}
}
class UnneededBreakInSwitchRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnneededBreakInSwitchRule.description)
}
}
class UnneededParenthesesInClosureArgumentRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnneededParenthesesInClosureArgumentRule.description)
}
}
class UnownedVariableCaptureRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnownedVariableCaptureRule.description)
}
}
class UntypedErrorInCatchRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UntypedErrorInCatchRule.description)
}
}
class UnusedCaptureListRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedCaptureListRule.description)
}
}
class UnusedClosureParameterRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedClosureParameterRule.description)
}
}
class UnusedControlFlowLabelRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedControlFlowLabelRule.description)
}
}
class UnusedDeclarationRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedDeclarationRule.description)
}
}
class UnusedEnumeratedRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedEnumeratedRule.description)
}
}
class UnusedImportRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedImportRule.description)
}
}
class UnusedSetterValueRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(UnusedSetterValueRule.description)
}
}
class ValidIBInspectableRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(ValidIBInspectableRule.description)
}
}
class VerticalParameterAlignmentOnCallRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(VerticalParameterAlignmentOnCallRule.description)
}
}
class VerticalParameterAlignmentRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(VerticalParameterAlignmentRule.description)
}
}
class VerticalWhitespaceBetweenCasesRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(VerticalWhitespaceBetweenCasesRule.description)
}
}
class VerticalWhitespaceClosingBracesRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(VerticalWhitespaceClosingBracesRule.description)
}
}
class VerticalWhitespaceOpeningBracesRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(VerticalWhitespaceOpeningBracesRule.description)
}
}
class VoidReturnRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(VoidReturnRule.description)
}
}
class WeakDelegateRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(WeakDelegateRule.description)
}
}
class XCTFailMessageRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(XCTFailMessageRule.description)
}
}
class YodaConditionRuleTests: XCTestCase {
func testWithDefaultConfiguration() {
verifyRule(YodaConditionRule.description)
}
}