/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | QuotationAwareTokenizerTest.java | 34 private static void verify(String input, String[] expected, String delimiter) in verify() 53 private static void verify(String input, String[] expected) throws IllegalArgumentException { in verify() 61 String[] expected = new String[] {"one", "two", "three"}; in testTokenizeLine_simple() local 74 String[] expected = new String[] {"--foo", "this is a config"}; in testTokenizeLine_whitespace() local 82 String[] expected = new String[] {"--foo", "bar"}; in testTokenizeLine_comma() local 90 String[] expected = new String[] {"--foo", "a,config"}; in testTokenizeLine_commaAndQuote() local 98 String[] expected = new String[] {"--foo", "this is a", "config"}; in testTokenizeLine_commaAndWhitespace() local 106 String[] expected = new String[] {"--firstFlag", "stringOne", "--secondFlag", "stringTwo"}; in testTokenizeLine_extraSpace() local 121 String[] expected = new String[] {"--bar", in testTokenizeLine_escapedQuotation() local 162 String[] expected = new String[] {"--test", "", "--test2"}; in testTokenize_emptyString() local [all …]
|
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 54 final String expected = "alpha, beta, gamma"; in testJoinArray() local 62 final String expected = "alpha, beta, gamma"; in testJoinNormal() local
|
D | FixedByteArrayOutputStreamTest.java | 80 String expected = text.substring(1); in testBufferPlusOne() local 87 String expected = TEXT.substring(TEXT.length() - BUF_SIZE); in testBufferPlusPlus() local 103 String expected = full.substring(full.length() - BUF_SIZE); in testWriteWithWrap() local 117 String expected = text.substring(offset); in testLessThanBufferWithOffset() local 137 String expected = full.substring(full.length() - BUF_SIZE); in testWriteWithOffsetAndWrap() local
|
D | KernelModuleUtilsTest.java | 33 String[] expected = {"kunit_test", "time_test"}; in testGetDependentModules() local
|
/tools/tradefederation/core/avd_util/javatests/com/android/tradefed/util/avd/ |
D | AcloudUtilTest.java | 63 List<String> expected = in testBuildGceCommand() local 110 List<String> expected = in testBuildGceCommandWithIpDevice() local 166 List<String> expected = in testBuildGceCommandWithEmulatorBuild() local 218 List<String> expected = in testBuildGceCommandWithSpecifiedImages() local 261 List<String> expected = in testBuildGceCommand_withPreconfiguredVirtualDevice() local 323 List<String> expected = in testBuildGceCommandWithExtraFiles() local 375 List<String> expected = in testBuildGceCommandWithKernelBuild() local
|
/tools/tradefederation/core/javatests/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/javatests/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/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/ |
D | MergeSignaturesCommandTest.kt | 133 val expected = in Test merging API signature files() constant 224 val expected = in Test merging API signature files with reverse dependency() constant 275 val expected = in Test merging 3 API signature files() constant 318 val expected = in Test can merge API signature files with duplicate class() constant 378 val expected = in Test can merge API signature files with duplicate class and different annotations() constant
|
/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 106 String expected = HEADER + "<config>" in testSomeChanges() local
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | JavadocLinkSyntaxError.java | 20 public final String expected; field in JavadocLinkSyntaxError 24 public JavadocLinkSyntaxError(String expected, StringCursor sc) { in JavadocLinkSyntaxError()
|
D | SignatureSyntaxError.java | 20 public final String expected; field in SignatureSyntaxError 23 public SignatureSyntaxError(String expected, StringCursor sc) { in SignatureSyntaxError()
|
/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/metalava/metalava-model-text/src/testFixtures/java/com/android/tools/metalava/model/text/ |
D | SignatureFixtures.kt | 39 val expected = expectedContents.trimIndent() in assertSignatureContents() constant
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/tracing/ |
D | TracePropagatingExecutorServiceTest.java | 71 ActiveTrace expected = startTracing(); in activeTracePropagatesToTask() local 81 ActiveTrace expected = startTracing(); in activeTracePropagatesToSubTask() local 94 ActiveTrace expected = startTracing(); in callerActiveTraceRestored() local
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | Utils.java | 12 public static void logError(String message, int expected, int actual) { in logError() 18 public static void logError(String message, byte[] expected, byte[] actual) { in logError()
|
/tools/platform-compat/javatest/com/android/class2nonsdklist/ |
D | AnnotationPropertyWriterTest.java | 54 String expected = "signature,prop\n" in testExportPropertiesNoEscaping() local 70 String expected = "signature,prop\n" in testExportPropertiesEscapeQuotes() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | GTestXmlResultParserTest.java | 175 String expected = "Failed to get an xml output from tests, it probably crashed"; in testParseWithEmptyFile() local 198 String expected = "Test run incomplete. Expected 7 tests, received 6"; in testParseUnexpectedNumberTest() local 231 String expected = "Test run incomplete. Expected 6 tests, received 3"; in testParseSimpleFile_badXmltag() local 268 String expected = in testParseWithEmptyFile_AdditionalOutput() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/internal/ |
D | DeviceReleaseReporterTest.java | 77 Map<String, String> expected = Map.of(DEVICE_1_NAME, DEVICE_1_STATE.name()); in releaseDevices_oneDevice() local 99 Map<String, String> expected = in releaseDevices_multipleDevices() local
|
D | EarlyDeviceReleaseFeatureTest.java | 93 Map<ITestDevice, FreeDeviceState> expected = Map.of(mTestDevice1, DEVICE_1_STATE); in testFeature_oneDevice() local 111 Map<ITestDevice, FreeDeviceState> expected = in testFeature_multipleDevices() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | ClusterDeviceMonitorTest.java | 203 Map<String, String> expected = new HashMap<>(); in testGetAdditionalHostInfo() local 217 Map<String, String> expected = new HashMap<>(); in testGetAdditionalHostInfo_noCommands() local 241 Map<String, String> expected = new HashMap<>(); in testGetAdditionalHostInfo_commandFailed() local
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | ConsoleTest.java | 218 String[] expected = new String[] {"--arg", "value", "config.xml"}; in testRunCommand() local 236 String[] expected = new String[] {"--arg", "value", "config.xml"}; in testRunCommand_shortcut() local 258 String[] expected = new String[] {"command", "--arg", "value", "config.xml"}; in testRunCommand_startsWithCommand() local
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiFlagsCreatorTest.kt | 66 val expected = in Test creation from config() constant
|
/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | BuildInfoTest.java | 105 String expected = "BuildInfo{bid=1, target=target, build_flavor=testFlavor, " in testToString() local 117 String expected = "BuildInfo{build_alias=NMR12, bid=1, target=target, " in testToString_withBuildAlias() local
|