File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed
Tests/IssueReportingTests Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change 1
- // #if canImport(ObjectiveC)
2
- // import XCTest
3
- //
4
- // @testable import IssueReporting
5
- //
6
- // final class HostAppCallStackTests: XCTestCase {
7
- // func testIsAbleToDetectTest() {
8
- // XCTAssert(Thread.callStackSymbols.contains(where: \.isTestFrame))
9
- // }
10
- //
11
- // func testIsAbleToDetectAsyncTest() async {
12
- // XCTAssert(Thread.callStackSymbols.contains(where: \.isTestFrame))
13
- // }
14
- //
15
- // func testIsAbleToDetectThrowingTest() throws {
16
- // XCTAssert(Thread.callStackSymbols.contains(where: \.isTestFrame))
17
- // }
18
- //
19
- // func testIsAbleToDetectAsyncThrowingTest() async throws {
20
- // XCTAssert(Thread.callStackSymbols.contains(where: \.isTestFrame))
21
- // }
22
- // }
23
- // #endif
1
+ #if DEBUG && canImport(ObjectiveC)
2
+ import XCTest
3
+
4
+ @testable import IssueReporting
5
+
6
+ final class HostAppCallStackTests : XCTestCase {
7
+ func testIsAbleToDetectTest( ) {
8
+ XCTAssert ( Thread . callStackSymbols. contains ( where: \. isTestFrame) )
9
+ }
10
+
11
+ func testIsAbleToDetectAsyncTest( ) async {
12
+ XCTAssert ( Thread . callStackSymbols. contains ( where: \. isTestFrame) )
13
+ }
14
+
15
+ func testIsAbleToDetectThrowingTest( ) throws {
16
+ XCTAssert ( Thread . callStackSymbols. contains ( where: \. isTestFrame) )
17
+ }
18
+
19
+ func testIsAbleToDetectAsyncThrowingTest( ) async throws {
20
+ XCTAssert ( Thread . callStackSymbols. contains ( where: \. isTestFrame) )
21
+ }
22
+ }
23
+ #endif
You can’t perform that action at this time.
0 commit comments