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

Matcher suggestions #45

Open
drewbourne opened this issue Feb 28, 2011 · 0 comments
Open

Matcher suggestions #45

drewbourne opened this issue Feb 28, 2011 · 0 comments

Comments

@drewbourne
Copy link
Owner

hasKeys(...keys) matches an Object if it has the given keys. Values are ignored.
hasOnlyKeys(...keys) matches an Object if has only the given keys. Values are ignored.
hasOnlyProperties(properties) matches an Object if has only the given properties and values. Stricter version of hasProperties()
arrayInAnyOrder(...matchers) similar to hasItems() number of matchers must be equal to the length of the array being matched.
children(childAt0Matcher, ...childAtNMatcher) matches a DisplayObjectContainer if the child at each index matches the given matcher.

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

No branches or pull requests

1 participant