Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove MullvadVPNTests as a target for all MullvadVPN app source files… #5905

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 4 additions & 186 deletions ios/MullvadVPN.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ios/MullvadVPNTests/AccessTokenManager+Stubs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import Foundation
@testable import MullvadREST
@testable import MullvadTypes
@testable import MullvadVPN

struct AccessTokenManagerStub: RESTAccessTokenManagement {
func getAccessToken(
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/AccountExpiryTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
//

@testable import MullvadVPN
import XCTest

class AccountExpiryTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
//

@testable import MullvadVPN
import XCTest

class CustomDateComponentsFormattingTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/DeviceCheckOperationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import MullvadREST
import MullvadSettings
import MullvadTypes
import Operations
@testable import PacketTunnel
import PacketTunnelCore
import WireGuardKitTypes
import XCTest
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/InputTextFormatterTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
//

@testable import MullvadVPN
import XCTest

class InputTextFormatterTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

@testable import MullvadSettings
@testable import MullvadVPN
import XCTest

class AllLocationsDataSourceTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

@testable import MullvadSettings
@testable import MullvadVPN
import Network
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

@testable import MullvadSettings
@testable import MullvadVPN
import XCTest

class CustomListsDataSourceTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/Location/LocationNodeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import MullvadSettings
@testable import MullvadVPN
import XCTest

class LocationNodeTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/Mocks/MockTunnel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
@testable import MullvadVPN
import NetworkExtension

class MockTunnel: TunnelProtocol {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/Mocks/MockTunnelInteractor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import Foundation
import MullvadSettings
@testable import MullvadVPN
import PacketTunnelCore

// this is still very minimal, and will be fleshed out as needed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@testable import MullvadSettings
import MullvadTypes
@testable import MullvadVPN
import Network
import XCTest

Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/OutgoingConnectionProxy+Stub.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import MullvadREST
@testable import MullvadVPN

struct OutgoingConnectionProxyStub: OutgoingConnectionHandling {
var ipV4: IPV4ConnectionData
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/OutgoingConnectionProxyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
//
import MullvadREST
@testable import MullvadVPN
import XCTest

final class OutgoingConnectionProxyTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/OutgoingConnectionServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
@testable import MullvadVPN
import XCTest

final class OutgoingConnectionServiceTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/RelayCacheTracker+Stubs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import Foundation
@testable import MullvadREST
@testable import MullvadTypes
@testable import MullvadVPN

struct RelayCacheTrackerStub: RelayCacheTrackerProtocol {
func startPeriodicUpdates() {}
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/StartTunnelOperationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import MullvadSettings
@testable import MullvadVPN
import Network
import Operations
import WireGuardKitTypes
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/StringTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
//

@testable import MullvadVPN
import XCTest

class StringTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/TunnelManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import MullvadREST
@testable import MullvadSettings
@testable import MullvadVPN
import XCTest

final class TunnelManagerTests: XCTestCase {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/TunnelStore+Stubs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
@testable import MullvadVPN
import NetworkExtension

struct TunnelStoreStub: TunnelStoreProtocol {
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/URLSessionStub.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
@testable import MullvadVPN

class URLSessionStub: URLSessionProtocol {
var response: (Data, URLResponse)
Expand Down
1 change: 1 addition & 0 deletions ios/MullvadVPNTests/WgKeyRotationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import MullvadSettings
import MullvadTypes
@testable import MullvadVPN
import WireGuardKitTypes
import XCTest

Expand Down