summaryrefslogtreecommitdiff
path: root/slideshow/test/testview.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-11-07 00:15:27 +0100
committerThorsten Behrens <tbehrens@novell.com>2010-11-15 17:43:14 +0100
commitf1c45fad02ee12937b4e80dfac3db5f97ea9dbc9 (patch)
tree72de3a1c964993471cf4d23a6b0282bf3dba92ea /slideshow/test/testview.cxx
parentf37609830b20839ce2a4c9aee0ec57435d5112a2 (diff)
Make slideshow unittest work again
Well, it still fails. But for all the right reasons.
Diffstat (limited to 'slideshow/test/testview.cxx')
-rw-r--r--slideshow/test/testview.cxx19
1 files changed, 18 insertions, 1 deletions
diff --git a/slideshow/test/testview.cxx b/slideshow/test/testview.cxx
index 036fc05d948d..7d40e03ce63d 100644
--- a/slideshow/test/testview.cxx
+++ b/slideshow/test/testview.cxx
@@ -26,7 +26,10 @@
*
************************************************************************/
-#include <testshl/simpleheader.hxx>
+#include <cppunit/TestAssert.h>
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+
#include <cppuhelper/compbase1.hxx>
#include <cppuhelper/basemutex.hxx>
#include <comphelper/make_shared_from_uno.hxx>
@@ -134,6 +137,11 @@ public:
{
}
+ virtual awt::Rectangle SAL_CALL getCanvasArea( ) throw (uno::RuntimeException)
+ {
+ return awt::Rectangle(0,0,100,100);
+ }
+
// TestView
virtual bool isClearCalled() const
{
@@ -276,6 +284,15 @@ public:
{
mbDisposed = true;
}
+
+ virtual bool isSoundEnabled (void) const
+ {
+ return true;
+ }
+
+ virtual void setIsSoundEnabled (const bool /*bValue*/)
+ {
+ }
};