Cleanup imports

This commit is contained in:
Antonin Delpeuch 2018-08-21 17:31:21 +02:00
parent da9978b365
commit 953a7380fe
9 changed files with 3 additions and 21 deletions

View File

@ -35,7 +35,6 @@ package com.google.refine.tests;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
import org.apache.tools.tar.TarOutputStream;
@ -43,7 +42,6 @@ import com.google.refine.ProjectManager;
import com.google.refine.history.HistoryEntryManager;
import com.google.refine.model.Project;
import com.google.refine.model.metadata.IMetadata;
import com.google.refine.model.metadata.MetadataFormat;
/**
* Stub used to make protected methods public for testing

View File

@ -52,7 +52,6 @@ import com.google.refine.model.Cell;
import com.google.refine.model.ModelException;
import com.google.refine.model.Project;
import com.google.refine.model.Row;
import com.google.refine.model.metadata.ProjectMetadata;
import com.google.refine.tests.RefineTest;

View File

@ -50,7 +50,6 @@ import com.google.refine.model.Cell;
import com.google.refine.model.ModelException;
import com.google.refine.model.Project;
import com.google.refine.model.Row;
import com.google.refine.model.metadata.ProjectMetadata;
import com.google.refine.tests.RefineTest;

View File

@ -1,15 +1,14 @@
package com.google.refine.tests.importers;
import static org.mockito.Mockito.when;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import static org.mockito.Mockito.when;
import org.json.JSONArray;
import org.json.JSONObject;
import org.mockito.Mockito;

View File

@ -15,7 +15,6 @@ import com.google.refine.importers.tree.TreeImportingParserBase;
import com.google.refine.importing.ImportingJob;
import com.google.refine.importing.ImportingManager;
import com.google.refine.importing.ImportingUtilities;
import com.google.refine.model.Column;
import com.google.refine.model.metadata.ProjectMetadata;
import com.google.refine.tests.importers.ImporterTest;
import com.google.refine.util.JSONUtilities;

View File

@ -2,7 +2,6 @@ package com.google.refine.tests.model.recon;
import java.util.ArrayList;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.LoggerFactory;
import org.testng.Assert;

View File

@ -47,7 +47,6 @@ import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import com.google.refine.expr.ExpressionUtils;
import com.google.refine.model.AbstractOperation;
import com.google.refine.model.Cell;
import com.google.refine.model.ModelException;
import com.google.refine.model.Project;

View File

@ -3,9 +3,8 @@ package com.google.refine.tests.process;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.google.refine.process.LongRunningProcess;
import com.google.refine.process.ProcessManager;
import com.google.refine.process.Process;
import com.google.refine.process.ProcessManager;
import com.google.refine.tests.util.TestUtils;
import com.google.refine.util.JSONUtilities;

View File

@ -5,22 +5,13 @@ import static org.junit.Assert.fail;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Properties;
import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONWriter;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.refine.Jsonizable;
import com.google.refine.util.JSONUtilities;
import com.google.refine.util.ParsingUtilities;
public class TestUtils {