use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_null method test_scan_false_15.
public void test_scan_false_15() throws Exception {
JSONScanner lexer = new JSONScanner("null]");
lexer.scanNullOrNew();
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_null method test_scan_null_8.
public void test_scan_null_8() throws Exception {
JSONScanner lexer = new JSONScanner("null,");
lexer.scanNullOrNew();
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_null method test_scan_null_9.
public void test_scan_null_9() throws Exception {
JSONScanner lexer = new JSONScanner("null\na");
lexer.scanNullOrNew();
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_null method test_scan_null_3.
public void test_scan_null_3() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("nuzl");
lexer.scanNullOrNew();
} catch (JSONException e) {
error = e;
}
Assert.assertNotNull(error);
}
use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_null method test_scan_null_13.
public void test_scan_null_13() throws Exception {
JSONScanner lexer = new JSONScanner("null\ba");
lexer.scanNullOrNew();
}
Aggregations