/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | QuotationAwareTokenizerTest.java | 28 private static void verify(String input, String[] expected, String delimiter) in verify() 47 private static void verify(String input, String[] expected) throws IllegalArgumentException { in verify() 56 String[] expected = new String[] {"one", "two", "three"}; in testTokenizeLine_simple() local 69 String[] expected = new String[] {"--foo", "this is a config"}; in testTokenizeLine_whitespace() local 78 String[] expected = new String[] {"--foo", "bar"}; in testTokenizeLine_comma() local 87 String[] expected = new String[] {"--foo", "a,config"}; in testTokenizeLine_commaAndQuote() local 96 String[] expected = new String[] {"--foo", "this is a", "config"}; in testTokenizeLine_commaAndWhitespace() local 113 String[] expected = new String[] {"--bar", in testTokenizeLine_escapedQuotation() local
|
D | StringEscapeUtilsTest.java | 48 List<String> expected = new ArrayList<>(); in testParams_noQuotesNoSpaces() local 61 List<String> expected = new ArrayList<>(); in testParams_noQuotesWithSpaces() local 73 List<String> expected = new ArrayList<>(); in testParams_plainQuotes() local 85 List<String> expected = new ArrayList<>(); in testParams_escapedQuotes() local
|
D | ArrayUtilTest.java | 45 final String expected = "alpha, beta, gamma"; in testJoinCollection() local 55 final String expected = "alpha, beta, gamma"; in testJoinArray() local 64 final String expected = "alpha, beta, gamma"; in testJoinNormal() local
|
D | FixedByteArrayOutputStreamTest.java | 80 String expected = text.substring(1); in testBufferPlusOne() local 88 String expected = TEXT.substring(TEXT.length() - BUF_SIZE); in testBufferPlusPlus() local 102 String expected = full.substring(full.length() - BUF_SIZE); in testWriteWithWrap() local 114 String expected = text.substring(offset); in testLessThanBufferWithOffset() local 132 String expected = full.substring(full.length() - BUF_SIZE); in testWriteWithOffsetAndWrap() local
|
D | MultiMapTest.java | 102 private static <T> void assertContainsExactly(Collection<T> expected, Collection<T> actual) { in assertContainsExactly()
|
D | ListInstrumentationParserTest.java | 127 private static boolean areTargetsEqual(InstrumentationTarget expected, in areTargetsEqual()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/ |
D | SampleTests.java | 34 int expected = 4; in testAddition() local 41 int expected = 4; in testMultiplication() local 48 int expected = 10; in testSubtraction() local
|
/tools/loganalysis/tests/src/com/android/loganalysis/util/ |
D | ArrayUtilTest.java | 45 final String expected = "alpha, beta, gamma"; in testJoinCollection() local 55 final String expected = "alpha, beta, gamma"; in testJoinArray() local 64 final String expected = "alpha, beta, gamma"; in testJoinNormal() local
|
/tools/platform-compat/javatest/android/processor/compat/changeid/ |
D | XmlWriterTest.java | 39 String expected = HEADER + "<config/>"; in testNoChanges() local 55 String expected = HEADER + "<config>" in testOneChange() local 99 String expected = HEADER + "<config>" in testSomeChanges() local
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZipField.java | 77 private final Long expected; field in ZipField 112 ZipField(int offset, int size, long expected, @Nonnull String name) { in ZipField() 218 void verify(@Nonnull ByteBuffer bytes, long expected) throws IOException { in verify() 235 long expected, in verify() 333 F2(int offset, long expected, @Nonnull String name) { in F2() 360 F4(int offset, long expected, @Nonnull String name) { in F4()
|
/tools/apksig/src/test/java/com/android/apksig/internal/test/ |
D | MoreAsserts.java | 30 public static void assertByteBufferEquals(byte[] expected, ByteBuffer actual) { in assertByteBufferEquals() 38 public static void assertByteBufferEquals(String message, byte[] expected, ByteBuffer actual) { in assertByteBufferEquals()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterDeviceMonitorTest.java | 134 Map<String, String> expected = new HashMap<>(); in testGetAdditionalHostInfo() local 145 Map<String, String> expected = new HashMap<>(); in testGetAdditionalHostInfo_noCommands() local 174 Map<String, String> expected = new HashMap<>(); in testGetAdditionalHostInfo_commandFailed() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestXmlResultParserTest.java | 177 String expected = "Failed to get an xml output from tests, it probably crashed"; in testParseWithEmptyFile() local 201 String expected = "Test run incomplete. Expected 7 tests, received 6"; in testParseUnexpectedNumberTest() local 234 String expected = "Test run incomplete. Expected 6 tests, received 3"; in testParseSimpleFile_badXmltag() local 271 String expected = "Failed to get an xml output from tests, it probably crashed\nlogs:\n" in testParseWithEmptyFile_AdditionalOutput() local
|
D | NativeBenchmarkTestTest.java | 90 String expected = String.format("%s%s%s", NativeBenchmarkTest.DEFAULT_TEST_PATH, in testGetTestPath_withModule() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | ConsoleTest.java | 218 String[] expected = new String[] {"--arg", "value", "config.xml"}; in testRunCommand() local 238 String[] expected = new String[] {"--arg", "value", "config.xml"}; in testRunCommand_shortcut() local 262 String[] expected = new String[] {"command", "--arg", "value", "config.xml"}; in testRunCommand_startsWithCommand() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 97 String expected = "BuildInfo{bid=1, target=target, build_flavor=testFlavor, " in testToString() local 109 String expected = "BuildInfo{build_alias=NMR12, bid=1, target=target, " in testToString_withBuildAlias() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 172 List<String> expected = in testBuildGceCommand() local 210 List<String> expected = in testBuildGceCommand_withServiceAccountJsonKeyFile() local 259 List<String> expected = in testBuildGceCommandWithEmulatorBuild() local 300 List<String> expected = in testBuildGceCommandWithGceDriverParam() local 387 List<String> expected = in testBuildGceCommandWithKernelBuild() local
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/io/ |
D | StringStreamTest.kt | 46 val expected = BufferedReader(FileReader(file)) in testLineReaderOnFile() constant
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/ |
D | ZlibExtractorTest.kt | 56 val expected = "# tracer: nop\n#\n# ent" in testExtractInitial() constant
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/ |
D | bt_utils.py | 262 def _get_formatted_output(self, expected, actual): argument 284 def _compare_profile(self, device, expected): argument
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | AbstractSectionParserTest.java | 50 public FakeBlockParser(String expected) { in FakeBlockParser()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/ |
D | InvocationLocalTest.java | 50 String expected = "!"; in getReturnsCustomInitialValue() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/log/ |
D | SimpleFileLoggerTest.java | 91 List<String> expected = readLines(new FileInputStream(mLogFile)); in testGetLog() local
|
/tools/platform-compat/build/ |
D | process-compat-config-test.py | 40 def assert_same_xml(self, got, expected): argument
|
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/ |
D | LoopSummaryTest.java | 131 LoopSummary expected = builder.build(); in testParseRunMetrics() local
|