Lines Matching defs:errors
3643 // to the DescriptorPool. Expect no errors.
3651 // to the DescriptorPool. Expect errors to be produced which match the
3665 // to the DescriptorPool. Expect errors to be produced which match the
3892 // Note: We should *not* get redundant errors about "Foo" already being
5638 // errors. The "value" argument is embedded inside the
5791 // Test that errors are reported to GOOGLE_LOG(ERROR) if no error collector is
5801 std::vector<std::string> errors;
5806 errors = log.GetMessages(ERROR);
5809 ASSERT_EQ(2, errors.size());
5811 EXPECT_EQ("Invalid proto descriptor for file \"foo.proto\":", errors[0]);
5812 EXPECT_EQ(" Foo: \"Foo\" is already defined.", errors[1]);
6652 // We can't inject a file containing errors into a DescriptorPool, so we
6653 // need an actual mock DescriptorDatabase to test errors.
6859 std::vector<std::string> errors;
6864 errors = log.GetMessages(ERROR);
6867 EXPECT_FALSE(errors.empty());
6880 "found or had errors.\n"
6882 "found or had errors.\n",
7001 // No errors should have been reported. (If foo.proto was incorrectly
7002 // loaded multiple times, errors would have been reported.)
7013 // If the DescriptorPool is not careful to memoize errors, an attempt to