Home
last modified time | relevance | path

Searched refs:TestMessage (Results 1 – 25 of 50) sorted by relevance

12

/external/protobuf/ruby/tests/
Drepeated_field_test.rb9 m = TestMessage.new
10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name|
16 m = TestMessage.new
17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods)
28 m = TestMessage.new
29 repeated_field_names(TestMessage).each do |field_name|
48 m = TestMessage.new
49 repeated_field_names(TestMessage).each do |field_name|
68 m = TestMessage.new
69 repeated_field_names(TestMessage).each do |field_name|
[all …]
Dbasic.rb103 TestMessage = pool.lookup("TestMessage").msgclass constant
122 m = TestMessage.new
137 m = TestMessage.new
162 m = TestMessage.new(:optional_int32 => -42,
176 m = TestMessage.new(:optional_int32 => -42,
185 m1 = TestMessage.new(:optional_int32 => 42)
186 m2 = TestMessage.new(:optional_int32 => 102)
196 TestMessage.new.hello
201 TestMessage.new.hello = "world"
208 TestMessage.new(:hello => "world")
[all …]
Dstress.rb18 TestMessage = pool.lookup("TestMessage").msgclass constant
23 TestMessage.new(:a => 1000,
29 data = TestMessage.encode(m)
31 mnew = TestMessage.decode(data)
34 assert TestMessage.encode(mnew) == data
Dgenerated_code.proto5 message TestMessage { message
16 TestMessage optional_msg = 11;
28 repeated TestMessage repeated_msg = 31;
41 TestMessage oneof_msg = 51;
50 map<string, TestMessage> map_string_msg = 67;
/external/skia/tests/
DMessageBusTest.cpp11 struct TestMessage { struct
15 DECLARE_SKMESSAGEBUS_MESSAGE(TestMessage) argument
19 SkMessageBus<TestMessage>::Inbox inbox1, inbox2; in DEF_TEST()
22 const TestMessage m1 = { 5, 4.2f }; in DEF_TEST()
23 const TestMessage m2 = { 6, 4.3f }; in DEF_TEST()
24 SkMessageBus<TestMessage>::Post(m1); in DEF_TEST()
25 SkMessageBus<TestMessage>::Post(m2); in DEF_TEST()
28 SkTArray<TestMessage> messages; in DEF_TEST()
35 const TestMessage m3 = { 1, 0.3f }; in DEF_TEST()
36 SkMessageBus<TestMessage>::Post(m3); in DEF_TEST()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generated_code.proto5 message TestMessage { message
16 TestMessage optional_msg = 11;
28 repeated TestMessage repeated_msg = 31;
41 TestMessage oneof_msg = 51;
50 map<string, TestMessage> map_string_msg = 67;
/external/libmojo/mojo/public/js/test/
Dvalidation_test_input_parser.js138 function TestMessage(byteLength) { class
150 TestMessage.prototype.addNumber = function(item) { class
202 TestMessage.prototype.addByte = function(item) {
212 TestMessage.prototype.addDistance = function(item) {
218 TestMessage.prototype.addAnchor = function(item) {
235 TestMessage.prototype.addHandles = function(item) {
241 TestMessage.prototype.addItem = function(item) {
258 TestMessage.prototype.unanchoredDistances = function() {
282 var msg = new TestMessage(messageLength);
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py102 message = json_format_proto3_pb2.TestMessage()
112 message = json_format_proto3_pb2.TestMessage()
115 parsed_message = json_format_proto3_pb2.TestMessage()
119 message = json_format_proto3_pb2.TestMessage(
125 parsed_message = json_format_proto3_pb2.TestMessage()
129 message = json_format_proto3_pb2.TestMessage()
157 parsed_message = json_format_proto3_pb2.TestMessage()
162 message = json_format_proto3_pb2.TestMessage()
172 parsed_message = json_format_proto3_pb2.TestMessage()
179 message = json_format_proto3_pb2.TestMessage(
[all …]
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto48 message TestMessage { message
87 optional TestMessage field3 = 3 [deprecated=true];
120 rpc Override(TestMessage) returns (TestMessage);
128 message TestMessage { message
134 repeated TestMessage message_field = 5;
140 optional TestMessage message_field_count = 15;
146 repeated TestMessage MessageField = 25; // NO_PROTO3
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_unittest.py21 class TestMessage(mbim_message.MBIMControlMessage): class
55 message = TestMessage()
66 message = TestMessage(message_type=4, fake=5)
74 message = TestMessage(message_type=3)
86 message = TestMessage(message_type=3, transaction_id=4)
102 message = TestMessage(raw_data=message_data)
115 message = TestMessage(raw_data=message_data)
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc80 using testing::internal::TestMessage;
801 TestMessage* const msg = new TestMessage; in TEST()
803 TestMessage orig_msg; in TEST()
806 Action<void(bool, TestMessage*)> a = SetArgPointee<1>(*msg); in TEST()
813 TestMessage dest; in TEST()
823 TestMessage* const msg = new TestMessage; in TEST()
825 TestMessage orig_msg; in TEST()
835 TestMessage dest; in TEST()
920 TestMessage* const msg = new TestMessage; in TEST()
922 TestMessage orig_msg; in TEST()
[all …]
/external/googletest/googlemock/test/
Dgmock-actions_test.cc82 using testing::internal::TestMessage;
886 TestMessage* const msg = new TestMessage; in TEST()
888 TestMessage orig_msg; in TEST()
891 Action<void(bool, TestMessage*)> a = SetArgPointee<1>(*msg); in TEST()
898 TestMessage dest; in TEST()
908 TestMessage* const msg = new TestMessage; in TEST()
910 TestMessage orig_msg; in TEST()
920 TestMessage dest; in TEST()
1005 TestMessage* const msg = new TestMessage; in TEST()
1007 TestMessage orig_msg; in TEST()
[all …]
/external/v8/testing/gmock/test/
Dgmock-actions_test.cc82 using testing::internal::TestMessage;
886 TestMessage* const msg = new TestMessage; in TEST()
888 TestMessage orig_msg; in TEST()
891 Action<void(bool, TestMessage*)> a = SetArgPointee<1>(*msg); in TEST()
898 TestMessage dest; in TEST()
908 TestMessage* const msg = new TestMessage; in TEST()
910 TestMessage orig_msg; in TEST()
920 TestMessage dest; in TEST()
1005 TestMessage* const msg = new TestMessage; in TEST()
1007 TestMessage orig_msg; in TEST()
[all …]
/external/protobuf/src/google/protobuf/
Dunittest_no_generic_services.proto39 message TestMessage { message
48 extend TestMessage {
53 rpc Foo(TestMessage) returns(TestMessage);
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc49 using proto3::TestMessage;
92 TestMessage m; in TEST_F()
106 TestMessage m; in TEST_F()
150 TestMessage m; in TEST_F()
173 TestMessage m; in TEST_F()
/external/testng/src/main/java/org/testng/remote/strprotocol/
DAbstractRemoteTestRunnerClient.java156 protected abstract void notifyTestEvents(final TestMessage testMessage); in notifyTestEvents()
187 else if (message instanceof TestMessage) { in run()
188 notifyTestEvents((TestMessage) message); in run()
DTestMessage.java11 public class TestMessage implements IStringMessage { class
22 public TestMessage(final boolean isTestStart, in TestMessage() method in TestMessage
40 public TestMessage(final ITestContext testContext, final boolean isTestStart) { in TestMessage() method in TestMessage
DIRemoteTestListener.java12 void onStart(TestMessage tm); in onStart()
14 void onFinish(TestMessage tm); in onFinish()
DRemoteTestListener.java29 m_sender.sendMessage(new TestMessage(testCtx, true /*start*/)); in onStart()
34 m_sender.sendMessage(new TestMessage(testCtx, false /*end*/)); in onFinish()
/external/testng/src/main/java/org/testng/xml/
DResultXMLParser.java8 import org.testng.remote.strprotocol.TestMessage;
71 public void onStart(TestMessage tm) { in main()
75 public void onFinish(TestMessage tm) { in main()
DResultContentHandler.java20 import org.testng.remote.strprotocol.TestMessage;
38 private TestMessage m_currentTest;
68 m_currentTest = new TestMessage(true /* start */, m_currentSuite.getSuiteName(), in startElement()
111 m_currentTest = new TestMessage(false /* start */, m_currentSuite.getSuiteName(), in endElement()
/external/deqp/execserver/
DxsProtocol.hpp177 class TestMessage : public Message class
182 TestMessage (const deUint8* data, size_t dataSize);
183 ~TestMessage (void) {} in ~TestMessage()
DxsProtocol.cpp177 TestMessage::TestMessage (const deUint8* data, size_t dataSize) in TestMessage() function in xs::TestMessage
185 void TestMessage::write (vector<deUint8>& buf) const in write()
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker_unittest.cc83 dbus_utils_test::TestMessage msg; in CreateResponse()
120 dbus_utils_test::TestMessage CallProtobufTestMethod( in CallProtobufTestMethod()
121 const dbus_utils_test::TestMessage& message) { in CallProtobufTestMethod()
127 dbus_utils_test::TestMessage result; in CallProtobufTestMethod()
168 dbus_utils_test::TestMessage test_message; in TEST_F()
172 dbus_utils_test::TestMessage resp = CallProtobufTestMethod(test_message); in TEST_F()
/external/webrtc/webrtc/base/
Dthread_unittest.cc41 struct TestMessage : public MessageData { struct
42 explicit TestMessage(int v) : value(v) {} in TestMessage() function
43 virtual ~TestMessage() {} in ~TestMessage() argument
72 post_thread_->PostDelayed(200, post_handler_, 0, new TestMessage(result)); in OnPacket()
93 TestMessage* msg = static_cast<TestMessage*>(pmsg->pdata); in OnMessage()
211 th1.PostDelayed(100, &msg_client, 0, new TestMessage(1)); in TEST()

12