New Post: Comparing two similar objects fails
FieldOffset is a property of class DieCorner: [Serializable] public class DieCorner: Entity { public DieCorner() { } public DieCorner(ImageData imageData, WaferPosition waferPosition) { Image =...
View ArticleNew Post: Comparing two similar objects fails
I think I got it, is it because the FieldOffset is a reference type and the references are being compared? IncludeNestedProperties() should be added, correct? What if i have multiple levels of...
View ArticleNew Post: Comparing two similar objects fails
Correct. If you don't specify the IncludeNestedProperties(), it will use the object.Equals() method to compare two objects. So if you don't explicitly override that method, it will use reference...
View ArticleNew Post: Should().Equal() vs Assert.AreEqual on empty collections
I'm struggling with something. I'm looking to verify that two empty lists refer to the same object: var liste1 = new List<string>(); var liste2 = new List<string>(); (liste1 ==...
View ArticleNew Post: Should().Equal() vs Assert.AreEqual on empty collections
Should().Equal() will compare the individual items within the two collections, but doesn't care about the collection type itself. Unfortunately, we don't have the Should().BeSameAs() on the collection,...
View ArticleCreated Issue: BeOfTypeImplements to test IEnumerable instead of specific...
Unit tests for my controller include type validation of the model.I first attempted:ViewResult.Model.Should().BeOfType<IEnumerable<model>>()but it failed, stating that the type is...
View ArticleCommented Issue: BeOfTypeImplements to test IEnumerable instead of specific...
Unit tests for my controller include type validation of the model.I first attempted:ViewResult.Model.Should().BeOfType<IEnumerable<model>>()but it failed, stating that the type is...
View ArticleSource code checked in, #1730c0c30686
Merge https://git01.codeplex.com/forks/ndroe/fluentassertions
View ArticleSource code checked in, #f12adb828cdd
Removed duplicate implementations of some TypeExtensions.
View ArticleSource code checked in, #046526cd01c2
Created an extension method GetMethodNamed(string methodName) on Type, to abstract the distinction between WinRT and other projects. Updated a small number of the usages.
View ArticleNew Post: DateTimeOffset
It would be great if FA supported DateTimeOffset in the same way it supported DateTime.
View ArticleCreated Issue: DateTimeOffset support [12464]
It would be great if FA supported DateTimeOffset in the same way it supported DateTime.
View ArticleNew Post: DateTimeOffset
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Access to EventRecorder
Hi,Would you consider making to possible to get the EventRecorder for an object and event, so that it is possible to write custom assertions. Without having to save the IEnumerable<EventRecorder>...
View ArticleCreated Issue: Access to EventRecorder [12465]
Hi,Would you consider making to possible to get the EventRecorder for an object and event, so that it is possible to write custom assertions. Without having to save the IEnumerable<EventRecorder>...
View ArticleNew Post: Access to EventRecorder
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View Article