On Fri, Feb 18, 2011 at 8:33 PM, <hossman@apache.org> wrote:
> Author: hossman
> Date: Sat Feb 19 01:33:12 2011
> New Revision: 1072230
>
> URL: http://svn.apache.org/viewvc?rev=1072230&view=rev
> Log:
> this test was missing @Test, and wasn't actually checking any fields were added
>
fyi, the problem was only the latter part, @Test is not required by
the test system if the test method starts with "test" (see
LuceneTestCaseRunner for details)
all of our junit tests are actually run as junit 4 tests, but we don't
require the useless @Test, @Before, and @After (just use test*,
setUp(), tearDown() as usual).
You can use @BeforeClass though.
this way we get the benefits of junit 4, without the hassles.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
|