Skip to content

Commit

Permalink
[Test] Rename tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
inamiy committed Sep 23, 2015
1 parent e8eb43b commit 2c067ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions SwiftTaskTests/SwiftTaskTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ class SwiftTaskTests: _TestCase
// MARK: - Try
//--------------------------------------------------

func testTry_success()
func testRetry_success()
{
// NOTE: this is async test
if !self.isAsync { return }
Expand Down Expand Up @@ -809,7 +809,7 @@ class SwiftTaskTests: _TestCase
XCTAssertEqual(actualTryCount, fulfilledTryCount, "`actualTryCount` should be stopped at `fulfilledTryCount`, not `maxTryCount`.")
}

func testTry_failure()
func testRetry_failure()
{
// NOTE: this is async test
if !self.isAsync { return }
Expand Down Expand Up @@ -841,7 +841,7 @@ class SwiftTaskTests: _TestCase
XCTAssertEqual(actualTryCount, maxTryCount, "`actualTryCount` should reach `maxTryCount` because task keeps rejected and never fulfilled.")
}

func testTry_progress()
func testRetry_progress()
{
// NOTE: this is async test
if !self.isAsync { return }
Expand Down Expand Up @@ -887,7 +887,7 @@ class SwiftTaskTests: _TestCase
XCTAssertEqual(progressCount, maxTryCount)
}

func testTry_pauseResume()
func testRetry_pauseResume()
{
// NOTE: this is async test
if !self.isAsync { return }
Expand Down Expand Up @@ -952,7 +952,7 @@ class SwiftTaskTests: _TestCase
XCTAssertEqual(actualTryCount, maxTryCount)
}

func testTry_cancel()
func testRetry_cancel()
{
// NOTE: this is async test
if !self.isAsync { return }
Expand Down

0 comments on commit 2c067ee

Please sign in to comment.