diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-11-07 14:00:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-11-08 22:25:25 +0100 |
commit | 88c6b454c8b6f08c74fb54ab9469801dd6860be5 (patch) | |
tree | 1861d32c80df1405a9a0aaf44ea108a17cb4551a /filter | |
parent | Fix typo (diff) | |
download | core-88c6b454c8b6f08c74fb54ab9469801dd6860be5.tar.gz core-88c6b454c8b6f08c74fb54ab9469801dd6860be5.zip |
Fix typos
Change-Id: Ifd1affb7c3945de84a210dfbda894b60014f6cd6
Reviewed-on: https://gerrit.libreoffice.org/63020
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/qa/complex/filter/detection/typeDetection/Helper.java | 2 | ||||
-rw-r--r-- | filter/qa/complex/filter/misc/FinalizedMandatoryTest.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java index 4cb767e0c2b9..91fb39f2dca6 100644 --- a/filter/qa/complex/filter/detection/typeDetection/Helper.java +++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java @@ -352,7 +352,7 @@ public class Helper { /** Returns the file type for the given file name containing in files.csv * @param fileAlias the alias name of the file * @return file type - * @throws FileAliasNotFoundException was thrown if not alias was thorwn + * @throws FileAliasNotFoundException was thrown if not alias was thrown */ public String getTypeforfileAlias(String fileAlias) throws FileAliasNotFoundException{ diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java index 0a2266685995..e7100bebf5c9 100644 --- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java +++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java @@ -196,9 +196,9 @@ public class FinalizedMandatoryTest catch (WrappedTargetRuntimeException e) { flushError = true; - assertTrue("Unexpected exception wihle flushing changed filter '" + filterName + "'", isFinalized); + assertTrue("Unexpected exception while flushing changed filter '" + filterName + "'", isFinalized); } - assertTrue("Expected exception was not thorwn while flushing changed filter '" + filterName + "' Finalized:" + isFinalized, + assertTrue("Expected exception was not thrown while flushing changed filter '" + filterName + "' Finalized:" + isFinalized, !(flushError ^ isFinalized)); @@ -215,9 +215,9 @@ public class FinalizedMandatoryTest catch (WrappedTargetRuntimeException e) { flushError = true; - assertTrue("Unexpected exception wihle flushing removed filter '" + filterName + "'", isMandatory); + assertTrue("Unexpected exception while flushing removed filter '" + filterName + "'", isMandatory); } - assertTrue("Expected exception was not thorwn while flushing removed filter '" + filterName + "' Mandatory:" + isMandatory, + assertTrue("Expected exception was not thrown while flushing removed filter '" + filterName + "' Mandatory:" + isMandatory, !(flushError ^ isMandatory)); } String preMsg = "Could not find filter with state "; |