| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/internal/operations/ |
| D | ConditionCheckTest.java | 18 import static java.util.Collections.singletonMap; 51 Map<String, AttributeValue> keyMap = singletonMap("id", stringValue(fakeItem.getId())); in generateTransactWriteItem() 55 .expressionNames(singletonMap("key1", "value1")) in generateTransactWriteItem() 56 … .expressionValues(singletonMap("key2", stringValue("value2"))) in generateTransactWriteItem() 101 .expressionNames(singletonMap("key1", "value1")) in builder_maximal() 102 … .expressionValues(singletonMap("key2", stringValue("value2"))) in builder_maximal() 122 .expressionNames(singletonMap("key1", "value1")) in equals_maximal() 123 … .expressionValues(singletonMap("key2", stringValue("value2"))) in equals_maximal() 176 .expressionNames(singletonMap("key1", "value1")) in equals_conditionExpressionNotEqual() 177 … .expressionValues(singletonMap("key2", stringValue("value2"))) in equals_conditionExpressionNotEqual() [all …]
|
| /external/aws-sdk-java-v2/test/codegen-generated-classes-test/src/test/java/software/amazon/awssdk/services/ |
| D | ModelSerializationTest.java | 19 import static java.util.Collections.singletonMap; 82 … .listOfMaps(singletonList(singletonMap("foo", "bar"))) in jacksonSerializationWorksForPopulatedRequestModels() 83 … .listOfMapsOfStringToStruct(singletonList(singletonMap("bar", simpleStruct))) in jacksonSerializationWorksForPopulatedRequestModels() 85 … singletonList(singletonList(singletonMap("bar", simpleStruct)))) in jacksonSerializationWorksForPopulatedRequestModels() 87 … .mapOfStringToIntegerList(singletonMap("foo", singletonList(5))) in jacksonSerializationWorksForPopulatedRequestModels() 88 … .mapOfStringToStruct(singletonMap("foo", simpleStruct)) in jacksonSerializationWorksForPopulatedRequestModels() 93 .blobMap(singletonMap("foo", blob)) in jacksonSerializationWorksForPopulatedRequestModels() 100 … .mapOfEnumToEnumWithStrings(singletonMap("foo", "bar")) in jacksonSerializationWorksForPopulatedRequestModels()
|
| /external/json-schema-validator/src/test/java/com/networknt/schema/ |
| D | VocabularyTest.java | 63 … .singletonMap("https://www.example.com/no-validation-no-format/schema", in noValidation() 78 … .singletonMap("https://www.example.com/no-validation-no-format/schema", in noValidation() 114 … .singletonMap("https://www.example.com/no-validation-no-format/schema", in noFormatValidation() 130 … .singletonMap("https://www.example.com/no-validation-no-format/schema", in noFormatValidation() 166 … .singletonMap("https://www.example.com/no-validation-no-format/schema", in requiredUnknownVocabulary() 209 … .singletonMap("https://www.example.com/no-validation-no-format/schema", in customVocabulary()
|
| D | RefValidatorTest.java | 44 … Collections.singletonMap("https://www.example.com/schema/integer.json", otherSchema)))); in resolveSamePathDotSlash() 63 … Collections.singletonMap("https://www.example.com/schema/integer.json", otherSchema)))); in resolveSamePath() 82 … Collections.singletonMap("https://www.example.com/integer.json", otherSchema)))); in resolveParent() 101 … Collections.singletonMap("https://www.example.com/schema/hello/integer.json", otherSchema)))); in resolveComplex()
|
| /external/aws-sdk-java-v2/test/codegen-generated-classes-test/src/test/java/software/amazon/awssdk/services/tostring/ |
| D | SensitiveDataRedactedTest.java | 19 import static java.util.Collections.singletonMap; 69 …assertThat(InputShape.builder().mapOfSensitiveStringToString(singletonMap("Value", "Value")).build… in sensitiveMapOfSensitiveStringToStringRedacted() 75 …assertThat(InputShape.builder().mapOfStringToSensitiveString(singletonMap("Value", "Value")).build… in sensitiveMapOfStringToSensitiveStringRedacted() 81 …Map<String, List<List<String>>> value = singletonMap("Value", singletonList(singletonList("Value")… in sensitiveMapOfStringToListOfListOfSensitiveStringRedacted()
|
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
| D | HeadersTest.java | 235 Headers.of(Collections.<String, String>singletonMap("User-Agent", null)); in ofMapThrowsOnNull() 243 Headers.of(Collections.singletonMap("", "OkHttp")); in ofMapThrowsOnEmptyName() 251 Headers.of(Collections.singletonMap(" ", "OkHttp")); in ofMapThrowsOnBlankName() 258 Headers headers = Headers.of(Collections.singletonMap("User-Agent", "")); in ofMapAcceptsEmptyValue() 263 Headers headers = Headers.of(Collections.singletonMap(" User-Agent ", "OkHttp")); in ofMapTrimsKey() 268 Headers headers = Headers.of(Collections.singletonMap("User-Agent", " OkHttp ")); in ofMapTrimsValue() 283 Headers.of(Collections.singletonMap("User-Agent", "Square\u0000OkHttp")); in ofMapRejectsNulCharInName() 291 Headers.of(Collections.singletonMap("User-\u0000Agent", "OkHttp")); in ofMapRejectsNulCharInValue()
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/mapper/ |
| D | ImmutableTableSchemaTest.java | 18 import static java.util.Collections.singletonMap; 52 … .m(singletonMap("attribute2", stringValue("two"))) in documentImmutable_correctlyMapsBeanAttributes() 78 … .m(singletonMap("attribute2", stringValue("two"))) in documentImmutable_list_correctlyMapsBeanAttributes() 81 … .m(singletonMap("attribute2", stringValue("three"))) in documentImmutable_list_correctlyMapsBeanAttributes() 111 … .m(singletonMap("attribute2", stringValue("two"))) in documentImmutable_map_correctlyMapsBeanAttributes() 114 … .m(singletonMap("attribute2", stringValue("three"))) in documentImmutable_map_correctlyMapsBeanAttributes() 139 … .m(singletonMap("attribute2", stringValue("two"))) in documentImmutable_correctlyMapsImmutableAttributes() 164 … .m(singletonMap("attribute2", stringValue("two"))) in documentImmutable_list_correctlyMapsImmutableAttributes() 167 … .m(singletonMap("attribute2", stringValue("three"))) in documentImmutable_list_correctlyMapsImmutableAttributes() 195 … .m(singletonMap("attribute2", stringValue("two"))) in documentImmutable_map_correctlyMapsImmutableAttributes() [all …]
|
| D | StaticTableMetadataTest.java | 292 … .addCustomMetadataObject("custom-key", Collections.singletonMap("key1", "123")) in setAndRetrieveCustomMetadataMap() 293 … .addCustomMetadataObject("custom-key", Collections.singletonMap("key2", "456")) in setAndRetrieveCustomMetadataMap() 336 .addCustomMetadataObject("custom-key", Collections.singletonMap("key1", "123")) in mergeFullIntoEmpty() 337 .addCustomMetadataObject("custom-key", Collections.singletonMap("key2", "456")) in mergeFullIntoEmpty() 356 … .addCustomMetadataObject("custom-key", Collections.singletonMap("key1", "123")) in mergeEmptyIntoFull() 357 … .addCustomMetadataObject("custom-key", Collections.singletonMap("key2", "456")); in mergeEmptyIntoFull() 416 … .addCustomMetadataObject("custom-key", Collections.singletonMap("key1", "123")) in mergeWithCustomMetadataMap() 419 …eMetadata.builder().addCustomMetadataObject("custom-key", Collections.singletonMap("key2", "456")); in mergeWithCustomMetadataMap()
|
| /external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/propagation/ |
| D | CorrelationContextFormatTest.java | 173 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, "k1=v1,k2=v2"); in extract() 180 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, ""); in extract_Empty() 188 Collections.singletonMap(CORRELATION_CONTEXT, "k1=v1;property1=p1;property2=p2,k2=v2"); in extract_WithUnknownProperties() 196 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, "k1= v1, k2=v2 "); in extract_TrimSpaces() 205 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, "k1= v1, k1=v2 "); in extract_OverrideTagWithSpaces() 213 Map<String, String> carrier = Collections.singletonMap("unknown-header", "value"); in extract_NoCorrelationContextHeader() 220 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, "k1,v1,k2=v2"); in extract_MalformedTag() 227 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, "k1=v1,ké=v2"); in extract_MalformedTagKey() 234 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, "k1=v1,k2=vé"); in extract_MalformedTagValue() 242 Map<String, String> carrier = Collections.singletonMap(CORRELATION_CONTEXT, longKey + "=v1"); in extract_TagKeyTooLong() [all …]
|
| /external/opencensus-java/api/src/test/java/io/opencensus/metrics/ |
| D | MetricOptionsTest.java | 42 Collections.singletonMap(LabelKey.create("test_key_1", "test key description"), LABEL_VALUE); 79 .setConstantLabels(Collections.singletonMap(LABEL_KEY, LABEL_VALUE)) in sameLabelKeyInLabelsKey() 92 Map<LabelKey, LabelValue> constantLabels = Collections.singletonMap(null, LABEL_VALUE); in constantLabels_WithNullKey() 100 Map<LabelKey, LabelValue> constantLabels = Collections.singletonMap(LABEL_KEY, null); in constantLabels_WithNullValue() 112 .setConstantLabels(Collections.singletonMap(LABEL_KEY, LABEL_VALUE)) in sameLabelKeyInConstantLabelsAndLabelsKey()
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/update/ |
| D | DeleteActionTest.java | 62 … .expressionValues(Collections.singletonMap(VALUE_TOKEN, NUMERIC_VALUE)) in build_maximal() 63 … .expressionNames(Collections.singletonMap(ATTRIBUTE_TOKEN, ATTRIBUTE_NAME)) in build_maximal() 76 … .expressionValues(Collections.singletonMap(VALUE_TOKEN, NUMERIC_VALUE)) in copy() 77 … .expressionNames(Collections.singletonMap(ATTRIBUTE_TOKEN, ATTRIBUTE_NAME)) in copy()
|
| D | SetActionTest.java | 62 … .expressionValues(Collections.singletonMap(VALUE_TOKEN, NUMERIC_VALUE)) in build_maximal() 63 … .expressionNames(Collections.singletonMap(ATTRIBUTE_TOKEN, ATTRIBUTE_NAME)) in build_maximal() 76 … .expressionValues(Collections.singletonMap(VALUE_TOKEN, NUMERIC_VALUE)) in copy() 77 … .expressionNames(Collections.singletonMap(ATTRIBUTE_TOKEN, ATTRIBUTE_NAME)) in copy()
|
| D | AddActionTest.java | 62 … .expressionValues(Collections.singletonMap(VALUE_TOKEN, NUMERIC_VALUE)) in build_maximal() 63 … .expressionNames(Collections.singletonMap(ATTRIBUTE_TOKEN, ATTRIBUTE_NAME)) in build_maximal() 76 … .expressionValues(Collections.singletonMap(VALUE_TOKEN, NUMERIC_VALUE)) in copy() 77 … .expressionNames(Collections.singletonMap(ATTRIBUTE_TOKEN, ATTRIBUTE_NAME)) in copy()
|
| /external/ow2-asm/asm-commons/src/test/java/org/objectweb/asm/commons/ |
| D | SimpleRemapperTest.java | 47 Remapper remapper = new SimpleRemapper(Collections.singletonMap("Outer", "RenamedOuter")); in testMapSignature_remapParentOnly_nestedClassExtends() 58 new SimpleRemapper(Collections.singletonMap("Outer$Inner", "Outer$RenamedInner")); in testMapSignature_remapChildOnly_nestedClassExtends() 69 new SimpleRemapper(Collections.singletonMap("Outer$Inner$1", "Outer$RenamedInner$1")); in testMapSignature_remapChildOnly_nestedClassExtends_identifiersWithDollarSign()
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/ |
| D | TransactWriteItemsTest.java | 18 import static java.util.Collections.singletonMap; 267 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in singleConditionCheck() 268 … .expressionNames(singletonMap("#attribute", "attribute")) in singleConditionCheck() 288 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in multiConditionCheck() 289 … .expressionNames(singletonMap("#attribute", "attribute")) in multiConditionCheck() 315 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in mixedCommands() 316 … .expressionNames(singletonMap("#attribute", "attribute")) in mixedCommands() 346 … .expressionValues(singletonMap(":attribute", stringValue("1"))) in mixedCommands_conditionCheckFailsTransaction() 347 … .expressionNames(singletonMap("#attribute", "attribute")) in mixedCommands_conditionCheckFailsTransaction() 383 … .expressionValues(singletonMap(":attribute", stringValue("99"))) in mixedCommands_returnValuesOnConditionCheckFailureSet_allConditionsFail() [all …]
|
| D | AsyncTransactWriteItemsTest.java | 18 import static java.util.Collections.singletonMap; 268 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in singleConditionCheck() 269 … .expressionNames(singletonMap("#attribute", "attribute")) in singleConditionCheck() 290 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in multiConditionCheck() 291 … .expressionNames(singletonMap("#attribute", "attribute")) in multiConditionCheck() 317 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in mixedCommands() 318 … .expressionNames(singletonMap("#attribute", "attribute")) in mixedCommands() 347 … .expressionValues(singletonMap(":attribute", stringValue("1"))) in mixedCommands_conditionCheckFailsTransaction() 348 … .expressionNames(singletonMap("#attribute", "attribute")) in mixedCommands_conditionCheckFailsTransaction()
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/model/ |
| D | TransactWriteItemsEnhancedRequestTest.java | 18 import static java.util.Collections.singletonMap; 83 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in builder_maximal_consumer_style() 84 … .expressionNames(singletonMap("#attribute", "attribute")) in builder_maximal_consumer_style() 113 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in builder_maximal_shortcut_style() 114 … .expressionNames(singletonMap("#attribute", "attribute")) in builder_maximal_shortcut_style() 149 … .expressionValues(singletonMap(":attribute", stringValue("0"))) in builder_maximal_builder_style() 150 … .expressionNames(singletonMap("#attribute", "attribute")) in builder_maximal_builder_style()
|
| D | PageTest.java | 21 import static java.util.Collections.singletonMap; 40 …assertThat(Page.create(asList("foo", "bar"), singletonMap("foo", AttributeValue.builder().s("bar")… in fullToStringIsCorrect()
|
| /external/opencensus-java/api/src/test/java/io/opencensus/metrics/data/ |
| D | ExemplarTest.java | 39 Collections.singletonMap("key", ATTACHMENT_VALUE); 66 Map<String, AttachmentValue> attachments = Collections.singletonMap(null, ATTACHMENT_VALUE); in testExemplar_PreventNullAttachmentKey() 74 Map<String, AttachmentValue> attachments = Collections.singletonMap("key", null); in testExemplar_PreventNullAttachmentValue()
|
| /external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/ |
| D | ProtoMessageRequestFormatterTest.java | 158 formatter.getPathTemplate().instantiate(Collections.singletonMap("name", "field_name1")); in getPathTemplate() 167 .instantiate(Collections.singletonMap("name", "field_name1")); in getPathTemplate() 177 .instantiate(Collections.singletonMap("name", "field_name1")); in getPathTemplates() 187 .instantiate(Collections.singletonMap("name", "field_name1")); in getPathTemplates()
|
| /external/aws-sdk-java-v2/services/dynamodb/src/it/java/software/amazon/awssdk/services/dynamodb/ |
| D | SecondaryIndexesIntegrationTest.java | 216 Collections.singletonMap( in testQueryWithGlobalSecondaryIndex() 265 Collections.singletonMap( in testQueryWithGlobalSecondaryIndex() 286 Collections.singletonMap( in testQueryWithGlobalSecondaryIndex() 306 Collections.singletonMap( in testQueryWithGlobalSecondaryIndex() 326 Collections.singletonMap( in testQueryWithGlobalSecondaryIndex() 376 Collections.singletonMap( in testQueryWithLocalSecondaryIndex() 416 Collections.singletonMap( in testQueryWithLocalSecondaryIndex() 435 Collections.singletonMap( in testQueryWithLocalSecondaryIndex() 455 Collections.singletonMap( in testQueryWithLocalSecondaryIndex() 475 Collections.singletonMap( in testQueryWithLocalSecondaryIndex()
|
| /external/guava/android/guava-tests/benchmark/com/google/common/base/ |
| D | ToStringHelperBenchmark.java | 67 .add(SHORT_NAME, Collections.singletonMap("k1", "v1")) in addEntries() 68 .add(LONG_NAME, Collections.singletonMap("k2", "v2")) in addEntries() 69 .addValue(Collections.singletonMap("k3", "v3")) in addEntries()
|
| /external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/ |
| D | IsGetterRenaming2527Test.java | 79 assertEquals(Collections.singletonMap("isEnabled", Boolean.TRUE), in testIsPropertiesStdKotlin() 92 assertEquals(Collections.singletonMap("isEnabled", Boolean.TRUE), in testIsPropertiesWithPublicField() 105 assertEquals(Collections.singletonMap("isEnabled", Boolean.TRUE), in testIsPropertiesViaCreator()
|
| /external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/ |
| D | RequestUrlParamsEncoderTest.java | 78 getMockExtractor(1, Collections.singletonMap((String) null, "value1")); in testEncodeNullName() 86 getMockExtractor(1, Collections.singletonMap("param1", (String) null)); in testEncodeNullValue() 95 getMockExtractor(1, Collections.singletonMap("param1", "")); in testEncodeEmptyValue()
|
| /external/volley/core/src/test/java/com/android/volley/ |
| D | RequestTest.java | 153 return Collections.singletonMap(null, "value"); 158 return Collections.singletonMap(null, "value"); 187 return Collections.singletonMap("key", null); 192 return Collections.singletonMap("key", null);
|