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

add test case #1182

Merged
merged 3 commits into from
Oct 31, 2012
Merged

add test case #1182

merged 3 commits into from
Oct 31, 2012

Conversation

kousuke
Copy link
Contributor

@kousuke kousuke commented Oct 31, 2012

Signed-off-by: kousuke kousuke.kikuchi@gmail.com

added unit test

Signed-off-by: kousuke <kousuke.kikuchi@gmail.com>
@frankdejonge
Copy link
Contributor

Could you reformat the exception testing to use annotations?

/**
 * @expectedException InvalidArgumentException
 */

Signed-off-by: kousuke <kousuke.kikuchi@gmail.com>
@kousuke
Copy link
Contributor Author

kousuke commented Oct 31, 2012

this is what you want?

@frankdejonge
Copy link
Contributor

@kousuke you can even lieve the ->fail calls out, the annotations now suggest what is expected, so if the exception is not thrown it will fail. No need to explicitly state that is has failed.

Signed-off-by: kousuke <kousuke.kikuchi@gmail.com>
@kousuke
Copy link
Contributor Author

kousuke commented Oct 31, 2012

OK, I removed the codes.

frankdejonge added a commit that referenced this pull request Oct 31, 2012
@frankdejonge frankdejonge merged commit 174b8e7 into fuel:1.4/develop Oct 31, 2012
@kousuke
Copy link
Contributor Author

kousuke commented Oct 31, 2012

Great, Thanks :)

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.

2 participants