diff options
author | Paul Duffin <paulduffin@google.com> | 2015-01-19 12:46:40 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-19 12:46:40 +0000 |
commit | aab56800fcb95e9b1a2d653588b14158080cc6b4 (patch) | |
tree | 7365392c3ea77742021cf187acfd465f9bb774ab /guava-tests/test/com/google/common/collect/TableCollectionTest.java | |
parent | 6fa98dbaae182b511fbeb331e08f5fb827715ea8 (diff) | |
parent | 84fb43aa6a1e752487f2624055ff26b1b6b7c043 (diff) | |
download | android_external_guava-aab56800fcb95e9b1a2d653588b14158080cc6b4.tar.gz android_external_guava-aab56800fcb95e9b1a2d653588b14158080cc6b4.tar.bz2 android_external_guava-aab56800fcb95e9b1a2d653588b14158080cc6b4.zip |
am 84fb43aa: Merge "Revert "Upgraded Guava to unmodified v14.0.1""
* commit '84fb43aa6a1e752487f2624055ff26b1b6b7c043':
Revert "Upgraded Guava to unmodified v14.0.1"
Diffstat (limited to 'guava-tests/test/com/google/common/collect/TableCollectionTest.java')
-rw-r--r-- | guava-tests/test/com/google/common/collect/TableCollectionTest.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/guava-tests/test/com/google/common/collect/TableCollectionTest.java b/guava-tests/test/com/google/common/collect/TableCollectionTest.java index 2e85311..9eed028 100644 --- a/guava-tests/test/com/google/common/collect/TableCollectionTest.java +++ b/guava-tests/test/com/google/common/collect/TableCollectionTest.java @@ -70,14 +70,14 @@ public class TableCollectionTest extends TestCase { private static final Feature<?>[] COLLECTION_FEATURES_REMOVE = { CollectionSize.ANY, - CollectionFeature.SUPPORTS_REMOVE, + CollectionFeature.REMOVE_OPERATIONS, CollectionFeature.ALLOWS_NULL_QUERIES }; private static final Feature<?>[] COLLECTION_FEATURES_REMOVE_ORDER = { CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, - CollectionFeature.SUPPORTS_REMOVE, + CollectionFeature.REMOVE_OPERATIONS, CollectionFeature.ALLOWS_NULL_QUERIES }; @@ -214,7 +214,7 @@ public class TableCollectionTest extends TestCase { .named("TreeBasedTable.rowKeySet.subSet") .withFeatures(COLLECTION_FEATURES_REMOVE_ORDER) .createTestSuite()); - + suite.addTest(SetTestSuiteBuilder.using(new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { Table<String, Integer, Character> table = HashBasedTable.create(); @@ -458,7 +458,7 @@ public class TableCollectionTest extends TestCase { } }) .named("HashBasedTable.cellSet") - .withFeatures(CollectionSize.ANY, CollectionFeature.SUPPORTS_REMOVE, + .withFeatures(CollectionSize.ANY, CollectionFeature.REMOVE_OPERATIONS, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); @@ -468,7 +468,7 @@ public class TableCollectionTest extends TestCase { } }) .named("TreeBasedTable.cellSet") - .withFeatures(CollectionSize.ANY, CollectionFeature.SUPPORTS_REMOVE, + .withFeatures(CollectionSize.ANY, CollectionFeature.REMOVE_OPERATIONS, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); @@ -480,7 +480,7 @@ public class TableCollectionTest extends TestCase { } }) .named("TransposedTable.cellSet") - .withFeatures(CollectionSize.ANY, CollectionFeature.SUPPORTS_REMOVE, + .withFeatures(CollectionSize.ANY, CollectionFeature.REMOVE_OPERATIONS, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); @@ -502,8 +502,7 @@ public class TableCollectionTest extends TestCase { } }) .named("TransformValues.cellSet") - .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES, - CollectionFeature.SUPPORTS_REMOVE) + .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); suite.addTest(SetTestSuiteBuilder.using(new TestCellSetGenerator() { |