Stripping stuff we don't need out of the tests

This commit is contained in:
Owen Stephens 2018-02-19 13:42:45 +00:00
parent c172e2d66d
commit 731e1310c6

View File

@ -33,25 +33,18 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package com.google.refine.tests.expr.functions; package com.google.refine.tests.expr.functions;
import java.util.Properties;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.testng.Assert; import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeTest; import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test; import org.testng.annotations.Test;
import com.google.refine.browsing.Engine;
import com.google.refine.expr.ExpressionUtils; import com.google.refine.expr.ExpressionUtils;
import com.google.refine.model.Project;
import com.google.refine.tests.RefineTest; import com.google.refine.tests.RefineTest;
public class ExpressionUtilsTests extends RefineTest { public class ExpressionUtilsTests extends RefineTest {
Project project;
Properties bindings;
@Override @Override
@BeforeTest @BeforeTest
@ -60,18 +53,6 @@ public class ExpressionUtilsTests extends RefineTest {
} }
@BeforeMethod
public void SetUp() {
project = new Project();
bindings = ExpressionUtils.createBindings(project);
}
@AfterMethod
public void TearDown() {
project = null;
bindings = null;
}
// -----------------tests------------ // -----------------tests------------
@Test @Test