use of com.alibaba.fastjson.parser.JSONScanner in project fastjson by alibaba.
the class JSONScannerTest_new method test_scan_new_2.
public void test_scan_new_2() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("nee");
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_new method test_scan_new_1.
public void test_scan_new_1() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("nww");
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_new method test_scan_new_5.
public void test_scan_new_5() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("newe");
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_new method test_scan_new_4.
public void test_scan_new_4() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("neww");
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_new method test_scan_new_3.
public void test_scan_new_3() throws Exception {
JSONException error = null;
try {
JSONScanner lexer = new JSONScanner("neel");
lexer.scanNullOrNew();
} catch (JSONException e) {
error = e;
}
Assert.assertNotNull(error);
}
Aggregations