Skip to content

Commit

Permalink
Remove some old tests and guard debug code in #if DEBUG. (pointfreeco…
Browse files Browse the repository at this point in the history
…#104)

* Remove some old tests and guard debug code in #if DEBUG.

* remove background color

* fix test targets

* clean up more tests
  • Loading branch information
mbrandonw committed May 15, 2020
1 parent 4523043 commit 812a7fa
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 447 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ struct AnimationsView: View {
)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(Color.white)
.simultaneousGesture(
DragGesture(minimumDistance: 0).onChanged { gesture in
withAnimation(.interactiveSpring(response: 0.25, dampingFraction: 0.1)) {
Expand Down
7 changes: 0 additions & 7 deletions Examples/TicTacToe/Tests/AppCoreTests.swift

This file was deleted.

8 changes: 0 additions & 8 deletions Examples/TicTacToe/Tests/TicTacToeTests.swift

This file was deleted.

9 changes: 0 additions & 9 deletions Examples/TicTacToe/Tests/TwoFactorCoreTests.swift

This file was deleted.

372 changes: 0 additions & 372 deletions Examples/TicTacToe/TicTacToe.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DCAF10F3242028DE00483288"
BuildableName = "AppCoreTests.xctest"
BlueprintName = "AppCoreTests"
ReferencedContainer = "container:TicTacToe.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CA0A5775242AA3A900BA537D"
BuildableName = "TicTacToeTests.xctest"
BlueprintName = "TicTacToeTests"
ReferencedContainer = "container:TicTacToe.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DCAF10F3242028DE00483288"
BuildableName = "AppCoreTests.xctest"
BlueprintName = "AppCoreTests"
ReferencedContainer = "container:TicTacToe.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand Down Expand Up @@ -108,16 +88,6 @@
ReferencedContainer = "container:TicTacToe.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DC9194DB2420144700A5BE1F"
BuildableName = "TwoFactorCoreTests.xctest"
BlueprintName = "TwoFactorCoreTests"
ReferencedContainer = "container:TicTacToe.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DC9194DB2420144700A5BE1F"
BuildableName = "TwoFactorCoreTests.xctest"
BlueprintName = "TwoFactorCoreTests"
ReferencedContainer = "container:TicTacToe.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
2 changes: 2 additions & 0 deletions Sources/ComposableArchitecture/Internal/Debug.swift
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ extension URL: CustomDebugOutputConvertible {
}
}

#if DEBUG
#if canImport(CoreLocation)
import CoreLocation
extension CLAuthorizationStatus: CustomDebugOutputConvertible {
Expand Down Expand Up @@ -286,3 +287,4 @@ extension URL: CustomDebugOutputConvertible {
}
}
#endif
#endif

0 comments on commit 812a7fa

Please sign in to comment.