File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/test/java/cn/jpush/api/push/model Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22<classpath >
33 <classpathentry kind =" src" path =" src/main/java" />
44 <classpathentry kind =" src" path =" example/main/java" />
5- <classpathentry kind =" src" path =" src/test/resources" />
5+ <classpathentry kind =" src" output = " target/test-classes " path =" src/test/resources" />
66 <classpathentry kind =" src" path =" src/main/resources" />
7- <classpathentry kind =" src" path =" src/test/java" />
7+ <classpathentry kind =" src" output = " target/test-classes " path =" src/test/java" />
88 <classpathentry kind =" con" path =" org.eclipse.jdt.junit.JUNIT_CONTAINER/4" />
99 <classpathentry kind =" con" path =" org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER" >
1010 <attributes >
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public void testApnsProduction_True() {
112112
113113 assertThat (options .toJSON (), is ((JsonElement ) json ));
114114 }
115-
115+
116116 @ Test
117117 public void testBigPushDuration () {
118118 int sendno = ServiceHelper .generateSendno ();
@@ -122,8 +122,9 @@ public void testBigPushDuration() {
122122 .build ();
123123
124124 JsonObject json = new JsonObject ();
125- json .add ("big_push_duration" , new JsonPrimitive (11 ));
126125 json .add ("sendno" , new JsonPrimitive (sendno ));
126+ json .add ("big_push_duration" , new JsonPrimitive (10 ));
127+ json .add ("apns_production" , new JsonPrimitive (false ));
127128
128129 assertThat (options .toJSON (), is ((JsonElement ) json ));
129130 }
You can’t perform that action at this time.
0 commit comments