12#include <com/sun/star/sheet/XDDELink.hpp>
13#include <com/sun/star/uno/Reference.hxx>
15#include <cppunit/TestAssert.h>
18using namespace css::uno;
24 uno::Reference<sheet::XDDELink> xLink(
init(), UNO_QUERY_THROW);
26 CPPUNIT_ASSERT_EQUAL_MESSAGE(
"Unable to execute getApplication()", OUString(
"soffice"),
27 xLink->getApplication());
31 uno::Reference<sheet::XDDELink> xLink(
init(), UNO_QUERY_THROW);
33 CPPUNIT_ASSERT_EQUAL_MESSAGE(
"Unable to execute getItem()", OUString(
"Sheet1.A1"),
38 uno::Reference<sheet::XDDELink> xLink(
init(), UNO_QUERY_THROW);
40 CPPUNIT_ASSERT_EQUAL_MESSAGE(
"Unable to execute getTopic()",
m_URL, xLink->getTopic());
void testGetApplication()
virtual css::uno::Reference< css::uno::XInterface > init()=0