Kaydet (Commit) 8b8dfa25 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Unused obsolete stuff

üst 8f827642
[ps]
### contains date in it, will fail every time ###
CurrentTime.ods
[pdf]
### contains date in it, will fail every time ###
CurrentTime.ods
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=gfxcmp_prechecks
TARGET=notargetyet
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
.IF "$(VERBOSE)"!=""
P_VERBOSE=-verbose
.ENDIF
.IF "$(SHOW)"!=""
P_JAVA6=-java6
.ENDIF
# PERLDEBUG=-d:ptkdb
ALLTAR:
.IF "$(GUI)"=="WNT"
$(PERL) $(PERLDEBUG) softwaretests.pl -printerdriver -imagemagick -ghostscript $(P_VERBOSE) $(P_JAVA6)
.ELSE
$(PERL) $(PERLDEBUG) softwaretests.pl -imagemagick -ghostscript $(P_VERBOSE) $(P_JAVA6)
.ENDIF
.INCLUDE : $(PRJ)$/util$/makefile.pmk
This diff is collapsed.
gfxcmp testgraphical : instsetoo_native qadevOOo NULL
gfxcmp testgraphical usr1 - all gfxcmp_mkout NULL
#gfxcmp testgraphical\prechecks nmake - all gfxcmp_pre NULL
gfxcmp testgraphical\ui\java\ConvwatchGUIProject nmake - all gfxcmp_java_ui NULL
gfxcmp testgraphical\ui\java nmake - all gfxcmp_java gfxcmp_java_ui NULL
# gfxcmp testgraphical\source nmake - all gfxcmp_src gfxcmp_java NULL
#i112751 gfxcmp testgraphical\qa\graphical nmake - all gfxcmp_qa gfxcmp_java NULL
/*************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
************************************************************************/
package org.openoffice.testgraphical.qa.graphical;
import org.openoffice.Runner;
import org.openoffice.test.OfficeConnection;
import static org.junit.Assert.*;
import helper.ProcessHandler;
import graphical.FileHelper;
import java.io.File;
public final class Test {
@org.junit.Before
public void setUp() throws Exception
{
connection.setUp();
}
@org.junit.After
public void tearDown() throws Exception
{
connection.tearDown();
}
@org.junit.Test
public void test()
{
boolean good = true;
final String sPerlEXE = System.getenv("PERL");
// System.out.println("PERL:=" + sPerlEXE);
final String sPRJ = System.getenv("PRJ");
// System.out.println("PRJ:=" + sPRJ);
String sShow = "";
if (System.getProperty("SHOW") != null)
{
sShow = "-show";
}
final String sComparePath = FileHelper.appendPath(sPRJ, "source");
final String sCompareName = FileHelper.appendPath(sComparePath, "compare.pl");
File aCompareFile = new File(sCompareName);
if (!aCompareFile.exists())
{
System.out.println("Path to compare.pl is wrong: '" + aCompareFile.getAbsolutePath() + "'");
assertTrue(false);
}
final String sConnectionString = connection.getDescription();
String[] sCommandArray =
{
sPerlEXE,
aCompareFile.getAbsolutePath(),
"-creatortype", "pdf",
// If you make changes here, do it also in ../../source/makefile.mk in selftest: target!
"-pool", "singletest",
"-document", "eis-test.odt",
// "-pool", "demo",
// "-document", "CurrentTime.ods",
"-connectionstring", sConnectionString,
// "-verbose",
sShow
};
ProcessHandler aHandler = new ProcessHandler(sCommandArray);
boolean bBackValue = aHandler.executeSynchronously();
int nExitCode = aHandler.getExitCode();
// String sBack = aHandler.getOutputText();
if (nExitCode != 0)
{
good = false;
}
assertTrue(good);
// Runner.run(
// "-sce", "sw.sce", "-xcl", "knownissues.xcl", "-tdoc",
// "testdocuments", "-cs", connection.getDescription()));
}
private final OfficeConnection connection = new OfficeConnection();
}
#*************************************************************************
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#***********************************************************************/
.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
nothing .PHONY:
@echo "OOO_SUBSEQUENT_TESTS not given, do nothing."
.ELSE
PRJ = ../..
PRJNAME = testgraphical
TARGET = qa_graphical
.IF "$(OOO_JUNIT_JAR)" != ""
.IF "$(SHOW)" != ""
# You will need java6 for this!
JAVAIFLAGS:=$(JAVAIFLAGS) -DSHOW=1
.ENDIF
PACKAGE = org/openoffice/testgraphical/qa/graphical
JAVATESTFILES = Test.java
JAVAFILES = $(JAVATESTFILES)
JARFILES = OOoRunner.jar test.jar
EXTRAJARFILES = $(OOO_JUNIT_JAR)
.END
.INCLUDE: settings.mk
.INCLUDE: target.mk
.INCLUDE: installationtest.mk
ALLTAR : javatest
.END
clean:
# This is the tolerance we will accept if there are problems
# [eis-test.odt.ps]
# accept=111
# page1=111
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
# x-no-translate
build.xml.data.CRC32=d17eccb2
build.xml.script.CRC32=a183e208
build.xml.stylesheet.CRC32=958a1d3e@1.32.1.45
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=d17eccb2
nbproject/build-impl.xml.script.CRC32=ea0e5dc9
nbproject/build-impl.xml.stylesheet.CRC32=576378a2@1.32.1.45
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
</project-private>
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment