Skip to content

Commit

Permalink
Removes some TODOs and adds details
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Oct 20, 2023
1 parent 91bffbf commit 432cb56
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ final class NetworkProtectionSimulateFailureMenu: NSMenu {
@IBOutlet weak var simulateConnectionInterruptionMenuItem: NSMenuItem!

private var simulationOptions: NetworkProtectionSimulationOptions {
// TODO: fix this
// Temporarily disabled: https://app.asana.com/0/0/1205766100762904/f
NetworkProtectionSimulationOptions()
// NetworkProtectionTunnelController.simulationOptions
}

/// Simulates a controller failure the next time Network Protection is started.
Expand All @@ -56,21 +55,21 @@ final class NetworkProtectionSimulateFailureMenu: NSMenu {
///
@IBAction
func simulateTunnelFailure(_ menuItem: NSMenuItem) {
// TODO: fix this
// Temporarily disabled: https://app.asana.com/0/0/1205766100762904/f
// simulateFailure(NetworkProtectionTunnelController().toggleShouldSimulateTunnelFailure)
}

/// Simulates a fatal error on the tunnel the next time Network Protection is started.
///
@IBAction
func simulateTunnelCrash(_ menuItem: NSMenuItem) {
// TODO: fix this
// Temporarily disabled: https://app.asana.com/0/0/1205766100762904/f
// simulateFailure(NetworkProtectionTunnelController().toggleShouldSimulateTunnelFatalError)
}

@IBAction
func simulateConnectionInterruption(_ menuItem: NSMenuItem) {
// TODO: fix this
// Temporarily disabled: https://app.asana.com/0/0/1205766100762904/f
// simulateFailure(NetworkProtectionTunnelController().toggleShouldSimulateConnectionInterruption)
}

Expand Down

0 comments on commit 432cb56

Please sign in to comment.