Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: third_party/protobuf/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/protobuf/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java
diff --git a/third_party/protobuf/java/src/test/java/com/google/protobuf/ProtobufArrayListTest.java b/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java
similarity index 93%
rename from third_party/protobuf/java/src/test/java/com/google/protobuf/ProtobufArrayListTest.java
rename to third_party/protobuf/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java
index 245c3dee48b69817f5273b266e23f7312323a663..3f45e226af3d70dc705a911b1ddd1e4a19948e80 100644
--- a/third_party/protobuf/java/src/test/java/com/google/protobuf/ProtobufArrayListTest.java
+++ b/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ProtobufArrayListTest.java
@@ -63,20 +63,6 @@ public class ProtobufArrayListTest extends TestCase {
assertImmutable(ProtobufArrayList.<Integer>emptyList());
}
- public void testCopyConstructor() {
- ProtobufArrayList<Integer> copy = new ProtobufArrayList<Integer>(TERTIARY_LIST);
- assertEquals(TERTIARY_LIST, copy);
-
- copy = new ProtobufArrayList<Integer>(IntArrayList.emptyList());
- assertEquals(ProtobufArrayList.emptyList(), copy);
-
- copy = new ProtobufArrayList<Integer>(asList(1, 2, 3));
- assertEquals(asList(1, 2, 3), copy);
-
- copy = new ProtobufArrayList<Integer>(Collections.<Integer>emptyList());
- assertEquals(ProtobufArrayList.emptyList(), copy);
- }
-
public void testModificationWithIteration() {
list.addAll(asList(1, 2, 3, 4));
Iterator<Integer> iterator = list.iterator();

Powered by Google App Engine
This is Rietveld 408576698