/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ExtensionSpiTest.java | 23 import com.google.common.collect.ImmutableMap; 80 new Params("/class", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), in validateVisitor() 81 new Params("/class/2", Key.get(DummyFilterImpl.class), ImmutableMap.of(), SERVLET), in validateVisitor() 85 ImmutableMap.of(), in validateVisitor() 90 ImmutableMap.of(), in validateVisitor() 92 new Params("/instance", dummyFilter1, ImmutableMap.of(), SERVLET), in validateVisitor() 93 new Params("/instance/2", dummyFilter1, ImmutableMap.of(), SERVLET), in validateVisitor() 97 ImmutableMap.of("key", "value"), in validateVisitor() 102 ImmutableMap.of("key", "value"), in validateVisitor() 107 ImmutableMap.of("key", "value"), in validateVisitor() [all …]
|
D | TransferRequestIntegrationTest.java | 19 import com.google.common.collect.ImmutableMap; 101 ImmutableMap<Key<?>, Object> seedMap = ImmutableMap.of(); in testTransferNonHttpRequest() 141 ImmutableMap<Key<?>, Object> seedMap = ImmutableMap.of(); in testTransferNonHttpRequest_closeable() 174 ImmutableMap<Key<?>, Object> seedMap = ImmutableMap.of(); in testTransferNonHttpRequest_concurrentUseBlocks() 210 ImmutableMap<Key<?>, Object> seedMap = ImmutableMap.of(); in testTransferNonHttpRequest_concurrentUseBlocks_closeable() 223 ImmutableMap<Key<?>, Object> seedMap = ImmutableMap.of(); in testTransferNonHttpRequest_concurrentUseSameThreadOk() 241 ImmutableMap<Key<?>, Object> seedMap = ImmutableMap.of(); in testTransferNonHttpRequest_concurrentUseSameThreadOk_closeable()
|
/external/escapevelocity/src/test/java/com/google/escapevelocity/ |
D | TemplateTest.java | 23 import com.google.common.collect.ImmutableMap; 85 compare(template, ImmutableMap.<String, Object>of()); in compare() 186 compare("${foo}#${bar}", ImmutableMap.of("foo", "xxx", "bar", "yyy")); in ignoreHashIfNotDirectiveOrComment() 201 compare(" $x ", ImmutableMap.of("x", 1729)); in substituteNoBraces() 202 compare(" ! $x ! ", ImmutableMap.of("x", 1729)); in substituteNoBraces() 216 compare(" $$foo ", ImmutableMap.of("foo", true)); in doubleDollar() 217 compare(" $${foo} ", ImmutableMap.of("foo", true)); in doubleDollar() 222 compare("a${x}\nb", ImmutableMap.of("x", "1729")); in substituteWithBraces() 227 compare("=$t.name=", ImmutableMap.of("t", Thread.currentThread())); in substitutePropertyNoBraces() 232 compare("=${t.name}=", ImmutableMap.of("t", Thread.currentThread())); in substitutePropertyWithBraces() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableMapTest.java | 28 import com.google.common.collect.ImmutableMap.Builder; 105 ImmutableMap.Builder<String, String> builder = ImmutableMap.builder(); in suite() 233 return ImmutableMap.of(); in makeEmptyMap() 238 return ImmutableMap.of("one", 1, "two", 2, "three", 3); in makePopulatedMap() 255 return ImmutableMap.of("one", 1); in makePopulatedMap() 273 return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); in makePopulatedMap() 297 return ImmutableMap.of( in makePopulatedMap() 320 return ImmutableMap.of(); in makeEmptyMap() 326 return ImmutableMap.of(0, unhashables.e0(), 1, unhashables.e1(), 2, unhashables.e2()); in makePopulatedMap() 345 return ImmutableMap.of(0, unhashables.e0()); in makePopulatedMap() [all …]
|
D | ImmutableEnumMapTest.java | 87 ImmutableMap<AnEnum, AnEnum> copy = Maps.immutableEnumMap(map); in testIteratesOnce() 92 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); in testEmptyImmutableEnumMap() 93 assertEquals(ImmutableMap.of(), map); in testEmptyImmutableEnumMap() 97 ImmutableMap<AnEnum, String> map = in testImmutableEnumMapOrdering() 98 Maps.immutableEnumMap(ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e")); in testImmutableEnumMapOrdering() 109 Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector = in testToImmutableEnumMap() 111 Equivalence<ImmutableMap<AnEnum, Integer>> equivalence = in testToImmutableEnumMap() 112 Equivalence.equals().<Entry<AnEnum, Integer>>pairwise().onResultOf(ImmutableMap::entrySet); in testToImmutableEnumMap() 115 ImmutableMap.of(AnEnum.A, 1, AnEnum.C, 2, AnEnum.E, 3), in testToImmutableEnumMap() 122 Collector<Entry<AnEnum, Integer>, ?, ImmutableMap<AnEnum, Integer>> collector = in testToImmutableMap_exceptionOnDuplicateKey() [all …]
|
D | MapsTest.java | 208 ImmutableMap.of( in testLinkedHashMapWithInitialMap() 408 Map<Integer, String> left = ImmutableMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e"); in testMapDifferenceTypical() 409 Map<Integer, String> right = ImmutableMap.of(1, "a", 3, "f", 5, "g", 6, "z"); in testMapDifferenceTypical() 413 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); in testMapDifferenceTypical() 414 assertEquals(ImmutableMap.of(6, "z"), diff1.entriesOnlyOnRight()); in testMapDifferenceTypical() 415 assertEquals(ImmutableMap.of(1, "a"), diff1.entriesInCommon()); in testMapDifferenceTypical() 417 ImmutableMap.of( in testMapDifferenceTypical() 427 assertEquals(ImmutableMap.of(6, "z"), diff2.entriesOnlyOnLeft()); in testMapDifferenceTypical() 428 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff2.entriesOnlyOnRight()); in testMapDifferenceTypical() 429 assertEquals(ImmutableMap.of(1, "a"), diff2.entriesInCommon()); in testMapDifferenceTypical() [all …]
|
D | RegularImmutableTableTest.java | 104 assertEquals(ImmutableMap.of('a', "foo", 'b', "bar"), testInstance.column(1)); in testColumn() 105 assertEquals(ImmutableMap.of('a', "baz"), testInstance.column(2)); in testColumn() 106 assertEquals(ImmutableMap.of(), testInstance.column(3)); in testColumn() 119 ImmutableMap.of( in testColumnMap() 120 1, ImmutableMap.of('a', "foo", 'b', "bar"), 2, ImmutableMap.of('a', "baz")), in testColumnMap() 153 assertEquals(ImmutableMap.of(1, "foo", 2, "baz"), testInstance.row('a')); in testRow() 154 assertEquals(ImmutableMap.of(1, "bar"), testInstance.row('b')); in testRow() 155 assertEquals(ImmutableMap.of(), testInstance.row('c')); in testRow() 168 ImmutableMap.of('a', ImmutableMap.of(1, "foo", 2, "baz"), 'b', ImmutableMap.of(1, "bar")), in testRowMap()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ImmutableMapTest.java | 26 import com.google.common.collect.ImmutableMap.Builder; 203 return ImmutableMap.of(); in makeEmptyMap() 208 return ImmutableMap.of("one", 1, "two", 2, "three", 3); in makePopulatedMap() 225 return ImmutableMap.of("one", 1); in makePopulatedMap() 243 return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); in makePopulatedMap() 267 return ImmutableMap.of( in makePopulatedMap() 290 return ImmutableMap.of(); in makeEmptyMap() 296 return ImmutableMap.of(0, unhashables.e0(), 1, unhashables.e1(), 2, unhashables.e2()); in makePopulatedMap() 315 return ImmutableMap.of(0, unhashables.e0()); in makePopulatedMap() 321 ImmutableMap<String, Integer> map = new Builder<String, Integer>().build(); in testEmptyBuilder() [all …]
|
D | MapsTest.java | 208 ImmutableMap.of( in testLinkedHashMapWithInitialMap() 408 Map<Integer, String> left = ImmutableMap.of(1, "a", 2, "b", 3, "c", 4, "d", 5, "e"); in testMapDifferenceTypical() 409 Map<Integer, String> right = ImmutableMap.of(1, "a", 3, "f", 5, "g", 6, "z"); in testMapDifferenceTypical() 413 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff1.entriesOnlyOnLeft()); in testMapDifferenceTypical() 414 assertEquals(ImmutableMap.of(6, "z"), diff1.entriesOnlyOnRight()); in testMapDifferenceTypical() 415 assertEquals(ImmutableMap.of(1, "a"), diff1.entriesInCommon()); in testMapDifferenceTypical() 417 ImmutableMap.of( in testMapDifferenceTypical() 427 assertEquals(ImmutableMap.of(6, "z"), diff2.entriesOnlyOnLeft()); in testMapDifferenceTypical() 428 assertEquals(ImmutableMap.of(2, "b", 4, "d"), diff2.entriesOnlyOnRight()); in testMapDifferenceTypical() 429 assertEquals(ImmutableMap.of(1, "a"), diff2.entriesInCommon()); in testMapDifferenceTypical() [all …]
|
D | RegularImmutableTableTest.java | 104 assertEquals(ImmutableMap.of('a', "foo", 'b', "bar"), testInstance.column(1)); in testColumn() 105 assertEquals(ImmutableMap.of('a', "baz"), testInstance.column(2)); in testColumn() 106 assertEquals(ImmutableMap.of(), testInstance.column(3)); in testColumn() 119 ImmutableMap.of( in testColumnMap() 120 1, ImmutableMap.of('a', "foo", 'b', "bar"), 2, ImmutableMap.of('a', "baz")), in testColumnMap() 153 assertEquals(ImmutableMap.of(1, "foo", 2, "baz"), testInstance.row('a')); in testRow() 154 assertEquals(ImmutableMap.of(1, "bar"), testInstance.row('b')); in testRow() 155 assertEquals(ImmutableMap.of(), testInstance.row('c')); in testRow() 168 ImmutableMap.of('a', ImmutableMap.of(1, "foo", 2, "baz"), 'b', ImmutableMap.of(1, "bar")), in testRowMap()
|
/external/guava/guava/src/com/google/common/collect/ |
D | SparseImmutableTable.java | 34 private final ImmutableMap<R, ImmutableMap<C, V>> rowMap; 35 private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; 80 ImmutableMap.Builder<R, ImmutableMap<C, V>> rowBuilder = in SparseImmutableTable() 81 new ImmutableMap.Builder<>(rows.size()); in SparseImmutableTable() 83 rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue())); in SparseImmutableTable() 87 ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder = in SparseImmutableTable() 88 new ImmutableMap.Builder<>(columns.size()); in SparseImmutableTable() 90 columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue())); in SparseImmutableTable() 96 public ImmutableMap<C, Map<R, V>> columnMap() { in columnMap() 98 ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap; in columnMap() [all …]
|
D | DenseImmutableTable.java | 20 import com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap; 32 private final ImmutableMap<R, Integer> rowKeyToIndex; 33 private final ImmutableMap<C, Integer> columnKeyToIndex; 34 private final ImmutableMap<R, ImmutableMap<C, V>> rowMap; 35 private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; 97 abstract ImmutableMap<K, Integer> keyToIndex(); in keyToIndex() 158 ImmutableMap<C, Integer> keyToIndex() { in keyToIndex() 183 ImmutableMap<R, Integer> keyToIndex() { in keyToIndex() 200 private final class RowMap extends ImmutableArrayMap<R, ImmutableMap<C, V>> { 206 ImmutableMap<R, Integer> keyToIndex() { in keyToIndex() [all …]
|
D | SingletonImmutableTable.java | 47 public ImmutableMap<R, V> column(C columnKey) { in column() 50 ? ImmutableMap.of(singleRowKey, singleValue) in column() 51 : ImmutableMap.<R, V>of(); in column() 55 public ImmutableMap<C, Map<R, V>> columnMap() { in columnMap() 56 return ImmutableMap.of(singleColumnKey, (Map<R, V>) ImmutableMap.of(singleRowKey, singleValue)); in columnMap() 60 public ImmutableMap<R, Map<C, V>> rowMap() { in rowMap() 61 return ImmutableMap.of(singleRowKey, (Map<C, V>) ImmutableMap.of(singleColumnKey, singleValue)); in rowMap()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | SparseImmutableTable.java | 34 private final ImmutableMap<R, ImmutableMap<C, V>> rowMap; 35 private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; 80 ImmutableMap.Builder<R, ImmutableMap<C, V>> rowBuilder = in SparseImmutableTable() 81 new ImmutableMap.Builder<>(rows.size()); in SparseImmutableTable() 83 rowBuilder.put(row.getKey(), ImmutableMap.copyOf(row.getValue())); in SparseImmutableTable() 87 ImmutableMap.Builder<C, ImmutableMap<R, V>> columnBuilder = in SparseImmutableTable() 88 new ImmutableMap.Builder<>(columns.size()); in SparseImmutableTable() 90 columnBuilder.put(col.getKey(), ImmutableMap.copyOf(col.getValue())); in SparseImmutableTable() 96 public ImmutableMap<C, Map<R, V>> columnMap() { in columnMap() 98 ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap; in columnMap() [all …]
|
D | DenseImmutableTable.java | 20 import com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap; 32 private final ImmutableMap<R, Integer> rowKeyToIndex; 33 private final ImmutableMap<C, Integer> columnKeyToIndex; 34 private final ImmutableMap<R, ImmutableMap<C, V>> rowMap; 35 private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; 97 abstract ImmutableMap<K, Integer> keyToIndex(); in keyToIndex() 158 ImmutableMap<C, Integer> keyToIndex() { in keyToIndex() 183 ImmutableMap<R, Integer> keyToIndex() { in keyToIndex() 200 private final class RowMap extends ImmutableArrayMap<R, ImmutableMap<C, V>> { 206 ImmutableMap<R, Integer> keyToIndex() { in keyToIndex() [all …]
|
D | SingletonImmutableTable.java | 47 public ImmutableMap<R, V> column(C columnKey) { in column() 50 ? ImmutableMap.of(singleRowKey, singleValue) in column() 51 : ImmutableMap.<R, V>of(); in column() 55 public ImmutableMap<C, Map<R, V>> columnMap() { in columnMap() 56 return ImmutableMap.of(singleColumnKey, (Map<R, V>) ImmutableMap.of(singleRowKey, singleValue)); in columnMap() 60 public ImmutableMap<R, Map<C, V>> rowMap() { in rowMap() 61 return ImmutableMap.of(singleRowKey, (Map<C, V>) ImmutableMap.of(singleColumnKey, singleValue)); in rowMap()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/downloader/ |
D | DownloadedModelManagerImplTest.java | 32 import com.google.common.collect.ImmutableMap; 108 ImmutableMap<String, ManifestsToDownloadByType> manifestsToDownload = in listModels_cacheNotUpdatedUnlessOnDownloadCompleted() 109 ImmutableMap.of( in listModels_cacheNotUpdatedUnlessOnDownloadCompleted() 111 ManifestsToDownloadByType.create(ImmutableMap.of("zh", "manifestUrlZh"))); in listModels_cacheNotUpdatedUnlessOnDownloadCompleted() 184 ImmutableMap<String, ManifestsToDownloadByType> manifestsToDownload = in onDownloadCompleted_newModelDownloaded() 185 ImmutableMap.of( in onDownloadCompleted_newModelDownloaded() 187 ManifestsToDownloadByType.create(ImmutableMap.of("en", "manifestUrl1"))); in onDownloadCompleted_newModelDownloaded() 199 ImmutableMap.of( in onDownloadCompleted_newModelDownloaded() 201 ManifestsToDownloadByType.create(ImmutableMap.of("en", "manifestUrl2"))); in onDownloadCompleted_newModelDownloaded() 216 ImmutableMap<String, ManifestsToDownloadByType> manifestsToDownload = in onDownloadCompleted_newModelDownloadFailed() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableMap.java | 51 public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable { class 52 static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<Object, Object>(); 54 abstract static class IteratorBasedImmutableMap<K, V> extends ImmutableMap<K, V> { 61 ImmutableMap<K, V> map() { in createEntrySet() 73 ImmutableMap() {} 75 public static <T, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( 81 public static <T, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( 90 ImmutableMap::copyOf); 93 public static <K, V> ImmutableMap<K, V> of() { 94 return (ImmutableMap<K, V>) EMPTY; [all …]
|
/external/dagger2/javatests/dagger/android/ |
D | DispatchingAndroidInjectorTest.java | 25 import com.google.common.collect.ImmutableMap; 43 ImmutableMap.of(FooActivity.class, FooInjector.Factory::new), ImmutableMap.of()); in withClassKeys() 53 ImmutableMap.of(), in withStringKeys() 54 ImmutableMap.of(FooActivity.class.getName(), FooInjector.Factory::new)); in withStringKeys() 64 ImmutableMap.of(FooActivity.class, FooInjector.Factory::new), in withMixedKeys() 65 ImmutableMap.of(BarActivity.class.getName(), BarInjector.Factory::new)); in withMixedKeys() 76 newDispatchingAndroidInjector(ImmutableMap.of(), ImmutableMap.of()); in maybeInject_returnsFalse_ifNoMatchingInjectorExists() 86 ImmutableMap.of(FooActivity.class, () -> null), ImmutableMap.of()); in throwsIfFactoryCreateReturnsNull() 100 ImmutableMap.of(FooActivity.class, BarInjector.Factory::new), ImmutableMap.of()); in throwsIfClassMismatched()
|
/external/llvm/include/llvm/ADT/ |
D | ImmutableMap.h | 60 class ImmutableMap { 78 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap() function 82 ImmutableMap(const ImmutableMap &X) : Root(X.Root) { in ImmutableMap() function 86 ImmutableMap &operator=(const ImmutableMap &X) { 95 ~ImmutableMap() { in ~ImmutableMap() 109 ImmutableMap getEmptyMap() { return ImmutableMap(F.getEmptyTree()); } in getEmptyMap() 111 ImmutableMap add(ImmutableMap Old, key_type_ref K, data_type_ref D) { in add() 113 return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); in add() 116 ImmutableMap remove(ImmutableMap Old, key_type_ref K) { in remove() 118 return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); in remove() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | ImmutableMap.h | 62 class ImmutableMap { 80 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) { in ImmutableMap() function 84 ImmutableMap(const ImmutableMap &X) : Root(X.Root) { in ImmutableMap() function 88 ~ImmutableMap() { in ~ImmutableMap() 92 ImmutableMap &operator=(const ImmutableMap &X) { 114 ImmutableMap getEmptyMap() { return ImmutableMap(F.getEmptyTree()); } in getEmptyMap() 116 LLVM_NODISCARD ImmutableMap add(ImmutableMap Old, key_type_ref K, in add() 119 return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); in add() 122 LLVM_NODISCARD ImmutableMap remove(ImmutableMap Old, key_type_ref K) { in remove() 124 return ImmutableMap(Canonicalize ? F.getCanonicalTree(T): T); in remove() [all …]
|
/external/desugar/java/com/google/devtools/common/options/ |
D | OptionFilterDescriptions.java | 16 import com.google.common.collect.ImmutableMap; 40 static ImmutableMap<OptionDocumentationCategory, String> getOptionCategoriesEnumDescription( in getOptionCategoriesEnumDescription() 42 ImmutableMap.Builder<OptionDocumentationCategory, String> optionCategoriesBuilder = in getOptionCategoriesEnumDescription() 43 ImmutableMap.builder(); in getOptionCategoriesEnumDescription() 89 public static ImmutableMap<OptionEffectTag, String> getOptionEffectTagDescription( in getOptionEffectTagDescription() 91 ImmutableMap.Builder<OptionEffectTag, String> effectTagDescriptionBuilder = in getOptionEffectTagDescription() 92 ImmutableMap.builder(); in getOptionEffectTagDescription() 156 public static ImmutableMap<OptionMetadataTag, String> getOptionMetadataTagDescription( in getOptionMetadataTagDescription() 158 ImmutableMap.Builder<OptionMetadataTag, String> effectTagDescriptionBuilder = in getOptionMetadataTagDescription() 159 ImmutableMap.builder(); in getOptionMetadataTagDescription()
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
D | CaliperConfig.java | 35 import com.google.common.collect.ImmutableMap; 54 @VisibleForTesting final ImmutableMap<String, String> properties; 55 private final ImmutableMap<Class<? extends ResultProcessor>, ResultProcessorConfig> 59 public CaliperConfig(ImmutableMap<String, String> properties) in CaliperConfig() 68 ImmutableMap<String, String> groupProperties, Class<T> type) in mapGroupNamesToClasses() 89 private static ImmutableMap<Class<? extends ResultProcessor>, ResultProcessorConfig> 90 findResultProcessorConfigs(ImmutableMap<String, String> resultsProperties) in findResultProcessorConfigs() 94 ImmutableMap.Builder<Class<? extends ResultProcessor>, ResultProcessorConfig> builder = in findResultProcessorConfigs() 95 ImmutableMap.builder(); in findResultProcessorConfigs() 102 public ImmutableMap<String, String> properties() { in properties() [all …]
|
/external/caliper/caliper/src/test/java/com/google/caliper/config/ |
D | CaliperConfigTest.java | 27 import com.google.common.collect.ImmutableMap; 52 ImmutableMap.of("vm.args", "-very -special=args")); in getDefaultVmConfig() 67 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig_baseDirectoryAndName() 77 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig_baseDirectoryAndHome() 86 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig() 103 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getVmConfig_escapedSpacesInArgs() 116 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getInstrumentConfig() 130 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getInstrumentConfig_notConfigured() 140 CaliperConfig configuration = new CaliperConfig(ImmutableMap.of( in getConfiguredInstruments() 152 new CaliperConfig(ImmutableMap.<String, String>of()).getConfiguredResultProcessors()); in getConfiguredResultProcessors() [all …]
|
/external/turbine/javatests/com/google/turbine/model/ |
D | ConstTest.java | 22 import com.google.common.collect.ImmutableMap; 77 ImmutableMap.of("value", new Const.IntValue(3)))), in equalsTest() 83 ImmutableMap.of("value", new Const.IntValue(3))))) in equalsTest() 90 ImmutableMap.of("value", new Const.IntValue(4)))), in equalsTest() 96 ImmutableMap.of("value", new Const.IntValue(4))))) in equalsTest() 114 assertThat(makeAnno(ImmutableMap.of())).isEqualTo("@p.Anno"); in toStringTest() 115 assertThat(makeAnno(ImmutableMap.of("value", new IntValue(1)))).isEqualTo("@p.Anno(1)"); in toStringTest() 116 assertThat(makeAnno(ImmutableMap.of("x", new IntValue(1)))).isEqualTo("@p.Anno(x=1)"); in toStringTest() 119 ImmutableMap.of("value", new ArrayInitValue(ImmutableList.of(new IntValue(1)))))) in toStringTest() 123 ImmutableMap.of( in toStringTest() [all …]
|