Source AL, 449 lines
src/Layers/W1/Tests/ApplicationTestLibrary/Assert.Codeunit.allines 4 to 19 of 449, Copyright (c) Microsoft Corporation. MIT
codeunit 130000 Assert{ trigger OnRun() begin end; var IsTrueFailedMsg: Label 'Assert.IsTrue failed. %1'; IsFalseFailedMsg: Label 'Assert.IsFalse failed. %1'; AreEqualFailedMsg: Label 'Assert.AreEqual failed. Expected:<%1> (%2). Actual:<%3> (%4). %5.', Locked = true; AreNotEqualFailedMsg: Label 'Assert.AreNotEqual failed. Expected any value except:<%1> (%2). Actual:<%3> (%4). %5.', Locked = true; AreNearlyEqualFailedMsg: Label 'Assert.AreNearlyEqual failed. Expected a difference no greater than <%1> between expected value <%2> and actual value <%3>. %4'; AreNotNearlyEqualFailedMsg: Label 'Assert.AreNotNearlyEqual failed. Expected a difference greater than <%1> between expected value <%2> and actual value <%3>. %4'; RecordsAreEqualExceptCertainFieldsErr: Label 'Assert.RecordsAreEqualExceptCertainFields failed. Expected the records to match. Difference found in <%1>. Left value <%2>, Right value <%3>. %4'; FailFailedMsg: Label 'Assert.Fail failed. %1';
All 449 lines
Public procedures 37 in 29
| IsTrue(Condition: Boolean; Msg: Text) | new in 28 |
| IsFalse(Condition: Boolean; Msg: Text) | new in 28 |
| AreEqual(Expected: Variant; Actual: Variant; Msg: Text) | new in 28 |
| AreNotEqual(Expected: Variant; Actual: Variant; Msg: Text) | new in 28 |
| AreNearlyEqual(Expected: Decimal; Actual: Decimal; Delta: Decimal; Msg: Text) | new in 28 |
| AreNotNearlyEqual(Expected: Decimal; Actual: Decimal; Delta: Decimal; Msg: Text) | new in 28 |
All 38 procedures in 28-29
Changes 1 in 29
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | | | | 1 |
|---|
All 1 changes in 28-29