39
39
public class TypeQLSteps {
40
40
41
41
@ Given ("typeql define" )
42
+ @ Given ("reasoning schema" )
42
43
@ Given ("typeql define without commit" )
43
44
@ Given ("for each session, typeql define" )
44
45
public void typeql_define (String query ) {
@@ -54,6 +55,7 @@ public void typeql_undefine(String query) {
54
55
}
55
56
56
57
@ Given ("typeql insert" )
58
+ @ Given ("reasoning data" )
57
59
@ Given ("get answers of typeql insert" )
58
60
@ Given ("typeql insert without commit" )
59
61
@ Given ("for each session, typeql insert" )
@@ -71,11 +73,12 @@ public void typeql_delete(String query) {
71
73
}
72
74
73
75
@ Given ("for typeql query" )
76
+ @ Given ("reasoning query" )
74
77
@ Given ("get answers of typeql match" )
75
78
@ Given ("get answers of typeql match group" )
76
79
@ Given ("get answer of typeql match aggregate" )
77
80
@ Given ("get answers of typeql match group aggregate" )
78
- @ Given ("answer set is equivalent for typeql query" )
81
+ @ Given ("verify answer set is equivalent for query" )
79
82
public void typeql_match (String query ) {
80
83
TypeQLQuery parsed = TypeQL .parseQuery (query );
81
84
assertEquals (parsed , TypeQL .parseQuery (parsed .toString ()));
@@ -103,15 +106,15 @@ public void do_nothing_with_throws(String query) {}
103
106
@ Given ("connection has been opened" )
104
107
@ Given ("transaction is initialised" )
105
108
@ Given ("the integrity is validated" )
109
+ @ Given ("verifier is initialised" )
110
+ @ Given ("verify answers are complete" )
111
+ @ Given ("verify answers are sound" )
106
112
@ Given ("connection close all sessions" )
107
113
@ Given ("connection delete all databases" )
108
- @ Given ("materialised database is completed" )
109
114
@ Given ("for each session, transaction closes" )
110
115
@ Given ("transaction commits; throws exception" )
111
116
@ Given ("connection does not have any database" )
112
117
@ Given ("for each session, transaction commits" )
113
- @ Given ("all answers are correct in reasoned database" )
114
- @ Given ("materialised and reasoned databases are the same size" )
115
118
public void do_nothing () {}
116
119
117
120
@ Given ("rules contain: {}" )
@@ -121,17 +124,15 @@ public void do_nothing() {}
121
124
@ Given ("number of groups is: {}" )
122
125
@ Given ("rules do not contain: {}" )
123
126
@ Given ("each answer does not satisfy" )
124
- @ Given ("reasoned database is named : {}" )
127
+ @ Given ("verify answer size is : {}" )
125
128
@ Given ("connection create database: {}" )
126
129
@ Given ("session transaction is open: {}" )
127
- @ Given ("materialised database is named: {}" )
128
130
@ Given ("session opens transaction of type: {}" )
129
- @ Given ("answer size in reasoned database is: {}" )
130
131
@ Given ("connection open data session for database: {}" )
131
132
@ Given ("connection open schema session for database: {}" )
132
133
@ Given ("for each session, open transactions of type: {}" )
133
134
@ Given ("for each session, open transactions with reasoning of type: {}" )
134
- @ Given ("answers are consistent across {} executions in reasoned database " )
135
+ @ Given ("verify answers are consistent across {} executions" )
135
136
public void do_nothing_with_arg (String ignored ) {}
136
137
137
138
@ Given ("connection open data sessions for databases:" )
0 commit comments