Lines Matching refs:rule
22 #include "rule.h"
37 Rule rule;
38 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
44 Rule rule;
45 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"xx\"}"));
46 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
52 Rule rule;
53 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"sv\"}"));
54 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
61 Rule rule;
62 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"xx~sv\"}"));
63 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
70 Rule rule;
71 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"sv-SE\"}"));
72 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);
79 Rule rule;
80 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"SV_SE\"}"));
81 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule);