Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTest.java103 String defaultString = "Default"; in getFriendlyNameMatchingDefaultLocale() local
106 friendlyNames.add(new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getFriendlyNameMatchingDefaultLocale()
109 assertEquals(defaultString, providerInfo.getFriendlyName()); in getFriendlyNameMatchingDefaultLocale()
163 String defaultString = "Default"; in getServiceDescriptionMatchingDefaultLocale() local
167 new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getServiceDescriptionMatchingDefaultLocale()
170 assertEquals(defaultString, providerInfo.getServiceDescription()); in getServiceDescriptionMatchingDefaultLocale()
/frameworks/base/test-base/src/junit/framework/
DAssertionFailedError.java14 super(defaultString(message)); in AssertionFailedError()
17 private static String defaultString(String message) { in defaultString() method in AssertionFailedError
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage_test.js183 var defaultString = "default<>\'\"abc";
188 stringField: defaultString,
200 assertEquals(defaultString, response.getStringField());
214 assertEquals(defaultString, response.getStringField());
225 assertEquals(defaultString, response.getStringField());
249 assertEquals(defaultString, response.getStringField());
262 assertEquals(defaultString, response.getStringField());
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m455 fieldDescriptor = [descriptor fieldWithName:@"defaultString"];
460 XCTAssertEqualObjects(message.defaultString, defaultValue.valueString);
464 XCTAssertEqualObjects(message.defaultString, @"hello");
466 fieldDescriptor = [descriptor fieldWithName:@"defaultString"];
470 XCTAssertEqualObjects(message.defaultString, @"hello");
473 XCTAssertEqualObjects(message.defaultString, @"hello");
477 XCTAssertEqualObjects(message.defaultString, @"hello");
DGPBCodedInputStreamTests.m331 XCTAssertTrue(message.defaultString.length > 0, @"Loop %zd", i);
DGPBTestUtilities.m717 XCTAssertEqualObjects(@"415", message.defaultString);
840 message.defaultString = @"415";
1378 XCTAssertEqualObjects(@"hello", message.defaultString);
2130 XCTAssertEqualObjects(message.defaultString, [message valueForKey:@"defaultString"]);
2401 [message setValue:@"415" forKey:@"defaultString"];
2531 XCTAssertEqualObjects([message valueForKey:@"defaultString"], @"hello");
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2281 assertEquals("hello", msg.defaultString); in testNanoDefaults()
2442 assertEquals("hello", newMsg.defaultString); in testNanoWithHasSerialize()
3280 message.defaultString = "hello"; in testReferenceTypesForPrimitives()
3283 message.defaultString = null; in testReferenceTypesForPrimitives()