Commit 7928d10
Improve JavaDoc and unit test coverage
Standardise some failure messages, add unit tests for additional cases
and to verify failure descriptions are correct, improve unit test
coverage, add JavaDoc1 parent 3bb2d5c commit 7928d10Copy full SHA for 7928d10
File tree
Expand file treeCollapse file tree
8 files changed
+377
-59
lines changedOpen diff view settings
Filter options
- src
- main/java/org/skyscreamer/jsonassert
- comparator
- test/java/org/skyscreamer/jsonassert
- comparator
Expand file treeCollapse file tree
8 files changed
+377
-59
lines changedOpen diff view settings
Collapse file
src/main/java/org/skyscreamer/jsonassert/ArrayValueMatcher.java
Copy file name to clipboardExpand all lines: src/main/java/org/skyscreamer/jsonassert/ArrayValueMatcher.java+79-8Lines changed: 79 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | | - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
20 | 89 | |
21 | 90 | |
22 | 91 | |
| ||
44 | 113 | |
45 | 114 | |
46 | 115 | |
| 116 | + |
| 117 | + |
47 | 118 | |
48 | | - |
49 | | - |
| 119 | + |
| 120 | + |
50 | 121 | |
51 | 122 | |
52 | 123 | |
| ||
56 | 127 | |
57 | 128 | |
58 | 129 | |
59 | | - |
60 | | - |
| 130 | + |
| 131 | + |
61 | 132 | |
62 | 133 | |
63 | 134 | |
| ||
95 | 166 | |
96 | 167 | |
97 | 168 | |
98 | | - |
| 169 | + |
99 | 170 | |
100 | 171 | |
101 | 172 | |
|
Collapse file
src/main/java/org/skyscreamer/jsonassert/LocationAwareValueMatcher.java
Copy file name to clipboardExpand all lines: src/main/java/org/skyscreamer/jsonassert/LocationAwareValueMatcher.java+26-1Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
15 | 40 | |
Collapse file
src/main/java/org/skyscreamer/jsonassert/ValueMatcherException.java
Copy file name to clipboardExpand all lines: src/main/java/org/skyscreamer/jsonassert/ValueMatcherException.java+22-6Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
16 | 26 | |
17 | 27 | |
18 | 28 | |
19 | 29 | |
20 | 30 | |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | 31 | |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
28 | 44 | |
29 | 45 | |
30 | 46 | |
|
Collapse file
src/main/java/org/skyscreamer/jsonassert/comparator/ArraySizeComparator.java
Copy file name to clipboardExpand all lines: src/main/java/org/skyscreamer/jsonassert/comparator/ArraySizeComparator.java+66-13Lines changed: 66 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
| 4 | + |
3 | 5 | |
4 | 6 | |
5 | 7 | |
6 | 8 | |
7 | 9 | |
8 | 10 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
13 | 32 | |
14 | 33 | |
15 | 34 | |
16 | 35 | |
17 | 36 | |
18 | 37 | |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
19 | 46 | |
20 | 47 | |
21 | 48 | |
22 | 49 | |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
23 | 56 | |
24 | 57 | |
25 | 58 | |
| 59 | + |
26 | 60 | |
27 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
28 | 64 | |
29 | 65 | |
30 | 66 | |
31 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
32 | 70 | |
33 | 71 | |
34 | 72 | |
35 | | - |
| 73 | + |
| 74 | + |
| 75 | + |
36 | 76 | |
37 | 77 | |
38 | 78 | |
39 | 79 | |
40 | | - |
| 80 | + |
| 81 | + |
| 82 | + |
41 | 83 | |
42 | 84 | |
43 | | - |
| 85 | + |
| 86 | + |
44 | 87 | |
45 | | - |
| 88 | + |
| 89 | + |
| 90 | + |
46 | 91 | |
47 | 92 | |
48 | | - |
49 | | - |
50 | | - |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
51 | 104 | |
52 | 105 | |
53 | 106 | |
|
Collapse file
src/main/java/org/skyscreamer/jsonassert/comparator/CustomComparator.java
Copy file name to clipboardExpand all lines: src/main/java/org/skyscreamer/jsonassert/comparator/CustomComparator.java+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
|
0 commit comments