Commit 6a89b9e
committed
Add tests for Contacts, Video, and Sockets to hellocodenameone
This commit introduces three new test classes to `scripts/hellocodenameone` to improve test coverage on device farms:
1. `ContactsTest`: Verifies `ContactsManager.getContacts` functionality.
2. `VideoPlaybackTest`: Verifies `MediaManager.createMedia` with video playback.
3. `SocketTest`: Verifies raw `Socket` connections.
These tests are designed to be minimal, Java 8 compatible, and use the existing `BaseTest` infrastructure. They are registered in `Cn1ssDeviceRunner`.1 parent 4c0bced commit 6a89b9e
File tree
2 files changed
+21
-14
lines changed- scripts/hellocodenameone/common/src/main/java/com/codenameone/examples/hellocodenameone/tests
2 files changed
+21
-14
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
Lines changed: 19 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
44 | 60 | | |
45 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
46 | 64 | | |
47 | 65 | | |
48 | 66 | | |
| |||
52 | 70 | | |
53 | 71 | | |
54 | 72 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
| |||
0 commit comments