From 2fc4a8c8113b1bf78258845ed06662a07996a6af Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 1 Apr 2015 12:48:44 +0200 Subject: Add support for cppu::UnoType Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1 --- cppu/qa/test_any.cxx | 2 +- cppu/qa/test_unotype.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'cppu/qa') diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index f90a95fb3cf1..3a0352b3c59f 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -225,7 +225,7 @@ public: void Test::testVoid() { css::uno::Any a; - CPPUNIT_ASSERT(a.getValueType() == cppu::UnoType::get()); + CPPUNIT_ASSERT(a.getValueType() == cppu::UnoType::get()); { bool b = true; CPPUNIT_ASSERT_MESSAGE("bool", !(a >>= b) && b); diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx index 9ba079958971..053b155628f1 100644 --- a/cppu/qa/test_unotype.cxx +++ b/cppu/qa/test_unotype.cxx @@ -102,6 +102,7 @@ void Test::testUnoType() { CPPUNIT_ASSERT_EQUAL(+css::uno::TypeClass_VOID, +t.getTypeClass()); CPPUNIT_ASSERT_EQUAL( ::rtl::OUString("void"), t.getTypeName()); + CPPUNIT_ASSERT(cppu::UnoType::get() == t); t = ::cppu::UnoType< bool >::get(); CPPUNIT_ASSERT_EQUAL(+css::uno::TypeClass_BOOLEAN, +t.getTypeClass()); CPPUNIT_ASSERT_EQUAL( -- cgit v1.2.3