1
- Feature : Internal Function Tests
2
- This will test the functionality of internal functions
3
-
4
- Scenario : Simple Message output with basic params
5
- Given we are NOT in a repository
6
- When WriteMessage test info is called
7
- Then the output should be: "TEST: info"
8
-
9
- Scenario : Simple Color convert
10
- Given we are NOT in a repository
11
- When ConvertColor blue is called
12
- Then the output should be: "Blue"
13
-
14
- Scenario : no WPF support
15
- When ConvertColor #00aaaaaa is called
16
- Then it will Throw a Terminating Error
17
-
18
- Scenario : Color convert in ISE
19
- Given we have WPF loaded
20
- When ConvertColor #ffffff is called
21
- Then the output should be: "White"
22
-
23
- Scenario : Color convert in ISE (mostly for codecov on if's)
24
- Given we have WPF loaded
25
- When ConvertColor #00123123 is called
26
- Then the output should be: "Black"
27
-
28
- Scenario : Color Convert Transparent background
29
- Given we have WPF loaded
30
- When ConvertColor #00FFFFFF is called
31
- Then the output should be: "Black"
32
-
33
- Scenario : Color Convert Default param test
34
- When ConvertColor is called with Default set to red
35
- Then the output should be: "Red"
36
-
37
- Scenario : Color Convertwith no param
38
- When ConvertColor is called
1
+ Feature : Internal Function Tests
2
+ This will test the functionality of internal functions
3
+
4
+ Scenario : Simple Message output with basic params
5
+ Given we are NOT in a repository
6
+ When WriteMessage test info is called
7
+ Then the output should be: "TEST: info"
8
+
9
+ Scenario : Simple Color convert
10
+ Given we are NOT in a repository
11
+ When ConvertColor blue is called
12
+ Then the output should be: "Blue"
13
+
14
+ Scenario : no WPF support
15
+ When ConvertColor #00aaaaaa is called
16
+ Then the output should be: "Black"
17
+
18
+ Scenario : Color convert in ISE
19
+ Given we have WPF loaded
20
+ When ConvertColor #ffffff is called
21
+ Then the output should be: "White"
22
+
23
+ Scenario : Color convert in ISE (mostly for codecov on if's)
24
+ Given we have WPF loaded
25
+ When ConvertColor #00123123 is called
26
+ Then the output should be: "Black"
27
+
28
+ Scenario : Color Convert Transparent background
29
+ Given we have WPF loaded
30
+ When ConvertColor #00FFFFFF is called
31
+ Then the output should be: "Black"
32
+
33
+ Scenario : Color Convert Default param test
34
+ When ConvertColor is called with Default set to red
35
+ Then the output should be: "Red"
36
+
37
+ Scenario : Color Convertwith no param
38
+ When ConvertColor is called
39
39
Then the output should be: "Yellow"
0 commit comments