Lines Matching refs:ExpectParseError

31 static void ExpectParseError(StringRef Message, StringRef Input) {  in ExpectParseError()  function
51 ExpectParseError("Not closing array", "["); in TEST()
52 ExpectParseError("Not closing array", " [ "); in TEST()
53 ExpectParseError("Not closing array", " [x"); in TEST()
75 ExpectParseError("Missing close on empty", "[{]"); in TEST()
76 ExpectParseError("Missing close after pair", "[{\"a\":\"b\"]"); in TEST()
80 ExpectParseError("Missing colon between key and value", "[{\"a\"\"/b\"}]"); in TEST()
81 ExpectParseError("Missing colon between key and value", "[{\"a\" \"b\"}]"); in TEST()
85 ExpectParseError("Missing open quote", "[{a\":\"b\"}]"); in TEST()
86 ExpectParseError("Missing closing quote", "[{\"a\":\"b}]"); in TEST()
109 ExpectParseError( in TEST()
153 ExpectParseError("Invalid block scalar header", "test: | failure"); in TEST()
154 ExpectParseError("Invalid line indentation", "test: |\n First line\n Error"); in TEST()
155 ExpectParseError("Long leading space line", "test: |\n \n Test\n"); in TEST()
171 ExpectParseError("In string starting with EOF", "[\""); in TEST()
172 ExpectParseError("In string hitting EOF", "[\" "); in TEST()
173 ExpectParseError("In string escaping EOF", "[\" \\"); in TEST()
174 ExpectParseError("In array starting with EOF", "["); in TEST()
175 ExpectParseError("In array element starting with EOF", "[[], "); in TEST()
176 ExpectParseError("In array hitting EOF", "[[] "); in TEST()
177 ExpectParseError("In array hitting EOF", "[[]"); in TEST()
178 ExpectParseError("In object hitting EOF", "{\"\""); in TEST()
182 ExpectParseError("KeyValueNode with null key", "? \"\n:"); in TEST()
183 ExpectParseError("KeyValueNode with null value", "test: '"); in TEST()
204 ExpectParseError((Twine("When parsing string \"") + String + "\"").str(), in ExpectCannotParseString()