sw34bf03: #i116192#: sw: enable complex tests again
This commit is contained in:
parent
2b9ee96b5d
commit
53d11881f2
2 changed files with 15 additions and 1 deletions
|
@ -27,6 +27,11 @@
|
|||
|
||||
$(eval $(call gb_JunitTest_JunitTest,sw_complex))
|
||||
|
||||
$(eval $(call gb_JunitTest_set_defs,sw_complex,\
|
||||
$$(DEFS) \
|
||||
-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/sw/qa/complex/writer/testdocuments \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,sw_complex,\
|
||||
sw/qa/complex/checkColor/CheckChangeColor \
|
||||
sw/qa/complex/indeterminateState/CheckIndeterminateState \
|
||||
|
@ -52,6 +57,14 @@ $(eval $(call gb_JunitTest_add_jars,sw_complex,\
|
|||
$(eval $(call gb_JunitTest_add_classes,sw_complex,\
|
||||
complex.accessibility.AccessibleRelationSet \
|
||||
complex.checkColor.CheckChangeColor \
|
||||
complex.writer.CheckCrossReferences \
|
||||
complex.writer.CheckFlies \
|
||||
complex.writer.CheckIndexedPropertyValues \
|
||||
complex.writer.CheckNamedPropertyValues \
|
||||
complex.writer.TextPortionEnumerationTest \
|
||||
))
|
||||
|
||||
# currently fails (should run again in os146) (except on windows)
|
||||
# complex.writer.CheckBookmarks \
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -29,10 +29,11 @@ package complex.writer;
|
|||
|
||||
import java.io.File;
|
||||
import org.openoffice.test.OfficeFileUrl;
|
||||
import org.openoffice.test.Argument;
|
||||
|
||||
final class TestDocument {
|
||||
public static String getUrl(String name) {
|
||||
return OfficeFileUrl.getAbsolute(new File("testdocuments", name));
|
||||
return OfficeFileUrl.getAbsolute(new File(Argument.get("tdoc"), name));
|
||||
}
|
||||
|
||||
private TestDocument() {}
|
||||
|
|
Loading…
Reference in a new issue