Skip to content

Commit

Permalink
Rename PageboyTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
msaps committed Sep 12, 2024
1 parent e080d0c commit f9f748d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Sources/PageboyTests/PageboyAutoScrollTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import Pageboy

class PageboyAutoScrollTests: PageboyTests {
class PageboyAutoScrollTests: PageboyTestCase {

var autoScrollExpectation: XCTestExpectation?

Expand Down
2 changes: 1 addition & 1 deletion Sources/PageboyTests/PageboyConfigurationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import Pageboy

class PageboyConfigurationTests: PageboyTests {
class PageboyConfigurationTests: PageboyTestCase {

/// Test updating navigationOrientation updates pageViewController correctly.
func testPageboyNavigationOrientationChange() {
Expand Down
2 changes: 1 addition & 1 deletion Sources/PageboyTests/PageboyDataSourceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import Pageboy

class PageboyDataSourceTests: PageboyTests {
class PageboyDataSourceTests: PageboyTestCase {

/// Test loading view controllers from the data source.
func testPageboyViewControllerValidSetUp() {
Expand Down
2 changes: 1 addition & 1 deletion Sources/PageboyTests/PageboyInsertionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import Pageboy

class PageboyInsertionTests: PageboyTests {
class PageboyInsertionTests: PageboyTestCase {

func testInsertPage() {
let initialCount = 4
Expand Down
2 changes: 1 addition & 1 deletion Sources/PageboyTests/PageboyPropertyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import Pageboy

class PageboyPropertyTests: PageboyTests {
class PageboyPropertyTests: PageboyTestCase {

/// Test that currentViewController property returns correct view controller.
func testCorrectCurrentViewControllerReported() {
Expand Down
4 changes: 2 additions & 2 deletions Sources/PageboyTests/PageboyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import XCTest
@testable import Pageboy

class PageboyTests: XCTestCase {
class PageboyTestCase: XCTestCase {

typealias AsyncTest = (@escaping TestCompletion) -> Void
typealias TestCompletion = () -> Void

Expand Down
2 changes: 1 addition & 1 deletion Sources/PageboyTests/PageboyTransitionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import Pageboy

class PageboyTransitionTests: PageboyTests {
class PageboyTransitionTests: PageboyTestCase {

/// Test transition to a valid custom PageIndex non-animated
func testSuccessfulTransitionToCustomIndex() {
Expand Down

0 comments on commit f9f748d

Please sign in to comment.