Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Updated unit tests for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jun 12, 2017
1 parent 2a0b728 commit 2056343
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
@@ -1,5 +1,5 @@
//
// RenderingTest.swift
// RenderingTests.swift
// CacaoTests
//
// Created by Alsey Coleman Miller on 6/9/17.
Expand All @@ -12,7 +12,7 @@ import Silica
import SDL
@testable import Cacao

final class RenderingTest: XCTestCase {
final class RenderingTests: XCTestCase {

static let allTests = [("testViewSurface", testViewSurface)]

Expand Down Expand Up @@ -57,7 +57,7 @@ final class RenderingTest: XCTestCase {
}
}

private extension RenderingTest {
private extension RenderingTests {

final class TestView: UIWindow {

Expand Down
5 changes: 5 additions & 0 deletions Tests/CacaoTests/UIViewTests.swift
Expand Up @@ -12,6 +12,11 @@ import Silica

final class UIViewTests: XCTestCase {

static let allTests = [
("testHitTest", testHitTest),
("testConvertToView", testConvertToView)
]

func testHitTest() {

let (backgroundView, view1, subview1, subview2) = loadTestView1()
Expand Down
3 changes: 2 additions & 1 deletion Tests/LinuxMain.swift
Expand Up @@ -16,5 +16,6 @@ import Silica

XCTMain([testCase(StyleKitTests.allTests),
testCase(FontTests.allTests),
testCase(RenderingTest.allTests)
testCase(RenderingTests.allTests),
testCase(UIViewTests.allTests)
])

0 comments on commit 2056343

Please sign in to comment.