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

Initial implementation of Fakes framework. #2906

Merged
merged 8 commits into from
Mar 19, 2017

Conversation

comintern
Copy link
Contributor

ref #2863, #2891

Consider this WIP. There are a couple of features that still aren't implemented, and it's only lightly tested at this point. That said, it would be nice to get it merged in that there are quite a few changed files and the merge commit is already promising to be unpleasant. If push comes to shove, it can easily be "switched off" by making the relevant members ComVisible(false).

@retailcoder
Copy link
Member

We need a wiki page to document what the conventions are and how to extend the current functionality.

@retailcoder
Copy link
Member

@comintern only missing a commit on README.MD and the about dialog, to sing the praise of EasyHook :-)

@retailcoder
Copy link
Member

BTW the internal API looks beautiful - feels like extending this is going to be a charm!

@retailcoder retailcoder merged commit 3567a45 into rubberduck-vba:next Mar 19, 2017
Copy link
Member

@rubberduck203 rubberduck203 left a comment

Choose a reason for hiding this comment

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

Seriously cool stuff and great work. I'm tempted to go get myself a copy of office just so I can play with this. 👍

[return: MarshalAs(UnmanagedType.IUnknown)]
private static extern object rtcErrObj();

public static void RaiseVbaError(int number, string source = "", string description = "", string helpfile = "", int helpcontext = 0)
Copy link
Member

Choose a reason for hiding this comment

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

++ I don't know why we never thought of importing this before. I just want to point out that, more than ever, we need to stick to our guns about pre-2007 being unsupported.

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

Successfully merging this pull request may close these issues.

None yet

3 participants