Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
bcff1971
Commit
bcff1971
authored
Mar 17, 2015
by
Matija Obreza
Browse files
Removed unused dependencies
parent
f669624d
Changes
5
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
bcff1971
...
...
@@ -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>
...
...
src/test/java/org/genesys2/server/model/impl/AccessionStorageTest.java
View file @
bcff1971
...
...
@@ -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
.
Core
Matchers
.
is
;
import
static
org
.
hamcrest
.
Core
Matchers
.
nullValue
;
import
static
org
.
junit
.
Assert
.
assertNotNull
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
...
...
src/test/java/org/genesys2/server/service/impl/DSTest.java
View file @
bcff1971
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
());
...
...
src/test/java/org/genesys2/server/service/impl/WorldClimUpdaterDummyTest.java
View file @
bcff1971
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
;
...
...
src/test/java/org/genesys2/server/test/BatchRESTServiceTest.java
View file @
bcff1971
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment