blob: ea6db8549ee939dd4d54bb67db6e2c597ded2389 [file] [log] [blame]
ggalvizoab83c3b2021-12-22 14:15:50 -08001<!--
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 !-->
19<test-suite xmlns="urn:xml.testframework.asterix.apache.org"
20 ResultOffsetPath="results"
21 QueryOffsetPath="queries"
22 QueryFileExtension=".sqlpp">
23 <test-group name="error-handling">
24 <test-case FilePath="graphix">
25 <compilation-unit name="error-handling">
26 <output-dir compare="Text">error-handling</output-dir>
27 <expected-error>Cannot drop dataset (or view) TestDataverse.GenericDataset being used by graph TestGraph</expected-error>
28 <expected-error>Cannot drop function TestDataverse.TestFunction() being used by graph TestGraph</expected-error>
29 <expected-error>Cannot drop dataset (or view) TestDataverse.TestView being used by graph TestGraph</expected-error>
30 <expected-error>Cannot drop synonym TestDataverse.DatasetSynonym being used by graph TestGraph</expected-error>
31 <expected-error>Cannot drop dataverse: dataset (or view) TestDataverse2.GenericDataset being used by graph TestGraph</expected-error>
32 <expected-error>Bad definition for a graph element(.)*Cannot find dataset DatasetThatDoesNotExist in dataverse TestDataverse nor an alias with name DatasetThatDoesNotExist</expected-error>
33 <expected-error>Bad definition for a graph element(.)*Cannot resolve ambiguous alias reference for identifier V</expected-error>
34 <expected-error>Conflicting primary keys for vertices with label Vertex1</expected-error>
35 <expected-error>Destination vertex Vertex3 not found in the edge EDGE_1.</expected-error>
36 <expected-error>Graph TestGraph already exists.</expected-error>
37 <expected-error>Graph GraphThatDoesntExist2 does not exist.</expected-error>
38 </compilation-unit>
39 </test-case>
40 </test-group>
41</test-suite>