Source AL, 643 lines
src/Tools/Test Framework/Test Libraries/Assert/src/LibraryAssert.Codeunit.allines 13 to 28 of 643, Copyright (c) Microsoft Corporation. MIT
codeunit 130002 "Library Assert"{ trigger OnRun() begin end; var IsTrueFailedErr: Label 'Assert.IsTrue failed. %1', Locked = true; IsFalseFailedErr: Label 'Assert.IsFalse failed. %1', Locked = true; AreEqualFailedErr: Label 'Assert.AreEqual failed. Expected:<%1> (%2). Actual:<%3> (%4). %5.', Locked = true; AreNotEqualFailedErr: Label 'Assert.AreNotEqual failed. Expected any value except:<%1> (%2). Actual:<%3> (%4). %5.', Locked = true; AreNearlyEqualFailedErr: Label 'Assert.AreNearlyEqual failed. Expected a difference no greater than <%1> between expected value <%2> and actual value <%3>. %4', Locked = true; AreNotNearlyEqualFailedErr: Label 'Assert.AreNotNearlyEqual failed. Expected a difference greater than <%1> between expected value <%2> and actual value <%3>. %4', Locked = true; FailFailedErr: Label 'Assert.Fail failed. %1', Locked = true; TableIsEmptyErr: Label 'Assert.TableIsEmpty failed. Table <%1> with filter <%2> must not contain records.', Locked = true;
All 643 lines
Public procedures 32 in 29
| IsTrue(Condition: Boolean; Msg: Text) | 17-29 |
| IsFalse(Condition: Boolean; Msg: Text) | 17-29 |
| AreEqual(ExpectedVariant: Variant; ActualVariant: Variant; Msg: Text) | 17-29changed in 20 |
| AreEqualDateTime(Expected: DateTime; Actual: DateTime; Msg: Text) | 17-29 |
| AreNotEqual(ExpectedVariant: Variant; ActualVariant: Variant; Msg: Text) | 17-29changed in 20 |
| AreNearlyEqual(Expected: Decimal; Actual: Decimal; Delta: Decimal; Msg: Text) | 17-29 |
All 33 procedures in 17-29
Changes 9 in 29
All 13 changes in 17-29