diff options
Diffstat (limited to 'qadevOOo/runner/graphical/JPEGComparator.java')
-rw-r--r-- | qadevOOo/runner/graphical/JPEGComparator.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qadevOOo/runner/graphical/JPEGComparator.java b/qadevOOo/runner/graphical/JPEGComparator.java index a643b2b333c3..3e872281ef82 100644 --- a/qadevOOo/runner/graphical/JPEGComparator.java +++ b/qadevOOo/runner/graphical/JPEGComparator.java @@ -1,8 +1,8 @@ /* * ************************************************************************ - * + * * 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 @@ -309,7 +309,7 @@ public class JPEGComparator extends EnhancedComplexTestCase // Failure matrix // 0 1 // ugly OK FAILED - // bad OK + // bad OK // good OK if (ugly > 0) @@ -425,7 +425,7 @@ public class JPEGComparator extends EnhancedComplexTestCase String sDestination = FileHelper.appendPath(sDestinationPath, sNewSourceBasename); FileHelper.copy(sSource, sDestination); sSourceBasename = sNewSourceBasename; - // + // JPEGCreator.convertToNearSameFileWithWidth340(sDestination); } String sDifferenceBasename = "Difference_between_" + FileHelper.getNameNoSuffix(sSourceBasename) + "_and_" + FileHelper.getNameNoSuffix(sDestinationBasename) + ".jpg"; @@ -530,14 +530,14 @@ public class JPEGComparator extends EnhancedComplexTestCase //// String sHTMLFile = _sFilenamePrefix + sNameNoSuffix + ".html"; //// HTMLOutputter HTMLoutput = HTMLOutputter.create(_sOutputPath, sHTMLFile, "", ""); //// HTMLoutput.header(sNameNoSuffix); -//// TODO: version info was fine +//// TODO: version info was fine //// HTMLoutput.checkSection(sBasename); // // Status end // // String sINIFile = _sFilenamePrefix + sNameNoSuffix + ".ini"; // INIOutputter INIoutput = INIOutputter.create(_sOutputPath, sINIFile, "", ""); // INIoutput.createHeader(); -//// TODO: version info was fine +//// TODO: version info was fine // // INIoutput.writeSection("global"); // INIoutput.writeValue("pages", String.valueOf(aList.length)); @@ -551,7 +551,7 @@ public class JPEGComparator extends EnhancedComplexTestCase // { // INIoutput.writeSection("page" + String.valueOf(i + 1)); // list start at point 0, but this is page 1 and so on... current_page = (i + 1) // aList[i].printStatus(); -// +// // boolean bCurrentResult = true; // result over exact one page // // int nCurrentDiffStatus = aList[i].nDiffStatus; @@ -605,9 +605,9 @@ public class JPEGComparator extends EnhancedComplexTestCase * text like outlined or the text is little bit move left, right up or down. * * >>100% Yes it's possible that there is a difference more then 100%, maybe a font problem - * between old and new graphics. The font of the new graphics is little bit bigger, + * between old and new graphics. The font of the new graphics is little bit bigger, * so the pixel count between old graphics and new graphics is twice the more. - * + * * @param _sOldGfx path & name to the jpeg file (1) * @param _sNewGfx path & name to the other jpeg file (2) * @param _sDiffGfx path & name to the new difference file which shows the difference between (1) and (2) |