Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 52) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DQuotationAwareTokenizerTest.java28 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
DStringEscapeUtilsTest.java48 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
DArrayUtilTest.java45 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
DFixedByteArrayOutputStreamTest.java80 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
DMultiMapTest.java102 private static <T> void assertContainsExactly(Collection<T> expected, Collection<T> actual) { in assertContainsExactly()
DListInstrumentationParserTest.java127 private static boolean areTargetsEqual(InstrumentationTarget expected, in areTargetsEqual()
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/
DSampleTests.java34 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/
DArrayUtilTest.java45 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/
DXmlWriterTest.java39 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/
DZipField.java77 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/
DMoreAsserts.java30 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/
DClusterDeviceMonitorTest.java134 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/
DGTestXmlResultParserTest.java177 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
DNativeBenchmarkTestTest.java90 String expected = String.format("%s%s%s", NativeBenchmarkTest.DEFAULT_TEST_PATH, in testGetTestPath_withModule() local
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DConsoleTest.java218 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/
DBuildInfoTest.java97 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/
DGceManagerTest.java172 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/
DStringStreamTest.kt46 val expected = BufferedReader(FileReader(file)) in testLineReaderOnFile() constant
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DZlibExtractorTest.kt56 val expected = "# tracer: nop\n#\n# ent" in testExtractInitial() constant
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dbt_utils.py262 def _get_formatted_output(self, expected, actual): argument
284 def _compare_profile(self, device, expected): argument
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DAbstractSectionParserTest.java50 public FakeBlockParser(String expected) { in FakeBlockParser()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/
DInvocationLocalTest.java50 String expected = "!"; in getReturnsCustomInitialValue() local
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DSimpleFileLoggerTest.java91 List<String> expected = readLines(new FileInputStream(mLogFile)); in testGetLog() local
/tools/platform-compat/build/
Dprocess-compat-config-test.py40 def assert_same_xml(self, got, expected): argument
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DLoopSummaryTest.java131 LoopSummary expected = builder.build(); in testParseRunMetrics() local

123