[Libreoffice-commits] core.git: filter/qa

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 1 07:23:58 UTC 2020


 filter/qa/complex/filter/misc/FinalizedMandatoryTest.java |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit c9f5878a24fbf812b513fda5dbd2468763a4a6c3
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 14:37:45 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 09:23:18 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I50aacf38ee9c01812f43622671f6f011a42479a8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101777
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
index d9fb68e6e0b8..28a71aaab30b 100644
--- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
+++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
@@ -133,8 +133,8 @@ public class FinalizedMandatoryTest
         oObj = getTestObject(serviceName);
         System.out.println("ImplName: " + util.utils.getImplName(oObj));
 
-        boolean mandantoryTrue = false;
-        boolean mandantoryFalse = false;
+        boolean mandatoryTrue = false;
+        boolean mandatoryFalse = false;
         boolean finalizedTrue = false;
         boolean finalizedFalse = false;
 
@@ -174,8 +174,8 @@ public class FinalizedMandatoryTest
             boolean isFinalized = ((Boolean) getPropertyValueValue(props, "Finalized")).booleanValue();
 
             // memory if every state is available
-            mandantoryTrue |= isMandatory;
-            mandantoryFalse |= !isMandatory;
+            mandatoryTrue |= isMandatory;
+            mandatoryFalse |= !isMandatory;
 
             finalizedTrue |= isFinalized;
             finalizedFalse |= !isFinalized;
@@ -222,8 +222,8 @@ public class FinalizedMandatoryTest
         }
         String preMsg = "Could not find filter with state ";
         String postMsg = " Please check if such filter is installed!";
-        assertTrue(preMsg + "'Mandatory=true'" + postMsg, mandantoryTrue);
-        assertTrue(preMsg + "'Mandatory=false'" + postMsg, mandantoryFalse);
+        assertTrue(preMsg + "'Mandatory=true'" + postMsg, mandatoryTrue);
+        assertTrue(preMsg + "'Mandatory=false'" + postMsg, mandatoryFalse);
         assertTrue(preMsg + "'Finalized=true'" + postMsg, finalizedTrue);
         assertTrue(preMsg + "'Finalized=false'" + postMsg, finalizedFalse);
     }


More information about the Libreoffice-commits mailing list