Skip to content

Commit 5ae81e8

Browse files
committed
Add a test suite for the new table cell
1 parent 98b5a5c commit 5ae81e8

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

WooCommerce/WooCommerce.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@
292292
D81D9229222E7F0800FFA585 /* OrderStatusListViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D81D9227222E7F0800FFA585 /* OrderStatusListViewController.xib */; };
293293
D85B8333222FABD1002168F3 /* CheckmarkOnSelectionTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D85B8331222FABD1002168F3 /* CheckmarkOnSelectionTableViewCell.swift */; };
294294
D85B8334222FABD1002168F3 /* CheckmarkOnSelectionTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = D85B8332222FABD1002168F3 /* CheckmarkOnSelectionTableViewCell.xib */; };
295+
D85B8336222FCDA1002168F3 /* CheckmarkOnSelectionTableViewCellTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D85B8335222FCDA1002168F3 /* CheckmarkOnSelectionTableViewCellTests.swift */; };
295296
/* End PBXBuildFile section */
296297

297298
/* Begin PBXContainerItemProxy section */
@@ -630,6 +631,7 @@
630631
D81D9227222E7F0800FFA585 /* OrderStatusListViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = OrderStatusListViewController.xib; sourceTree = "<group>"; };
631632
D85B8331222FABD1002168F3 /* CheckmarkOnSelectionTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheckmarkOnSelectionTableViewCell.swift; sourceTree = "<group>"; };
632633
D85B8332222FABD1002168F3 /* CheckmarkOnSelectionTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CheckmarkOnSelectionTableViewCell.xib; sourceTree = "<group>"; };
634+
D85B8335222FCDA1002168F3 /* CheckmarkOnSelectionTableViewCellTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CheckmarkOnSelectionTableViewCellTests.swift; path = WooCommerceTests/Views/CheckmarkOnSelectionTableViewCellTests.swift; sourceTree = SOURCE_ROOT; };
633635
/* End PBXFileReference section */
634636

635637
/* Begin PBXFrameworksBuildPhase section */
@@ -765,6 +767,7 @@
765767
B53A569521123D27000776C9 /* Tools */ = {
766768
isa = PBXGroup;
767769
children = (
770+
D85B8335222FCDA1002168F3 /* CheckmarkOnSelectionTableViewCellTests.swift */,
768771
93FA787121CD2A1A00B663E5 /* CurrencySettingsTests.swift */,
769772
B53A569621123D3B000776C9 /* ResultsControllerUIKitTests.swift */,
770773
B517EA19218B2D2600730EC4 /* StringFormatterTests.swift */,
@@ -1944,6 +1947,7 @@
19441947
B57C5C9F21B80E8300FF82B2 /* SampleError.swift in Sources */,
19451948
B53B898920D450AF00EDB467 /* SessionManagerTests.swift in Sources */,
19461949
7435E59021C0162C00216F0F /* OrderNoteWooTests.swift in Sources */,
1950+
D85B8336222FCDA1002168F3 /* CheckmarkOnSelectionTableViewCellTests.swift in Sources */,
19471951
B555531321B57E8800449E71 /* MockupUserNotificationsCenterAdapter.swift in Sources */,
19481952
CEEC9B6621E7C5200055EEF0 /* AppRatingManagerTests.swift in Sources */,
19491953
B555531121B57E6F00449E71 /* MockupApplicationAdapter.swift in Sources */,
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
//
2+
// CheckmarkOnSelectionTableViewCellTests.swift
3+
// WooCommerceTests
4+
//
5+
// Created by Cesar Tardaguila on 6/3/2019.
6+
// Copyright © 2019 Automattic. All rights reserved.
7+
//
8+
9+
import XCTest
10+
11+
class CheckmarkOnSelectionTableViewCellTests: XCTestCase {
12+
13+
override func setUp() {
14+
// Put setup code here. This method is called before the invocation of each test method in the class.
15+
}
16+
17+
override func tearDown() {
18+
// Put teardown code here. This method is called after the invocation of each test method in the class.
19+
}
20+
21+
func testExample() {
22+
// This is an example of a functional test case.
23+
// Use XCTAssert and related functions to verify your tests produce the correct results.
24+
}
25+
26+
func testPerformanceExample() {
27+
// This is an example of a performance test case.
28+
self.measure {
29+
// Put the code you want to measure the time of here.
30+
}
31+
}
32+
33+
}

0 commit comments

Comments
 (0)