/external/python/parse_type/tests/ |
D | test_builder.py | 37 self.assert_match(parser, "Answer: yes", "answer", True) 38 self.assert_match(parser, "Answer: no", "answer", False) 41 self.assert_match(parser, "Answer: YES", "answer", True) 61 self.assert_match(parser, "Answer: one", "number", 1) 62 self.assert_match(parser, "Answer: two", "number", 2) 65 self.assert_match(parser, "Answer: THREE", "number", 3) 92 self.assert_match(parser, "Answer: red", "color", Color.red) 93 self.assert_match(parser, "Answer: green", "color", Color.green) 94 self.assert_match(parser, "Answer: blue", "color", Color.blue) 97 self.assert_match(parser, "Answer: RED", "color", Color.red) [all …]
|
D | test_cardinality_field0.py | 53 self.assert_match(parser, "One: Alice", "person", "Alice") 54 self.assert_match(parser, "One: Bob", "person", "Bob") 71 self.assert_match(parser, "Optional: ", "person", None) 72 self.assert_match(parser, "Optional: Alice", "person", "Alice") 73 self.assert_match(parser, "Optional: Bob", "person", "Bob") 89 self.assert_match(parser, "List: Alice", "persons", [ "Alice" ]) 90 self.assert_match(parser, "List: Bob", "persons", [ "Bob" ]) 91 self.assert_match(parser, "List: Bob, Alice", 110 self.assert_match(parser, "List: ", "persons", [ ]) 111 self.assert_match(parser, "List: Alice", "persons", [ "Alice" ]) [all …]
|
D | test_cfparse.py | 41 self.assert_match(parser, "Number: 42", "number", 42) 42 self.assert_match(parser, "Number: 123", "number", 123) 58 self.assert_match(parser, "OptionalNumber: 42", "number", 42) 59 self.assert_match(parser, "OptionalNumber: 123", "number", 123) 60 self.assert_match(parser, "OptionalNumber: ", "number", None) 76 self.assert_match(parser, "List: 42", "numbers", [42]) 77 self.assert_match(parser, "List: 1, 2, 3", "numbers", [1, 2, 3]) 78 self.assert_match(parser, "List: 4,5,6", "numbers", [4, 5, 6]) 100 self.assert_match(parser, "List: 42", "numbers", [42]) 101 self.assert_match(parser, "List: 1; 2; 3", "numbers", [1, 2, 3]) [all …]
|
D | test_cardinality.py | 125 self.assert_match(parser, "Optional: ", "number", None) 126 self.assert_match(parser, "Optional: 1", "number", 1) 127 self.assert_match(parser, "Optional: 42", "number", 42) 147 self.assert_match(parser, "List: ", "numbers", [ ]) 148 self.assert_match(parser, "List: 1", "numbers", [ 1 ]) 149 self.assert_match(parser, "List: 1, 2", "numbers", [ 1, 2 ]) 150 self.assert_match(parser, "List: 1, 2, 3", "numbers", [ 1, 2, 3 ]) 168 self.assert_match(parser, "List: 1", "numbers", [ 1 ]) 169 self.assert_match(parser, "List: 1, 2", "numbers", [ 1, 2 ]) 170 self.assert_match(parser, "List: 1, 2, 3", "numbers", [ 1, 2, 3 ]) [all …]
|
D | test_parse_decorator.py | 90 self.assert_match(parser, "Test: 1", "number", 1) 91 self.assert_match(parser, "Test: 42", "number", 42) 92 self.assert_match(parser, "Test: 123", "number", 123) 113 self.assert_match(parser, "Test: Alice", "person", "Alice") 114 self.assert_match(parser, "Test: Bob", "person", "Bob")
|
D | parse_type_test.py | 62 def assert_match(self, parser, text, param_name, expected): member in ParseTypeTestCase 95 self.assert_match(parser, text, name, value) 105 self.assert_match(parser, text, name, expected_value) 116 self.assert_match(parser, text, name, expected_value)
|
D | test_parse.py | 806 def assert_match(self, parser, text, param_name, expected): member in TestParseType 832 self.assert_match(parser, "Value is 42 and...", "number", 42) 833 self.assert_match(parser, "Value is 00123 and...", "number", 123) 855 self.assert_match(parser, text, "answer", value) 858 self.assert_match(parser, "Answer: YES", "answer", True) 869 self.assert_match(parser, 'test a', 'result', 1) 870 self.assert_match(parser, 'test b', 'result', 2) 895 self.assert_match(parser2, 'test meter-10', 'unit', 'meter') 896 self.assert_match(parser2, 'test meter-10', 'value', 10) 897 self.assert_match(parser2, 'test kilometer-20', 'unit', 'kilometer') [all …]
|
/external/llvm-project/lldb/test/API/tools/lldb-server/test/ |
D | test_lldbgdbserverutils.py | 13 entry.assert_match(self, "$OK#9a") 17 entry.assert_match(self, "$OK#00") 21 context = entry.assert_match(self, "$OK#9a") 30 context = entry.assert_match(self, "$QC980#00") 38 context = entry.assert_match(self, "$QC980#00") 48 entry.assert_match(self, "$T11thread:980;", context=context) 58 entry.assert_match(self, "$T11thread:970;", context=context)
|
/external/protobuf/ruby/tests/ |
D | encode_decode_test.rb | 74 assert_match 'optional_int32', json 85 assert_match 'optional_int32', json
|
D | basic_proto2.rb | 205 assert_match(/hello/, e.message) 243 assert_match(/Cannot add a native map/, e.message)
|
D | basic.rb | 152 assert_match(/hello/, e.message) 271 assert_match(/No such field: not_in_message/, e.message)
|
D | common_tests.rb | 147 assert_match(/hello/, e.message) 152 assert_match(/hello/, e.message)
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/ |
D | lldbgdbserverutils.py | 247 context = sequence_entry.assert_match( 536 def assert_match(self, asserter, actual_packet, context=None): member in GdbRemoteEntry 645 def assert_match(self, asserter, actual_packet, context=None): member in MultiResponseGdbRemoteEntry 738 def assert_match(self, asserter, accumulated_output, context): member in MatchRemoteOutputEntry
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/third_party/lunit/ |
D | lunit.lua | 249 function assert_match(pattern, actual, msg) function 262 traceback_hide( assert_match )
|
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 198 assert_match(/hello/, e.message) 203 assert_match(/hello/, e.message) 210 assert_match(/hello/, e.message)
|