/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | SortedMultisetTestSuiteBuilder.java | 83 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createElementSetTestSuite() argument 86 .using(new ElementSetGenerator<E>(parentBuilder.getSubjectGenerator())) in createElementSetTestSuite() 88 .withFeatures(computeElementSetFeatures(parentBuilder.getFeatures())) in createElementSetTestSuite() 89 .suppressing(parentBuilder.getSuppressedTests()) in createElementSetTestSuite() 114 SortedMultisetTestSuiteBuilder<E> parentBuilder) { in createDerivedSuites() argument 117 if (!parentBuilder.getFeatures().contains(NoRecurse.DESCENDING)) { in createDerivedSuites() 118 derivedSuites.add(createDescendingSuite(parentBuilder)); in createDerivedSuites() 121 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 122 derivedSuites.add(createReserializedSuite(parentBuilder)); in createDerivedSuites() 125 if (!parentBuilder.getFeatures().contains(NoRecurse.SUBMULTISET)) { in createDerivedSuites() [all …]
|
D | SetMultimapTestSuiteBuilder.java | 67 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite() argument 69 new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeMultimapGetTestSuite() 70 .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures())) in computeMultimapGetTestSuite() 71 .named(parentBuilder.getName() + ".get[key]") in computeMultimapGetTestSuite() 72 .suppressing(parentBuilder.getSuppressedTests()) in computeMultimapGetTestSuite() 79 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite() argument 80 Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); in computeMultimapAsMapGetTestSuite() 85 new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeMultimapAsMapGetTestSuite() 87 .named(parentBuilder.getName() + ".asMap[].get[key]") in computeMultimapAsMapGetTestSuite() 88 .suppressing(parentBuilder.getSuppressedTests()) in computeMultimapAsMapGetTestSuite() [all …]
|
D | BiMapTestSuiteBuilder.java | 82 ? extends OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>>> parentBuilder) { in createDerivedSuites() argument 83 List<TestSuite> derived = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 87 .using(new MapGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 88 .withFeatures(parentBuilder.getFeatures()) in createDerivedSuites() 89 .named(parentBuilder.getName() + " [Map]") in createDerivedSuites() 90 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites() 99 .using(new BiMapValueSetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 100 .withFeatures(computeValuesSetFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 101 .named(parentBuilder.getName() + " values [Set]") in createDerivedSuites() 102 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites() [all …]
|
D | SortedSetMultimapTestSuiteBuilder.java | 67 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite() argument 70 parentBuilder.getSubjectGenerator())) in computeMultimapGetTestSuite() 71 .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures())) in computeMultimapGetTestSuite() 72 .named(parentBuilder.getName() + ".get[key]") in computeMultimapGetTestSuite() 73 .suppressing(parentBuilder.getSuppressedTests()) in computeMultimapGetTestSuite() 80 OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite() argument 81 Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); in computeMultimapAsMapGetTestSuite() 87 parentBuilder.getSubjectGenerator())) in computeMultimapAsMapGetTestSuite() 89 .named(parentBuilder.getName() + ".asMap[].get[key]") in computeMultimapAsMapGetTestSuite() 90 .suppressing(parentBuilder.getSuppressedTests()) in computeMultimapAsMapGetTestSuite()
|
D | MultimapTestSuiteBuilder.java | 107 parentBuilder) { in createDerivedSuites() argument 112 List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 114 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 116 new ReserializedMultimapGenerator<K, V, M>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 117 .withFeatures(computeReserializedMultimapFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 118 .named(parentBuilder.getName() + " reserialized") in createDerivedSuites() 119 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites() 124 new AsMapGenerator<K, V, M>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 125 .withFeatures(computeAsMapFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 126 .named(parentBuilder.getName() + ".asMap") in createDerivedSuites() [all …]
|
D | ListMultimapTestSuiteBuilder.java | 69 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite() argument 71 new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeMultimapGetTestSuite() 72 .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures())) in computeMultimapGetTestSuite() 73 .named(parentBuilder.getName() + ".get[key]") in computeMultimapGetTestSuite() 74 .suppressing(parentBuilder.getSuppressedTests()) in computeMultimapGetTestSuite() 81 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite() argument 82 Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); in computeMultimapAsMapGetTestSuite() 87 new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in computeMultimapAsMapGetTestSuite() 89 .named(parentBuilder.getName() + ".asMap[].get[key]") in computeMultimapAsMapGetTestSuite() 90 .suppressing(parentBuilder.getSuppressedTests()) in computeMultimapAsMapGetTestSuite()
|
D | MultisetTestSuiteBuilder.java | 128 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createDerivedSuites() argument 130 super.createDerivedSuites(parentBuilder)); in createDerivedSuites() 132 derivedSuites.add(createElementSetTestSuite(parentBuilder)); in createDerivedSuites() 134 if (!parentBuilder.getFeatures().contains(NoRecurse.NO_ENTRY_SET)) { in createDerivedSuites() 136 SetTestSuiteBuilder.using(new EntrySetGenerator<E>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 138 .withFeatures(computeEntrySetFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 139 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites() 143 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 145 .using(new ReserializedMultisetGenerator<E>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 147 .withFeatures(computeReserializedMultisetFeatures(parentBuilder.getFeatures())) in createDerivedSuites() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | NavigableSetTestSuiteBuilder.java | 51 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createDerivedSuites() argument 53 super.createDerivedSuites(parentBuilder)); in createDerivedSuites() 55 if (!parentBuilder.getFeatures().contains(CollectionFeature.SUBSET_VIEW)) { in createDerivedSuites() 57 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites() 58 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites() 59 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites() 60 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites() 61 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites() 63 if (!parentBuilder.getFeatures().contains(CollectionFeature.DESCENDING_VIEW)) { in createDerivedSuites() 64 derivedSuites.add(createDescendingSuite(parentBuilder)); in createDerivedSuites() [all …]
|
D | SortedSetTestSuiteBuilder.java | 62 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createDerivedSuites() argument 63 List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 65 if (!parentBuilder.getFeatures().contains(CollectionFeature.SUBSET_VIEW)) { in createDerivedSuites() 66 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites() 67 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites() 68 derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites() 83 parentBuilder, final Bound from, final Bound to) { in createSubsetSuite() argument 85 = (TestSortedSetGenerator<E>) parentBuilder.getSubjectGenerator().getInnerGenerator(); in createSubsetSuite() 88 features.addAll(parentBuilder.getFeatures()); in createSubsetSuite() 93 .named(parentBuilder.getName() + " subSet " + from + "-" + to) in createSubsetSuite() [all …]
|
D | MapTestSuiteBuilder.java | 93 parentBuilder) { in createDerivedSuites() argument 98 List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 100 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 102 new ReserializedMapGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 103 .withFeatures(computeReserializedMapFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 104 .named(parentBuilder.getName() + " reserialized") in createDerivedSuites() 105 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites() 110 new MapEntrySetGenerator<K, V>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 111 .withFeatures(computeEntrySetFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 112 .named(parentBuilder.getName() + " entrySet") in createDerivedSuites() [all …]
|
D | NavigableMapTestSuiteBuilder.java | 56 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { in createDerivedSuites() argument 57 List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 59 if (!parentBuilder.getFeatures().contains(NoRecurse.DESCENDING)) { in createDerivedSuites() 60 derivedSuites.add(createDescendingSuite(parentBuilder)); in createDerivedSuites() 63 if (!parentBuilder.getFeatures().contains(NoRecurse.SUBMAP)) { in createDerivedSuites() 65 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE)); in createDerivedSuites() 66 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites() 67 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites() 68 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites() 69 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.INCLUSIVE)); in createDerivedSuites() [all …]
|
D | SortedMapTestSuiteBuilder.java | 63 ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>> parentBuilder) { in createDerivedSuites() argument 64 List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder); in createDerivedSuites() 66 if (!parentBuilder.getFeatures().contains(NoRecurse.SUBMAP)) { in createDerivedSuites() 67 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE)); in createDerivedSuites() 68 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND)); in createDerivedSuites() 69 derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE)); in createDerivedSuites() 105 parentBuilder, final Bound from, final Bound to) { in createSubmapSuite() argument 107 = (TestSortedMapGenerator<K, V>) parentBuilder.getSubjectGenerator().getInnerGenerator(); in createSubmapSuite() 111 features.addAll(parentBuilder.getFeatures()); in createSubmapSuite() 114 .named(parentBuilder.getName() + " subMap " + from + "-" + to) in createSubmapSuite() [all …]
|
D | CollectionTestSuiteBuilder.java | 52 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createDerivedSuites() argument 54 super.createDerivedSuites(parentBuilder)); in createDerivedSuites() 56 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 58 .using(new ReserializedCollectionGenerator<E>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 60 .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 61 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites()
|
D | SetTestSuiteBuilder.java | 73 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createDerivedSuites() argument 75 super.createDerivedSuites(parentBuilder)); in createDerivedSuites() 77 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 79 .using(new ReserializedSetGenerator<E>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 81 .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 82 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites()
|
D | ListTestSuiteBuilder.java | 103 ?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { in createDerivedSuites() argument 105 super.createDerivedSuites(parentBuilder)); in createDerivedSuites() 107 if (parentBuilder.getFeatures().contains(CollectionFeature.SERIALIZABLE)) { in createDerivedSuites() 109 .using(new ReserializedListGenerator<E>(parentBuilder.getSubjectGenerator())) in createDerivedSuites() 111 .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures())) in createDerivedSuites() 112 .suppressing(parentBuilder.getSuppressedTests()) in createDerivedSuites()
|
D | AbstractCollectionTestSuiteBuilder.java | 78 parentBuilder) { in createDerivedSuites() argument 81 .named(parentBuilder.getName()) in createDerivedSuites() 82 .usingGenerator(parentBuilder.getSubjectGenerator()) in createDerivedSuites() 83 .withFeatures(parentBuilder.getFeatures()); in createDerivedSuites()
|
D | PerCollectionSizeTestSuiteBuilder.java | 119 ?, ? extends OneSizeTestContainerGenerator<T, E>> parentBuilder) { in createDerivedSuites() argument
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | MapTest.java | 452 TestOnChangeEventPropagation.Builder parentBuilder = in testNestedBuilderOnChangeEventPropagationReflection() local 454 TestMap.Builder testMapBuilder = parentBuilder.getOptionalMessageBuilder(); in testNestedBuilderOnChangeEventPropagationReflection() 465 TestOnChangeEventPropagation message = parentBuilder.build(); in testNestedBuilderOnChangeEventPropagationReflection() 470 testMapBuilder = parentBuilder.getOptionalMessageBuilder(); in testNestedBuilderOnChangeEventPropagationReflection() 475 message = parentBuilder.build(); in testNestedBuilderOnChangeEventPropagationReflection() 480 testMapBuilder = parentBuilder.getOptionalMessageBuilder(); in testNestedBuilderOnChangeEventPropagationReflection() 484 message = parentBuilder.build(); in testNestedBuilderOnChangeEventPropagationReflection()
|
D | GeneratedMessageTest.java | 1529 NestedTestAllTypes.Builder parentBuilder = NestedTestAllTypes.newBuilder(); in testOneofNestedBuilderOnChangePropagation() local 1530 TestAllTypes.Builder builder = parentBuilder.getPayloadBuilder(); in testOneofNestedBuilderOnChangePropagation() 1533 assertTrue(parentBuilder.hasPayload()); in testOneofNestedBuilderOnChangePropagation() 1534 NestedTestAllTypes message = parentBuilder.build(); in testOneofNestedBuilderOnChangePropagation()
|