SwiftLint/Tests/SwiftLintFrameworkTests
Cihat Gündüz cf034c9dfb Multiline Brackets (#2302)
* Add new multiline_literal_brackets rule with examples

* Implement rule

* Add changelog entry

* Fix CHANGELOG and rule name

* Fix tests + Update stuff after rebasing

* Add more examples & fix whitespace issue

* Address feedback from @ornithocoder

* Add multiline rules for arguments and parameters

* Fix false positives in rule multiline_parameters_brackets

* Fix false positive for trailing closures in multiline_arguments_brackets

* Add nested examples to rule multiline_arguments_brackets

* Fix more false positives in multiline_arguments_brackets rule

* Use guard where appropriate instead of if

* Update generated artifacts after rebase

* Add CHANGELOG entry for all three new rules

* Move changelog entries to new version

* Fix changelog entries position

* Move new rules to correct subfolder

* Update Rules.md file contents

* Fixup changelog

* Refactor rules
2018-11-28 10:30:36 -08:00
..
Resources Default column to 1 in XcodeReporter output (#2488) 2018-11-27 13:00:01 -08:00
Supporting Files Support Swift Package Manager on macOS 2016-11-08 20:35:30 +09:00
AttributesRuleTests.swift Fix false positive on attributes rule 2018-07-21 18:18:25 -07:00
AutomaticRuleTests.generated.swift Multiline Brackets (#2302) 2018-11-28 10:30:36 -08:00
CollectionAlignmentRuleTests.swift Collection alignment rule is no longer an automatic testable 2018-09-10 23:45:56 -04:00
ColonRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
CommandTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
CompilerProtocolInitRuleTests.swift #2422 - Fix CI 2018-10-01 13:37:18 +03:00
ConditionalReturnsOnNewlineRuleTests.swift Rename variable in tests 2018-07-24 09:43:42 -07:00
ConfigurationAliasesTests.swift Move alias tests to new file 2018-07-26 10:21:13 -07:00
ConfigurationTests+Nested.swift Remove all file headers 2018-05-04 13:42:02 -07:00
ConfigurationTests+ProjectMock.swift Make tests pass with Xcode project or Swift Package Manager (#2481) 2018-11-24 20:02:52 -08:00
ConfigurationTests.swift Enable some opt-in rules 2018-09-08 20:25:45 -07:00
CustomRulesTests.swift Make tests pass with Xcode project or Swift Package Manager (#2481) 2018-11-24 20:02:52 -08:00
CyclomaticComplexityConfigurationTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
CyclomaticComplexityRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
DisableAllTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
DiscouragedDirectInitRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
DocumentationTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
ExplicitTypeInterfaceConfigurationTests.swift Add config option allow_redundancy 2018-07-27 11:12:46 +02:00
ExplicitTypeInterfaceRuleTests.swift Fix false positives on explicit_type_interface rule (#2426) 2018-11-28 09:08:03 -08:00
ExtendedNSStringTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
FileHeaderRuleTests.swift Support file placeholder with required/forbidden_string 2018-06-13 20:05:02 +09:00
FileLengthRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
FileNameRuleTests.swift Fix false positive on file_name rule with specific patterns (#2418) 2018-11-27 10:50:25 -08:00
FunctionBodyLengthRuleTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
FunctionParameterCountRuleTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
GenericTypeNameRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
GlobTests.swift Make tests pass with Xcode project or Swift Package Manager (#2481) 2018-11-24 20:02:52 -08:00
IdentifierNameRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
ImplicitlyUnwrappedOptionalConfigurationTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
ImplicitlyUnwrappedOptionalRuleTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
IntegrationTests.swift Default column to 1 in XcodeReporter output (#2488) 2018-11-27 13:00:01 -08:00
LineLengthConfigurationTests.swift Added "ignores_interpolated_strings" option to line_length (default value is false) 2018-05-06 10:41:15 -07:00
LineLengthRuleTests.swift Enable collection_alignment on SwiftLint 2018-09-11 09:31:54 -07:00
LinterCacheTests.swift Fix `LinterCacheTests.testDetectSwiftVersion` for Swift 4.2 2018-07-20 08:30:25 +09:00
MissingDocsRuleConfigurationTests.swift Patch created from Nef10 (https://github.com/Nef10/SwiftLint.git) missing_docs branch, to remove merge commits that were preventing merging the PR (https://github.com/realm/SwiftLint/pull/2172) 2018-07-25 11:34:53 -04:00
ModifierOrderTests.swift Add test to LinuxMain 2018-07-19 08:17:12 -07:00
MultilineArgumentsRuleTests.swift Rename “allow_first_closure_on_same_line” configuration for “multiline_arguments” rule to “only_enforce_after_first_closure_on_first_line” to increase clarity. 2018-07-28 15:28:34 -04:00
NumberSeparatorRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
ObjectLiteralRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
PrefixedTopLevelConstantRuleTests.swift Add private_only to prefixed_toplevel_constant (#2315) 2018-07-24 12:38:01 -07:00
PrivateOutletRuleTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
PrivateOverFilePrivateRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
RegionTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
ReporterTests.swift Add markdown reporter (#2486) 2018-11-27 12:31:12 -08:00
RequiredEnumCaseRuleTestCase.swift Use default Equatable and Hashable implementations 2018-11-19 09:51:12 -08:00
RuleConfigurationTests.swift Enable collection_alignment on SwiftLint 2018-09-11 09:31:54 -07:00
RuleDescription+Examples.swift Add RuleDescription.with(nonTriggeringExamples:triggeringExamples:) 2018-05-06 23:34:14 +03:00
RuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
RulesTests.swift Require Swift 4.2 (#2466) 2018-11-18 17:32:25 -08:00
SourceKitCrashTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
StatementPositionRuleTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
SwitchCaseAlignmentRuleTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
TestHelpers.swift Add ability for SwiftLint to lint files with full type-checked AST awareness (#2379) 2018-09-02 00:13:27 -07:00
TodoRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
TrailingCommaRuleTests.swift Refactor TestHelpers (#2378) 2018-09-01 13:52:02 -07:00
TrailingWhitespaceTests.swift Split RulesTests into several test cases, generating them automatically 2018-07-21 17:23:08 -07:00
TypeNameRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
UnusedOptionalBindingRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
VerticalWhitespaceRuleTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
XCTestCase+BundlePath.swift Make tests pass with Xcode project or Swift Package Manager (#2481) 2018-11-24 20:02:52 -08:00
YamlParserTests.swift Remove all file headers 2018-05-04 13:42:02 -07:00
YamlSwiftLintTests.swift Make tests pass with Xcode project or Swift Package Manager (#2481) 2018-11-24 20:02:52 -08:00