Commit bfb3879
[device_info_plus] Add regression integration tests
device_info_plus_tizen is a standalone Tizen plugin with its own public API
(DeviceInfoPluginTizen / TizenDeviceInfo) and does not pin a specific upstream
device_info_plus version. For reference, when the current plugin (1.4.0) was
implemented the contemporaneous upstream was device_info_plus v12.4.0
(v13.0.0 landed a couple of days later) — its data getter / deprecated toMap
API pattern is what the plugin mirrors.
The existing tests already assert every TizenDeviceInfo field; this adds
regression tests for the parts of the public API not yet covered:
- tizenInfo is consistent across repeated calls (cached/idempotent)
- TizenDeviceInfo.fromMap round-trips through the data map
Validated on a Tizen TV (10.0) and Raspberry Pi 4: all tests pass
(4 passed, 0 skipped, 0 failed).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4795039 commit bfb3879
2 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
58 | 81 | | |
0 commit comments