File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
OneSignalSDK/unittest/src/test/java/com/test/onesignal Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 14
14
import org .checkerframework .checker .nullness .qual .NonNull ;
15
15
import org .json .JSONException ;
16
16
import org .json .JSONObject ;
17
+ import org .junit .After ;
18
+ import org .junit .AfterClass ;
17
19
import org .junit .Before ;
18
20
import org .junit .BeforeClass ;
19
21
import org .junit .Test ;
@@ -65,6 +67,16 @@ public void beforeEachTest() throws Exception {
65
67
blankActivity = blankActivityController .get ();
66
68
}
67
69
70
+ @ AfterClass
71
+ public static void afterEverything () throws Exception {
72
+ TestHelpers .beforeTestInitAndCleanup ();
73
+ }
74
+
75
+ @ After
76
+ public void afterEachTest () throws Exception {
77
+ TestHelpers .afterTestCleanup ();
78
+ }
79
+
68
80
private static @ NonNull String helperBasicOSPayload () throws JSONException {
69
81
return new JSONObject () {{
70
82
put (PAYLOAD_OS_ROOT_CUSTOM , new JSONObject () {{
You can’t perform that action at this time.
0 commit comments