summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/compare
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/compare')
-rw-r--r--qadevOOo/runner/util/compare/DocComparator.java4
-rw-r--r--qadevOOo/runner/util/compare/DocComparatorFactory.java6
-rw-r--r--qadevOOo/runner/util/compare/GraphicalComparator.java24
-rw-r--r--qadevOOo/runner/util/compare/PDFComparator.java16
-rw-r--r--qadevOOo/runner/util/compare/XMLComparator.java4
5 files changed, 27 insertions, 27 deletions
diff --git a/qadevOOo/runner/util/compare/DocComparator.java b/qadevOOo/runner/util/compare/DocComparator.java
index 365850fa4839..5ffa024216bc 100644
--- a/qadevOOo/runner/util/compare/DocComparator.java
+++ b/qadevOOo/runner/util/compare/DocComparator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -30,7 +30,7 @@ package util.compare;
import java.io.IOException;
/**
- *
+ *
*
*/
diff --git a/qadevOOo/runner/util/compare/DocComparatorFactory.java b/qadevOOo/runner/util/compare/DocComparatorFactory.java
index 5f68606932c0..012bfcdf9388 100644
--- a/qadevOOo/runner/util/compare/DocComparatorFactory.java
+++ b/qadevOOo/runner/util/compare/DocComparatorFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -57,8 +57,8 @@ public class DocComparatorFactory
{
throw new IllegalArgumentException("DocComparator for '" + s + "' not supported!");
}
-
+
// unreachable: return null;
}
-
+
}
diff --git a/qadevOOo/runner/util/compare/GraphicalComparator.java b/qadevOOo/runner/util/compare/GraphicalComparator.java
index 71109e984188..9e734992f26e 100644
--- a/qadevOOo/runner/util/compare/GraphicalComparator.java
+++ b/qadevOOo/runner/util/compare/GraphicalComparator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ class GraphicalComparator implements DocComparator
{
m_aArguments = new GraphicalTestArguments(aParams);
}
-
+
/**
* @return an instance of this object, but only it's interface
*/
@@ -93,7 +93,7 @@ class GraphicalComparator implements DocComparator
sNewSubDir = FileHelper.removeFirstDirectorysAndBasenameFrom(_sEntry, _sInputPath);
}
String sNameNoSuffix = FileHelper.getNameNoSuffix(FileHelper.getBasename(_sEntry));
-
+
// add the sub path to the difference path
String sNewReferencePath;
if (sNewSubDir.length() > 0)
@@ -108,11 +108,11 @@ class GraphicalComparator implements DocComparator
sNewReferencePath += fs + sNameNoSuffix + _sNewSuffix;
return sNewReferencePath;
}
-
+
boolean isReferenceOrDiffExistent(String _sNewSuffix)
{
boolean isExistent = false;
-
+
// LLA? What if sReferencePath is a directory, but directory is empty? is the result then true or false;
// wir muessen durch den InputPath durch und dann fuer jedes Dokument prufen, ob im angegebenen ReferencePath eine Reference existiert.
@@ -134,7 +134,7 @@ class GraphicalComparator implements DocComparator
}
else
{
- // sInputPath is a file
+ // sInputPath is a file
String sNewReferencePath = createSpecialFile(sInputPath, "", m_aArguments.getReferencePath(), _sNewSuffix);
if (FileHelper.exists(sNewReferencePath))
{
@@ -143,7 +143,7 @@ class GraphicalComparator implements DocComparator
}
return isExistent;
}
-
+
/**
* REFERENCE_PATH must set to directory/file, where the reference (*.prn files) (should) exist
*/
@@ -198,7 +198,7 @@ class GraphicalComparator implements DocComparator
System.err.println(" Inputpath: '" + m_aArguments.getInputPath() + "'");
System.err.println(" Outputpath: '" + m_aArguments.getOutputPath() + "'");
System.err.println("Referencepath: '" + m_aArguments.getReferencePath() + "'");
- }
+ }
return GraphicalDifferenceCheck.check(m_aArguments.getInputPath(), m_aArguments.getOutputPath(), m_aArguments.getReferencePath(), m_aArguments);
}
catch(ConvWatchException e)
@@ -228,7 +228,7 @@ class GraphicalComparator implements DocComparator
/**
* INPUT_PATH must set, to directory/file, where the documents exist.
* REFERENCE_PATH must set to directory/file, where the created references (*.prn files) exists.
- * OUTPUT_PATH must set to a directory, where the whole ouptut will create. Here the diffReference will create.
+ * OUTPUT_PATH must set to a directory, where the whole ouptut will create. Here the diffReference will create.
* At the momemt it's not possible to say only where the diffreferences will create.
*/
public void createDiffReference() throws IOException
@@ -236,11 +236,11 @@ class GraphicalComparator implements DocComparator
// this is the same like compareDiff(), but trash the result.
compareDiff();
}
-
+
/**
* INPUT_PATH must set, to directory/file, where the documents exist.
* REFERENCE_PATH must set to directory/file, where the created references (*.prn files) exists.
- * OUTPUT_PATH must set to a directory, where the whole ouptut will create.
+ * OUTPUT_PATH must set to a directory, where the whole ouptut will create.
* DIFF_PATH must set to a directory, where the older difference references exist, it's possible to set this to the same as REFERENCE_PATH
* but this is not the default and will not automatically set.
*/
@@ -256,5 +256,5 @@ class GraphicalComparator implements DocComparator
throw new java.io.IOException(e.getMessage());
}
}
-
+
}
diff --git a/qadevOOo/runner/util/compare/PDFComparator.java b/qadevOOo/runner/util/compare/PDFComparator.java
index fb49b0db40dd..2032a3346561 100644
--- a/qadevOOo/runner/util/compare/PDFComparator.java
+++ b/qadevOOo/runner/util/compare/PDFComparator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -31,7 +31,7 @@ import util.compare.DocComparator;
import lib.TestParameters;
import util.compare.GraphicalComparator;
-class PDFComparator extends GraphicalComparator implements DocComparator
+class PDFComparator extends GraphicalComparator implements DocComparator
{
protected PDFComparator(TestParameters aParams)
{
@@ -47,16 +47,16 @@ class PDFComparator extends GraphicalComparator implements DocComparator
// all in GraphicalComparator implemented.
// public boolean isReferenceExistent() throws IOException;
- //
+ //
// public void createReference() throws IOException;
- //
+ //
// public boolean compare() throws IOException;
- //
- //
+ //
+ //
// public boolean isDiffReferenceExistent() throws IOException;
- //
+ //
// public void createDiffReference() throws IOException;
- //
+ //
// public boolean compareDiff() throws IOException;
}
diff --git a/qadevOOo/runner/util/compare/XMLComparator.java b/qadevOOo/runner/util/compare/XMLComparator.java
index 470dbaa3ada1..4b7293a212a5 100644
--- a/qadevOOo/runner/util/compare/XMLComparator.java
+++ b/qadevOOo/runner/util/compare/XMLComparator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@ package util.compare;
/**
* This Interface isn't ready yet.
- *
+ *
*/
/*
class XMLComparator implements DocComparator