12#include <com/sun/star/sheet/XConsolidatable.hpp>
13#include <com/sun/star/sheet/XConsolidationDescriptor.hpp>
14#include <com/sun/star/uno/Reference.hxx>
16#include <cppunit/TestAssert.h>
19using namespace css::uno;
25 uno::Reference<sheet::XConsolidatable> xConsolidatable(
init(), UNO_QUERY_THROW);
27 uno::Reference<sheet::XConsolidationDescriptor> xConsolidationDescriptor(
28 xConsolidatable->createConsolidationDescriptor(
true), UNO_SET_THROW);
33 uno::Reference<sheet::XConsolidatable> xConsolidatable(
init(), UNO_QUERY_THROW);
35 uno::Reference<sheet::XConsolidationDescriptor> xConsolidationDescriptor(
36 xConsolidatable->createConsolidationDescriptor(
true), UNO_SET_THROW);
38 xConsolidatable->consolidate(xConsolidationDescriptor);
39 CPPUNIT_ASSERT_MESSAGE(
"consolidate()",
true);
void testCreateConsolidationDescriptor()
virtual css::uno::Reference< css::uno::XInterface > init()=0