Commit Graph

26 Commits

Author SHA1 Message Date
JP Simard 6799b06f1b Refactor TestHelpers (#2378) 2018-09-01 13:52:02 -07:00
JP Simard e89e56b99a Fix TrailingCommaRuleTests for Swift < 4.1 2018-05-06 13:11:17 -07:00
JP Simard b83e0991b9 Remove all file headers
The MIT license doesn't require that all files be prepended with this
licensing or copyright information. Realm confirmed that they're ok with this
change. This will enable some companies to contribute to SwiftLint and the
date & authorship information will remain accessible via git source control.
2018-05-04 13:42:02 -07:00
Marcelo Fabri aa88d5a707 Fix existing violations 2017-10-02 02:09:53 -03:00
Marcelo Fabri 63e95a22c5 Refactoring tests that create RuleDescriptions 2017-07-02 17:10:26 +02:00
Marcelo Fabri e86763739f Move kind to RuleDescription 2017-07-02 15:50:16 +02:00
JP Simard 25a92c4e03 automatically generate LinuxMain.swift using Sourcery
This adds 6 tests that were accidentally not being run on Linux:

* LineLengthConfigurationTests.testLineLengthConfigurationInitialiserSetsIgnoresComments
* LineLengthConfigurationTests.testLineLengthConfigurationInitialiserSetsIgnoresFunctionDeclarations
* LineLengthConfigurationTests.testLineLengthConfigurationThrowsOnBadConfigValues
* LineLengthRuleTests.testLineLengthWithIgnoreCommentsEnabled
* LineLengthRuleTests.testLineLengthWithIgnoreFunctionDeclarationsEnabled
* RegionTests.testSeveralRegionsFromSeveralCommands
2017-06-02 14:28:37 -07:00
JP Simard 99d13d14a3 remove workaround for SR-3448/SR-3449
as they were fixed in the 3.1 release
2017-05-25 07:58:04 -07:00
JP Simard 3968b01bb6 update tests to reflect unicode fixes in SourceKitten 2017-05-19 14:10:24 -07:00
Jeremy David Giesbrecht 433b8e9ba0 Fixed return lines. 2017-03-28 23:12:21 -06:00
Jeremy David Giesbrecht abf2a7218f Fixed types. 2017-03-28 23:06:42 -06:00
Jeremy David Giesbrecht fec56475e7 Applied workaround for underlying Linux bug. 2017-03-28 22:53:03 -06:00
Jeremy David Giesbrecht ff545575ee More CI debugging... 2017-03-28 22:38:20 -06:00
Jeremy David Giesbrecht 43e97e50da More CI debugging... 2017-03-28 22:28:12 -06:00
Jeremy David Giesbrecht 0182ab0900 More CI debugging..a 2017-03-28 22:16:44 -06:00
Jeremy David Giesbrecht 9a69a6ddc0 More CI debugging... 2017-03-28 22:02:20 -06:00
Jeremy David Giesbrecht 424c0f9ebb More CI debugging. 2017-03-28 21:51:06 -06:00
Jeremy David Giesbrecht 68203c8251 More CI debugging... 2017-03-28 21:29:39 -06:00
Jeremy David Giesbrecht 332c14761b More CI debugging. 2017-03-28 20:39:41 -06:00
Jeremy David Giesbrecht 0939857b71 More CI debugging... 2017-03-28 20:24:52 -06:00
Jeremy David Giesbrecht 8b3595f450 More CI debugging. 2017-03-28 19:02:40 -06:00
Jeremy David Giesbrecht 0a1572975f Satisfied style checks. 2017-03-25 17:39:05 -06:00
Jeremy David Giesbrecht 6213ee8d53 Simplified offset conversions. 2017-03-25 16:21:30 -06:00
Samuel Susla eb75ff52e4 add tests for mandatoryComma 2017-03-21 10:45:35 +01:00
Matt Rubin 27514d73bf Amend TrailingCommaRuleTests to ensure the reason strings are correct 2016-12-22 18:02:58 -05:00
Matt Rubin 34c79cd51d Move TrailingCommaRule tests to a dedicated XCTestCase 2016-12-22 17:40:42 -05:00