diff --git a/Tests/Tests.xcodeproj/project.pbxproj b/Tests/Tests.xcodeproj/project.pbxproj index c65873b..a536361 100644 --- a/Tests/Tests.xcodeproj/project.pbxproj +++ b/Tests/Tests.xcodeproj/project.pbxproj @@ -50,7 +50,6 @@ D5AD0D912A114B98003D8DEC /* TextFieldWithVerticalAxisTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5AD0D902A114B98003D8DEC /* TextFieldWithVerticalAxisTests.swift */; }; D5B67B842A0D318F007D5D9B /* TextFieldTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5B67B832A0D318F007D5D9B /* TextFieldTests.swift */; }; D5F0BE4D29C0DBE800AD95AB /* TestsHostApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F0BE4C29C0DBE800AD95AB /* TestsHostApp.swift */; }; - D5F0BE6929C0DC4900AD95AB /* IntrospectTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F0BE6629C0DC4900AD95AB /* IntrospectTests.swift */; }; D5F0BE6A29C0DC4900AD95AB /* PlatformTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F0BE6729C0DC4900AD95AB /* PlatformTests.swift */; }; D5F8D5ED2A1E7B490054E9AB /* NavigationViewWithStackStyleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F8D5EC2A1E7B490054E9AB /* NavigationViewWithStackStyleTests.swift */; }; D5F8D5EF2A1E87950054E9AB /* NavigationViewWithColumnsStyleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F8D5EE2A1E87950054E9AB /* NavigationViewWithColumnsStyleTests.swift */; }; @@ -111,7 +110,6 @@ D5F0BE4929C0DBE800AD95AB /* TestsHostApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestsHostApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; D5F0BE4C29C0DBE800AD95AB /* TestsHostApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestsHostApp.swift; sourceTree = ""; }; D5F0BE5D29C0DC0000AD95AB /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - D5F0BE6629C0DC4900AD95AB /* IntrospectTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IntrospectTests.swift; sourceTree = ""; }; D5F0BE6729C0DC4900AD95AB /* PlatformTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlatformTests.swift; sourceTree = ""; }; D5F8D5EC2A1E7B490054E9AB /* NavigationViewWithStackStyleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavigationViewWithStackStyleTests.swift; sourceTree = ""; }; D5F8D5EE2A1E87950054E9AB /* NavigationViewWithColumnsStyleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavigationViewWithColumnsStyleTests.swift; sourceTree = ""; }; @@ -216,7 +214,6 @@ isa = PBXGroup; children = ( D5B67B852A0D3193007D5D9B /* ViewTypes */, - D5F0BE6629C0DC4900AD95AB /* IntrospectTests.swift */, D5F0BE6729C0DC4900AD95AB /* PlatformTests.swift */, D58CE15729C621DD0081BFB0 /* TestUtils.swift */, ); @@ -382,7 +379,6 @@ D58119C62A227E930081F853 /* ViewTests.swift in Sources */, D575067E2A27C43400A628E4 /* ListWithGroupedStyleTests.swift in Sources */, D575069C2A27F68700A628E4 /* ProgressViewWithCircularStyleTests.swift in Sources */, - D5F0BE6929C0DC4900AD95AB /* IntrospectTests.swift in Sources */, D58119D62A23AED70081F853 /* PickerWithWheelStyleTests.swift in Sources */, D5B67B842A0D318F007D5D9B /* TextFieldTests.swift in Sources */, ); diff --git a/Tests/Tests/IntrospectTests.swift b/Tests/Tests/IntrospectTests.swift deleted file mode 100644 index 83cdba5..0000000 --- a/Tests/Tests/IntrospectTests.swift +++ /dev/null @@ -1,28 +0,0 @@ -//import SwiftUI -//@testable import SwiftUIIntrospect -//import XCTest -// -//final class IntrospectTests: XCTestCase { -// func testFindReceiver() { -// final class TargetView: PlatformView {} -// -// let grandparent = PlatformView(frame: .init(x: 0, y: 0, width: 300, height: 300)) -// -// let parent = PlatformView(frame: .init(x: 100, y: 100, width: 100, height: 100)); grandparent.addSubview(parent) -// -// let a = TargetView(frame: .init(x: 0, y: 0, width: 50, height: 50)); parent.addSubview(a) -// let b = TargetView(frame: .init(x: 50, y: 0, width: 50, height: 50)); parent.addSubview(b) -// let c = TargetView(frame: .init(x: 0, y: 50, width: 50, height: 50)); parent.addSubview(c) -// let d = TargetView(frame: .init(x: 50, y: 50, width: 50, height: 50)); parent.addSubview(d) -// -// let ai = PlatformView(frame: .init(x: 25, y: 25, width: 0, height: 0)); parent.addSubview(ai) -// let bi = PlatformView(frame: .init(x: 75, y: 25, width: 0, height: 0)); parent.addSubview(bi) -// let ci = PlatformView(frame: .init(x: 25, y: 75, width: 0, height: 0)); parent.addSubview(ci) -// let di = PlatformView(frame: .init(x: 75, y: 75, width: 0, height: 0)); parent.addSubview(di) -// -// XCTAssert(a === ai.findReceiver(ofType: TargetView.self)) -// XCTAssert(b === bi.findReceiver(ofType: TargetView.self)) -// XCTAssert(c === ci.findReceiver(ofType: TargetView.self)) -// XCTAssert(d === di.findReceiver(ofType: TargetView.self)) -// } -//}