/third_party/gn/src/gn/ |
D | functions_target_unittest.cc | 25 ASSERT_FALSE(good_input.has_error()); in TEST_F() 28 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 35 ASSERT_FALSE(source_set_input.has_error()); in TEST_F() 38 ASSERT_TRUE(err.has_error()); in TEST_F() 54 ASSERT_FALSE(nonscoped_input.has_error()); in TEST_F() 57 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 64 ASSERT_FALSE(scoped_input.has_error()); in TEST_F() 67 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 74 ASSERT_FALSE(nonexistent_arg_input.has_error()); in TEST_F() 77 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() [all …]
|
D | source_dir_unittest.cc | 24 EXPECT_TRUE(err.has_error()); in TEST() 30 EXPECT_TRUE(err.has_error()); in TEST() 35 EXPECT_TRUE(err.has_error()); in TEST() 41 EXPECT_FALSE(err.has_error()); in TEST() 45 EXPECT_FALSE(err.has_error()); in TEST() 51 EXPECT_FALSE(err.has_error()); in TEST() 55 EXPECT_FALSE(err.has_error()); in TEST() 58 EXPECT_FALSE(err.has_error()); in TEST() 66 EXPECT_FALSE(err.has_error()); in TEST() 71 EXPECT_FALSE(err.has_error()); in TEST() [all …]
|
D | function_forward_variables_from_unittest.cc | 30 ASSERT_FALSE(input.has_error()); in TEST_F() 33 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 47 ASSERT_FALSE(clobber.has_error()); in TEST_F() 50 ASSERT_TRUE(err.has_error()); // Should thow a clobber error. in TEST_F() 66 ASSERT_FALSE(input.has_error()); in TEST_F() 70 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 93 ASSERT_FALSE(input.has_error()); in TEST_F() 97 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 114 ASSERT_FALSE(invalid_source.has_error()); in TEST_F() 117 EXPECT_TRUE(err.has_error()); in TEST_F() [all …]
|
D | functions_target_rust_unittest.cc | 28 ASSERT_FALSE(exe_input.has_error()); in TEST_F() 31 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 39 ASSERT_FALSE(lib_input.has_error()); in TEST_F() 42 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 62 ASSERT_FALSE(normal_input.has_error()); in TEST_F() 65 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 76 ASSERT_FALSE(normal_shlib_input.has_error()); in TEST_F() 79 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 88 ASSERT_FALSE(exe_input.has_error()); in TEST_F() 91 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() [all …]
|
D | functions_unittest.cc | 25 ASSERT_FALSE(input.has_error()); in TEST() 28 ASSERT_FALSE(err.has_error()) << assert_pass_example; in TEST() 34 ASSERT_FALSE(input.has_error()); in TEST() 37 ASSERT_TRUE(err.has_error()); in TEST() 44 ASSERT_FALSE(input.has_error()); in TEST() 47 ASSERT_TRUE(err.has_error()); in TEST() 66 ASSERT_FALSE(input.has_error()); in TEST() 69 ASSERT_TRUE(err.has_error()) << bad_usage_example; in TEST() 128 EXPECT_FALSE(print_no_scope.has_error()); in TEST() 130 EXPECT_FALSE(err.has_error()); in TEST() [all …]
|
D | parse_tree_unittest.cc | 36 EXPECT_TRUE(err.has_error()); in TEST() 45 EXPECT_TRUE(err.has_error()); in TEST() 56 EXPECT_FALSE(err.has_error()); in TEST() 74 EXPECT_FALSE(err.has_error()); in TEST() 77 EXPECT_FALSE(err.has_error()); in TEST() 82 EXPECT_FALSE(err.has_error()); in TEST() 87 EXPECT_FALSE(err.has_error()); in TEST() 92 EXPECT_FALSE(err.has_error()); in TEST() 97 EXPECT_TRUE(err.has_error()); in TEST() 102 EXPECT_TRUE(err.has_error()); in TEST() [all …]
|
D | output_conversion_unittest.cc | 45 EXPECT_FALSE(err.has_error()); in TEST_F() 56 EXPECT_FALSE(err.has_error()); in TEST_F() 67 EXPECT_FALSE(err.has_error()); in TEST_F() 78 EXPECT_FALSE(err.has_error()); in TEST_F() 92 EXPECT_FALSE(err.has_error()); in TEST_F() 109 EXPECT_FALSE(err.has_error()); in TEST_F() 120 EXPECT_FALSE(err.has_error()); in TEST_F() 131 EXPECT_FALSE(err.has_error()); in TEST_F() 142 EXPECT_FALSE(err.has_error()); in TEST_F() 156 EXPECT_FALSE(err.has_error()); in TEST_F() [all …]
|
D | function_foreach_unittest.cc | 18 ASSERT_FALSE(input.has_error()); in TEST() 22 ASSERT_FALSE(err.has_error()) << err.message(); in TEST() 33 ASSERT_FALSE(input_good.has_error()); in TEST() 37 ASSERT_FALSE(err.has_error()) << err.message(); in TEST() 49 ASSERT_FALSE(input_bad.has_error()); // Should parse OK. in TEST() 52 ASSERT_TRUE(err.has_error()); // Shouldn't actually run. in TEST() 63 ASSERT_FALSE(input_good.has_error()); in TEST() 67 ASSERT_FALSE(err.has_error()) << err.message(); in TEST() 74 EXPECT_FALSE(err.has_error()); in TEST() 89 ASSERT_FALSE(input_grow.has_error()); in TEST() [all …]
|
D | function_toolchain_unittest.cc | 20 ASSERT_FALSE(input.has_error()); in TEST_F() 24 ASSERT_TRUE(err.has_error()) << err.message(); in TEST_F() 30 ASSERT_FALSE(input.has_error()); in TEST_F() 34 ASSERT_TRUE(err.has_error()) << err.message(); in TEST_F() 51 ASSERT_FALSE(input.has_error()); in TEST_F() 55 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() 80 ASSERT_FALSE(input.has_error()); in TEST_F() 84 ASSERT_TRUE(err.has_error()) << err.message(); in TEST_F() 100 ASSERT_FALSE(input.has_error()); in TEST_F() 104 ASSERT_FALSE(err.has_error()) << err.message(); in TEST_F() [all …]
|
D | template_unittest.cc | 19 ASSERT_FALSE(input.has_error()); in TEST() 23 ASSERT_FALSE(err.has_error()) << err.message(); in TEST() 37 ASSERT_FALSE(input.has_error()); in TEST() 41 EXPECT_TRUE(err.has_error()); in TEST() 53 ASSERT_FALSE(input.has_error()); in TEST() 57 EXPECT_TRUE(err.has_error()); in TEST() 71 ASSERT_FALSE(input.has_error()); in TEST() 75 EXPECT_TRUE(err.has_error()); in TEST() 92 ASSERT_FALSE(input.has_error()); in TEST()
|
D | input_conversion_unittest.cc | 36 EXPECT_FALSE(err.has_error()); in TEST_F() 43 EXPECT_FALSE(err.has_error()); in TEST_F() 53 EXPECT_FALSE(err.has_error()); in TEST_F() 64 EXPECT_FALSE(err.has_error()); in TEST_F() 76 EXPECT_FALSE(err.has_error()); in TEST_F() 86 EXPECT_FALSE(err.has_error()); in TEST_F() 96 EXPECT_FALSE(err.has_error()); in TEST_F() 108 EXPECT_FALSE(err.has_error()); in TEST_F() 151 EXPECT_FALSE(err.has_error()); in TEST_F() 189 EXPECT_TRUE(err.has_error()); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_image_storage_type_test.cc | 26 EXPECT_TRUE(p->has_error()); in TEST_F() 35 EXPECT_FALSE(p->has_error()); in TEST_F() 43 EXPECT_FALSE(p->has_error()); in TEST_F() 51 EXPECT_FALSE(p->has_error()); in TEST_F() 59 EXPECT_FALSE(p->has_error()); in TEST_F() 67 EXPECT_FALSE(p->has_error()); in TEST_F() 75 EXPECT_FALSE(p->has_error()); in TEST_F() 83 EXPECT_FALSE(p->has_error()); in TEST_F() 91 EXPECT_FALSE(p->has_error()); in TEST_F() 99 EXPECT_FALSE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_statement_test.cc | 28 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 37 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 43 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 54 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 67 EXPECT_TRUE(p->has_error()); in TEST_F() 77 EXPECT_TRUE(p->has_error()); in TEST_F() 87 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 96 EXPECT_TRUE(p->has_error()); in TEST_F() 106 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 115 EXPECT_TRUE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_variable_decoration_test.cc | 30 ASSERT_FALSE(p->has_error()); in TEST_F() 43 EXPECT_TRUE(p->has_error()); in TEST_F() 53 EXPECT_TRUE(p->has_error()); in TEST_F() 63 EXPECT_TRUE(p->has_error()); in TEST_F() 74 EXPECT_TRUE(p->has_error()); in TEST_F() 99 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_P() 132 EXPECT_TRUE(p->has_error()); in TEST_F() 142 EXPECT_TRUE(p->has_error()); in TEST_F() 152 EXPECT_TRUE(p->has_error()); in TEST_F() 162 EXPECT_TRUE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_primary_expression_test.cc | 28 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 40 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 67 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 82 ASSERT_TRUE(p->has_error()); in TEST_F() 92 ASSERT_TRUE(p->has_error()); in TEST_F() 102 ASSERT_TRUE(p->has_error()); in TEST_F() 112 ASSERT_TRUE(p->has_error()); in TEST_F() 123 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 128 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 147 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() [all …]
|
D | parser_impl_switch_body_test.cc | 25 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 41 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 56 EXPECT_TRUE(p->has_error()); in TEST_F() 66 EXPECT_TRUE(p->has_error()); in TEST_F() 76 EXPECT_TRUE(p->has_error()); in TEST_F() 86 EXPECT_TRUE(p->has_error()); in TEST_F() 96 EXPECT_TRUE(p->has_error()); in TEST_F() 106 EXPECT_TRUE(p->has_error()); in TEST_F() 116 EXPECT_TRUE(p->has_error()); in TEST_F() 126 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() [all …]
|
D | parser_impl_global_decl_test.cc | 25 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 31 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 43 ASSERT_TRUE(p->has_error()); in TEST_F() 50 ASSERT_TRUE(p->has_error()); in TEST_F() 57 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 69 ASSERT_TRUE(p->has_error()); in TEST_F() 76 ASSERT_TRUE(p->has_error()); in TEST_F() 83 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 100 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 119 ASSERT_TRUE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_type_decl_test.cc | 33 EXPECT_FALSE(p->has_error()); in TEST_F() 112 ASSERT_FALSE(p->has_error()); in TEST_P() 133 ASSERT_TRUE(p->has_error()); in TEST_P() 151 ASSERT_TRUE(p->has_error()); in TEST_P() 169 ASSERT_TRUE(p->has_error()); in TEST_P() 184 ASSERT_FALSE(p->has_error()); in TEST_F() 199 ASSERT_FALSE(p->has_error()); in TEST_F() 215 ASSERT_FALSE(p->has_error()); in TEST_F() 234 ASSERT_TRUE(p->has_error()); in TEST_F() 244 ASSERT_TRUE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_function_decoration_test.cc | 30 ASSERT_FALSE(p->has_error()); in TEST_F() 50 ASSERT_FALSE(p->has_error()); in TEST_F() 72 ASSERT_FALSE(p->has_error()); in TEST_F() 95 ASSERT_FALSE(p->has_error()); in TEST_F() 119 EXPECT_TRUE(p->has_error()); in TEST_F() 129 EXPECT_TRUE(p->has_error()); in TEST_F() 139 EXPECT_TRUE(p->has_error()); in TEST_F() 149 EXPECT_TRUE(p->has_error()); in TEST_F() 159 EXPECT_TRUE(p->has_error()); in TEST_F() 169 EXPECT_TRUE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_variable_ident_decl_test.cc | 26 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 39 ASSERT_FALSE(p->has_error()) << p->error(); in TEST_F() 50 ASSERT_TRUE(p->has_error()); in TEST_F() 58 ASSERT_TRUE(p->has_error()); in TEST_F() 66 ASSERT_TRUE(p->has_error()); in TEST_F() 74 ASSERT_TRUE(p->has_error()); in TEST_F() 91 ASSERT_TRUE(p->has_error()); in TEST_F() 99 ASSERT_TRUE(p->has_error()); in TEST_F() 107 ASSERT_TRUE(p->has_error()); in TEST_F() 115 ASSERT_TRUE(p->has_error()); in TEST_F() [all …]
|
D | parser_impl_reserved_keyword_test.cc | 27 EXPECT_TRUE(p->has_error()); in TEST_P() 34 EXPECT_TRUE(p->has_error()); in TEST_P() 41 EXPECT_TRUE(p->has_error()); in TEST_P() 48 EXPECT_TRUE(p->has_error()); in TEST_P() 55 EXPECT_TRUE(p->has_error()); in TEST_P() 62 EXPECT_TRUE(p->has_error()); in TEST_P() 69 EXPECT_TRUE(p->has_error()); in TEST_P() 76 EXPECT_TRUE(p->has_error()); in TEST_P() 83 EXPECT_TRUE(p->has_error()); in TEST_P()
|
D | parser_impl_singular_expression_test.cc | 27 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 46 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 65 EXPECT_TRUE(p->has_error()); in TEST_F() 75 EXPECT_TRUE(p->has_error()); in TEST_F() 85 EXPECT_TRUE(p->has_error()); in TEST_F() 94 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 110 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 142 EXPECT_TRUE(p->has_error()); in TEST_F() 152 EXPECT_TRUE(p->has_error()); in TEST_F() 161 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder_type_test.cc | 42 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 64 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 78 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 95 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 116 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 131 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 146 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 148 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 150 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 159 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() [all …]
|
D | builder_assign_test.cc | 36 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 39 EXPECT_FALSE(b.has_error()); in TEST_F() 63 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 66 EXPECT_TRUE(b.has_error()); in TEST_F() 84 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 87 EXPECT_FALSE(b.has_error()); in TEST_F() 114 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 117 EXPECT_FALSE(b.has_error()); in TEST_F() 151 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 154 EXPECT_FALSE(b.has_error()); in TEST_F() [all …]
|
D | builder_literal_test.cc | 31 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 46 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 62 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 64 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 66 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 80 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 97 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 111 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 128 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() 142 ASSERT_FALSE(b.has_error()) << b.error(); in TEST_F() [all …]
|