From a39210b5a31f932ee4e7f1f745d9744552f13d74 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 3 Jun 2004 14:12:17 +0000 Subject: [PATCH] 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. --- idlc/test/parser/interfaceinheritance.tests | 45 ++++++++++++++++++++- 1 file 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; +};