Skip to content

Commit

Permalink
review : adjust test class names for opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
Tayebsed93 committed Oct 17, 2024
1 parent e528759 commit a64d5de
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,53 +27,53 @@ class OUDSTokensOpacityUITests: XCTestCase {
// MARK: - Tests
// MARK: - Orange Theme Light Mode Tests
func testOpacityToken_OrangeTheme_OpacityTransparent_Light() {
let vc = BorderTokenPage().environment(\.theme, OrangeTheme())
let vc = OpacityTokenPage().environment(\.theme, OrangeTheme())
assertSnapshot(of: vc, as: .image, named: "OrangeTheme/testOpacityToken_OrangeTheme_OpacityTransparent_Light")
}
func testOpacityToken_OrangeTheme_OpacityWeaker_Light() {
let vc = BorderTokenPage().environment(\.theme, OrangeTheme())
let vc = OpacityTokenPage().environment(\.theme, OrangeTheme())
assertSnapshot(of: vc, as: .image, named: "OrangeTheme/testOpacityToken_OrangeTheme_OpacityWeaker_Light")
}
func testOpacityToken_OrangeTheme_OpacityWeak_Light() {
let vc = BorderTokenPage().environment(\.theme, OrangeTheme())
let vc = OpacityTokenPage().environment(\.theme, OrangeTheme())
assertSnapshot(of: vc, as: .image, named: "OrangeTheme/testOpacityToken_OrangeTheme_OpacityWeak_Light")
}
func testOpacityToken_OrangeTheme_OpacityMedium_Light() {
let vc = BorderTokenPage().environment(\.theme, OrangeTheme())
let vc = OpacityTokenPage().environment(\.theme, OrangeTheme())
assertSnapshot(of: vc, as: .image, named: "OrangeTheme/testOpacityToken_OrangeTheme_OpacityMedium_Light")
}
func testOpacityToken_OrangeTheme_OpacityStrong_Light() {
let vc = BorderTokenPage().environment(\.theme, OrangeTheme())
let vc = OpacityTokenPage().environment(\.theme, OrangeTheme())
assertSnapshot(of: vc, as: .image, named: "OrangeTheme/testOpacityToken_OrangeTheme_OpacityStrong_Light")
}
func testOpacityToken_OrangeTheme_OpacityOpaque_Light() {
let vc = BorderTokenPage().environment(\.theme, OrangeTheme())
let vc = OpacityTokenPage().environment(\.theme, OrangeTheme())
assertSnapshot(of: vc, as: .image, named: "OrangeTheme/testOpacityToken_OrangeTheme_OpacityOpaque_Light")
}
// MARK: - Tests
// MARK: - Inverse Theme Light Mode Tests
func testOpacityToken_InverseTheme_OpacityTransparent_Light() {
let vc = BorderTokenPage().environment(\.theme, InverseTheme())
let vc = OpacityTokenPage().environment(\.theme, InverseTheme())
assertSnapshot(of: vc, as: .image, named: "InverseTheme/testOpacityToken_InverseTheme_OpacityTransparent_Light")
}
func testOpacityToken_InverseTheme_OpacityWeaker_Light() {
let vc = BorderTokenPage().environment(\.theme, InverseTheme())
let vc = OpacityTokenPage().environment(\.theme, InverseTheme())
assertSnapshot(of: vc, as: .image, named: "InverseTheme/testOpacityToken_InverseTheme_OpacityWeaker_Light")
}
func testOpacityToken_InverseTheme_OpacityWeak_Light() {
let vc = BorderTokenPage().environment(\.theme, InverseTheme())
let vc = OpacityTokenPage().environment(\.theme, InverseTheme())
assertSnapshot(of: vc, as: .image, named: "InverseTheme/testOpacityToken_InverseTheme_OpacityWeak_Light")
}
func testOpacityToken_InverseTheme_OpacityMedium_Light() {
let vc = BorderTokenPage().environment(\.theme, InverseTheme())
let vc = OpacityTokenPage().environment(\.theme, InverseTheme())
assertSnapshot(of: vc, as: .image, named: "InverseTheme/testOpacityToken_InverseTheme_OpacityMedium_Light")
}
func testOpacityToken_InverseTheme_OpacityStrong_Light() {
let vc = BorderTokenPage().environment(\.theme, InverseTheme())
let vc = OpacityTokenPage().environment(\.theme, InverseTheme())
assertSnapshot(of: vc, as: .image, named: "InverseTheme/testOpacityToken_InverseTheme_OpacityStrong_Light")
}
func testOpacityToken_InverseTheme_OpacityOpaque_Light() {
let vc = BorderTokenPage().environment(\.theme, InverseTheme())
let vc = OpacityTokenPage().environment(\.theme, InverseTheme())
assertSnapshot(of: vc, as: .image, named: "InverseTheme/testOpacityToken_InverseTheme_OpacityOpaque_Light")
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a64d5de

Please sign in to comment.