File tree Expand file tree Collapse file tree
websockets-rxjava-example/src/test/java/com/example Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121import com .appunite .websocket .rx .object .RxObjectWebSockets ;
2222import com .example .model .Message ;
2323import com .example .model .MessageType ;
24- import com .google .common .collect .ImmutableList ;
2524import com .google .gson .Gson ;
2625import com .google .gson .GsonBuilder ;
2726import com .squareup .okhttp .OkHttpClient ;
2827import com .squareup .okhttp .Request ;
2928
30- import org .apache .http .Header ;
3129import org .junit .Before ;
3230import org .junit .Ignore ;
3331import org .junit .Test ;
3432
35- import java .net .URI ;
36- import java .net .URISyntaxException ;
37-
3833import rx .Subscription ;
3934import rx .schedulers .Schedulers ;
4035
41- public class RxJsonWebSocketsRealTest {
42-
43- private static final URI SERVER_URI ;
44-
45- static {
46- try {
47- SERVER_URI = new URI ("ws://192.168.0.142:8080/ws" );
48- } catch (URISyntaxException e ) {
49- throw new RuntimeException (e );
50- }
51- }
52-
36+ public class RxObjectWebSocketsRealTest {
5337
5438 private RxObjectWebSockets socket ;
5539
You can’t perform that action at this time.
0 commit comments