Пример #1
0
        public static void Equal(BufferedJob expected, BufferedJob actual)
        {
            NotNull(expected);
            NotNull(actual);

            Assert.Equal(expected.CreateDate, actual.CreateDate);
            MyAsserts.Equal(expected.Header, expected.Header);
            Assert.Equal(expected.Id, actual.Id);
            MyAsserts.Equal(expected.ReplyDate, actual.ReplyDate);
            Assert.Equal(expected.Sent, actual.Sent);
            MyAsserts.Equal(expected.SentDate, actual.SentDate);
            MyAsserts.Equal((Job)expected.Job, (Job)actual.Job);
            MyAsserts.Equal(expected.DeviceId, expected.DeviceId);
        }
Пример #2
0
        public static void Equal(Job expected, Job actual)
        {
            NotNull(expected);
            NotNull(actual);

            MyAsserts.Equal(expected.AssignedAt, actual.AssignedAt);
            Assert.Equal(expected.AssignedTo, actual.AssignedTo);
            MyAsserts.Equal(expected.CreatedAt, actual.CreatedAt);
            Assert.Equal(expected.CreatedBy, actual.CreatedBy);
            Assert.Equal(expected.Id, actual.Id);
            Assert.Equal(expected.Immediate, actual.Immediate);
            Assert.Equal(expected.Name, actual.Name);
            Assert.Equal(expected.Priority, actual.Priority);
            Assert.Equal(expected.ReferenceId, actual.ReferenceId);
            MyAsserts.Equal(expected.Resource, actual.Resource);
            Assert.Equal(expected.Status, actual.Status);
            Assert.Equal(expected.Type, actual.Type);
        }