Commit b80228e
Generic/AbstractClassNamePrefix: improve code coverage and clean up tests
Test improvements:
* Adjust some existing tests to have comments and new lines in unexpected places.
* Adjust some existing tests to include extended classes and implemented interfaces.
* Add tests with `final` and `readonly` class modifier keywords.
* Make some tests more descriptive by making the class name reflect what is being tested.
* Add a few comments to pre-existing tests to clarify why they exist.
* Add a separate test case file with a live coding/parse error test.
* Remove some code snippets which weren't testing anything.
Clean up the test file:
* Remove redundant whitespace in the test case file.
* Use proper punctuation in comments in test case file.1 parent e95d796 commit b80228e
File tree
3 files changed
+38
-43
lines changed- src/Standards/Generic/Tests/NamingConventions
3 files changed
+38
-43
lines changedLines changed: 25 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 5 | + | |
12 | 6 | | |
13 | | - | |
14 | | - | |
| 7 | + | |
15 | 8 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
22 | 15 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 16 | + | |
27 | 17 | | |
| 18 | + | |
28 | 19 | | |
29 | 20 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 21 | + | |
| 22 | + | |
34 | 23 | | |
| 24 | + | |
35 | 25 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 26 | + | |
40 | 27 | | |
41 | 28 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 29 | + | |
46 | 30 | | |
47 | 31 | | |
48 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
49 | 35 | | |
50 | | - | |
| 36 | + | |
51 | 37 | | |
52 | | - | |
| 38 | + | |
53 | 39 | | |
54 | | - | |
| 40 | + | |
55 | 41 | | |
56 | | - | |
57 | | - | |
| 42 | + | |
58 | 43 | | |
59 | | - | |
| 44 | + | |
| 45 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments