Commit bcff1971 authored by Matija Obreza's avatar Matija Obreza

Removed unused dependencies

parent f669624d
......@@ -126,6 +126,12 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
......@@ -378,11 +384,6 @@
<artifactId>mail</artifactId>
<version>1.5.0-b01</version>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
<version>1.17.0-rc</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
......@@ -447,18 +448,7 @@
<version>1.0.4.RELEASE</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>${jsonpath.version}</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path-assert</artifactId>
<version>${jsonpath.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.social</groupId>
......
......@@ -16,8 +16,8 @@
package org.genesys2.server.model.impl;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.nullValue;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
......
package org.genesys2.server.service.impl;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.Matchers.notNullValue;
import static org.hamcrest.CoreMatchers.*;
import java.io.IOException;
import java.util.ArrayList;
......@@ -17,6 +16,7 @@ import org.genesys2.server.service.DescriptorService;
import org.genesys2.server.test.JpaDataConfig;
import org.genesys2.server.test.PropertyPlacholderInitializer;
import org.genesys2.spring.config.HazelcastConfig;
import org.hamcrest.collection.IsCollectionWithSize;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -92,7 +92,7 @@ public class DSTest {
DS loaded = dsService.loadDatasetByUuid(ds.getUuid());
assertThat("Dataset must be loaded by UUID", loaded, notNullValue());
assertThat("Dataset.qualifiers must not be null", loaded.getQualifiers(), notNullValue());
assertThat("Dataset must have 1 DSQualifier", loaded.getQualifiers(), hasSize(2));
assertThat("Dataset must have 1 DSQualifier", loaded.getQualifiers(), IsCollectionWithSize.hasSize(2));
assertThat("Dataset must have 1 DSQualifier value", loaded.getQualifiers().get(0), notNullValue());
assertThat("Dataset must have 1 DSQualifier with id", loaded.getQualifiers().get(0).getId(), notNullValue());
......
package org.genesys2.server.service.impl;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
import static org.hamcrest.CoreMatchers.*;
import java.io.File;
import java.io.FilenameFilter;
......
......@@ -16,8 +16,7 @@
package org.genesys2.server.test;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
......
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