Repository navigation
Commit 7fc911a
Migrate DeviceInfoModuleTest off JUnit3 TestCase base (#59431)
Summary:
Pull Request resolved: #59431
Drop the vestigial `: TestCase()` base (already on Robolectric runner with `Test`/`Before` annotations and Truth assertions); drop the `override` modifier on `setUp`.
Differential Revision: D127203153
fbshipit-source-id: a20e6d02fb247d53f895a60f35adfe75bdadaedb1 parent 11b10c0 commit 7fc911a
1 file changed
Lines changed: 2 additions & 3 deletions
File tree
- packages/react-native/ReactAndroid/src/test/java/com/facebook/react/modules/deviceinfo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
| 75 | + | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
| |||
0 commit comments