Commit bed983bd authored by Sylvain Berfini's avatar Sylvain Berfini 🎩 Committed by Nicolas Michon

Using in Android tester new bc toolbox method to get failed asserts

parent 01cc0657
Subproject commit aca8f894eaccea1a8113cdbc83b8502c99c3d6d7
Subproject commit bfbbe69d853f3ec23bcd8f67397cdd4c93c49e36
......@@ -36,6 +36,9 @@ public class LinphoneTest extends TestCase {
public void runTest() {
mResult = Tester.getInstance().runTestInSuite(mSuite, mTest);
Assert.assertEquals(mResult, 0);
if (mResult != 0) {
String failedAsserts = Tester.getInstance().getFailedAsserts();;
......@@ -36,6 +36,7 @@ public class Tester {
public native int run(String args[]);
public native void keepAccounts(boolean keep);
public native void clearAccounts();
public native String getFailedAsserts();
public static String TAG = "LibLinphoneTester";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment