Skip to content
Snippets Groups Projects
Commit cd09dcc0 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

test: Set locale to make the tests run everywhere

parent d5a8de44
Branches
Tags
No related merge requests found
Pipeline #5592 canceled
...@@ -31,14 +31,8 @@ import java.io.File; ...@@ -31,14 +31,8 @@ import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.*;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.TimeZone;
import static junit.framework.Assert.fail;
import junit.framework.TestCase; import junit.framework.TestCase;
import no.nibio.vips.entity.ModelConfiguration; import no.nibio.vips.entity.ModelConfiguration;
import no.nibio.vips.entity.Result; import no.nibio.vips.entity.Result;
...@@ -64,13 +58,14 @@ public class NaerstadModelTest extends TestCase { ...@@ -64,13 +58,14 @@ public class NaerstadModelTest extends TestCase {
@Override @Override
protected void setUp() throws Exception { protected void setUp() throws Exception {
super.setUp(); super.setUp();
Locale.setDefault(Locale.US);
} }
@Override @Override
protected void tearDown() throws Exception { protected void tearDown() throws Exception {
super.tearDown(); super.tearDown();
} }
/** /**
* This is not a test!! * This is not a test!!
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment