diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-03-19 12:22:26 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-03-19 12:22:26 +0000 |
commit | 69efd791977136c5d14db76c20261fc429204175 (patch) | |
tree | 4c0f6996747f2d20d0b74ed1341a482d9f3f70bd /stoc | |
parent | 100c6467d70eb59ac05f837a2244ea9a5193330d (diff) |
INTEGRATION: CWS sb15 (1.2.14); FILE MERGED
2004/02/25 16:01:03 sb 1.2.14.1: #i24436# Adapted to new XVndSunStarScriptUrlReference; changed stoc::uriproc::UriReference from a base class to an implementation helper class.
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/test/uriproc/makefile.mk | 6 | ||||
-rw-r--r-- | stoc/test/uriproc/test_uriproc.cxx | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/stoc/test/uriproc/makefile.mk b/stoc/test/uriproc/makefile.mk index 11b67492c156..2335cfb44549 100644 --- a/stoc/test/uriproc/makefile.mk +++ b/stoc/test/uriproc/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.2 $ +# $Revision: 1.3 $ # -# last change: $Author: kz $ $Date: 2004-01-19 18:31:30 $ +# last change: $Author: obo $ $Date: 2004-03-19 13:22:11 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -76,7 +76,7 @@ UNOTYPES = \ com.sun.star.uno.XComponentContext \ com.sun.star.uri.XUriReference \ com.sun.star.uri.XUriReferenceFactory \ - com.sun.star.uri.XVndSunStarScriptUrl + com.sun.star.uri.XVndSunStarScriptUrlReference SHL1TARGET = $(TARGET) SHL1OBJS = $(SLO)$/test_uriproc.obj diff --git a/stoc/test/uriproc/test_uriproc.cxx b/stoc/test/uriproc/test_uriproc.cxx index f9503938e310..3aa0d4bda3b1 100644 --- a/stoc/test/uriproc/test_uriproc.cxx +++ b/stoc/test/uriproc/test_uriproc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: test_uriproc.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2004-01-19 18:31:46 $ + * last change: $Author: obo $ $Date: 2004-03-19 13:22:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,7 +66,7 @@ #include "com/sun/star/uno/XComponentContext.hpp" #include "com/sun/star/uri/XUriReference.hpp" #include "com/sun/star/uri/XUriReferenceFactory.hpp" -#include "com/sun/star/uri/XVndSunStarScriptUrl.hpp" +#include "com/sun/star/uri/XVndSunStarScriptUrlReference.hpp" #include "cppuhelper/servicefactory.hxx" #include "cppunit/simpleheader.hxx" #include "osl/thread.h" @@ -792,12 +792,12 @@ void Test::testVndSunStarScript() { "testVndSunStarScript", i, data[i].uriReference, data[i].name != 0, uriRef.is()); if (uriRef.is()) { - css::uno::Reference< css::uri::XVndSunStarScriptUrl > scriptUrl( - uriRef, css::uno::UNO_QUERY_THROW); + css::uno::Reference< css::uri::XVndSunStarScriptUrlReference > + scriptUrl(uriRef, css::uno::UNO_QUERY_THROW); TEST_ASSERT_EQUAL( "testVndSunStarScript", i, data[i].uriReference, rtl::OUString::createFromAscii(data[i].uriReference), - uriRef->getUriReference()); + scriptUrl->getUriReference()); TEST_ASSERT_EQUAL( "testVndSunStarScript", i, data[i].uriReference, rtl::OUString::createFromAscii(data[i].name), |