[CONTAINER-98] S2JUnit4へ@PostBindFields/@PreUnbindFieldsを導入しました Created: 2007-10-18 Updated: 2008-07-14 Resolved: 2008-07-10 |
|
Status: | Resolved |
Project: | S2Container |
Component/s: | S2-Tiger |
Affects Version/s: | 2.4.17 |
Fix Version/s: | 2.4.27 |
Type: | Improvement | Priority: | Major |
Reporter: | manhole | Assignee: | j5ik2o |
Resolution: | Fixed | Votes: | 1 |
Labels: | None |
Description |
JUnit3ベースのS2TestCaseで提供しているsetUpAfterBindFields・tearDownBeforeUnbindFieldsを、S2JUnit4でも使用できるようにする。 |
Comments |
Comment by j5ik2o [ 2008-07-10 ] |
ユニットテストおよびSNAPSHOT版のs2-tigerでも動作確認が完了しました. |
Comment by j5ik2o [ 2008-07-08 ] |
アノテーションとして@PostBindFields, @PreUnbindFields,メソッド名としてpostBindFields, preUnbindFieldsをサポートするようにしました. |
Comment by higa [ 2008-05-23 ] |
これどうします? |
Comment by manhole [ 2007-10-20 ] |
S2TestCaseでは
この2つがペアですから、後者は@BeforeUnbindFieldsになるとして、 |
Comment by taedium [ 2007-10-20 ] |
迷うところですが、@AfterBindFieldsがわかりやすくていいんじゃないでしょうか。 |
Comment by manhole [ 2007-10-18 ] |
@BeforeAfterBindFields というのはどうでしょう。(beforeなのかafterなのか、わかりづらいかも...) |
Comment by manhole [ 2007-10-18 ] |
JUnit3→JUnit4で、ネーミングが若干変わっている(setUp→@Beforeなど)ので、"setUpAfterBindFields"そのままではなくJUnit4に合わせたネーミングにする方が良いかな。 |