Steven Glenn Jacobs | 3982604 | 2017-03-28 20:28:27 -0700 | [diff] [blame] | 1 | <!-- |
| 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 Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 19 | <test-suite xmlns="urn:xml.testframework.asterix.apache.org" |
| 20 | ResultOffsetPath="results" |
| 21 | QueryOffsetPath="queries" |
Steven Glenn Jacobs | 5551404 | 2017-04-19 15:54:13 -0700 | [diff] [blame] | 22 | QueryFileExtension=".sqlpp"> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 23 | <test-group name="procedure"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 24 | <test-case FilePath="procedure"> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 25 | <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 Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 30 | <compilation-unit name="delete_procedure"> |
| 31 | <output-dir compare="Text">delete_procedure</output-dir> |
| 32 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 33 | </test-case> |
Steven Glenn Jacobs | 79226b5 | 2017-02-23 21:13:42 -0800 | [diff] [blame] | 34 | <test-case FilePath="procedure"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 35 | <compilation-unit name="delete_procedure_with_parameters"> |
| 36 | <output-dir compare="Text">delete_procedure_with_parameters</output-dir> |
| 37 | </compilation-unit> |
Steven Glenn Jacobs | 79226b5 | 2017-02-23 21:13:42 -0800 | [diff] [blame] | 38 | </test-case> |
| 39 | <test-case FilePath="procedure"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 40 | <compilation-unit name="query_procedure"> |
| 41 | <output-dir compare="Text">query_procedure</output-dir> |
| 42 | </compilation-unit> |
Steven Glenn Jacobs | 79226b5 | 2017-02-23 21:13:42 -0800 | [diff] [blame] | 43 | </test-case> |
| 44 | <test-case FilePath="procedure"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 45 | <compilation-unit name="query_procedure_with_parameters"> |
| 46 | <output-dir compare="Text">query_procedure_with_parameters</output-dir> |
| 47 | </compilation-unit> |
Steven Glenn Jacobs | 79226b5 | 2017-02-23 21:13:42 -0800 | [diff] [blame] | 48 | </test-case> |
| 49 | <test-case FilePath="procedure"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 50 | <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 Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 60 | <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 Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 63 | </compilation-unit> |
Steven Glenn Jacobs | 79226b5 | 2017-02-23 21:13:42 -0800 | [diff] [blame] | 64 | </test-case> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 65 | <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 Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 104 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 105 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 106 | </test-group> |
| 107 | <test-group name="bad_rq"> |
| 108 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 109 | <compilation-unit name="create_channel_check_datasets"> |
| 110 | <output-dir compare="Text">create_channel_check_datasets</output-dir> |
| 111 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 112 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 113 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 114 | <compilation-unit name="create_channel_check_metadata"> |
| 115 | <output-dir compare="Text">create_channel_check_metadata</output-dir> |
| 116 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 117 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 118 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 119 | <compilation-unit name="drop_channel_check_datasets"> |
| 120 | <output-dir compare="Text">drop_channel_check_datasets</output-dir> |
| 121 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 122 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 123 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 124 | <compilation-unit name="drop_channel_check_metadata"> |
| 125 | <output-dir compare="Text">drop_channel_check_metadata</output-dir> |
| 126 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 127 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 128 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 129 | <compilation-unit name="subscribe_channel_check_subscriptions"> |
| 130 | <output-dir compare="Text">subscribe_channel_check_subscriptions</output-dir> |
| 131 | </compilation-unit> |
| 132 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 133 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 134 | <compilation-unit name="drop_function"> |
| 135 | <output-dir compare="Text">drop_function</output-dir> |
| 136 | <expected-error>Cannot drop function channels.NearbyTweetsContainingText@2. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 137 | </compilation-unit> |
| 138 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 139 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 0da2d00 | 2018-05-07 15:12:18 -0700 | [diff] [blame] | 140 | <compilation-unit name="drop_index"> |
| 141 | <output-dir compare="Text">drop_index</output-dir> |
| 142 | <expected-error>Cannot drop index. channels.EmergencyChannel(Channel) depends on it!</expected-error> |
| 143 | </compilation-unit> |
| 144 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 145 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 0da2d00 | 2018-05-07 15:12:18 -0700 | [diff] [blame] | 146 | <compilation-unit name="add_index"> |
| 147 | <output-dir compare="Text">add_index</output-dir> |
| 148 | </compilation-unit> |
| 149 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 150 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 151 | <compilation-unit name="drop_results"> |
| 152 | <output-dir compare="Text">drop_results</output-dir> |
| 153 | <expected-error>Cannot alter dataset two.nearbyTweetChannelResults. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 154 | </compilation-unit> |
| 155 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 156 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 157 | <compilation-unit name="drop_subscriptions"> |
| 158 | <output-dir compare="Text">drop_subscriptions</output-dir> |
| 159 | <expected-error>Cannot alter dataset two.nearbyTweetChannelSubscriptions. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 160 | </compilation-unit> |
| 161 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 162 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 163 | <compilation-unit name="drop_function_dataverse"> |
| 164 | <output-dir compare="Text">drop_function_dataverse</output-dir> |
| 165 | <expected-error>Cannot drop dataverse channels. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 166 | </compilation-unit> |
| 167 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 168 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 169 | <compilation-unit name="room_occupants"> |
| 170 | <output-dir compare="Text">room_occupants</output-dir> |
| 171 | </compilation-unit> |
| 172 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 173 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 174 | <compilation-unit name="disasters_with_friends"> |
| 175 | <output-dir compare="Text">disasters_with_friends</output-dir> |
| 176 | </compilation-unit> |
| 177 | </test-case> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 178 | <test-case FilePath="bad_rq"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 179 | <compilation-unit name="ten_minute_channel"> |
| 180 | <output-dir compare="Text">ten_minute_channel</output-dir> |
| 181 | </compilation-unit> |
| 182 | </test-case> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 183 | </test-group> |
Xikui Wang | 9d26e07 | 2020-08-20 21:18:04 -0700 | [diff] [blame] | 184 | <test-group name="bad_cq"> |
| 185 | <test-case FilePath="bad_cq"> |
| 186 | <compilation-unit name="active_dataset_insert"> |
| 187 | <output-dir compare="Text">active_dataset_insert</output-dir> |
| 188 | </compilation-unit> |
| 189 | </test-case> |
| 190 | <test-case FilePath="bad_cq"> |
| 191 | <compilation-unit name="active_dataset_upsert"> |
| 192 | <output-dir compare="Text">active_dataset_upsert</output-dir> |
| 193 | </compilation-unit> |
| 194 | </test-case> |
| 195 | <test-case FilePath="bad_cq"> |
| 196 | <compilation-unit name="active_dataset_delete"> |
| 197 | <output-dir compare="Text">active_dataset_delete</output-dir> |
| 198 | </compilation-unit> |
| 199 | </test-case> |
| 200 | <test-case FilePath="bad_cq"> |
| 201 | <compilation-unit name="active_feeds"> |
| 202 | <output-dir compare="Text">active_feeds</output-dir> |
| 203 | </compilation-unit> |
| 204 | </test-case> |
| 205 | <test-case FilePath="bad_cq"> |
| 206 | <compilation-unit name="active_function_in_udf"> |
| 207 | <output-dir compare="Text">active_function_in_udf</output-dir> |
| 208 | </compilation-unit> |
| 209 | </test-case> |
| 210 | <test-case FilePath="bad_cq"> |
| 211 | <compilation-unit name="active_functions"> |
| 212 | <output-dir compare="Text">active_functions</output-dir> |
| 213 | </compilation-unit> |
| 214 | </test-case> |
| 215 | <test-case FilePath="bad_cq"> |
| 216 | <compilation-unit name="bad_http_feed"> |
| 217 | <output-dir compare="Text">bad_http_feed</output-dir> |
| 218 | </compilation-unit> |
| 219 | </test-case> |
| 220 | <test-case FilePath="bad_cq"> |
| 221 | <compilation-unit name="bad_islands"> |
| 222 | <output-dir compare="Text">bad_islands</output-dir> |
| 223 | </compilation-unit> |
| 224 | </test-case> |
| 225 | <test-case FilePath="bad_cq"> |
| 226 | <compilation-unit name="new_tweets_from_area"> |
| 227 | <output-dir compare="Text">new_tweets_from_area</output-dir> |
| 228 | </compilation-unit> |
| 229 | </test-case> |
| 230 | </test-group> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 231 | </test-suite> |