Skip to content

Commit

Permalink
Fixes tests.
Browse files Browse the repository at this point in the history
Remove ota
  • Loading branch information
qiuyuzhou committed Sep 16, 2018
1 parent 844b981 commit cc8170f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ShadowsocksX-NGTests/ServerProfileTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(newProfile?.method, profile.method)
XCTAssertEqual(newProfile?.password, profile.password)
XCTAssertEqual(newProfile?.remark, profile.remark)
XCTAssertEqual(newProfile?.ota, profile.ota)
}

func testInitWithPlainURL() {
Expand All @@ -53,7 +52,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(profile?.method, "aes-256-cfb")
XCTAssertEqual(profile?.password, "password")
XCTAssertEqual(profile?.remark, "")
XCTAssertEqual(profile?.ota, false)
}

func testInitWithPlainURLandQuery() {
Expand All @@ -68,7 +66,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(profile?.method, "aes-256-cfb")
XCTAssertEqual(profile?.password, "password")
XCTAssertEqual(profile?.remark, "Prism")
XCTAssertEqual(profile?.ota, true)
}

func testInitWithPlainURLandAnotherQuery() {
Expand All @@ -83,7 +80,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(profile?.method, "aes-256-cfb")
XCTAssertEqual(profile?.password, "password")
XCTAssertEqual(profile?.remark, "Prism")
XCTAssertEqual(profile?.ota, false)
}

func testInitWithBase64EncodedURL() {
Expand All @@ -99,7 +95,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(profile?.method, "aes-256-cfb")
XCTAssertEqual(profile?.password, "password")
XCTAssertEqual(profile?.remark, "")
XCTAssertEqual(profile?.ota, false)
}

func testInitWithBase64EncodedURLandQuery() {
Expand All @@ -115,7 +110,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(profile?.method, "aes-256-cfb")
XCTAssertEqual(profile?.password, "password")
XCTAssertEqual(profile?.remark, "Prism")
XCTAssertEqual(profile?.ota, true)
}

func testInitWithEmptyURL() {
Expand Down Expand Up @@ -148,7 +142,6 @@ class ServerProfileTests: XCTestCase {
XCTAssertEqual(profile?.method, "aes-256-cfb")
XCTAssertEqual(profile?.password, "password")
XCTAssertEqual(profile?.remark, "Prism")
XCTAssertEqual(profile?.ota, true)
}

func testInitWithSIP002URLProfileName() {
Expand Down

0 comments on commit cc8170f

Please sign in to comment.