OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testAllTypes
(Results
1 - 3
of
3
) sorted by null
/external/protobuf/java/core/src/test/java/com/google/protobuf/
UnknownFieldSetLiteTest.java
280
TestAllTypesLite
testAllTypes
= TestAllTypesLite.getDefaultInstance();
282
testAllTypes
.unknownFields.checkMutable();
286
testAllTypes
= TestAllTypesLite.parseFrom(new byte[0]);
288
testAllTypes
.unknownFields.checkMutable();
292
testAllTypes
= TestAllTypesLite.newBuilder().build();
294
testAllTypes
.unknownFields.checkMutable();
298
testAllTypes
= TestAllTypesLite.newBuilder()
302
testAllTypes
.unknownFields.checkMutable();
CodedOutputStreamTest.java
35
import protobuf_unittest.UnittestProto.
TestAllTypes
;
318
TestAllTypes
message = TestUtil.getAllSet();
658
TestAllTypes
testAllTypes
=
TestAllTypes
.newBuilder().setOptionalString(fullString).build();
659
Coder coder = outputType.newCoder(
testAllTypes
.getSerializedSize());
660
testAllTypes
.writeTo(coder.stream());
665
TestAllTypes
.parseFrom(coder.toByteArray()).getOptionalString());
TestUtil.java
229
import protobuf_unittest.UnittestProto.
TestAllTypes
;
243
* Contains methods for setting all fields of {@code
TestAllTypes
} to
263
* Get a {@code
TestAllTypes
} with all fields set as they would be by
264
* {@link #setAllFields(
TestAllTypes
.Builder)}.
266
public static
TestAllTypes
getAllSet() {
267
TestAllTypes
.Builder builder =
TestAllTypes
.newBuilder();
273
* Get a {@code
TestAllTypes
.Builder} with all fields set as they would be by
274
* {@link #setAllFields(
TestAllTypes
.Builder)}.
276
public static
TestAllTypes
.Builder getAllSetBuilder()
[
all
...]
Completed in 183 milliseconds