Skip to content

Commit

Permalink
DATAGEODE-3 - Fix GemfireSimpleTypeHolderTest due to API changes in S…
Browse files Browse the repository at this point in the history
…DC SimpleTypeHolder.
  • Loading branch information
jxblum committed Apr 28, 2017
1 parent 9f7de3f commit 2f34d88
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
37 changes: 26 additions & 11 deletions pom.xml
Expand Up @@ -50,6 +50,7 @@

<dependencies>

<!-- Java EE -->
<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
Expand All @@ -58,6 +59,7 @@
<optional>true</optional>
</dependency>

<!-- Core Spring Framework -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
Expand All @@ -68,12 +70,14 @@
<artifactId>spring-tx</artifactId>
</dependency>

<!-- Spring Data Commons -->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>${spring-data-commons.version}</version>
</dependency>

<!-- Apache Geode -->
<dependency>
<groupId>org.apache.geode</groupId>
<artifactId>geode-core</artifactId>
Expand All @@ -93,16 +97,19 @@
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.geode</groupId>
<artifactId>geode-cq</artifactId>
<version>${geode.version}</version>
</dependency>

<dependency>
<groupId>org.apache.geode</groupId>
<artifactId>geode-lucene</artifactId>
<version>${geode.version}</version>
</dependency>

<dependency>
<groupId>org.apache.geode</groupId>
<artifactId>geode-wan</artifactId>
Expand All @@ -122,6 +129,7 @@
<version>${apache-shiro.version}</version>
</dependency>

<!-- 3rd Party Dependencies -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
Expand All @@ -141,16 +149,21 @@
</dependency>

<!-- Logging -->
<!-- Slf4j JCL bridge redeclared to be available in compile scope -->
<!-- TODO Remove -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j}</version>
<scope>test</scope>
</dependency>

<!-- Test -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback}</version>
<scope>test</scope>
</dependency>

<!-- Test -->
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
Expand Down Expand Up @@ -211,6 +224,11 @@
<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -228,14 +246,6 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
Expand All @@ -249,6 +259,11 @@
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
</plugin>

</plugins>
</build>

Expand Down
Expand Up @@ -23,7 +23,6 @@
import java.math.BigInteger;

import org.junit.Test;
import org.springframework.data.mapping.model.SimpleTypeHolder;

/**
* Unit tests for {@link GemfireSimpleTypeHolder} class.
Expand All @@ -34,9 +33,9 @@
* @see org.springframework.data.mapping.model.SimpleTypeHolder
* @since 1.6.3
*/
public class GemfireSimpleTypeHolderTest {
public class GemfireSimpleTypeHolderUnitTests {

private final GemfireSimpleTypeHolder holder = new GemfireSimpleTypeHolder(new SimpleTypeHolder());
private final GemfireSimpleTypeHolder holder = new GemfireSimpleTypeHolder();

@Test
public void bigDecimalAndBigIntegerAreSimpleTypes() {
Expand Down

0 comments on commit 2f34d88

Please sign in to comment.