blob: 4640af103656d96232fd19757bd9b7a285d4bb14 [file] [log] [blame]
Steven Glenn Jacobs39826042017-03-28 20:28:27 -07001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -070019<test-suite xmlns="urn:xml.testframework.asterix.apache.org"
20 ResultOffsetPath="results"
21 QueryOffsetPath="queries"
Steven Glenn Jacobs55514042017-04-19 15:54:13 -070022 QueryFileExtension=".sqlpp">
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -070023 <test-group name="channel">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080024 <test-case FilePath="procedure">
Steven Glenn Jacobs5b870652018-01-19 19:52:51 -080025 <compilation-unit name="create_procedure_check_metadata">
26 <output-dir compare="Text">create_procedure_check_metadata</output-dir>
27 </compilation-unit>
28 </test-case>
29 <test-case FilePath="procedure">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080030 <compilation-unit name="delete_procedure">
31 <output-dir compare="Text">delete_procedure</output-dir>
32 </compilation-unit>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -070033 </test-case>
Steven Glenn Jacobs79226b52017-02-23 21:13:42 -080034 <test-case FilePath="procedure">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080035 <compilation-unit name="delete_procedure_with_parameters">
36 <output-dir compare="Text">delete_procedure_with_parameters</output-dir>
37 </compilation-unit>
Steven Glenn Jacobs79226b52017-02-23 21:13:42 -080038 </test-case>
39 <test-case FilePath="procedure">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080040 <compilation-unit name="query_procedure">
41 <output-dir compare="Text">query_procedure</output-dir>
42 </compilation-unit>
Steven Glenn Jacobs79226b52017-02-23 21:13:42 -080043 </test-case>
44 <test-case FilePath="procedure">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080045 <compilation-unit name="query_procedure_with_parameters">
46 <output-dir compare="Text">query_procedure_with_parameters</output-dir>
47 </compilation-unit>
Steven Glenn Jacobs79226b52017-02-23 21:13:42 -080048 </test-case>
49 <test-case FilePath="procedure">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080050 <compilation-unit name="insert_procedure">
51 <output-dir compare="Text">insert_procedure</output-dir>
52 </compilation-unit>
53 </test-case>
54 <test-case FilePath="procedure">
55 <compilation-unit name="concurrent_procedure">
56 <output-dir compare="Text">concurrent_procedure</output-dir>
57 </compilation-unit>
58 </test-case>
59 <test-case FilePath="procedure">
Steven Glenn Jacobs5b870652018-01-19 19:52:51 -080060 <compilation-unit name="insert_procedure_drop_dataset">
61 <output-dir compare="Text">insert_procedure_drop_dataset</output-dir>
62 <expected-error>Cannot alter dataset channels.UserLocations. two.addMe(Procedure) depends on it!</expected-error>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -080063 </compilation-unit>
Steven Glenn Jacobs79226b52017-02-23 21:13:42 -080064 </test-case>
Steven Glenn Jacobs5b870652018-01-19 19:52:51 -080065 <test-case FilePath="procedure">
66 <compilation-unit name="insert_procedure_drop_dataverse">
67 <output-dir compare="Text">insert_procedure_drop_dataverse</output-dir>
68 <expected-error>Cannot drop dataverse channels. two.addMe(Procedure) depends on it!</expected-error>
69 </compilation-unit>
70 </test-case>
71 <test-case FilePath="procedure">
72 <compilation-unit name="delete_procedure_drop_dataset">
73 <output-dir compare="Text">delete_procedure_drop_dataset</output-dir>
74 <expected-error>Cannot alter dataset channels.UserLocations. two.deleteAll(Procedure) depends on it!</expected-error>
75 </compilation-unit>
76 </test-case>
77 <test-case FilePath="procedure">
78 <compilation-unit name="delete_procedure_drop_function">
79 <output-dir compare="Text">delete_procedure_drop_function</output-dir>
80 <expected-error>Cannot drop function two.really_contains@2. two.deleteSome(Procedure) depends on it!</expected-error>
81 </compilation-unit>
82 </test-case>
83 <test-case FilePath="procedure">
84 <compilation-unit name="delete_procedure_drop_index">
85 <output-dir compare="Text">delete_procedure_drop_index</output-dir>
86 <expected-error>Cannot alter dataset channels.UserLocations. two.deleteAll(Procedure) depends on it!</expected-error>
87 </compilation-unit>
88 </test-case>
89 <test-case FilePath="procedure">
90 <compilation-unit name="query_procedure_drop_dataset">
91 <output-dir compare="Text">query_procedure_drop_dataset</output-dir>
92 <expected-error>Cannot alter dataset channels.UserLocations. two.findMe(Procedure) depends on it!</expected-error>
93 </compilation-unit>
94 </test-case>
95 <test-case FilePath="procedure">
96 <compilation-unit name="query_procedure_drop_function">
97 <output-dir compare="Text">query_procedure_drop_function</output-dir>
98 <expected-error>Cannot drop function channels.really_contains@2. two.selectSome(Procedure) depends on it!</expected-error>
99 </compilation-unit>
100 </test-case>
101 <test-case FilePath="procedure">
102 <compilation-unit name="repetitive_insert_procedure">
103 <output-dir compare="Text">repetitive_insert_procedure</output-dir>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800104 </compilation-unit>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -0700105 </test-case>
106 <test-case FilePath="channel">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800107 <compilation-unit name="create_channel_check_datasets">
108 <output-dir compare="Text">create_channel_check_datasets</output-dir>
109 </compilation-unit>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -0700110 </test-case>
111 <test-case FilePath="channel">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800112 <compilation-unit name="create_channel_check_metadata">
113 <output-dir compare="Text">create_channel_check_metadata</output-dir>
114 </compilation-unit>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -0700115 </test-case>
116 <test-case FilePath="channel">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800117 <compilation-unit name="drop_channel_check_datasets">
118 <output-dir compare="Text">drop_channel_check_datasets</output-dir>
119 </compilation-unit>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -0700120 </test-case>
Steven Glenn Jacobsd6767262017-04-04 17:31:40 -0700121 <test-case FilePath="channel">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800122 <compilation-unit name="drop_channel_check_metadata">
123 <output-dir compare="Text">drop_channel_check_metadata</output-dir>
124 </compilation-unit>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -0700125 </test-case>
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800126 <test-case FilePath="channel">
127 <compilation-unit name="subscribe_channel_check_subscriptions">
128 <output-dir compare="Text">subscribe_channel_check_subscriptions</output-dir>
129 </compilation-unit>
130 </test-case>
131 <test-case FilePath="channel">
Steven Glenn Jacobs5b870652018-01-19 19:52:51 -0800132 <compilation-unit name="drop_function">
133 <output-dir compare="Text">drop_function</output-dir>
134 <expected-error>Cannot drop function channels.NearbyTweetsContainingText@2. two.nearbyTweetChannel(Channel) depends on it!</expected-error>
135 </compilation-unit>
136 </test-case>
137 <test-case FilePath="channel">
Steven Glenn Jacobs0da2d002018-05-07 15:12:18 -0700138 <compilation-unit name="drop_index">
139 <output-dir compare="Text">drop_index</output-dir>
140 <expected-error>Cannot drop index. channels.EmergencyChannel(Channel) depends on it!</expected-error>
141 </compilation-unit>
142 </test-case>
143 <test-case FilePath="channel">
144 <compilation-unit name="add_index">
145 <output-dir compare="Text">add_index</output-dir>
146 </compilation-unit>
147 </test-case>
148 <test-case FilePath="channel">
Steven Glenn Jacobs5b870652018-01-19 19:52:51 -0800149 <compilation-unit name="drop_results">
150 <output-dir compare="Text">drop_results</output-dir>
151 <expected-error>Cannot alter dataset two.nearbyTweetChannelResults. two.nearbyTweetChannel(Channel) depends on it!</expected-error>
152 </compilation-unit>
153 </test-case>
154 <test-case FilePath="channel">
155 <compilation-unit name="drop_subscriptions">
156 <output-dir compare="Text">drop_subscriptions</output-dir>
157 <expected-error>Cannot alter dataset two.nearbyTweetChannelSubscriptions. two.nearbyTweetChannel(Channel) depends on it!</expected-error>
158 </compilation-unit>
159 </test-case>
160 <test-case FilePath="channel">
161 <compilation-unit name="drop_function_dataverse">
162 <output-dir compare="Text">drop_function_dataverse</output-dir>
163 <expected-error>Cannot drop dataverse channels. two.nearbyTweetChannel(Channel) depends on it!</expected-error>
164 </compilation-unit>
165 </test-case>
166 <test-case FilePath="channel">
167 <compilation-unit name="room_occupants">
168 <output-dir compare="Text">room_occupants</output-dir>
169 </compilation-unit>
170 </test-case>
171 <test-case FilePath="channel">
Steven Glenn Jacobs8b53ce52017-11-14 10:21:43 -0800172 <compilation-unit name="disasters_with_friends">
173 <output-dir compare="Text">disasters_with_friends</output-dir>
174 </compilation-unit>
175 </test-case>
176 <test-case FilePath="channel">
177 <compilation-unit name="ten_minute_channel">
178 <output-dir compare="Text">ten_minute_channel</output-dir>
179 </compilation-unit>
180 </test-case>
Steven Glenn Jacobsf73ca842016-09-14 12:42:28 -0700181 </test-group>
182</test-suite>