summaryrefslogtreecommitdiff
path: root/idlc/test
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-03 14:12:17 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-03 14:12:17 +0000
commita39210b5a31f932ee4e7f1f745d9744552f13d74 (patch)
treeffe471795a231a67e330bbbd8fac07e57e5ccc82 /idlc/test
parent69e1ce22753f1a029ed76dad450f54536c72081d (diff)
INTEGRATION: CWS sb18 (1.2.4); FILE MERGED
2004/04/08 14:37:18 sb 1.2.4.1: #i21150# Fixed UNOIDL typedef support; initial support for polymorphic struct types.
Diffstat (limited to 'idlc/test')
-rw-r--r--idlc/test/parser/interfaceinheritance.tests45
1 files changed, 43 insertions, 2 deletions
diff --git a/idlc/test/parser/interfaceinheritance.tests b/idlc/test/parser/interfaceinheritance.tests
index 475c003825e3..ac3618c0b03f 100644
--- a/idlc/test/parser/interfaceinheritance.tests
+++ b/idlc/test/parser/interfaceinheritance.tests
@@ -2,9 +2,9 @@
#
# $RCSfile: interfaceinheritance.tests,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: rt $ $Date: 2004-03-30 16:49:33 $
+# last change: $Author: obo $ $Date: 2004-06-03 15:12:17 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -355,3 +355,44 @@ interface Base {};
interface Derived {
[optional] interface Base;
};
+
+
+EXPECT FAILURE "interfaceinheritance.tests 26":
+interface Base;
+interface Derived {
+ interface Base;
+};
+
+
+EXPECT FAILURE "interfaceinheritance.tests 27":
+module com { module sun { module star { module uno {
+ interface XInterface { void acquire(); };
+}; }; }; };
+interface Base;
+interface Derived {
+ [optional] interface Base;
+};
+
+
+EXPECT FAILURE "interfaceinheritance.tests 28":
+module com { module sun { module star { module uno {
+ interface XInterface { void acquire(); };
+}; }; }; };
+interface Base {};
+typedef Base Hidden;
+interface Derived {
+ interface Base;
+ interface Hidden;
+};
+
+
+EXPECT FAILURE "interfaceinheritance.tests 29":
+module com { module sun { module star { module uno {
+ interface XInterface { void acquire(); };
+}; }; }; };
+interface Base {};
+typedef Base Hidden;
+interface Derived {
+ interface Hidden;
+ interface Base;
+};