Skip to content

Commit

Permalink
Add regex pattern support
Browse files Browse the repository at this point in the history
Add tests
  • Loading branch information
Alex da Franca committed Aug 2, 2024
1 parent 1203260 commit c39a25f
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sources/Shell.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Alex da Franca on 02.08.24.
//

import Foundation
12 changes: 12 additions & 0 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// LinuxMain.swift
//
// Created by Alex da Franca on 26.12.21.
//

import XcresultparserTests
import XCTest

var tests = [XCTestCaseEntry]()
tests += XcresultparserTests.allTests()
XCTMain(tests)
35 changes: 35 additions & 0 deletions Tests/findsimulatorTests/findsimulatorTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// findsimulatorTests.swift
//
//
// Created by Alex da Franca on 02.08.24.
//

import XCTest

final class findsimulatorTests: XCTestCase {

override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}

func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
// Any test you write for XCTest can be annotated as throws and async.
// Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
// Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
}

func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}

}

0 comments on commit c39a25f

Please sign in to comment.