blob: 38670828f5dff9ea1644111d7c6db3774e4c9aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package cgeo.geocaching.test;
import cgeo.geocaching.utils.Log;
import android.test.AndroidTestCase;
import java.util.List;
/**
* Test class to compare the performance of two regular expressions on given data.
* Can be used to improve the time needed to parse the cache data
*
* @author blafoo
*/
public class RegExRealPerformanceTest extends AndroidTestCase {
public static void testRegEx() {
List<String> output = RegExPerformanceTest.doTheTests(10);
for (String s : output) {
Log.d(s);
}
}
}
|