Quantcast
Channel: Fluent Assertions
Browsing all 1402 articles
Browse latest View live
↧

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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article


New Post: Should().Equal() vs Assert.AreEqual on empty collections

Thanks!

View Article

Source code checked in, #1ee4840c4a15

Minor rework while reviewing a pull request.

View Article

Created 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 Article


Source code checked in, #729db4bd1a6e

Added UpgradeLog.htm file to gitignore

View Article


Commented 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 Article

Source code checked in, #235a83293bdc

Fixed the WindowsPhone build

View Article

Source code checked in, #1730c0c30686

Merge https://git01.codeplex.com/forks/ndroe/fluentassertions

View Article

Source code checked in, #f12adb828cdd

Removed duplicate implementations of some TypeExtensions.

View Article


Source 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 Article

New Post: DateTimeOffset

It would be great if FA supported DateTimeOffset in the same way it supported DateTime.

View Article


Created Issue: DateTimeOffset support [12464]

It would be great if FA supported DateTimeOffset in the same way it supported DateTime.

View Article

New Post: DateTimeOffset

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

View Article


New 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 Article

Created 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 Article

New 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
Browsing all 1402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>