diff --git a/liblinphone_tester/custom_rules.xml b/liblinphone_tester/custom_rules.xml index d811bfdff..192a8cf3f 100644 --- a/liblinphone_tester/custom_rules.xml +++ b/liblinphone_tester/custom_rules.xml @@ -48,11 +48,11 @@ - + - + diff --git a/liblinphone_tester/src/org/linphone/tester/TestUnit.java b/liblinphone_tester/src/org/linphone/tester/TestUnit.java index 444ff10d2..d33211495 100644 --- a/liblinphone_tester/src/org/linphone/tester/TestUnit.java +++ b/liblinphone_tester/src/org/linphone/tester/TestUnit.java @@ -22,7 +22,14 @@ public class TestUnit extends AndroidTestCase { mTest = test; setName(suite + "/" + test); } - + + public TestUnit(String name) { + String[] tab = name.split("/"); + mSuite = tab[0]; + mTest = tab[1]; + setName(name); + } + static public void copyAssetsFromPackage(Context ctx) throws IOException { copyAssetsFromPackage(ctx,"config_files"); }