Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move most proxy generator tests to specs #1495

Merged
merged 2 commits into from
Nov 16, 2018

Conversation

blairconrad
Copy link
Member

The tests were very low-level, and I've some upcoming PRs that will needlessly break them.

Copy link
Member

@thomaslevesque thomaslevesque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @blairconrad! I made a cursory review and found just one issue.

using FluentAssertions;
using Xbehave;
using Xunit;

public static class FakingDelegates
{
public delegate void VoidDelegateWithOutAndRefValues(out string outString, ref int refInt);

public delegate void NonVoidDelegateWithOutAndRefValues(ref string refString, out int outInt);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this delegate return something, given its name?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES!

@blairconrad
Copy link
Member Author

Thanks, @thomaslevesque. One more issue than I found!
I took the liberty of amending and pushing.

Hey! I never noticed the force-pushed note before:

image

@thomaslevesque
Copy link
Member

Hey! I never noticed the force-pushed note before:

I never noticed it either. I think it's new!

Copy link
Member

@thomaslevesque thomaslevesque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @blairconrad!

@thomaslevesque thomaslevesque merged commit fc17300 into FakeItEasy:develop Nov 16, 2018
@blairconrad blairconrad added this to the vNext milestone Nov 16, 2018
@blairconrad
Copy link
Member Author

Thank you, @thomaslevesque.

@blairconrad blairconrad deleted the tests-to-specs branch November 16, 2018 23:12
@thomaslevesque
Copy link
Member

This change has been released in FakeItEasy 5.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants