summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-10 17:51:33 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-10 19:19:30 +0100
commit82e349fd80671f7dabe9dd7a22e4711696300082 (patch)
tree2514e7d38b5e3707028b78a4787698258e84e19b /test
parentc1589dbd450426928077694346b773b718e6ff78 (diff)
add XDataPilotTable2 test to ScDatPilotTableObj
Diffstat (limited to 'test')
-rw-r--r--test/inc/test/sheet/xdatapilottable2.hxx4
-rw-r--r--test/source/sheet/xdatapilottable2.cxx1
2 files changed, 4 insertions, 1 deletions
diff --git a/test/inc/test/sheet/xdatapilottable2.hxx b/test/inc/test/sheet/xdatapilottable2.hxx
index 436376bdf558..e81de869c382 100644
--- a/test/inc/test/sheet/xdatapilottable2.hxx
+++ b/test/inc/test/sheet/xdatapilottable2.hxx
@@ -31,6 +31,8 @@
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/sheet/XDataPilotTable2.hpp>
+#include "test/testdllapi.hxx"
+
using namespace com::sun::star;
#include <vector>
@@ -39,7 +41,7 @@ using namespace com::sun::star;
namespace apitest {
-class XDataPilotTable2
+class OOO_DLLPUBLIC_TEST XDataPilotTable2
{
public:
void testGetPositionData();
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index 57b111de885a..b707146950a0 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -80,6 +80,7 @@ void XDataPilotTable2::testGetDrillDownData()
}
}
+ std::cout << "Sum: " << sum << "; nVal: " << nVal << std::endl;
CPPUNIT_ASSERT(sum == nVal);
}