#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/query_parser/query_parser.h"
#include <stddef.h>
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace query_parser {
class QueryParserTest : public testing::Test { … };
std::string QueryParserTest::QueryToString(const std::string& query) { … }
TEST_F(QueryParserTest, SimpleQueries) { … }
TEST_F(QueryParserTest, Quoted) { … }
TEST_F(QueryParserTest, Apostrophes) { … }
TEST_F(QueryParserTest, SpecialChars) { … }
TEST_F(QueryParserTest, NumWords) { … }
TEST_F(QueryParserTest, ParseQueryNodesAndMatch) { … }
TEST_F(QueryParserTest, ParseQueryWords) { … }
TEST_F(QueryParserTest, ParseQueryNodesAndMatchExact) { … }
}