HomeSort by relevance Sort by last modified time
    Searched refs:expectedName (Results 1 - 25 of 181) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardBuilderTest.java 49 final String expectedName = "N" + expectedCommon + ";;;;";
52 assertTrue("Actual value:\n" + actual + " expected to contain\n" + expectedName +
53 "\nbut does not.", actual.contains(expectedName));
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
I18NameTest.java 132 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_TEXT);
133 assertEquals(expectedName, actualName);
149 I18Name expectedName = new I18Name(language, Locale.forLanguageTag(language), text);
150 assertEquals(expectedName, actualName);
163 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, "");
164 assertEquals(expectedName, actualName);
  /external/javassist/src/main/javassist/bytecode/stackmap/
TypeData.java 125 protected String expectedName;
132 expectedName = null;
203 if (update(cp, expectedName, typeName))
204 expectedName = typeName;
215 name = this.expectedName;
220 if (update(cp, name, tn.expectedName))
221 name = tn.expectedName;
230 tn.expectedName = name;
293 String en = expectedName;
303 String en = expectedName;
    [all...]
  /cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
Preconditions.java 54 * @param expectedName Name of the expected value
61 String expectedName, T expectedValue) {
66 argName, expectedName, arg, expectedValue));
  /external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/
InternetDomainNameTest.java 356 String expectedName = Ascii.toLowerCase(inputName);
357 expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
359 if (expectedName.endsWith(".")) {
360 expectedName = expectedName.substring(0, expectedName.length() - 1);
363 assertEquals(expectedName, domain.toString());
  /external/junit-params/src/test/java/junitparams/naming/
NamingStrategyIsUsedByRunnerTest.java 43 private static Description getChildDescriptionByName(Description parent, String expectedName) {
45 if (expectedName.equals(childDescription.getDisplayName())) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
ImageViewHasDrawableMatcher.java 30 String expectedName = nameOrUnset(resourceLoader, expectedResourceId);
31 message = "[" + actualResourceId + " (" + actualName + ")] to equal [" + expectedResourceId + " (" + expectedName + ")]";
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
Preconditions.java 58 * @param expectedName Name of the expected value
65 String expectedName, T expectedValue) {
70 argName, expectedName, arg, expectedValue));
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageManagerTest.java 121 private void checkActivityInfoName(String expectedName, List<ResolveInfo> resolves) {
128 if (current.equals(expectedName)) {
136 private void checkServiceInfoName(String expectedName, List<ResolveInfo> resolves) {
142 if (current.equals(expectedName)) {
150 private void checkPermissionInfoName(String expectedName, List<PermissionInfo> permissions) {
155 boolean isContained = names.contains(expectedName);
156 assertTrue("Permission " + expectedName + " not present in " + names, isContained);
159 private void checkProviderInfoName(String expectedName, List<ProviderInfo> providers) {
165 if (current.equals(expectedName)) {
173 private void checkInstrumentationInfoName(String expectedName,
    [all...]
  /external/guava/guava-tests/test/com/google/common/net/
InternetDomainNameTest.java 358 String expectedName = Ascii.toLowerCase(inputName);
359 expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
361 if (expectedName.endsWith(".")) {
362 expectedName = expectedName.substring(0, expectedName.length() - 1);
365 assertEquals(expectedName, domain.toString());
  /external/skia/tests/
SkDOMTest.cpp 16 const SkDOM::Node* node, const char* expectedName,
20 REPORTER_ASSERT(r, !strcmp(dom.getName(node), expectedName));
  /external/skqp/tests/
SkDOMTest.cpp 16 const SkDOM::Node* node, const char* expectedName,
20 REPORTER_ASSERT(r, !strcmp(dom.getName(node), expectedName));
  /frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
ZoneGetterTest.java 100 private void testTimeZoneOffsetAndNameInner(String timeZoneId, String expectedName) {
107 assertTrue(timeZoneString.toString().endsWith(expectedName));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
TimeZoneTest.java 258 String expectedName = defaultZone.getDisplayName(defaulLocal);
261 expectedName, defaultName);
271 String expectedName = defaultZone.getDisplayName(false, TimeZone.LONG,
275 expectedName, actualName);
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
ParsingSteps.java 137 @Then("lambda in statement $statementPosition in method $methodPosition in class $classPosition is called $expectedName")
138 public void thenLambdaInClassIsCalled(int statementPosition, int methodPosition, int classPosition, String expectedName) {
142 assertThat(variableDeclarator.getNameAsString(), is(expectedName));
202 @Then("method reference in statement $statementPosition in method $methodPosition in class $classPosition scope is $expectedName")
204 int classPosition, String expectedName) {
208 assertThat(methodReferenceUnderTest.getScope().toString(), is(expectedName));
211 @Then("method reference in statement $statementPosition in method $methodPosition in class $classPosition identifier is $expectedName")
213 int classPosition, String expectedName) {
217 assertThat(methodReferenceUnderTest.getIdentifier(), is(expectedName));
ManipulationSteps.java 247 @Then("method $methodPosition in class $classPosition has the name \"$expectedName\"")
248 public void thenMethodInClassHasTheName(int methodPosition, int classPosition, String expectedName) {
251 assertThat(method.getNameAsString(), is(expectedName));
263 @Then("method $methodPosition in class $classPosition parameter $parameterPosition is type int called \"$expectedName\"")
264 public void thenMethodInClassParameterIsTypeIntCalled(int methodPosition, int classPosition, int parameterPosition, String expectedName) {
269 assertThat(parameter.getNameAsString(), is(expectedName));
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
TarUtilTest.java 64 String expectedName = logTarGzFile.getName().substring(0,
66 Assert.assertEquals(expectedName, testFile.getName());
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
XmlUtil.java 140 * @param expectedName expected name for the section header.
143 * @throws XmlPullParserException if the section header name does not match |expectedName|,
147 XmlPullParser in, String expectedName, int outerDepth)
151 if (headerName[0].equals(expectedName)) {
155 "Next section name does not match expected name: " + expectedName);
168 * @param expectedName expected name for the section header.
170 * @throws XmlPullParserException if the section header name does not match |expectedName|,
174 XmlPullParser in, String expectedName, int outerDepth)
176 if (!gotoNextSectionWithNameOrEnd(in, expectedName, outerDepth)) {
177 throw new XmlPullParserException("Section not found. Expected: " + expectedName);
    [all...]
  /prebuilts/go/darwin-x86/src/flag/
flag_test.go 460 expectedName := "flag set"
463 fs := NewFlagSet(expectedName, expectedErrorHandling)
465 if fs.Name() != expectedName {
466 t.Errorf("unexpected name: got %s, expected %s", fs.Name(), expectedName)
475 expectedName = "gopher"
478 fs.Init(expectedName, expectedErrorHandling)
481 if fs.Name() != expectedName {
482 t.Errorf("unexpected name: got %s, expected %s", fs.Name(), expectedName)
  /prebuilts/go/linux-x86/src/flag/
flag_test.go 460 expectedName := "flag set"
463 fs := NewFlagSet(expectedName, expectedErrorHandling)
465 if fs.Name() != expectedName {
466 t.Errorf("unexpected name: got %s, expected %s", fs.Name(), expectedName)
475 expectedName = "gopher"
478 fs.Init(expectedName, expectedErrorHandling)
481 if fs.Name() != expectedName {
482 t.Errorf("unexpected name: got %s, expected %s", fs.Name(), expectedName)
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
LightCodeInsightParsingTestCase.java 175 String expectedName = targetDataName + "." + language.getID() + ".txt";
176 doCheckResult(myFullDataPath, expectedName, toParseTreeText(root, skipSpaces, printRanges).trim());
  /prebuilts/devtools/adt/lib/
sdktestutils.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.3.1/
testutils-24.3.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-alpha1/
testutils-24.4.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta3/
testutils-24.4.0-beta3.jar 

Completed in 538 milliseconds

1 2 3 4 5 6 7 8