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"> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 23 | <test-group name="channel"> |
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> |
| 106 | <test-case FilePath="channel"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 107 | <compilation-unit name="create_channel_check_datasets"> |
| 108 | <output-dir compare="Text">create_channel_check_datasets</output-dir> |
| 109 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 110 | </test-case> |
| 111 | <test-case FilePath="channel"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 112 | <compilation-unit name="create_channel_check_metadata"> |
| 113 | <output-dir compare="Text">create_channel_check_metadata</output-dir> |
| 114 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 115 | </test-case> |
| 116 | <test-case FilePath="channel"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 117 | <compilation-unit name="drop_channel_check_datasets"> |
| 118 | <output-dir compare="Text">drop_channel_check_datasets</output-dir> |
| 119 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 120 | </test-case> |
Steven Glenn Jacobs | d676726 | 2017-04-04 17:31:40 -0700 | [diff] [blame] | 121 | <test-case FilePath="channel"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 122 | <compilation-unit name="drop_channel_check_metadata"> |
| 123 | <output-dir compare="Text">drop_channel_check_metadata</output-dir> |
| 124 | </compilation-unit> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 125 | </test-case> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 126 | <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 Jacobs | 5b87065 | 2018-01-19 19:52:51 -0800 | [diff] [blame] | 132 | <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"> |
| 138 | <compilation-unit name="drop_results"> |
| 139 | <output-dir compare="Text">drop_results</output-dir> |
| 140 | <expected-error>Cannot alter dataset two.nearbyTweetChannelResults. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 141 | </compilation-unit> |
| 142 | </test-case> |
| 143 | <test-case FilePath="channel"> |
| 144 | <compilation-unit name="drop_subscriptions"> |
| 145 | <output-dir compare="Text">drop_subscriptions</output-dir> |
| 146 | <expected-error>Cannot alter dataset two.nearbyTweetChannelSubscriptions. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 147 | </compilation-unit> |
| 148 | </test-case> |
| 149 | <test-case FilePath="channel"> |
| 150 | <compilation-unit name="drop_function_dataverse"> |
| 151 | <output-dir compare="Text">drop_function_dataverse</output-dir> |
| 152 | <expected-error>Cannot drop dataverse channels. two.nearbyTweetChannel(Channel) depends on it!</expected-error> |
| 153 | </compilation-unit> |
| 154 | </test-case> |
| 155 | <test-case FilePath="channel"> |
| 156 | <compilation-unit name="room_occupants"> |
| 157 | <output-dir compare="Text">room_occupants</output-dir> |
| 158 | </compilation-unit> |
| 159 | </test-case> |
| 160 | <test-case FilePath="channel"> |
Steven Glenn Jacobs | 8b53ce5 | 2017-11-14 10:21:43 -0800 | [diff] [blame] | 161 | <compilation-unit name="disasters_with_friends"> |
| 162 | <output-dir compare="Text">disasters_with_friends</output-dir> |
| 163 | </compilation-unit> |
| 164 | </test-case> |
| 165 | <test-case FilePath="channel"> |
| 166 | <compilation-unit name="ten_minute_channel"> |
| 167 | <output-dir compare="Text">ten_minute_channel</output-dir> |
| 168 | </compilation-unit> |
| 169 | </test-case> |
Steven Glenn Jacobs | f73ca84 | 2016-09-14 12:42:28 -0700 | [diff] [blame] | 170 | </test-group> |
| 171 | </test-suite> |