org.junit.Before



Project apache/lucene-solr in file ...6b484a/solr.src.test.org.apache.solr.TestTrie.java (2010-12-26)
@@ -22,12 +22,9 @@ import org.apache.solr.schema.FieldType;
 import org.apache.solr.schema.TrieField;
 import org.apache.solr.util.DateMathParser;
 import org.junit.After;
-import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
-import static org.junit.Assert.*;
-
 import java.text.SimpleDateFormat;
 import java.util.Locale;
 import java.util.TimeZone;
Project apache/lucene-solr in file ...rg.apache.solr.handler.TestReplicationHandler.java (2010-12-26)
@@ -37,12 +37,9 @@ import org.apache.solr.common.util.NamedList;
 import org.apache.solr.common.util.SimpleOrderedMap;
 import org.apache.solr.util.AbstractSolrTestCase;
 import org.junit.AfterClass;
-import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
-import static org.junit.Assert.*;
-
 import java.io.*;
 import java.net.URL;
 
Project mockito/mockito in file ...kitousage.misuse.DetectingMisusedMatchersTest.java (2009-04-15)
@@ -8,7 +8,6 @@ import static org.mockito.Matchers.*;
 import static org.mockito.Mockito.*;
 
 import org.junit.After;
-import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mock;
 import org.mockito.StateMaster;
@@ -27,7 +26,6 @@ public class DetectingMisusedMatchersTest extends TestBase {
 
     @Mock private WithFinal withFinal;
     
-    @Before
     @After
     public void resetState() {
         StateMaster.reset();
Project mockito/mockito in file ...usage.junitrunner.ModellingVerboseMockitoTest.java (2009-04-19)
@@ -6,7 +6,6 @@ package org.mockitousage.junitrunner;
 
 import static org.mockito.Mockito.*;
 
-import org.junit.Before;
 import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -20,7 +19,6 @@ public class ModellingVerboseMockitoTest extends TestBase {
     
     @Mock private IMethods mock;
     
-    @Before
     public void cleanStackTraces() {
         super.makeStackTracesClean();
     }
Project nutzam/nutz in file ...3ad8d/test.org.nutz.dao.test.normal.QueryTest.java (2010-04-29)
@@ -4,7 +4,6 @@ import static org.junit.Assert.*;
 
 import java.util.List;
 
-import org.junit.Before;
 import org.junit.Test;
 import org.nutz.dao.Cnd;
 import org.nutz.dao.entity.Record;
@@ -14,7 +13,6 @@ import org.nutz.dao.tools.Tables;
 
 public class QueryTest extends DaoCase {
 
-	@Before
 	public void before() {
 		Tables.define(dao, Tables.loadFrom("org/nutz/dao/test/meta/pet.dod"));
 		// Insert 8 records