@@ -237,7 +237,7 @@ public void testTokenDefault() throws
237
237
238
238
int apiKey = 123456 ;
239
239
String apiSecret = "1234567890abcdef1234567890abcdef1234567890" ;
240
- OpenTok opentok = new OpenTok (apiKey ,apiSecret );
240
+ OpenTok opentok = new OpenTok (apiKey , apiSecret );
241
241
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4" ;
242
242
243
243
String token = opentok .generateToken (sessionId );
@@ -258,7 +258,7 @@ public void testTokenRoles() throws
258
258
259
259
int apiKey = 123456 ;
260
260
String apiSecret = "1234567890abcdef1234567890abcdef1234567890" ;
261
- OpenTok opentok = new OpenTok (apiKey ,apiSecret );
261
+ OpenTok opentok = new OpenTok (apiKey , apiSecret );
262
262
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4" ;
263
263
Role role = Role .SUBSCRIBER ;
264
264
@@ -286,7 +286,7 @@ public void testTokenExpireTime() throws
286
286
int apiKey = 123456 ;
287
287
String apiSecret = "1234567890abcdef1234567890abcdef1234567890" ;
288
288
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4" ;
289
- OpenTok opentok = new OpenTok (apiKey ,apiSecret );
289
+ OpenTok opentok = new OpenTok (apiKey , apiSecret );
290
290
long now = System .currentTimeMillis () / 1000L ;
291
291
long inOneHour = now + (60 *60 );
292
292
long inOneDay = now + (60 *60 *24 );
@@ -337,7 +337,7 @@ public void testTokenConnectionData() throws
337
337
int apiKey = 123456 ;
338
338
String apiSecret = "1234567890abcdef1234567890abcdef1234567890" ;
339
339
String sessionId = "1_MX4xMjM0NTZ-flNhdCBNYXIgMTUgMTQ6NDI6MjMgUERUIDIwMTR-MC40OTAxMzAyNX4" ;
340
- OpenTok opentok = new OpenTok (apiKey ,apiSecret );
340
+ OpenTok opentok = new OpenTok (apiKey , apiSecret );
341
341
// purposely contains some exotic characters
342
342
String actualData = "{\" name\" :\" %foo ç &\" }" ;
343
343
Exception tooLongException = null ;
@@ -370,7 +370,7 @@ public void testTokenConnectionData() throws
370
370
public void testTokenBadSessionId () throws OpenTokException {
371
371
int apiKey = 123456 ;
372
372
String apiSecret = "1234567890abcdef1234567890abcdef1234567890" ;
373
- OpenTok opentok = new OpenTok (apiKey ,apiSecret );
373
+ OpenTok opentok = new OpenTok (apiKey , apiSecret );
374
374
ArrayList <Exception > exceptions = new ArrayList <Exception >();
375
375
376
376
try {
0 commit comments