Commit d16ffc3b authored by Ricco Førgaard's avatar Ricco Førgaard

Added all imports the student ought to use.

parent c4e9e6b3
......@@ -5,6 +5,7 @@ import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.nesstar.api.NesstarDB;
import com.nesstar.api.NesstarDBFactory;
import com.nesstar.api.Server;
/**
......
......@@ -3,15 +3,24 @@ package com.nesstar.tutorial;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import com.nesstar.api.IllegalTreeOperationException;
import com.nesstar.api.NesstarDB;
import com.nesstar.api.NesstarDBFactory;
import com.nesstar.api.NesstarObject;
import com.nesstar.api.NotAuthorizedException;
import com.nesstar.api.Server;
import com.nesstar.api.Study;
import com.nesstar.api.Variable;
import com.nesstar.api.cube.Cube;
import com.nesstar.api.search.SearchQuery;
import com.nesstar.api.search.SearchResult;
import com.nesstar.api.search.SearchResultItem;
......
......@@ -5,15 +5,21 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import com.nesstar.api.Bank;
import com.nesstar.api.NesstarDBFactory;
import com.nesstar.api.NotAuthorizedException;
import com.nesstar.api.Server;
import com.nesstar.api.Study;
import com.nesstar.api.User;
import com.nesstar.api.Variable;
import com.nesstar.api.cube.Cube;
/**
......
......@@ -3,11 +3,23 @@ package com.nesstar.tutorial;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import javax.xml.xpath.XPathExpressionException;
import org.junit.Before;
import org.junit.Test;
import com.nesstar.api.Bank;
import com.nesstar.api.DdiElement;
import com.nesstar.api.DdiList;
import com.nesstar.api.NesstarDBFactory;
import com.nesstar.api.NotAuthorizedException;
import com.nesstar.api.Server;
import com.nesstar.api.Study;
......
......@@ -3,12 +3,29 @@ package com.nesstar.tutorial;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import com.nesstar.api.Bank;
import com.nesstar.api.Category;
import com.nesstar.api.NesstarDBFactory;
import com.nesstar.api.NotAuthorizedException;
import com.nesstar.api.Server;
import com.nesstar.api.Study;
import com.nesstar.api.Variable;
import com.nesstar.api.analysis.CorrelationBuilder;
import com.nesstar.api.analysis.CorrelationResult;
import com.nesstar.api.analysis.LinearRegressionBuilder;
import com.nesstar.api.analysis.LinearRegressionResult;
import com.nesstar.api.analysis.Statistic;
import com.nesstar.api.analysis.Table;
import com.nesstar.api.analysis.TableCoordinates;
import com.nesstar.api.analysis.TabulationBuilder;
/**
* Nesstar API Tutorial Level 5
......
......@@ -2,15 +2,28 @@ package com.nesstar.tutorial;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.LinkedList;
import java.util.List;
import java.util.Locale;
import org.junit.Before;
import org.junit.Test;
import com.nesstar.api.Bank;
import com.nesstar.api.NesstarDBFactory;
import com.nesstar.api.NotAuthorizedException;
import com.nesstar.api.Server;
import com.nesstar.api.cube.Cell;
import com.nesstar.api.cube.Cube;
import com.nesstar.api.cube.Dimension;
import com.nesstar.api.cube.Measure;
import com.nesstar.api.cube.Member;
import com.nesstar.api.cube.Slice;
import com.nesstar.api.cube.SliceBuilder;
import com.nesstar.api.cube.SliceCoordinates;
/**
* Nesstar API Tutorial Level 6
......
......@@ -3,6 +3,7 @@ package com.nesstar.tutorial;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Before;
import org.junit.Test;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment