-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy patheunit.jsonpath.tst
50 lines (46 loc) · 2.11 KB
/
eunit.jsonpath.tst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%%-*- mode: erlang -*-
%%-*- coding: utf-8 -*-
% Test control options
[{tests, []}].
%% =============================================================================
%% TESTS: JSONPATH
%% -----------------------------------------------------------------------------
"Select (+ column_2) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (+ column_2)|:b| From table_1".
"Select (column_1 + column_2) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (column_1 + column_2)|:b| From table_1".
"Select (column_1 div column_2) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (column_1 div column_2)|:b| From table_1".
"Select (max(column_1)) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (max(column_1))|:b| From table_1".
"Select (max(column_1))|[]| From table_1".
"Select (nullx) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (nullx)|:b| From table_1".
"Select (Select * From dual Union Select * From dual) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (Select * From dual Union Select * From dual)|:b| From table_1".
"Select (Select * From dual) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (Select * From dual)|:b| From table_1".
"Select (test) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select (test)|:b| From table_1".
"select a.g|:b.f[f(p.r:q)]| from x".
"select a.g|:b.f\n[\tf(p.r:q)]| from x".
"select a|::b| from x".
"select a|:b[f(p:q)]| from x".
"select a|:b| from x".
"select a|:f()| from x".
"select a|:| from x".
"select a|[]| from x".
"select a|{}| from x".
"select col1.col2.col3|:x:y| from dual".
"select col1.col2|:x:y| from dual".
"select col1|:x:y| from dual".
"select col1|:x:y| from dual".
"select col1|:x| from dual".
"select column_1|:a_obj:x|,column_2|:b_obj:y| from x where column_3|:a_obj:x| = 1 and column_4|:b_obj:y| = 0 and column_5|:rw_obj1:a| > 0".
"SELECT column~1|:x:y|, column~2|[]| FROM table_~_1, table_0000_2 WHERE column_3 IS NULL".
"Select max(column_1) |:b.f\n[\tf(p.r:q)]| From table_1".
"Select max(column_1)|:b| From table_1".
"Select max(column_1)|[]| From table_1".
%% -----------------------------------------------------------------------------
%% TESTS: JSONPATH
%% =============================================================================