Commit cf50555
committed
Fix bugs and suppress noise in core-unittests (SQLMap, SideMenuBar, Login1)
- SQLMap: Fixed a NullPointerException in `SelectBuilder` constructor when `parent` is null, and updated `SQLMapTest` to assert success instead of expecting failure.
- SideMenuBar: Added a null check for `parent` in `installMenuBar` to prevent NPEs during initialization or restoration.
- Login1Test: Wrapped expected exception generation in `TestLogger` to prevent pollution of the test output console.1 parent e60fe06 commit cf50555
File tree
4 files changed
+16
-9
lines changed- CodenameOne/src/com/codename1
- properties
- ui
- maven/core-unittests/src/test/java/com/codename1
- properties
- social
4 files changed
+16
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
730 | 732 | | |
731 | 733 | | |
732 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
| |||
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
141 | 138 | | |
142 | 139 | | |
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
0 commit comments