Commit 0245a56
[Java] Add new device ID module tests add device ID type to scenario tests (#161)
* feat: new device id change callback
* feat: call after onDeviceId
* refactor: usage of device id changed in module device id
* feat: did changes
* feat: add device id type to scenario tests
* fix: tests
* revert: scenario changes
* feat: missing comments
* feat: new device id module calls to scenarioo device id tests
* feat: missing changelog
* fix: update existing tests
* fix: add check to callback
* refactor: remove unnecessary callback
* feat: test ccases
* fix: login and logout
* refactor: device id module
* fix: remove unnecessary params
* feat: new tests
* fix: rq access index
* feat: multiple device id check
* fix: test
* fix: device id change logic
* fix: device id callbacks
* fix: module events req
* fix: module event check and test cases comments
* fix: new ids
* fix: added missings tests
* feat: buggy test for device id change
* refactor: remove unsued
* fix: changed index of features
* fix: end any view
* feat: finish up tests
* misc
* fix: without merge not started session
* fix: add missing test cases
---------
Co-authored-by: Artūrs Kadiķis <[email protected]>1 parent 3ac8fa1 commit 0245a56
File tree
13 files changed
+688
-111
lines changed- sdk-java/src
- main/java/ly/count/sdk/java/internal
- test/java/ly/count/sdk/java/internal
13 files changed
+688
-111
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 3 additions & 14 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 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 34 | | |
49 | 35 | | |
50 | 36 | | |
| |||
131 | 117 | | |
132 | 118 | | |
133 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
134 | 123 | | |
135 | 124 | | |
136 | 125 | | |
| |||
Lines changed: 16 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 100 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
119 | 105 | | |
120 | | - | |
121 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
122 | 110 | | |
123 | 111 | | |
124 | 112 | | |
| |||
139 | 127 | | |
140 | 128 | | |
141 | 129 | | |
142 | | - | |
| 130 | + | |
143 | 131 | | |
144 | 132 | | |
145 | 133 | | |
| |||
163 | 151 | | |
164 | 152 | | |
165 | 153 | | |
166 | | - | |
167 | 154 | | |
168 | 155 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 156 | + | |
178 | 157 | | |
179 | 158 | | |
180 | 159 | | |
181 | 160 | | |
182 | 161 | | |
183 | 162 | | |
184 | 163 | | |
185 | | - | |
186 | | - | |
187 | 164 | | |
188 | | - | |
189 | | - | |
| 165 | + | |
| 166 | + | |
190 | 167 | | |
191 | 168 | | |
192 | | - | |
| 169 | + | |
193 | 170 | | |
194 | 171 | | |
195 | 172 | | |
196 | 173 | | |
197 | 174 | | |
198 | 175 | | |
199 | 176 | | |
200 | | - | |
| 177 | + | |
201 | 178 | | |
202 | 179 | | |
203 | 180 | | |
| |||
214 | 191 | | |
215 | 192 | | |
216 | 193 | | |
217 | | - | |
| 194 | + | |
218 | 195 | | |
219 | 196 | | |
220 | 197 | | |
| |||
Lines changed: 40 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | | - | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 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 | + | |
33 | 60 | | |
34 | 61 | | |
35 | 62 | | |
| |||
39 | 66 | | |
40 | 67 | | |
41 | 68 | | |
42 | | - | |
| 69 | + | |
43 | 70 | | |
44 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
45 | 77 | | |
46 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
47 | 81 | | |
48 | 82 | | |
49 | 83 | | |
| |||
93 | 127 | | |
94 | 128 | | |
95 | 129 | | |
96 | | - | |
| 130 | + | |
97 | 131 | | |
98 | 132 | | |
99 | 133 | | |
| |||
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
| |||
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
| 591 | + | |
592 | 592 | | |
593 | | - | |
594 | | - | |
595 | | - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
596 | 596 | | |
| 597 | + | |
| 598 | + | |
597 | 599 | | |
598 | 600 | | |
599 | 601 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | 192 | | |
198 | 193 | | |
199 | 194 | | |
| |||
0 commit comments