/external/protobuf/src/google/protobuf/ |
generated_message_reflection_unittest.cc | 70 TestUtil::ReflectionTester reflection_tester( 94 TestUtil::ReflectionTester reflection_tester( 98 TestUtil::ExpectAllFieldsSet(message); 102 TestUtil::ExpectRepeatedFieldsModified(message); 131 TestUtil::ReflectionTester reflection_tester( 134 TestUtil::SetAllFields(&message); 154 TestUtil::SetAllFields(&message1); 159 TestUtil::ExpectClear(message1); 160 TestUtil::ExpectAllFieldsSet(message2); 167 TestUtil::SetAllFields(&message1) [all...] |
extension_set_unittest.cc | 63 TestUtil::ExpectExtensionsClear(message); 84 TestUtil::SetAllExtensions(&message); 85 TestUtil::ExpectAllExtensionsSet(message); 87 TestUtil::ModifyRepeatedExtensions(&message); 88 TestUtil::ExpectRepeatedExtensionsModified(message); 96 TestUtil::SetAllExtensions(&message); 98 TestUtil::ExpectExtensionsClear(message); 116 TestUtil::SetAllExtensions(&message); 117 TestUtil::ExpectAllExtensionsSet(message); 125 TestUtil::SetAllExtensions(&message) [all...] |
dynamic_message_unittest.cc | 113 TestUtil::ReflectionTester reflection_tester(descriptor_); 122 TestUtil::ReflectionTester reflection_tester(descriptor_); 131 TestUtil::ReflectionTester reflection_tester(extensions_descriptor_); 140 TestUtil::ReflectionTester reflection_tester(packed_descriptor_); 153 TestUtil::ReflectionTester reflection_tester(descriptor_);
|
reflection_ops_unittest.cc | 53 TestUtil::SetAllFields(&message); 54 TestUtil::ExpectAllFieldsSet(message); 60 TestUtil::SetAllFields(&message); 64 TestUtil::ExpectAllFieldsSet(message2); 68 TestUtil::ExpectAllFieldsSet(message2); 74 TestUtil::SetAllExtensions(&message); 78 TestUtil::ExpectAllExtensionsSet(message2); 87 TestUtil::SetAllFields(&message); 105 TestUtil::ExpectAllFieldsSet(message); 114 TestUtil::SetAllExtensions(&message) [all...] |
message_unittest.cc | 75 TestUtil::SetAllFields(&message); 114 TestUtil::ExpectAllFieldsSet(message); 127 TestUtil::ExpectPackedFieldsSet(message); 140 TestUtil::SetAllFields(&message); 148 TestUtil::ExpectAllFieldsSet(message); 157 TestUtil::ExpectAllFieldsSet(message); 167 TestUtil::ExpectAllFieldsSet(message);
|
wire_format_unittest.cc | 83 TestUtil::SetAllFields(&source); 92 TestUtil::ExpectAllFieldsSet(dest); 100 TestUtil::SetAllExtensions(&source); 109 TestUtil::ExpectAllExtensionsSet(dest); 117 TestUtil::SetPackedFields(&source); 126 TestUtil::ExpectPackedFieldsSet(dest); 132 TestUtil::SetUnpackedFields(&source); 142 TestUtil::ExpectPackedFieldsSet(dest); 148 TestUtil::SetPackedFields(&source); 158 TestUtil::ExpectUnpackedFieldsSet(dest) [all...] |
test_util.h | 49 class TestUtil { 168 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TestUtil);
|
test_util.cc | 52 void TestUtil::SetAllFields(unittest::TestAllTypes* message) { 202 void TestUtil::ModifyRepeatedFields(unittest::TestAllTypes* message) { 242 void TestUtil::ExpectAllFieldsSet(const unittest::TestAllTypes& message) { 434 void TestUtil::ExpectClear(const unittest::TestAllTypes& message) { 573 void TestUtil::ExpectRepeatedFieldsModified( 663 void TestUtil::SetPackedFields(unittest::TestPackedTypes* message) { 695 void TestUtil::SetUnpackedFields(unittest::TestUnpackedTypes* message) { 731 void TestUtil::ModifyPackedFields(unittest::TestPackedTypes* message) { 750 void TestUtil::ExpectPackedFieldsSet(const unittest::TestPackedTypes& message) { [all...] |
text_format_unittest.cc | 120 TestUtil::SetAllFields(&proto_); 125 TestUtil::SetAllExtensions(&proto_); 346 TestUtil::ExpectAllFieldsSet(proto_); 353 TestUtil::ExpectAllExtensionsSet(proto_); [all...] |
unknown_field_set_unittest.cc | 62 TestUtil::SetAllFields(&all_fields_); 317 TestUtil::ExpectAllFieldsSet(destination);
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
WireFormatTest.java | 58 TestAllTypes message = TestUtil.getAllSet(); 65 TestUtil.assertAllFieldsSet(message2); 69 TestPackedTypes message = TestUtil.getPackedSet(); 76 TestUtil.assertPackedFieldsSet(message2); 84 TestAllExtensions message = TestUtil.getAllExtensionsSet(); 90 TestUtil.assertAllFieldsSet(message2); 96 TestPackedExtensions message = TestUtil.getPackedExtensionsSet(); 99 TestPackedTypes message2 = TestUtil.getPackedSet(); 110 TestPackedTypes message = TestUtil.getPackedSet(); 124 TestUtil.assertPackedFieldsSet(message2) [all...] |
AbstractMessageTest.java | 175 TestUtil.ReflectionTester reflectionTester = 176 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null); 178 TestUtil.ReflectionTester extensionsReflectionTester = 179 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(), 180 TestUtil.getExtensionRegistry()); 185 TestAllTypes.newBuilder(TestUtil.getAllSet())) 187 TestUtil.assertClear((TestAllTypes) message.wrappedMessage); 193 .mergeFrom(TestUtil.getAllSet()).build(); 194 TestUtil.assertAllFieldsSet((TestAllTypes) message.wrappedMessage); 198 TestAllTypes message = TestUtil.getAllSet() [all...] |
GeneratedMessageTest.java | 61 TestUtil.ReflectionTester reflectionTester = 62 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null); 73 TestUtil.setAllFields(builder); 75 TestUtil.assertAllFieldsSet(message); 168 TestUtil.setAllFields(builder); 169 TestUtil.modifyRepeatedFields(builder); 171 TestUtil.assertRepeatedFieldsModified(message); 186 builder.addRepeatedBytes(TestUtil.toBytes("one")); 187 builder.addRepeatedBytes(TestUtil.toBytes("two")); 270 builder.addAllRepeatedBytes(Arrays.asList(TestUtil.toBytes("one"), null)) [all...] |
DynamicMessageTest.java | 47 TestUtil.ReflectionTester reflectionTester = 48 new TestUtil.ReflectionTester(TestAllTypes.getDescriptor(), null); 50 TestUtil.ReflectionTester extensionsReflectionTester = 51 new TestUtil.ReflectionTester(TestAllExtensions.getDescriptor(), 52 TestUtil.getExtensionRegistry()); 53 TestUtil.ReflectionTester packedReflectionTester = 54 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null); 134 TestAllTypes message = TestUtil.getAllSet(); 154 TestUtil.assertAllFieldsSet(message2); 157 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes) [all...] |
TextFormatTest.java | 66 private static String allFieldsSetText = TestUtil.readTextFromFile( 68 private static String allExtensionsSetText = TestUtil.readTextFromFile( 114 String javaText = TextFormat.printToString(TestUtil.getAllSet()); 126 String javaText = TextFormat.printToString(TestUtil.getAllExtensionsSet()); 285 TestUtil.assertAllFieldsSet(builder.build()); 291 TestUtil.assertAllFieldsSet(builder.build()); 297 TestUtil.getExtensionRegistry(), 299 TestUtil.assertAllExtensionsSet(builder.build()); 387 TextFormat.merge(text, TestUtil.getExtensionRegistry(), builder);
|
CodedInputStreamTest.java | 276 TestAllTypes message = TestUtil.getAllSet(); 282 TestUtil.assertAllFieldsSet(message2); 288 TestUtil.assertAllFieldsSet(message2); 294 TestAllTypes message = TestUtil.getAllSet(); 363 TestUtil.setAllFields(builder); 377 .setOptionalBytes(TestUtil.getAllSet().getOptionalBytes()) 379 TestUtil.assertAllFieldsSet(message3); 447 TestUtil.getAllSet().toByteString().newInput());
|
CodedOutputStreamTest.java | 279 TestAllTypes message = TestUtil.getAllSet(); 282 assertEqualBytes(TestUtil.getGoldenMessage().toByteArray(), rawBytes); 298 TestPackedTypes message = TestUtil.getPackedSet(); 301 assertEqualBytes(TestUtil.getGoldenPackedFieldsMessage().toByteArray(),
|
UnknownFieldSetTest.java | 52 allFields = TestUtil.getAllSet(); 220 TestUtil.assertAllFieldsSet(destination); 313 TestAllExtensions.parseFrom(data, TestUtil.getExtensionRegistry());
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
TestUtil.java | 27 public class TestUtil { 31 public TestUtil() {
|
VideoCapture.java | 20 import com.android.camera.stress.TestUtil; 51 private TestUtil testUtil = new TestUtil(); 59 testUtil.prepareOutputFile(); 65 testUtil.closeOutputFile(); 74 testUtil.writeReportHeader(reportTag, total_num_of_videos); 82 testUtil.writeResult(i);
|
ImageCapture.java | 46 private TestUtil testUtil = new TestUtil(); 58 testUtil.prepareOutputFile(); 64 testUtil.closeOutputFile(); 78 testUtil.writeReportHeader(reportTag, total_num_of_images); 84 testUtil.writeResult(i);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
TestUtil.java | 27 public class TestUtil { 31 public TestUtil() {
|
VideoCapture.java | 21 import com.android.camera.stress.TestUtil; 53 private TestUtil testUtil = new TestUtil(); 61 testUtil.prepareOutputFile(); 67 testUtil.closeOutputFile(); 76 testUtil.writeReportHeader(reportTag, total_num_of_videos); 84 testUtil.writeResult(i);
|
ImageCapture.java | 48 private TestUtil testUtil = new TestUtil(); 60 testUtil.prepareOutputFile(); 66 testUtil.closeOutputFile(); 80 testUtil.writeReportHeader(reportTag, total_num_of_images); 86 testUtil.writeResult(i);
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_unittest.cc | 132 TestUtil::ExpectClear(message); 175 TestUtil::SetAllFields(&message); 176 TestUtil::ExpectAllFieldsSet(message); 178 TestUtil::ModifyRepeatedFields(&message); 179 TestUtil::ExpectRepeatedFieldsModified(message); 203 TestUtil::SetAllFields(&message); 205 TestUtil::ExpectClear(message); 239 TestUtil::SetAllFields(&message); 253 TestUtil::ExpectAllFieldsSet(message); 276 TestUtil::SetAllFields(&message1) [all...] |