Merge branch 'newUI' of git.linphone.org:linphone-android into newUI
This commit is contained in:
commit
2326baebcb
3 changed files with 3 additions and 6 deletions
2
submodules/externals/exosip
vendored
2
submodules/externals/exosip
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit b62c4167702f5333686754f55a2da81705e170ba
|
Subproject commit dd622ab59b545d9a9e970cde920207b86743a310
|
|
@ -1,7 +1,5 @@
|
||||||
package org.linphone.test;
|
package org.linphone.test;
|
||||||
|
|
||||||
import junit.framework.Assert;
|
|
||||||
|
|
||||||
import org.linphone.InCallActivity;
|
import org.linphone.InCallActivity;
|
||||||
import org.linphone.LinphoneActivity;
|
import org.linphone.LinphoneActivity;
|
||||||
import org.linphone.R;
|
import org.linphone.R;
|
||||||
|
@ -34,9 +32,7 @@ public class CallTest extends
|
||||||
solo.enterText((EditText) solo.getView(R.id.Adress), "cotcot@sip.linphone.org");
|
solo.enterText((EditText) solo.getView(R.id.Adress), "cotcot@sip.linphone.org");
|
||||||
solo.clickOnView(solo.getView(R.id.Call));
|
solo.clickOnView(solo.getView(R.id.Call));
|
||||||
|
|
||||||
solo.waitForActivity("InCallActivity", 2000);
|
|
||||||
solo.assertCurrentActivity("Expected InCall Activity", InCallActivity.class);
|
solo.assertCurrentActivity("Expected InCall Activity", InCallActivity.class);
|
||||||
Assert.assertTrue(solo.searchText("Simon MORLAT"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class PushNotificationTest extends
|
||||||
HttpClient httpClient = createHttpClient();
|
HttpClient httpClient = createHttpClient();
|
||||||
HttpPost httpPost = new HttpPost("https://android.googleapis.com/gcm/send");
|
HttpPost httpPost = new HttpPost("https://android.googleapis.com/gcm/send");
|
||||||
httpPost.setHeader("Content-type", "application/x-www-form-urlencoded;charset=UTF-8");
|
httpPost.setHeader("Content-type", "application/x-www-form-urlencoded;charset=UTF-8");
|
||||||
httpPost.setHeader("Authorization", "key=AIzaSyBJAhCVeeqIErwTfYwy-t83_EwvZlCFo9I");
|
httpPost.setHeader("Authorization", "key=AIzaSyDbCO1_KgFhkig_aaTutxx0jEHIib0i8C0");
|
||||||
|
|
||||||
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
|
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
|
||||||
nameValuePairs.add(new BasicNameValuePair("data.test", "TEST"));
|
nameValuePairs.add(new BasicNameValuePair("data.test", "TEST"));
|
||||||
|
@ -85,6 +85,7 @@ public class PushNotificationTest extends
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Can be true if a previous notification worked and log hasn't been cleared since...
|
||||||
Assert.assertTrue(solo.waitForLogMessage("Push notification received", 3000));
|
Assert.assertTrue(solo.waitForLogMessage("Push notification received", 3000));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue