disable Ranges-2.xls vba test file

there seems to be some problem ( regression from 3.6 ? ) with dealing with
addresses returned from named ranges where the addressing mode of the named
range is different from the addressing mode of the document itself

Change-Id: Icfcd047819a4d1c89ae9509ea1a2e1b2d5386101
This commit is contained in:
Noel Power 2013-03-06 16:52:16 +00:00
parent 5eb1628b67
commit c95e3fb646
2 changed files with 5 additions and 17 deletions

View file

@ -59,24 +59,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,sc, \
# CppunitTest_sc_annotationshapeobj \
$(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
JunitTest_sc_complex \
JunitTest_sc_unoapi \
CppunitTest_sc_outlineobj \
CppunitTest_sc_annotationobj \
CppunitTest_sc_annotationsobj \
CppunitTest_sc_cellrangeobj \
$(if $(filter-out $(OS),IOS), \
CppunitTest_sc_databaserangeobj) \
CppunitTest_sc_datapilottableobj \
CppunitTest_sc_datapilotfieldobj \
CppunitTest_sc_macros_test \
CppunitTest_sc_namedrangeobj \
CppunitTest_sc_namedrangesobj \
CppunitTest_sc_tablesheetobj \
CppunitTest_sc_tablesheetsobj \
CppunitTest_sc_editfieldobj_cell \
CppunitTest_sc_editfieldobj_header \
CppunitTest_sc_modelobj \
))
# vim: set noet sw=4 ts=4:

View file

@ -156,10 +156,15 @@ void ScMacrosTest::testVba()
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TestCalc_Rangetest2.")),
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document"))
},
#if FIXRANGEADDRESSING
//ScVbaRange::getRangeForName()/getScRangeListForAddress() seems to get confused
//about the addressing mode of the document vs the addressing mode of a named
//range ( need to fix that )
{
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Ranges-2.")),
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document"))
},
#endif
{
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("pagesetup.")),
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document"))