Translation

sf_unittest.xhp par_id271656446258396 help.text
English aRFUp
Context English Estonian Actions
sf_unittest.xhp
par_id71621894862651
help.text
Returns <literal>True</literal> if string A matches a given pattern containing wildcards.
sf_unittest.xhp
par_id51656446203238
help.text
The following wildcards are accepted:
sf_unittest.xhp
par_id661656446233484
help.text
? - Represents any single character.
sf_unittest.xhp
par_id681656446233831
help.text
* - Represents zero, one, or multiple characters.
sf_unittest.xhp
par_id71621894832641
help.text
Returns <literal>True</literal> when <emph>A</emph> and <emph>B</emph> are numerical values and are <emph>not</emph> considered to be close to each other, given a relative tolerance.
sf_unittest.xhp
par_id241656426317970
help.text
This assertion returns <literal>True</literal> if the two conditions below are met:
sf_unittest.xhp
par_id861656426361686
help.text
A and B can be converted to the <literal>Double</literal> type.
sf_unittest.xhp
par_id851656426332052
help.text
The absolute difference between A and B divided by the largest absolute value of A or B is <emph>greater</emph> than the value specified in <literal>tolerance</literal>.
sf_unittest.xhp
par_id71621894862842
help.text
Returns <literal>True</literal> when <emph>A</emph> and <emph>B</emph> are <emph>not</emph> considered to be equal.
sf_unittest.xhp
par_id581656446598206
help.text
This method works both for scalars and arrays. Read the instructions in <link href="text/sbasic/shared/03/sf_unittest.xhp#AssertEqual" name="AssertEqual"><literal>AssertEqual</literal></link> for more information on what equality means in this assertion.
sf_unittest.xhp
par_id71621894832638
help.text
Returns <literal>True</literal> when A (a string) is <emph>not</emph> found in B.
sf_unittest.xhp
par_id271656446302516
help.text
Read the instructions in <link href="text/sbasic/shared/03/sf_unittest.xhp#AssertIn" name="AssertIn"><literal>AssertIn</literal></link> for more information on the assumptions of this method.
sf_unittest.xhp
par_id71621894831403
help.text
Returns <literal>True</literal> when A is <emph>not</emph> an instance of a specified object type.
sf_unittest.xhp
par_id271656446949396
help.text
Read the instructions in <link href="text/sbasic/shared/03/sf_unittest.xhp#AssertIsInstance" name="AssertIsInstance"><literal>AssertIsInstance</literal></link> for more information on the assumptions of this method.
sf_unittest.xhp
par_id71621894863961
help.text
Returns <literal>True</literal> if string A <emph>does not</emph> match a given pattern containing wildcards.
sf_unittest.xhp
par_id271656446258396
help.text
Read the instructions in <link href="text/sbasic/shared/03/sf_unittest.xhp#AssertLike" name="AssertLike"><literal>AssertLike</literal></link> for more information on the assumptions of this method.
sf_unittest.xhp
par_id71621894420261
help.text
Returns <literal>True</literal> except when A is an object that has the <literal>Nothing</literal> value.
sf_unittest.xhp
par_id71621894876551
help.text
Returns <literal>True</literal> except when A has the <literal>Null</literal> value.
sf_unittest.xhp
par_id71621894860331
help.text
Returns <literal>True</literal> when A is <emph>not</emph> a string or <emph>does not</emph> match the given regular expression.
sf_unittest.xhp
par_id931656448163772
help.text
The comparison is case-sensitive.
sf_unittest.xhp
par_id71621894836031
help.text
Returns <literal>True</literal> when string A matches the given regular expression.
sf_unittest.xhp
par_id931656448163625
help.text
The comparison is case-sensitive.
sf_unittest.xhp
par_id71621894063449
help.text
Returns <literal>True</literal> when expression A is a <literal>Boolean</literal> and its value is <literal>True</literal>.
sf_unittest.xhp
par_id71621894086431
help.text
Forces a test case to fail.
sf_unittest.xhp
par_id751656448550854
help.text
A message can be provided to be reported in the console.
sf_unittest.xhp
par_id71621894063631
help.text
Writes the specified <literal>message</literal> in the console.
sf_unittest.xhp
par_id751656448510894
help.text
A message can be provided to be reported in the console.
sf_unittest.xhp
par_id71621894199311
help.text
Displays a message box with a message and the current property values of the <literal>Exception</literal> service.
sf_unittest.xhp
par_id851656622819891
help.text
This method is commonly used in the exception handling section of the <literal>Sub</literal> containing the test case, which is reached when an assertion fails or when the <literal>Fail</literal> method is called.
sf_unittest.xhp
par_id291656448892783
help.text
Depending on the value of the property <literal>WhenAssertionFails</literal>, the test execution may continue or be interrupted.
sf_unittest.xhp
par_id551656448951538
help.text
When writing test cases it is recommended to include a call to the <literal>ReportError</literal> method in the exception handling section of the <literal>Sub</literal>.

Loading…

User avatar None

String updated in the repository

LibreOffice Help - master / text/sbasic/shared/03Estonian

 
4 months ago
Browse all component changes

Glossary

English Estonian
No related strings found in the glossary.

String information

Context
sf_unittest.xhp
par_id271656446258396
help.text
Source string description
aRFUp
Source string location
sf_unittest.xhp
String age
4 months ago
Source string age
4 months ago
Translation file
et/helpcontent2/source/text/sbasic/shared/03.po, string 3340