Setup tests to work in pure-java.

This commit is contained in:
Moxie Marlinspike 2015-02-28 16:08:13 -08:00
parent 31d5e2984c
commit 2a4165941a
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,8 @@ dependencies {
compile 'org.whispersystems:axolotl-java:1.1.1'
compile 'com.squareup.okhttp:okhttp:2.2.0'
compile 'org.apache.httpcomponents:httpclient:4.4'
testCompile 'junit:junit:3.8.2'
}

View File

@ -1,10 +1,10 @@
package org.whispersystems.textsecure.push;
import android.test.AndroidTestCase;
import junit.framework.TestCase;
import org.whispersystems.textsecure.internal.push.PushTransportDetails;
public class PushTransportDetailsTest extends AndroidTestCase {
public class PushTransportDetailsTest extends TestCase {
private final PushTransportDetails transportV2 = new PushTransportDetails(2);
private final PushTransportDetails transportV3 = new PushTransportDetails(3);