use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_false method test_scan_false_2.
public void test_scan_false_2() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("fzlse");
lexer.scanFalse();
} catch (JSONException e) {
error = e;
}
Assert.assertNotNull(error);
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_false method test_scan_false_3.
public void test_scan_false_3() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("fazse");
lexer.scanFalse();
} catch (JSONException e) {
error = e;
}
Assert.assertNotNull(error);
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_false method test_scan_false_12.
public void test_scan_false_12() throws Exception {
JSONScanner lexer = new JSONScanner("false\fa");
lexer.scanFalse();
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_false method test_scan_false_7.
public void test_scan_false_7() throws Exception {
JSONScanner lexer = new JSONScanner("false a");
lexer.scanFalse();
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_false method test_scan_false_6.
public void test_scan_false_6() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("false\"");
lexer.scanFalse();
} catch (JSONException e) {
error = e;
}
Assert.assertNotNull(error);
}
Aggregations