summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-06-05 20:17:00 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-06-06 12:38:58 +0200
commit65908a69836ab15d71d55f0740bc89d1fc643d16 (patch)
tree4fd873bedad5321786795ba524595bfd53be3d4b /wizards
parentfbce18558a58cddf910b788a67c2f2d4d25d68e9 (diff)
Fix typos
Change-Id: Icc97a5fdf00c9b8f267a2015a72c050438452105 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135441 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/sfunittests/SF_UnitTest.xba22
1 files changed, 11 insertions, 11 deletions
diff --git a/wizards/source/sfunittests/SF_UnitTest.xba b/wizards/source/sfunittests/SF_UnitTest.xba
index c3a1daa9dc9d..5237bb7ce88b 100644
--- a/wizards/source/sfunittests/SF_UnitTest.xba
+++ b/wizards/source/sfunittests/SF_UnitTest.xba
@@ -34,7 +34,7 @@ Option Explicit
&apos;&apos;&apos; The code to be tested may be released as an extension. It does not need to make
&apos;&apos;&apos; use of ScriptForge services in any way.
&apos;&apos;&apos;
-&apos;&apos;&apos; The test reporting device is the Console. Read abount the console in the ScriptForge.Exception service.
+&apos;&apos;&apos; The test reporting device is the Console. Read about the console in the ScriptForge.Exception service.
&apos;&apos;&apos;
&apos;&apos;&apos; Definitions:
&apos;&apos;&apos; - Test Case
@@ -271,7 +271,7 @@ End Property &apos; SFUnitTests.SF_UnitTest.ReturnCode (get)
REM -----------------------------------------------------------------------------
Property Get Verbose() As Variant
-&apos;&apos;&apos; The Verbose property indicates if all sertions are reported
+&apos;&apos;&apos; The Verbose property indicates if all assertions are reported
Verbose = _PropertyGet(&quot;Verbose&quot;)
End Property &apos; SFUnitTests.SF_UnitTest.Verbose (get)
@@ -422,7 +422,7 @@ Public Function AssertGreater(Optional ByRef A As Variant _
&apos;&apos;&apos; Returns True when A is greater than B.
&apos;&apos;&apos; To compare A and B:
&apos;&apos;&apos; They should have the same VarType or both be numeric
-&apos;&apos;&apos; Elgible datatypes are String, Date or numeric.
+&apos;&apos;&apos; Eligible datatypes are String, Date or numeric.
&apos;&apos;&apos; String comparisons are case-sensitive.
Dim bAssert As Boolean &apos; Return value
@@ -452,7 +452,7 @@ Public Function AssertGreaterEqual(Optional ByRef A As Variant _
&apos;&apos;&apos; Returns True when A is greater than or equal to B.
&apos;&apos;&apos; To compare A and B:
&apos;&apos;&apos; They should have the same VarType or both be numeric
-&apos;&apos;&apos; Elgible datatypes are String, Date or numeric.
+&apos;&apos;&apos; Eligible datatypes are String, Date or numeric.
&apos;&apos;&apos; String comparisons are case-sensitive.
Dim bAssert As Boolean &apos; Return value
@@ -599,7 +599,7 @@ Public Function AssertLess(Optional ByRef A As Variant _
&apos;&apos;&apos; Returns True when A is less than B.
&apos;&apos;&apos; To compare A and B:
&apos;&apos;&apos; They should have the same VarType or both be numeric
-&apos;&apos;&apos; Elgible datatypes are String, Date or numeric.
+&apos;&apos;&apos; Eligible datatypes are String, Date or numeric.
&apos;&apos;&apos; String comparisons are case-sensitive.
Dim bAssert As Boolean &apos; Return value
@@ -629,7 +629,7 @@ Public Function AssertLessEqual(Optional ByRef A As Variant _
&apos;&apos;&apos; Returns True when A is less than or equal to B.
&apos;&apos;&apos; To compare A and B:
&apos;&apos;&apos; They should have the same VarType or both be numeric
-&apos;&apos;&apos; Elgible datatypes are String, Date or numeric.
+&apos;&apos;&apos; Eligible datatypes are String, Date or numeric.
&apos;&apos;&apos; String comparisons are case-sensitive.
Dim bAssert As Boolean &apos; Return value
@@ -996,7 +996,7 @@ End Sub &apos; SFUnitTests.SF_UnitTest.Fail
REM -----------------------------------------------------------------------------
Public Sub Log(Optional ByVal Message As Variant)
-&apos;&apos;&apos; Forces a test Logure
+&apos;&apos;&apos; Forces to record the given message in the test report (console)
Dim bAssert As Boolean &apos; Fictive return value
Dim bVerbose As Boolean : bVerbose = _Verbose
@@ -1164,13 +1164,13 @@ Public Function RunTest(Optional ByVal TestSuite As Variant _
&apos;&apos;&apos; Args:
&apos;&apos;&apos; TestSuite: the name of the module containing the set of test cases to run
&apos;&apos;&apos; TestCasePattern: the pattern that the test cases must match. The comparison is not case-sensitive.
-&apos;&apos;&apos; Non-matching finctions and subs are ignored.
+&apos;&apos;&apos; Non-matching functions and subs are ignored.
&apos;&apos;&apos; Admitted wildcard are: the &quot;?&quot; represents any single character
&apos;&apos;&apos; the &quot;*&quot; represents zero, one, or multiple characters
&apos;&apos;&apos; The default pattern is &quot;Test_*&quot;
&apos;&apos;&apos; Message: the message to be displayed in the console when the test starts.
&apos;&apos;&apos; Returns:
-&apos;&apos;&apos; The return code of the esecution (RCxxx constants
+&apos;&apos;&apos; The return code of the execution (RCxxx constants)
&apos;&apos;&apos; Examples:
&apos;&apos;&apos; GlobalScope.BasicLibraries.loadLibrary(&quot;ScriptForge&quot;)
&apos;&apos;&apos; Dim test : test = CreateScriptService(&quot;UnitTest&quot;, ThisComponent, &quot;Tests&quot;)
@@ -1326,7 +1326,7 @@ Public Function SkipTest(Optional ByVal Message As Variant) As Boolean
&apos;&apos;&apos; Args:
&apos;&apos;&apos; Message: the message to be displayed in the console
&apos;&apos;&apos; Returns:
-&apos;&apos;&apos; The return code of the esecution (RCxxx constants
+&apos;&apos;&apos; The return code of the execution (RCxxx constants)
&apos;&apos;&apos; Examples:
&apos;&apos;&apos; GlobalScope.BasicLibraries.loadLibrary(&quot;ScriptForge&quot;)
&apos;&apos;&apos; Dim test : test = CreateScriptService(&quot;UnitTest&quot;, ThisComponent, &quot;Tests&quot;)
@@ -1817,4 +1817,4 @@ Const cstMaxLength = 50 &apos; Maximum length for items
End Function &apos; SFUnitTests.SF_UnitTest._Repr
REM ============================================== END OF SFUNITTESTS.SF_UNITTEST
-</script:module> \ No newline at end of file
+</script:module>