Index: third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java |
diff --git a/third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java b/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java |
similarity index 92% |
rename from third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java |
rename to third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java |
index dc987379fc6b55518a371a5e04d188c4ad157c5e..573cd66543a96fbca634ad4bde84afeaeb48cff6 100644 |
--- a/third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java |
+++ b/third_party/protobuf/java/core/src/test/java/com/google/protobuf/UnknownFieldSetLiteTest.java |
@@ -47,46 +47,6 @@ import java.io.IOException; |
* @author dweis@google.com (Daniel Weis) |
*/ |
public class UnknownFieldSetLiteTest extends TestCase { |
- |
- public void testNoDataIsDefaultInstance() { |
- assertSame( |
- UnknownFieldSetLite.getDefaultInstance(), |
- UnknownFieldSetLite.newBuilder() |
- .build()); |
- } |
- |
- public void testBuilderReuse() throws IOException { |
- UnknownFieldSetLite.Builder builder = UnknownFieldSetLite.newBuilder(); |
- builder.mergeVarintField(10, 2); |
- builder.build(); |
- |
- try { |
- builder.build(); |
- fail(); |
- } catch (UnsupportedOperationException e) { |
- // Expected. |
- } |
- |
- try { |
- builder.mergeFieldFrom(0, CodedInputStream.newInstance(new byte[0])); |
- fail(); |
- } catch (UnsupportedOperationException e) { |
- // Expected. |
- } |
- |
- try { |
- builder.mergeVarintField(5, 1); |
- fail(); |
- } catch (UnsupportedOperationException e) { |
- // Expected. |
- } |
- } |
- |
- public void testBuilderReuse_empty() { |
- UnknownFieldSetLite.Builder builder = UnknownFieldSetLite.newBuilder(); |
- builder.build(); |
- builder.build(); |
- } |
public void testDefaultInstance() { |
UnknownFieldSetLite unknownFields = UnknownFieldSetLite.getDefaultInstance(); |