Commit 93e7d58
committed
Move trace information from UITestCase to CloseTestWindowsRule
The tracing information for UI tests (test name printed at start/end of
each test to stdout) is the only remaining functionality of UITestCase.
When the CloseTestWindowsRule has been extracted out of this test case,
the test classes that have been adapted to only use that rule miss that
tracing information since this.
This change moves the tracing to the CloseTestWindowsRule as the central
test rule for UI-related tests. This implicitly readds the tracing
information to tests that use the rule.
With this change, the inheritance to UITestCase can simply be replaced
with the use of the CloseWindowsTestRule in all plain JUnit 4 tests.1 parent e75fad0 commit 93e7d58
2 files changed
Lines changed: 38 additions & 16 deletions
File tree
- tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util
tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/CloseTestWindowsRule.java
Lines changed: 36 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| 43 | + | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
| |||
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
49 | 63 | | |
50 | 64 | | |
51 | 65 | | |
52 | 66 | | |
| 67 | + | |
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
56 | 71 | | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
60 | 76 | | |
61 | 77 | | |
62 | 78 | | |
63 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
64 | 90 | | |
65 | 91 | | |
66 | 92 | | |
| |||
134 | 160 | | |
135 | 161 | | |
136 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
137 | 171 | | |
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 68 | | |
79 | 69 | | |
80 | 70 | | |
| |||
88 | 78 | | |
89 | 79 | | |
90 | 80 | | |
91 | | - | |
92 | 81 | | |
93 | | - | |
| 82 | + | |
| 83 | + | |
94 | 84 | | |
95 | 85 | | |
96 | 86 | | |
| |||
116 | 106 | | |
117 | 107 | | |
118 | 108 | | |
119 | | - | |
120 | | - | |
121 | 109 | | |
122 | 110 | | |
123 | 111 | | |
| |||
0 commit comments