From c4d0cd148128ceec55b95407d637d42e27426966 Mon Sep 17 00:00:00 2001 From: jmzambon Date: Sun, 10 Dec 2017 14:20:59 +0100 Subject: tdf#97362: convert sw java complex tests to Python (#final) Move test documents to python folder. Delete remaining java helper class "TestDocument" and parent folder. Change-Id: I76ba4e82e96b39df207c337fc1f17052b750774d Reviewed-on: https://gerrit.libreoffice.org/46188 Tested-by: Jenkins Reviewed-by: Michael Stahl --- sw/qa/complex/writer/TestDocument.java | 31 --------------------- .../writer/testdocuments/CheckCrossReferences.odt | Bin 17626 -> 0 bytes sw/qa/complex/writer/testdocuments/CheckFlies.odt | Bin 65022 -> 0 bytes sw/qa/complex/writer/testdocuments/TESTMETA.odt | Bin 8678 -> 0 bytes sw/qa/complex/writer/testdocuments/TESTXMLID.odt | Bin 10879 -> 0 bytes sw/qa/complex/writer/testdocuments/fdo39694.ott | Bin 9357 -> 0 bytes 6 files changed, 31 deletions(-) delete mode 100644 sw/qa/complex/writer/TestDocument.java delete mode 100644 sw/qa/complex/writer/testdocuments/CheckCrossReferences.odt delete mode 100644 sw/qa/complex/writer/testdocuments/CheckFlies.odt delete mode 100644 sw/qa/complex/writer/testdocuments/TESTMETA.odt delete mode 100644 sw/qa/complex/writer/testdocuments/TESTXMLID.odt delete mode 100644 sw/qa/complex/writer/testdocuments/fdo39694.ott (limited to 'sw/qa/complex') diff --git a/sw/qa/complex/writer/TestDocument.java b/sw/qa/complex/writer/TestDocument.java deleted file mode 100644 index da6c6d4573ae..000000000000 --- a/sw/qa/complex/writer/TestDocument.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -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(Argument.get("tdoc"), name)); - } - - private TestDocument() {} -} diff --git a/sw/qa/complex/writer/testdocuments/CheckCrossReferences.odt b/sw/qa/complex/writer/testdocuments/CheckCrossReferences.odt deleted file mode 100644 index d9484421d3dc..000000000000 Binary files a/sw/qa/complex/writer/testdocuments/CheckCrossReferences.odt and /dev/null differ diff --git a/sw/qa/complex/writer/testdocuments/CheckFlies.odt b/sw/qa/complex/writer/testdocuments/CheckFlies.odt deleted file mode 100644 index 8f42989b3a0d..000000000000 Binary files a/sw/qa/complex/writer/testdocuments/CheckFlies.odt and /dev/null differ diff --git a/sw/qa/complex/writer/testdocuments/TESTMETA.odt b/sw/qa/complex/writer/testdocuments/TESTMETA.odt deleted file mode 100644 index 004af82e5ddf..000000000000 Binary files a/sw/qa/complex/writer/testdocuments/TESTMETA.odt and /dev/null differ diff --git a/sw/qa/complex/writer/testdocuments/TESTXMLID.odt b/sw/qa/complex/writer/testdocuments/TESTXMLID.odt deleted file mode 100644 index 063d392a489f..000000000000 Binary files a/sw/qa/complex/writer/testdocuments/TESTXMLID.odt and /dev/null differ diff --git a/sw/qa/complex/writer/testdocuments/fdo39694.ott b/sw/qa/complex/writer/testdocuments/fdo39694.ott deleted file mode 100644 index 959d2a656603..000000000000 Binary files a/sw/qa/complex/writer/testdocuments/fdo39694.ott and /dev/null differ -- cgit v1.2.3