Commit Graph

23 Commits

Author SHA1 Message Date
Cihat Gündüz e9b5abffff Update LinuxMain file with new tests 2017-06-15 06:07:44 +02:00
Marcelo Fabri 772468638d Update LinuxMain.swift 2017-06-14 14:22:41 +02:00
Marcelo Fabri 64585a5845 Update Sourcery template and tests 2017-06-13 16:18:27 +02:00
JP Simard f1417da079 preserve Sourcery comment header in make sourcery 2017-06-02 14:28:37 -07: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 ce482dcba3 add CommandTests & RegionTests 2017-05-24 11:33:40 -07:00
Javier Hernández d652cfe4ab Add options to generic_type_name and type_name rules 2017-05-10 21:02:30 +01:00
Javier Hernández 3245fd83a9 Fix tests 2017-05-10 20:53:44 +01:00
Marcelo Fabri b41fe11dbc Fixes after rebase 2017-05-01 15:34:38 +02:00
Siarhei Fedartsou 3db5aadecd Add IUO rule tests to LinuxMain.swift and add link to issue in CHANGELOG.md 2017-03-22 20:30:48 +03:00
JP Simard 1d27ae1549 Merge pull request #1299 from mlwelles/cyclomatic_complexity_ignores_case_statments
Cyclomatic complexity ignores case statments
2017-03-10 15:19:46 -08:00
Michael Welles bc3435fec5 ordered tests alphabetically 2017-03-06 10:03:51 -05:00
Michael Welles 50ef6e17b1 Updated allTests, added tests to LinuxMain.swift, misc review fixes 2017-03-02 15:47:50 -05:00
Marcelo Fabri 1fd47dc008 Fix todo rule messages when the comment is not on a new line
Fixes #1304
2017-02-26 01:35:52 -03:00
Marcelo Fabri dc2ebdf67c Extract number_separator tests to another class 2017-01-17 04:28:52 -02:00
JP Simard 41251d8bb1 run LinterCacheTests on Linux 2017-01-10 15:47:45 -08:00
Javier Hernández 5a3b910be2 Fix LinuxMain.swift 2017-01-06 11:54:40 +01:00
Javier Hernández 7b3648899d Extract line length tests to their own test files 2017-01-06 01:08:50 +01:00
Aaron McTavish 00b8e79318 Add max_empty_lines config to vertical_whitespace
Update `vertical_whitespace` rule to allow configuration of the number
of consecutive empty lines before a violation using `max_empty_lines`.
The default value is still 1 line.
2017-01-05 10:05:03 +00:00
Matt Rubin 4a2acd3a31 Add TrailingCommaRuleTests to LinuxMain.swift 2016-12-22 18:06:23 -05:00
Marcelo Fabri 1d06302643 Add dictionary colon validation to colon rule
Fixes #603
2016-12-22 00:09:27 -02:00
Marcelo Fabri 8da7f06cab Running AttributesRulesTests on Linux 2016-12-12 00:11:58 -02:00
JP Simard 97e798dc70 add LinuxMain.swift and allTests extensions
to run all unit tests on Linux
2016-12-11 14:04:49 -08:00