Issue 32 in guiceyfruit: GuiceyJUnit4 calls ignores @After annotated methods

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 24, 2009, 6:09:29 AM11/24/09
to guiceyf...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 32 by mcarl.privat: GuiceyJUnit4 calls ignores @After annotated
methods
http://code.google.com/p/guiceyfruit/issues/detail?id=32

Write a test having the GuiceyJUnit4 runner configured.

Define method that should run after each test method and annotate with
@After. Run the test.

Methods annotated with @Before are executed twice.

Responsible line of code (line 77) in 'withAfters(FrameworkMethod, Object,
Statement)': final Statement parent = super.withBefores(frameworkMethod,
test, statement);

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages