2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 EXPECT SUCCESS "attribute.tests 1":
25 EXPECT SUCCESS "attribute.tests 2":
27 [attribute] long a {};
31 EXPECT FAILURE "attribute.tests 3":
39 EXPECT FAILURE "attribute.tests 3a":
47 EXPECT SUCCESS "attribute.tests 4":
56 EXPECT SUCCESS "attribute.tests 5":
65 EXPECT SUCCESS "attribute.tests 6":
75 EXPECT SUCCESS "attribute.tests 7":
85 EXPECT FAILURE "attribute.tests 8":
95 EXPECT OLD-FAILURE "attribute.tests 9":
105 EXPECT OLD-FAILURE "attribute.tests 10":
108 [attribute] long E1 {
114 EXPECT NEW-FAILURE "attribute.tests 11":
123 EXPECT SUCCESS "attribute.tests 12":
126 [attribute, readonly] long a {
132 EXPECT FAILURE "attribute.tests 13":
135 [attribute, readonly] long a {
141 EXPECT FAILURE "attribute.tests 14":
147 EXPECT SUCCESS "attribute.tests 15":
153 EXPECT FAILURE "attribute.tests 16":
155 [attribute, property] long a;
159 EXPECT FAILURE "attribute.tests 17":
161 [attribute, optional] long a;
165 EXPECT FAILURE "attribute.tests 18":
167 [attribute, maybevoid] long a;
171 EXPECT FAILURE "attribute.tests 19":
173 [attribute, constrained] long a;
177 EXPECT FAILURE "attribute.tests 20":
179 [attribute, transient] long a;
183 EXPECT FAILURE "attribute.tests 21":
185 [attribute, maybeambigious] long a;
189 EXPECT FAILURE "attribute.tests 22":
191 [attribute, maybedefault] long a;
195 EXPECT FAILURE "attribute.tests 23":
197 [attribute, removable] long a;
201 EXPECT SUCCESS "attribute.tests 24":
203 [attribute, bound] long a;
207 EXPECT SUCCESS "attribute.tests 25":
209 [bound, attribute] long a;
213 EXPECT SUCCESS "attribute.tests 26":
215 [attribute, readonly] long a;
219 EXPECT SUCCESS "attribute.tests 27":
221 [attribute, bound, readonly] long a;
225 EXPECT SUCCESS "attribute.tests 28":
228 [attribute, bound] long a {