Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Commit

Permalink
fix lint line length warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Feb 12, 2017
1 parent 953802e commit b7a17fc
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 24 deletions.
15 changes: 12 additions & 3 deletions Tests/TestSuites/ColorsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,23 @@ class ColorsTests: XCTestCase {
}

func testDefault() {
test(template: "colors-default", contextNames: Contexts.all, outputPrefix: "default", directory: .colors)
test(template: "colors-default",
contextNames: Contexts.all,
outputPrefix: "default",
directory: .colors)
}

func testRawValue() {
test(template: "colors-rawValue", contextNames: Contexts.rawOnly, outputPrefix: "rawValue", directory: .colors)
test(template: "colors-rawValue",
contextNames: Contexts.rawOnly,
outputPrefix: "rawValue",
directory: .colors)
}

func testSwift3() {
test(template: "colors-swift3", contextNames: Contexts.all, outputPrefix: "swift3", directory: .colors)
test(template: "colors-swift3",
contextNames: Contexts.all,
outputPrefix: "swift3",
directory: .colors)
}
}
10 changes: 8 additions & 2 deletions Tests/TestSuites/FontsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ class FontsTests: XCTestCase {
}

func testDefault() {
test(template: "fonts-default", contextNames: Contexts.all, outputPrefix: "default", directory: .fonts)
test(template: "fonts-default",
contextNames: Contexts.all,
outputPrefix: "default",
directory: .fonts)
}

func testSwift3() {
test(template: "fonts-swift3", contextNames: Contexts.all, outputPrefix: "swift3", directory: .fonts)
test(template: "fonts-swift3",
contextNames: Contexts.all,
outputPrefix: "swift3",
directory: .fonts)
}
}
25 changes: 20 additions & 5 deletions Tests/TestSuites/ImagesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,37 @@ class ImagesTests: XCTestCase {
}

func testDefault() {
test(template: "images-default", contextNames: Contexts.all, outputPrefix: "default", directory: .images)
test(template: "images-default",
contextNames: Contexts.all,
outputPrefix: "default",
directory: .images)
}

func testAllValues() {
test(template: "images-allvalues", contextNames: Contexts.all, outputPrefix: "allvalues", directory: .images)
test(template: "images-allvalues",
contextNames: Contexts.all,
outputPrefix: "allvalues",
directory: .images)
}

func testSwift3() {
test(template: "images-swift3", contextNames: Contexts.all, outputPrefix: "swift3", directory: .images)
test(template: "images-swift3",
contextNames: Contexts.all,
outputPrefix: "swift3",
directory: .images)
}

func testDotSyntax() {
test(template: "images-dot-syntax", contextNames: Contexts.all, outputPrefix: "dot-syntax", directory: .images)
test(template: "images-dot-syntax",
contextNames: Contexts.all,
outputPrefix: "dot-syntax",
directory: .images)
}

func testDotSyntaxSwift3() {
test(template: "images-dot-syntax-swift3", contextNames: Contexts.all, outputPrefix: "dot-syntax-swift3", directory: .images)
test(template: "images-dot-syntax-swift3",
contextNames: Contexts.all,
outputPrefix: "dot-syntax-swift3",
directory: .images)
}
}
15 changes: 12 additions & 3 deletions Tests/TestSuites/StoryboardsMacOSTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ class StoryboardsMacOSTests: XCTestCase {
}

func testDefault() {
test(template: "storyboards-osx-default", contextNames: Contexts.all, outputPrefix: "default", directory: .storyboardsMacOS)
test(template: "storyboards-osx-default",
contextNames: Contexts.all,
outputPrefix: "default",
directory: .storyboardsMacOS)
}

func testSwift3() {
test(template: "storyboards-osx-swift3", contextNames: Contexts.all, outputPrefix: "swift3", directory: .storyboardsMacOS)
test(template: "storyboards-osx-swift3",
contextNames: Contexts.all,
outputPrefix: "swift3",
directory: .storyboardsMacOS)
}

func testLowercase() {
test(template: "storyboards-osx-lowercase", contextNames: Contexts.all, outputPrefix: "lowercase", directory: .storyboardsMacOS)
test(template: "storyboards-osx-lowercase",
contextNames: Contexts.all,
outputPrefix: "lowercase",
directory: .storyboardsMacOS)
}
}
20 changes: 16 additions & 4 deletions Tests/TestSuites/StoryboardsiOSTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,30 @@ class StoryboardsiOSTests: XCTestCase {
}

func testDefault() {
test(template: "storyboards-default", contextNames: Contexts.all, outputPrefix: "default", directory: .storyboardsiOS)
test(template: "storyboards-default",
contextNames: Contexts.all,
outputPrefix: "default",
directory: .storyboardsiOS)
}

func testSwift3() {
test(template: "storyboards-swift3", contextNames: Contexts.all, outputPrefix: "swift3", directory: .storyboardsiOS)
test(template: "storyboards-swift3",
contextNames: Contexts.all,
outputPrefix: "swift3",
directory: .storyboardsiOS)
}

func testLowercase() {
test(template: "storyboards-lowercase", contextNames: Contexts.all, outputPrefix: "lowercase", directory: .storyboardsiOS)
test(template: "storyboards-lowercase",
contextNames: Contexts.all,
outputPrefix: "lowercase",
directory: .storyboardsiOS)
}

func testUppercase() {
test(template: "storyboards-uppercase", contextNames: Contexts.all, outputPrefix: "uppercase", directory: .storyboardsiOS)
test(template: "storyboards-uppercase",
contextNames: Contexts.all,
outputPrefix: "uppercase",
directory: .storyboardsiOS)
}
}
35 changes: 28 additions & 7 deletions Tests/TestSuites/StringsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,51 @@ class StringsTests: XCTestCase {
}

func testDefault() {
test(template: "strings-default", contextNames: Contexts.all, outputPrefix: "default", directory: .strings)
test(template: "strings-default",
contextNames: Contexts.all,
outputPrefix: "default",
directory: .strings)
}

func testSwift3() {
test(template: "strings-swift3", contextNames: Contexts.all, outputPrefix: "swift3", directory: .strings)
test(template: "strings-swift3",
contextNames: Contexts.all,
outputPrefix: "swift3",
directory: .strings)
}

func testNoCommentsSwift3() {
test(template: "strings-no-comments-swift3", contextNames: Contexts.all, outputPrefix: "no-comments-swift3", directory: .strings)
test(template: "strings-no-comments-swift3",
contextNames: Contexts.all,
outputPrefix: "no-comments-swift3",
directory: .strings)
}

func testGenstrings() {
test(template: "strings-genstrings", contextNames: Contexts.all, outputPrefix: "genstrings", directory: .strings)
test(template: "strings-genstrings",
contextNames: Contexts.all,
outputPrefix: "genstrings",
directory: .strings)
}

func testStructured() {
test(template: "strings-structured", contextNames: Contexts.all, outputPrefix: "structured", directory: .strings)
test(template: "strings-structured",
contextNames: Contexts.all,
outputPrefix: "structured",
directory: .strings)
}

func testDotSyntax() {
test(template: "strings-dot-syntax", contextNames: Contexts.all, outputPrefix: "dot-syntax", directory: .strings)
test(template: "strings-dot-syntax",
contextNames: Contexts.all,
outputPrefix: "dot-syntax",
directory: .strings)
}

func testDotSyntaxSwift3() {
test(template: "strings-dot-syntax-swift3", contextNames: Contexts.all, outputPrefix: "dot-syntax-swift3", directory: .strings)
test(template: "strings-dot-syntax-swift3",
contextNames: Contexts.all,
outputPrefix: "dot-syntax-swift3",
directory: .strings)
}
}

0 comments on commit b7a17fc

Please sign in to comment.