43 lines
1.1 KiB
Swift
Executable File
43 lines
1.1 KiB
Swift
Executable File
//
|
|
// RSWebTests.swift
|
|
// RSWebTests
|
|
//
|
|
// Created by Brent Simmons on 12/22/16.
|
|
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
|
|
//
|
|
|
|
import XCTest
|
|
@testable import RSWeb
|
|
|
|
class RSWebTests: XCTestCase {
|
|
|
|
override func setUp() {
|
|
super.setUp()
|
|
// Put setup code here. This method is called before the invocation of each test method in the class.
|
|
}
|
|
|
|
override func tearDown() {
|
|
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
|
super.tearDown()
|
|
}
|
|
|
|
func testExample() {
|
|
// This is an example of a functional test case.
|
|
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
|
}
|
|
|
|
func testPerformanceExample() {
|
|
// This is an example of a performance test case.
|
|
self.measure {
|
|
// Put the code you want to measure the time of here.
|
|
}
|
|
}
|
|
|
|
func testAllBrowsers() {
|
|
let browsers = MacWebBrowser.sortedBrowsers()
|
|
|
|
XCTAssertNotNil(browsers);
|
|
}
|
|
|
|
}
|