Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/libo_help-7-6/textsbasicshared03/id/units/?format=api&page=70
https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/units/?format=api&page=71", "previous": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/units/?format=api&page=69", "results": [ { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "A test case is the individual unit of testing. It checks for a specific response to a particular set of inputs." ], "previous_source": "", "target": [ "" ], "id_hash": 4076822558553653132, "content_hash": 4076822558553653132, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id571656351977812\nhelp.text", "note": "2SE2W", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3451, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translations.documentfoundation.org/api/units/98663207/?format=api", "priority": 100, "id": 99720979, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=b893c8845ee3bf8c", "url": "https://translations.documentfoundation.org/api/units/99720979/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.661080Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "In the <literal>UnitTest</literal> service, a test case is represented by a single Basic <literal>Sub</literal> whose name starts with a common prefix (the default is \"Test_\")." ], "previous_source": "", "target": [ "" ], "id_hash": -1986627572107397191, "content_hash": -1986627572107397191, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id391656352078166\nhelp.text", "note": "XiXCu", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3452, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translations.documentfoundation.org/api/units/98663252/?format=api", "priority": 100, "id": 99720983, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=646e14bfaf8ab7b9", "url": "https://translations.documentfoundation.org/api/units/99720983/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.662555Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The test case fails if one of the <literal>AssertX</literal> methods returns <literal>False</literal>." ], "previous_source": "", "target": [ "" ], "id_hash": -2420313241972785589, "content_hash": -2420313241972785589, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id701656352338645\nhelp.text", "note": "2g5tx", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3453, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translations.documentfoundation.org/api/units/98663285/?format=api", "priority": 100, "id": 99720985, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=5e6951ee0709be4b", "url": "https://translations.documentfoundation.org/api/units/99720985/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.663914Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Test Suite" ], "previous_source": "", "target": [ "" ], "id_hash": -8409444012996317155, "content_hash": -8409444012996317155, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id431656352497598\nhelp.text", "note": "6yQXs", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3454, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98663321/?format=api", "priority": 100, "id": 99720987, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=0b4ba739aed1b01d", "url": "https://translations.documentfoundation.org/api/units/99720987/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.665239Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "A test suite is a collection of test cases that should be executed together." ], "previous_source": "", "target": [ "" ], "id_hash": -8985292198608790607, "content_hash": -8985292198608790607, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id771656352513789\nhelp.text", "note": "Jk79j", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3455, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translations.documentfoundation.org/api/units/98663354/?format=api", "priority": 100, "id": 99720993, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=034dd459fad59bb1", "url": "https://translations.documentfoundation.org/api/units/99720993/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.667037Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "All test cases of a test suite are stored in a single Basic module." ], "previous_source": "", "target": [ "" ], "id_hash": -4325528157997696755, "content_hash": -4325528157997696755, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id941656352597973\nhelp.text", "note": "cFV9D", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3456, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translations.documentfoundation.org/api/units/98663391/?format=api", "priority": 100, "id": 99720999, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=43f8a30ed498f90d", "url": "https://translations.documentfoundation.org/api/units/99720999/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.668856Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "A test suite may implement the <literal>SetUp</literal> and <literal>TearDown</literal> methods to prepare for test cases in its module." ], "previous_source": "", "target": [ "" ], "id_hash": -8367145127216574259, "content_hash": -8367145127216574259, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id51656352696989\nhelp.text", "note": "UEVyk", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3457, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translations.documentfoundation.org/api/units/98663420/?format=api", "priority": 100, "id": 99721003, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=0be1edd67c1d90cd", "url": "https://translations.documentfoundation.org/api/units/99721003/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.670631Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Unit Test" ], "previous_source": "", "target": [ "" ], "id_hash": 7108491612317825136, "content_hash": 7108491612317825136, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id351656352884283\nhelp.text", "note": "nEFMy", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3458, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98663450/?format=api", "priority": 100, "id": 99721018, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=e2a66f75810c3870", "url": "https://translations.documentfoundation.org/api/units/99721018/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.675998Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "A full unit test consists of a set of test suites in the same Basic library." ], "previous_source": "", "target": [ "" ], "id_hash": 6680661788838384451, "content_hash": 6680661788838384451, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id461656352894003\nhelp.text", "note": "xieZW", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3459, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translations.documentfoundation.org/api/units/98663478/?format=api", "priority": 100, "id": 99721023, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=dcb67a80543cd343", "url": "https://translations.documentfoundation.org/api/units/99721023/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.677564Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Service invocation" ], "previous_source": "", "target": [ "" ], "id_hash": -810162008143449240, "content_hash": -810162008143449240, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id991656353328287\nhelp.text", "note": "6XiCa", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3460, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98663498/?format=api", "priority": 100, "id": 99721027, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=74c1b9f22e17b368", "url": "https://translations.documentfoundation.org/api/units/99721027/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.679057Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Before using the <literal>UnitTest</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:" ], "previous_source": "", "target": [ "" ], "id_hash": -1888100707207801975, "content_hash": -1888100707207801975, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id141609955500101\nhelp.text", "note": "FVzhB", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3461, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translations.documentfoundation.org/api/units/98663517/?format=api", "priority": 100, "id": 99721032, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=65cc1e690eb71389", "url": "https://translations.documentfoundation.org/api/units/99721032/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.680412Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Simple mode" ], "previous_source": "", "target": [ "" ], "id_hash": -265751062116420404, "content_hash": -265751062116420404, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id941656357981021\nhelp.text", "note": "GHXzG", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3462, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98663546/?format=api", "priority": 100, "id": 99721035, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=7c4fdcd127de34cc", "url": "https://translations.documentfoundation.org/api/units/99721035/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.681774Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Invoke the service in <emph>simple mode</emph> to call <literal>AssertX</literal> functions without having to build the full hierarchy of test suites and test cases." ], "previous_source": "", "target": [ "" ], "id_hash": 4364647911816229542, "content_hash": 4364647911816229542, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id381656357996613\nhelp.text", "note": "C5qBi", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3463, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translations.documentfoundation.org/api/units/98663570/?format=api", "priority": 100, "id": 99721039, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=bc925826a174f2a6", "url": "https://translations.documentfoundation.org/api/units/99721039/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.683115Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "In simple mode, the service is invoked inside the test case, as shown in the example below:" ], "previous_source": "", "target": [ "" ], "id_hash": 2410986945915391998, "content_hash": 2410986945915391998, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id331656358092318\nhelp.text", "note": "DRzjW", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3464, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translations.documentfoundation.org/api/units/98663590/?format=api", "priority": 100, "id": 99721044, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=a1758bda75640ffe", "url": "https://translations.documentfoundation.org/api/units/99721044/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.684455Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' A few dummy tests" ], "previous_source": "", "target": [ "" ], "id_hash": 3957791502959997574, "content_hash": 3957791502959997574, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id501656358186053\nhelp.text", "note": "RuMFA", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3465, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98663614/?format=api", "priority": 100, "id": 99721050, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=b6ece66714fd7286", "url": "https://translations.documentfoundation.org/api/units/99721050/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.685767Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "MsgBox(\"All tests passed\")" ], "previous_source": "", "target": [ "" ], "id_hash": -8586848548483842004, "content_hash": -8586848548483842004, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id981656421186233\nhelp.text", "note": "2Firz", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3466, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translations.documentfoundation.org/api/units/98663636/?format=api", "priority": 100, "id": 99721054, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=08d562bd7f8ac02c", "url": "https://translations.documentfoundation.org/api/units/99721054/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.687073Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "myTest.ReportError(\"A test failed\")" ], "previous_source": "", "target": [ "" ], "id_hash": -3365881869372087239, "content_hash": -3365881869372087239, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id971656421186872\nhelp.text", "note": "nMFgq", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3467, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translations.documentfoundation.org/api/units/98663704/?format=api", "priority": 100, "id": 99721058, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=5149fc45e4262439", "url": "https://translations.documentfoundation.org/api/units/99721058/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.688438Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "In this example, if any of the <literal>AssertEqual</literal> calls fail, the interpreter will go to the <literal>CatchError</literal> label and report the error by calling the <literal>ReportError</literal> method." ], "previous_source": "", "target": [ "" ], "id_hash": 1516619883756479309, "content_hash": 1516619883756479309, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id321656421319505\nhelp.text", "note": "ki4xc", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3468, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translations.documentfoundation.org/api/units/98663724/?format=api", "priority": 100, "id": 99721064, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=950c1dbfb699634d", "url": "https://translations.documentfoundation.org/api/units/99721064/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.689839Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Full mode" ], "previous_source": "", "target": [ "" ], "id_hash": -5966860861215853552, "content_hash": -5966860861215853552, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id341656353807950\nhelp.text", "note": "AMsHe", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3469, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translations.documentfoundation.org/api/units/98663740/?format=api", "priority": 100, "id": 99721070, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=2d3173a9170c3410", "url": "https://translations.documentfoundation.org/api/units/99721070/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.691209Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "When invoked in <emph>full mode</emph>, the service creation is external to the test code and all tests are organized into test cases and test suites inside a single library." ], "previous_source": "", "target": [ "" ], "id_hash": -2856012325350866015, "content_hash": -2856012325350866015, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id881656353390116\nhelp.text", "note": "Cev96", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3470, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translations.documentfoundation.org/api/units/98663765/?format=api", "priority": 100, "id": 99721075, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=585d67ec015303a1", "url": "https://translations.documentfoundation.org/api/units/99721075/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.692388Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The following example creates a <literal>UnitTest</literal> instance whose tests are located inside the current document (<literal>ThisComponent</literal>) in the \"Tests\" library." ], "previous_source": "", "target": [ "" ], "id_hash": -2021920178287527432, "content_hash": -2021920178287527432, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id41656354017140\nhelp.text", "note": "kRFxC", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3471, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translations.documentfoundation.org/api/units/98663792/?format=api", "priority": 100, "id": 99721080, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=63f0b24f78fa39f8", "url": "https://translations.documentfoundation.org/api/units/99721080/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.693721Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "A minimalist example in full mode" ], "previous_source": "", "target": [ "" ], "id_hash": -2626798572786302661, "content_hash": -2626798572786302661, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id731656421609300\nhelp.text", "note": "3pPFr", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3472, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translations.documentfoundation.org/api/units/98663843/?format=api", "priority": 100, "id": 99721093, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=5b8bbc9d8c91c13b", "url": "https://translations.documentfoundation.org/api/units/99721093/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.830110Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Consider that a ODS file has a module named \"MathUtils\" in its \"Standard\" library with the following code:" ], "previous_source": "", "target": [ "" ], "id_hash": -2993144083868485348, "content_hash": -2993144083868485348, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id721656421629357\nhelp.text", "note": "ktFcg", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3473, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translations.documentfoundation.org/api/units/98663902/?format=api", "priority": 100, "id": 99721097, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=567637506774f91c", "url": "https://translations.documentfoundation.org/api/units/99721097/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.832142Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' Code in module Standard.MathUtils" ], "previous_source": "", "target": [ "" ], "id_hash": -3766495414565763668, "content_hash": -3766495414565763668, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id821656421926586\nhelp.text", "note": "ZijqG", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3474, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98663926/?format=api", "priority": 100, "id": 99721100, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=4bbab8604eab85ac", "url": "https://translations.documentfoundation.org/api/units/99721100/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.833551Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "To create a full test suite, consider that a new library named \"Tests\" is created in the file with a single module \"AllTests\" containing the code below:" ], "previous_source": "", "target": [ "" ], "id_hash": 5929011231584092655, "content_hash": 5929011231584092655, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id871656422027581\nhelp.text", "note": "N8ifA", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3475, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translations.documentfoundation.org/api/units/98663944/?format=api", "priority": 100, "id": 99721104, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=d248144d47df01ef", "url": "https://translations.documentfoundation.org/api/units/99721104/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.835050Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' Code in module Tests.AllTests" ], "previous_source": "", "target": [ "" ], "id_hash": 4795808681098436223, "content_hash": 4795808681098436223, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id731656422341011\nhelp.text", "note": "TdD5n", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3476, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translations.documentfoundation.org/api/units/98663961/?format=api", "priority": 100, "id": 99721109, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=c28e22960f9b5e7f", "url": "https://translations.documentfoundation.org/api/units/99721109/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.836555Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' Preparation code ran prior to the first test case" ], "previous_source": "", "target": [ "" ], "id_hash": -7557916207087942098, "content_hash": -7557916207087942098, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id671656422476689\nhelp.text", "note": "TeQGD", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3477, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translations.documentfoundation.org/api/units/98664040/?format=api", "priority": 100, "id": 99721114, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=171ce340d25b062e", "url": "https://translations.documentfoundation.org/api/units/99721114/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.838053Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "' Optional cleanup code called after the last test case" ], "previous_source": "", "target": [ "" ], "id_hash": -2559377897558647396, "content_hash": -2559377897558647396, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id621656422479007\nhelp.text", "note": "5YeqU", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3478, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translations.documentfoundation.org/api/units/98664060/?format=api", "priority": 100, "id": 99721118, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=5c7b435cc207dd9c", "url": "https://translations.documentfoundation.org/api/units/99721118/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.839332Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.AssertEqual(Sum(1, 1), 2, \"Sum two positive integers\")" ], "previous_source": "", "target": [ "" ], "id_hash": -6712167770266489775, "content_hash": -6712167770266489775, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id141656422684085\nhelp.text", "note": "ANk96", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3479, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translations.documentfoundation.org/api/units/98664065/?format=api", "priority": 100, "id": 99721122, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=22d996f9bc70ac51", "url": "https://translations.documentfoundation.org/api/units/99721122/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.840886Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.AssertEqual(Sum(-10, 20), 10, \"Sum of negative and positive integers\")" ], "previous_source": "", "target": [ "" ], "id_hash": -6470111416175541956, "content_hash": -6470111416175541956, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id491656422684324\nhelp.text", "note": "vZeA5", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3480, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translations.documentfoundation.org/api/units/98664088/?format=api", "priority": 100, "id": 99721127, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=26358bf275a8413c", "url": "https://translations.documentfoundation.org/api/units/99721127/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.842390Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.AssertEqual(Sum(1.5, 1), 2.5, \"Sum of float and integer values\")" ], "previous_source": "", "target": [ "" ], "id_hash": 7864235127061795911, "content_hash": 7864235127061795911, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id201656422684556\nhelp.text", "note": "xAf6Z", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3481, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translations.documentfoundation.org/api/units/98664115/?format=api", "priority": 100, "id": 99721133, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=ed23602e7aaad447", "url": "https://translations.documentfoundation.org/api/units/99721133/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.843839Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.ReportError(\"Sum method is broken\")" ], "previous_source": "", "target": [ "" ], "id_hash": -7533635462935528768, "content_hash": -7533635462935528768, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id716356422685228\nhelp.text", "note": "Lp9XE", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3482, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translations.documentfoundation.org/api/units/98664144/?format=api", "priority": 100, "id": 99721137, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=177326761c713ac0", "url": "https://translations.documentfoundation.org/api/units/99721137/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.845541Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.AssertEqual(Multiply(2, 2), 4, \"Multiply two positive integers\")" ], "previous_source": "", "target": [ "" ], "id_hash": -593937330724546496, "content_hash": -593937330724546496, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id416564228330400\nhelp.text", "note": "u2CVn", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3483, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translations.documentfoundation.org/api/units/98664166/?format=api", "priority": 100, "id": 99721141, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=77c1e924ff51d840", "url": "https://translations.documentfoundation.org/api/units/99721141/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.847120Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.AssertEqual(Multiply(-4, 2), -8, \"Multiply negative and positive integers\")" ], "previous_source": "", "target": [ "" ], "id_hash": -5630015014268048732, "content_hash": -5630015014268048732, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id231656422833240\nhelp.text", "note": "BhroA", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3484, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translations.documentfoundation.org/api/units/98664222/?format=api", "priority": 100, "id": 99721147, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=31de2b2c726feaa4", "url": "https://translations.documentfoundation.org/api/units/99721147/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.848842Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.AssertEqual(Multiply(1.5, 3), 4.5, \"Multiply of float and integer values\")" ], "previous_source": "", "target": [ "" ], "id_hash": 9065903598607684061, "content_hash": 9065903598607684061, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id931656422833480\nhelp.text", "note": "whh5d", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3485, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translations.documentfoundation.org/api/units/98664246/?format=api", "priority": 100, "id": 99721152, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=fdd08f4a2af251dd", "url": "https://translations.documentfoundation.org/api/units/99721152/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.850436Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "test.ReportError(\"Multiply method is broken\")" ], "previous_source": "", "target": [ "" ], "id_hash": 2942284715472896294, "content_hash": 2942284715472896294, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nbas_id151656422834184\nhelp.text", "note": "ixjF2", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3486, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translations.documentfoundation.org/api/units/98664281/?format=api", "priority": 100, "id": 99721156, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=a8d5185c1dd2c126", "url": "https://translations.documentfoundation.org/api/units/99721156/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.851956Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The test suite above consists of two test cases <literal>Test_Sum</literal> and <literal>Test_Multiply</literal>. To run all tests simply run the <literal>Main</literal> method from the \"AllTests\" module." ], "previous_source": "", "target": [ "" ], "id_hash": -7514079132450016651, "content_hash": -7514079132450016651, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id681656423030706\nhelp.text", "note": "y6q9H", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3487, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translations.documentfoundation.org/api/units/98664330/?format=api", "priority": 100, "id": 99721162, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=17b8a0d720243275", "url": "https://translations.documentfoundation.org/api/units/99721162/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.853730Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "The <link href=\"text/sbasic/shared/03/sf_exception.xhp#Console\"><literal>Console</literal></link> from the <literal>Exception</literal> service is used as the default output to print test results. After running the example above, the following output will be displayed in the console:" ], "previous_source": "", "target": [ "" ], "id_hash": 8766717345560486978, "content_hash": 8766717345560486978, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id681656423146183\nhelp.text", "note": "mGjTt", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3488, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translations.documentfoundation.org/api/units/98664387/?format=api", "priority": 100, "id": 99721166, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=f9a9a2fa4c636442", "url": "https://translations.documentfoundation.org/api/units/99721166/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.855185Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "If any of the <literal>AssertEqual</literal> methods fails during these tests, an error message is added to the console." ], "previous_source": "", "target": [ "" ], "id_hash": -9023707513049155206, "content_hash": -9023707513049155206, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id161656423510879\nhelp.text", "note": "SX4Hy", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3489, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translations.documentfoundation.org/api/units/98664427/?format=api", "priority": 100, "id": 99721170, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=02c559d397ae797a", "url": "https://translations.documentfoundation.org/api/units/99721170/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.856602Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Properties" ], "previous_source": "", "target": [ "" ], "id_hash": -8315075138798793249, "content_hash": -8315075138798793249, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\nhd_id711600788076834\nhelp.text", "note": "SKsNp", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3490, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98664458/?format=api", "priority": 100, "id": 99721174, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=0c9aeb3767374ddf", "url": "https://translations.documentfoundation.org/api/units/99721174/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.858310Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Name" ], "previous_source": "", "target": [ "" ], "id_hash": 9019997341717438578, "content_hash": 9019997341717438578, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id461600788076917\nhelp.text", "note": "dUKA3", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3491, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98664484/?format=api", "priority": 100, "id": 99721184, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=fd2d77cad4092072", "url": "https://translations.documentfoundation.org/api/units/99721184/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.861952Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Readonly" ], "previous_source": "", "target": [ "" ], "id_hash": -1445731735717773517, "content_hash": -1445731735717773517, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id221600788076591\nhelp.text", "note": "4CFLw", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3492, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98664510/?format=api", "priority": 100, "id": 99721190, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=6befbaa56c087f33", "url": "https://translations.documentfoundation.org/api/units/99721190/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.863629Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Type" ], "previous_source": "", "target": [ "" ], "id_hash": -5033771410686220803, "content_hash": -5033771410686220803, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id761600788076328\nhelp.text", "note": "hmcQA", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3493, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98664542/?format=api", "priority": 100, "id": 99721195, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=3a2473927187e5fd", "url": "https://translations.documentfoundation.org/api/units/99721195/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.865199Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Description" ], "previous_source": "", "target": [ "" ], "id_hash": -460652294871694079, "content_hash": -460652294871694079, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id67160078807636\nhelp.text", "note": "qr48K", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3494, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98666730/?format=api", "priority": 100, "id": 99721200, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=799b6f2daf344501", "url": "https://translations.documentfoundation.org/api/units/99721200/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.866802Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "No" ], "previous_source": "", "target": [ "" ], "id_hash": 6681571234693868682, "content_hash": 6681571234693868682, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id311600788076756\nhelp.text", "note": "BLCXX", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3495, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98666748/?format=api", "priority": 100, "id": 99721203, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=dcb9b5a331656c8a", "url": "https://translations.documentfoundation.org/api/units/99721203/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.868489Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "When set to <literal>True</literal> (default) the console shows the standard message appended to the message provided by the tester. When <literal>False</literal>, only the message defined by the tester is used." ], "previous_source": "", "target": [ "" ], "id_hash": 38120379070705026, "content_hash": 38120379070705026, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id441600788076826\nhelp.text", "note": "LwYBg", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3496, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translations.documentfoundation.org/api/units/98666759/?format=api", "priority": 100, "id": 99721206, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=80876e4865366d82", "url": "https://translations.documentfoundation.org/api/units/99721206/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.869935Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Yes" ], "previous_source": "", "target": [ "" ], "id_hash": 294337617867773262, "content_hash": 294337617867773262, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id49160078807654\nhelp.text", "note": "m6reQ", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3497, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98666768/?format=api", "priority": 100, "id": 99721211, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=8415b281050b154e", "url": "https://translations.documentfoundation.org/api/units/99721211/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.871460Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "Value returned by <literal>RunTest</literal> after the unit test is finished. Next is a list of possible values:" ], "previous_source": "", "target": [ "" ], "id_hash": -4924254321397533584, "content_hash": -4924254321397533584, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id81600788076419\nhelp.text", "note": "diGQ4", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3498, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translations.documentfoundation.org/api/units/98666773/?format=api", "priority": 100, "id": 99721216, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=3ba988c8d56af470", "url": "https://translations.documentfoundation.org/api/units/99721216/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.875345Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "0 - Test finished without errors or test not started<br/> 1 - An assertion within a test case returned <literal>False</literal><br/> 2 - A <literal>SkipTest</literal> was issued by the <literal>Setup</literal> method or by one of the test cases.<br/> 3 - Abnormal end of test" ], "previous_source": "", "target": [ "" ], "id_hash": -5579338775495814536, "content_hash": -5579338775495814536, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id141656425588260\nhelp.text", "note": "RqYbB", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3499, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 43, "source_unit": "https://translations.documentfoundation.org/api/units/98666807/?format=api", "priority": 100, "id": 99721224, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=329234f1bd025278", "url": "https://translations.documentfoundation.org/api/units/99721224/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.877456Z" }, { "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicshared03/id/?format=api", "source": [ "No" ], "previous_source": "", "target": [ "" ], "id_hash": 5161500556114320605, "content_hash": 5161500556114320605, "location": "sf_unittest.xhp", "context": "sf_unittest.xhp\npar_id711600788076534\nhelp.text", "note": "sa2t9", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3500, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translations.documentfoundation.org/api/units/98666825/?format=api", "priority": 100, "id": 99721229, "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicshared03/id/?checksum=c7a15568b32cdcdd", "url": "https://translations.documentfoundation.org/api/units/99721229/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-09-11T23:03:54.879075Z" } ] }{ "count": 3638, "next": "