2024-11-06 21:01:17 -08:00
|
|
|
//
|
|
|
|
// 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 {
|
2025-01-22 22:13:20 -08:00
|
|
|
|
2024-11-06 21:01:17 -08:00
|
|
|
func testExample() {
|
|
|
|
// This is an example of a functional test case.
|
|
|
|
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
|
|
|
}
|
2025-01-22 22:13:20 -08:00
|
|
|
|
2024-11-06 21:01:17 -08:00
|
|
|
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()
|
|
|
|
|
2025-01-22 22:13:20 -08:00
|
|
|
XCTAssertNotNil(browsers)
|
2024-11-06 21:01:17 -08:00
|
|
|
}
|
2025-01-22 22:13:20 -08:00
|
|
|
|
2024-11-06 21:01:17 -08:00
|
|
|
}
|