INTEGRATION: CWS jl46 (1.4.16); FILE MERGED

2006/12/04 17:42:34 jl 1.4.16.2: RESYNC: (1.4-1.5); FILE MERGED
2006/09/15 11:43:06 sb 1.4.16.1: #i69498# AstService::checkLastConstructor failed for differing ctors that happened to have identically typed parameters in one position.
This commit is contained in:
Ivo Hinkelmann 2006-12-19 10:35:32 +00:00
parent b2c98a7058
commit 9ab7e93229

View file

@ -4,9 +4,9 @@
#
# $RCSfile: constructor.tests,v $
#
# $Revision: 1.5 $
# $Revision: 1.6 $
#
# last change: $Author: kz $ $Date: 2006-11-06 14:41:15 $
# last change: $Author: ihi $ $Date: 2006-12-19 11:35:32 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@ -175,3 +175,33 @@ module com { module sun { module star { module test {
service S: com::sun::star::test::X {
c([in] any... a);
};
EXPECT SUCCESS "constructor.tests 20":
module com { module sun { module star { module uno {
interface XInterface { void m(); };
}; }; }; };
service S: com::sun::star::uno::XInterface {
c1([in] long a, [in] long b);
c2([in] long a);
};
EXPECT SUCCESS "constructor.tests 21":
module com { module sun { module star { module uno {
interface XInterface { void m(); };
}; }; }; };
service S: com::sun::star::uno::XInterface {
c1([in] long a);
c2([in] long a, [in] long b);
};
EXPECT SUCCESS "constructor.tests 22":
module com { module sun { module star { module uno {
interface XInterface { void m(); };
}; }; }; };
service S: com::sun::star::uno::XInterface {
c1([in] long a, [in] short b);
c2([in] long a, [in] long b);
};