Lines Matching refs:getGoogleJSStyleWithColumns
43 static FormatStyle getGoogleJSStyleWithColumns(unsigned ColumnLimit) { in getGoogleJSStyleWithColumns() function in clang::format::FormatTestJS
62 verifyFormat("aaaaaaa ===\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()
64 verifyFormat("aaaaaaa !==\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()
69 getGoogleJSStyleWithColumns(20)); in TEST_F()
74 verifyFormat("aaaaaaa >>>\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()
76 verifyFormat("aaaaaaa >>>=\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()
81 getGoogleJSStyleWithColumns(20)); in TEST_F()
85 getGoogleJSStyleWithColumns(20)); in TEST_F()
250 getGoogleJSStyleWithColumns(40)); in TEST_F()
252 getGoogleJSStyleWithColumns(40)); in TEST_F()
254 getGoogleJSStyleWithColumns(40)); in TEST_F()
256 getGoogleJSStyleWithColumns(40)); in TEST_F()
258 getGoogleJSStyleWithColumns(40)); in TEST_F()
294 getGoogleJSStyleWithColumns(51)); in TEST_F()
367 getGoogleJSStyleWithColumns(33)); in TEST_F()
371 getGoogleJSStyleWithColumns(32)); in TEST_F()
563 verifyFormat("return aaaaa;", getGoogleJSStyleWithColumns(10)); in TEST_F()
564 verifyFormat("continue aaaaa;", getGoogleJSStyleWithColumns(10)); in TEST_F()
565 verifyFormat("break aaaaa;", getGoogleJSStyleWithColumns(10)); in TEST_F()
566 verifyFormat("throw aaaaa;", getGoogleJSStyleWithColumns(10)); in TEST_F()
567 verifyFormat("aaaaaaaaa++;", getGoogleJSStyleWithColumns(10)); in TEST_F()
568 verifyFormat("aaaaaaaaa--;", getGoogleJSStyleWithColumns(10)); in TEST_F()
676 verifyFormat("var regex = /\"/;", getGoogleJSStyleWithColumns(16)); in TEST_F()
679 getGoogleJSStyleWithColumns(15)); in TEST_F()
697 getGoogleJSStyleWithColumns(60)); in TEST_F()
700 getGoogleJSStyleWithColumns(60)); in TEST_F()
702 getGoogleJSStyleWithColumns(50)); in TEST_F()
805 getGoogleJSStyleWithColumns(20)); in TEST_F()
857 getGoogleJSStyleWithColumns(34)); // Barely doesn't fit. in TEST_F()
859 getGoogleJSStyleWithColumns(35)); // Barely fits. in TEST_F()
866 getGoogleJSStyleWithColumns(21))); // Barely doesn't fit. in TEST_F()
872 getGoogleJSStyleWithColumns(22))); // Barely fits. in TEST_F()
876 getGoogleJSStyleWithColumns(11)); in TEST_F()
879 format("var x = `multi\n line`;", getGoogleJSStyleWithColumns(13))); in TEST_F()
968 getGoogleJSStyleWithColumns(20)); in TEST_F()
972 getGoogleJSStyleWithColumns(20)); in TEST_F()
978 getGoogleJSStyleWithColumns(40)); in TEST_F()