Home
last modified time | relevance | path

Searched refs:TestUtils (Results 1 – 7 of 7) sorted by relevance

/system/timezone/input_tools/android/common/src/test/java/com/android/libcore/timezone/util/
DErrorsTest.java25 import com.android.libcore.timezone.testing.TestUtils;
42 TestUtils.assertContains(errors.asString(), "Hello"); in warnings()
57 TestUtils.assertContains(errors.asString(), "Hello"); in error()
75 TestUtils.assertContains(errors.asString(), "Hello"); in fatal()
106 TestUtils.assertContains(line0, "Hello"); in scope()
107 TestUtils.assertAbsent(line0, "Monty Python"); in scope()
110 TestUtils.assertContains(line1, "Monty Python"); in scope()
111 TestUtils.assertAbsent(line1, "Holy grail"); in scope()
112 TestUtils.assertContains(line1, "John Cleese"); in scope()
115 TestUtils.assertContains(line2, "Monty Python", "Holy grail"); in scope()
[all …]
/system/timezone/input_tools/android/telephonylookup_generator/src/test/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGeneratorTest.java19 import static com.android.libcore.timezone.testing.TestUtils.assertContains;
20 import static com.android.libcore.timezone.testing.TestUtils.createFile;
26 import com.android.libcore.timezone.testing.TestUtils;
50 TestUtils.deleteDir(tempDir); in tearDown()
152 return TestUtils.createFile(tempDir, TextFormat.printToString(telephonyLookup)); in createTelephonyLookupFile()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java19 import com.android.libcore.timezone.testing.TestUtils;
48 TestUtils.deleteDir(tempDir); in tearDown()
121 return TestUtils.createFile(tempDir, lines); in createFile()
DBackwardFileTest.java23 import com.android.libcore.timezone.testing.TestUtils;
50 TestUtils.deleteDir(tempDir); in tearDown()
138 return TestUtils.createFile(tempDir, lines); in createFile()
DTzLookupGeneratorTest.java19 import com.android.libcore.timezone.testing.TestUtils;
40 import static com.android.libcore.timezone.testing.TestUtils.assertAbsent;
41 import static com.android.libcore.timezone.testing.TestUtils.assertContains;
42 import static com.android.libcore.timezone.testing.TestUtils.createFile;
61 TestUtils.deleteDir(tempDir); in tearDown()
395 String badBackwardFile = TestUtils.createFile(tempDir, "THIS IS NOT VALID"); in badBackwardFile()
648 return TestUtils.createFile(tempDir, lines.toArray(new String[0])); in createZoneTabFile()
652 return TestUtils.createFile(tempDir, TextFormat.printToString(countryZones)); in createCountryZonesFile()
865 return TestUtils.createFile(tempDir, lines.toArray(new String[0])); in createBackwardFile()
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/
DTestUtils.java35 public final class TestUtils { class
37 private TestUtils() {} in TestUtils() method in TestUtils
/system/core/libunwindstack/
DAndroid.bp252 "tests/TestUtils.cpp",