Moved mock.model and mock.dataInput tests into the racevisionGame.tests.mock package.
This commit is contained in:
+1
-3
@@ -1,4 +1,4 @@
|
|||||||
package seng302.DataInput;
|
package mock.dataInput;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
@@ -11,8 +11,6 @@ import javax.xml.parsers.ParserConfigurationException;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
//import static org.testng.Assert.*;
|
//import static org.testng.Assert.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
package seng302.DataInput;
|
package mock.dataInput;
|
||||||
|
|
||||||
|
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
import seng302.Exceptions.InvalidPolarFileException;
|
import seng302.Exceptions.InvalidPolarFileException;
|
||||||
import seng302.Model.Polars;
|
import seng302.Model.Polars;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by f123 on 10-May-17.
|
* Created by f123 on 10-May-17.
|
||||||
+1
-3
@@ -1,11 +1,9 @@
|
|||||||
package seng302.Model;
|
package mock.model;
|
||||||
|
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by esa46 on 22/03/17.
|
* Created by esa46 on 22/03/17.
|
||||||
*/
|
*/
|
||||||
+1
-2
@@ -1,9 +1,8 @@
|
|||||||
package seng302.Model;
|
package mock.model;
|
||||||
|
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
//import static org.testng.AssertJUnit.assertEquals;
|
//import static org.testng.AssertJUnit.assertEquals;
|
||||||
|
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
package seng302.Model;
|
package mock.model;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
@@ -6,8 +6,8 @@ import org.junit.Test;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static junit.framework.TestCase.assertTrue;
|
|
||||||
import static junit.framework.TestCase.assertFalse;
|
import static junit.framework.TestCase.assertFalse;
|
||||||
|
import static junit.framework.TestCase.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by jjg64 on 11/05/17.
|
* Created by jjg64 on 11/05/17.
|
||||||
+1
-4
@@ -1,14 +1,11 @@
|
|||||||
package seng302.Model;
|
package mock.model;
|
||||||
|
|
||||||
import org.geotools.referencing.GeodeticCalculator;
|
import org.geotools.referencing.GeodeticCalculator;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import seng302.Constants;
|
import seng302.Constants;
|
||||||
|
|
||||||
|
|
||||||
import java.awt.geom.Point2D;
|
import java.awt.geom.Point2D;
|
||||||
|
|
||||||
import static junit.framework.TestCase.assertEquals;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by esa46 on 22/03/17.
|
* Created by esa46 on 22/03/17.
|
||||||
*/
|
*/
|
||||||
+3
-2
@@ -1,11 +1,12 @@
|
|||||||
package seng302.Model;
|
package mock.model;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import seng302.DataInput.PolarParser;
|
import seng302.DataInput.PolarParser;
|
||||||
import seng302.Exceptions.InvalidPolarFileException;
|
import seng302.Exceptions.InvalidPolarFileException;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
import static org.testng.Assert.assertEquals;
|
||||||
|
import static org.testng.Assert.assertTrue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by f123 on 10-May-17.
|
* Created by f123 on 10-May-17.
|
||||||
+1
-2
@@ -1,4 +1,4 @@
|
|||||||
package seng302.Model;
|
package mock.model;
|
||||||
|
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
@@ -18,7 +18,6 @@ import java.io.IOException;
|
|||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
import static org.mockito.Mockito.*;
|
import static org.mockito.Mockito.*;
|
||||||
|
|
||||||
Reference in New Issue
Block a user