forked from jpush/jpush-api-java-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseTest.java
More file actions
28 lines (18 loc) · 912 Bytes
/
BaseTest.java
File metadata and controls
28 lines (18 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package cn.jpush.api;
import org.junit.Before;
public abstract class BaseTest {
protected static final String APP_KEY = "d4ee2375846bc30fa51334f5";
protected static final String MASTER_SECRET = "3f045fd404d09a8a1f38d791";
protected static final String GROUP_MASTER_SECRET = "b11314807507e2bcfdeebe2e";
protected static final String GROUP_PUSH_KEY = "2c88a01e073a0fe4fc7b167c";
public static final String ALERT = "JPush Test - alert";
public static final String MSG_CONTENT = "JPush Test - msgContent";
public static final String REGISTRATION_ID1 = "0900e8d85ef";
public static final String REGISTRATION_ID2 = "0a04ad7d8b4";
public static final String REGISTRATION_ID3 = "18071adc030dcba91c0";
protected JPushClient jpushClient = null;
@Before
public void before() {
jpushClient = new JPushClient(MASTER_SECRET, APP_KEY);
}
}