From 8cd0dc0842cd39300705de110521d040976cd466 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Thu, 18 Sep 2014 12:01:01 +0200 Subject: [PATCH] better naming for lib linphone tester test for crashed process --- liblinphone_tester/custom_rules.xml | 4 ++-- liblinphone_tester/src/org/linphone/tester/TestUnit.java | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) 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"); }