Lines Matching refs:verifyFormat
89 #define verifyFormat(...) _verifyFormat(__FILE__, __LINE__, __VA_ARGS__) macro
94 verifyFormat("int foo(int i, int j) {\n" in TEST_F()
105 verifyFormat("struct foo {\n" in TEST_F()
114 verifyFormat("union foo {\n" in TEST_F()
123 verifyFormat("class foo {\n" in TEST_F()
132 verifyFormat("namespace foo {\n" in TEST_F()
141 verifyFormat("enum Foo { FOO, BAR };\n" in TEST_F()
149 verifyFormat("class Foo {\n" in TEST_F()
206 verifyFormat(removeEmptyLines(Prefix) + "\n" + CommentedCode + "\n" + in TEST_F()
209 verifyFormat(removeEmptyLines(Prefix) + "\n" + CommentedCode + in TEST_F()
259 verifyFormat(TestKit.first, AlwaysStyle, TestKit.second); in TEST_F()
260 verifyFormat(TestKit.second, NeverStyle, removeEmptyLines(TestKit.second)); in TEST_F()
265 verifyFormat(TestKit.first, AlwaysStyle, TestKit.second); in TEST_F()
266 verifyFormat(TestKit.second, NeverStyle, removeEmptyLines(TestKit.second)); in TEST_F()
272 verifyFormat(TestKit.first, AlwaysStyle, TestKit.second); in TEST_F()
273 verifyFormat(TestKit.second, NeverStyle, removeEmptyLines(TestKit.second)); in TEST_F()
279 verifyFormat(TestKit.first, AlwaysStyle, TestKit.second); in TEST_F()
280 verifyFormat(TestKit.second, NeverStyle, removeEmptyLines(TestKit.second)); in TEST_F()
336 verifyFormat(Prefix + removeEmptyLines(Infix) + removeEmptyLines(Postfix), in TEST_F()
387 verifyFormat(Prefix + "\n\n\n" + Postfix, Style, in TEST_F()
395 verifyFormat("namespace NS\n" in TEST_F()
459 verifyFormat("void FunctionWithInternalTry()\n" in TEST_F()
470 verifyFormat("void FunctionWithTryBlock()\n" in TEST_F()
529 verifyFormat(LeaveAs, Style, LeaveAs); in TEST_F()
537 verifyFormat("namespace {\r\n" in TEST_F()
578 verifyFormat("export const enum Foo {\n" in TEST_F()