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 SUCCESS "attribute.tests 4":
48 EXPECT SUCCESS "attribute.tests 5":
57 EXPECT SUCCESS "attribute.tests 6":
67 EXPECT SUCCESS "attribute.tests 7":
77 EXPECT FAILURE "attribute.tests 8":
87 EXPECT FAILURE "attribute.tests 9":
97 EXPECT FAILURE "attribute.tests 10":
100 [attribute] long E1 {
106 EXPECT SUCCESS "attribute.tests 11":
115 EXPECT SUCCESS "attribute.tests 12":
118 [attribute, readonly] long a {
124 EXPECT FAILURE "attribute.tests 13":
127 [attribute, readonly] long a {
133 EXPECT FAILURE "attribute.tests 14":
139 EXPECT SUCCESS "attribute.tests 15":
145 EXPECT FAILURE "attribute.tests 16":
147 [attribute, property] long a;
151 EXPECT FAILURE "attribute.tests 17":
153 [attribute, optional] long a;
157 EXPECT FAILURE "attribute.tests 18":
159 [attribute, maybevoid] long a;
163 EXPECT FAILURE "attribute.tests 19":
165 [attribute, constrained] long a;
169 EXPECT FAILURE "attribute.tests 20":
171 [attribute, transient] long a;
175 EXPECT FAILURE "attribute.tests 21":
177 [attribute, maybeambigious] long a;
181 EXPECT FAILURE "attribute.tests 22":
183 [attribute, maybedefault] long a;
187 EXPECT FAILURE "attribute.tests 23":
189 [attribute, removeable] long a;
193 EXPECT SUCCESS "attribute.tests 24":
195 [attribute, bound] long a;
199 EXPECT SUCCESS "attribute.tests 25":
201 [bound, attribute] long a;
205 EXPECT SUCCESS "attribute.tests 26":
207 [attribute, readonly] long a;
211 EXPECT SUCCESS "attribute.tests 27":
213 [attribute, bound, readonly] long a;