diff --git a/Tests/OpenVPNAdapter/VPNProfile.swift b/Tests/OpenVPNAdapter/VPNProfile.swift index 49645ca..1383fcc 100644 --- a/Tests/OpenVPNAdapter/VPNProfile.swift +++ b/Tests/OpenVPNAdapter/VPNProfile.swift @@ -18,6 +18,18 @@ struct VPNProfile { } extension VPNProfile { + /// + static let general: VPNProfile = { + let configuration: String = <#OPENVPN_CONFIGURATION#> + + let username: String? = <#OPENVPN_USERNAME#> + let password: String? = <#OPENVPN_PASSWORD#> + + let settings: [String: String]? = <#OPENVPN_ADDITIONAL_SETTINGS#> + + return VPNProfile(configuration: configuration, username: username, password: password, settings: settings) + }() + /// static let caOnly: VPNProfile = { let configuration: String = <#OPENVPN_CONFIGURATION#> @@ -26,7 +38,7 @@ extension VPNProfile { let password: String? = <#OPENVPN_PASSWORD#> let settings: [String: String]? = <#OPENVPN_ADDITIONAL_SETTINGS#> - + return VPNProfile(configuration: configuration, username: username, password: password, settings: settings) }() @@ -41,4 +53,16 @@ extension VPNProfile { return VPNProfile(configuration: configuration, username: username, password: password, settings: settings) }() + + /// + static let withoutCredentials: VPNProfile = { + let configuration: String = <#OPENVPN_CONFIGURATION#> + + let username: String? = <#OPENVPN_USERNAME#> + let password: String? = <#OPENVPN_PASSWORD#> + + let settings: [String: String]? = <#OPENVPN_ADDITIONAL_SETTINGS#> + + return VPNProfile(configuration: configuration, username: username, password: password, settings: settings) + }() }