Skip to content

Commit

Permalink
better testStoryboard
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Aug 12, 2016
1 parent e0bddf6 commit edc4204
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions YepTests/StoryboardTests.swift
Expand Up @@ -14,26 +14,30 @@ final class StoryboardTests: XCTestCase {
func testStoryboard() {

do {
let show = UIStoryboard.yep_show
let main = UIStoryboard.yep_main
let storyboards: [UIStoryboard] = [
UIStoryboard.yep_show,
UIStoryboard.yep_main,
]

print([show, main])
print("storyboards: \(storyboards.count)")
}

do {
let a = UIStoryboard.Scene.pickPhotos
let b = UIStoryboard.Scene.conversation
let c = UIStoryboard.Scene.profile
let d = UIStoryboard.Scene.mediaPreview
let e = UIStoryboard.Scene.meetGenius
let f = UIStoryboard.Scene.discover
let g = UIStoryboard.Scene.geniusInterview
let h = UIStoryboard.Scene.registerSelectSkills
let i = UIStoryboard.Scene.registerPickSkills
let j = UIStoryboard.Scene.registerPickName
let k = UIStoryboard.Scene.loginByMobile

print([a, b, c, d, e, f, g, h, i, j, k])
let scenes: [UIViewController] = [
UIStoryboard.Scene.pickPhotos,
UIStoryboard.Scene.conversation,
UIStoryboard.Scene.profile,
UIStoryboard.Scene.mediaPreview,
UIStoryboard.Scene.meetGenius,
UIStoryboard.Scene.discover,
UIStoryboard.Scene.geniusInterview,
UIStoryboard.Scene.registerSelectSkills,
UIStoryboard.Scene.registerPickSkills,
UIStoryboard.Scene.registerPickName,
UIStoryboard.Scene.loginByMobile,
]

print("scenes: \(scenes.count)")
}
}
}
Expand Down

0 comments on commit edc4204

Please sign in to comment.