summaryrefslogtreecommitdiff
path: root/stoc/test/testcorefl.cxx
diff options
context:
space:
mode:
authorHamza Abdelkebir <hamza.abdelkebir@gmail.com>2013-02-23 21:12:06 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-24 00:51:09 +0000
commit978558272caf1b661ba6800d92567843a1dbf1ca (patch)
treee0238a5220a39c4dbf2adb1a066e789d4d79ac0b /stoc/test/testcorefl.cxx
parentcfc6473352ba68a4b40e03688cd51f2511a7b575 (diff)
translated some german comments, removed commented code blocks
Change-Id: Ia741aaa596b711b80cf8cc1be605e34e19a62f3e Reviewed-on: https://gerrit.libreoffice.org/2352 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'stoc/test/testcorefl.cxx')
-rw-r--r--stoc/test/testcorefl.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 55f303b2d1ef..213989abb6ae 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -100,8 +100,6 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
OSL_ENSURE(xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstUShort")) == aConstUShort, "test_RegCoreReflection(): error 4i");
OSL_ENSURE(xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstLong")) == aConstLong, "test_RegCoreReflection(): error 4k");
OSL_ENSURE(xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstULong")) == aConstULong, "test_RegCoreReflection(): error 4m");
-// OSL_ENSURE(xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstFloat")) == aConstFloat, "test_RegCoreReflection(): error 4o");
-// OSL_ENSURE(xHNameAccess->getByHierarchicalName(OUString("ModuleC.aConstDouble")) == aConstDouble, "test_RegCoreReflection(): error 4q");
// Enums
@@ -229,15 +227,6 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
OSL_ENSURE( aAny.getValueTypeName() == "[][]ModuleA.StructA", "test_RegCoreReflection(): error 56" );
-// xClass = xRefl->forName(OUString( "com.sun.star.beans.XIntroTest" ));
-
-// OSL_ENSURE(xClass.is(), "test_RegCoreReflection(): error 58");
-// OSL_ENSURE(xClass->getMethod(OUString("getStrings"))->getReturnType()->getTypeClass() == TypeClass_SEQUENCE, "test_RegCoreReflection(): error 59");
-// OSL_ENSURE(xClass->getMethod(OUString("getStrings"))->getReturnType()->getComponentType()->getName() == OUString("string"), "test_RegCoreReflection(): error 60");
-
-// xClass->getMethod(OUString("getStrings"))->getReturnType()->createObject(aAny);
-// OSL_ENSURE( aAny.getValueTypeName() == "[]string", "test_RegCoreReflection(): error 61" );
-
OSL_ENSURE(xRefl->forName(OUString("[][][]unsigned long"))->getComponentType()->getComponentType()->getComponentType()->getTypeClass() == TypeClass_UNSIGNED_LONG, "test_RegCoreReflection(): error 62");
try
@@ -259,7 +248,6 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl )
Any gulp;
rField = Reference< XIdlField2 > ( xRefl->forName(OUString("ModuleA.StructC"))->getField(OUString("aString")) , UNO_QUERY);
rField->set( blup, gulp);
-// xRefl->forName(OUString("ModuleA.StructC"))->getField(OUString("aString"))->set(blup, gulp);
OSL_ENSURE(sal_False, "test_RegCoreReflection(): error 64");
return sal_False;
}