Skip to content

Commit 688834e

Browse files
committed
Added integration test for the maven framework.
1 parent af7a96f commit 688834e

18 files changed

+125
-1
lines changed

ocpp-v1_6-test/pom.xml

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>eu.chargetime.ocpp</groupId>
8+
<artifactId>v1_6-test</artifactId>
9+
<version>0.1-alpha</version>
10+
11+
<name>Java-OCA-OCPP v1.6 - Integration test</name>
12+
<description>Integration test of OCA OCPP version 1.6</description>
13+
<url>https://github.com/ChargeTimeEU/Java-OCA-OCPP</url>
14+
15+
<licenses>
16+
<license>
17+
<name>MIT License</name>
18+
<url>http://www.opensource.org/licenses/mit-license.php</url>
19+
</license>
20+
</licenses>
21+
22+
<developers>
23+
<developer>
24+
<name>Thomas Volden</name>
25+
<email>[email protected]</email>
26+
<organization>chargetime.eu</organization>
27+
<organizationUrl>http://www.chargetime.eu</organizationUrl>
28+
</developer>
29+
</developers>
30+
31+
<scm>
32+
<connection>scm:git:git://github.com/ChargeTimeEU/Java-OCA-OCPP.git</connection>
33+
<developerConnection>scm:git:ssh://github.com:ChargeTimeEU/Java-OCA-OCPP.git</developerConnection>
34+
<url>https://github.com/ChargeTimeEU/Java-OCA-OCPP.git</url>
35+
</scm>
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>eu.chargetime.ocpp</groupId>
40+
<artifactId>common</artifactId>
41+
<version>0.1-alpha</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>eu.chargetime.ocpp</groupId>
45+
<artifactId>v1_6</artifactId>
46+
<version>0.1-alpha</version>
47+
</dependency>
48+
<!--<dependency>
49+
<groupId>org.json</groupId>
50+
<artifactId>json</artifactId>
51+
<version>20160212</version>
52+
<scope>compile</scope>
53+
</dependency>-->
54+
<!--<dependency>
55+
<groupId>org.java-websocket</groupId>
56+
<artifactId>Java-WebSocket</artifactId>
57+
<version>1.3.0</version>
58+
</dependency>-->
59+
<dependency>
60+
<groupId>junit</groupId>
61+
<artifactId>junit</artifactId>
62+
<version>4.12</version>
63+
<scope>test</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.codehaus.groovy</groupId>
67+
<artifactId>groovy-all</artifactId>
68+
<version>2.4.4</version>
69+
<scope>test</scope>
70+
</dependency>
71+
<dependency>
72+
<groupId>org.spockframework</groupId>
73+
<artifactId>spock-core</artifactId>
74+
<version>1.0-groovy-2.4</version>
75+
<scope>test</scope>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.hamcrest</groupId>
79+
<artifactId>hamcrest-core</artifactId>
80+
<version>1.3</version>
81+
<scope>test</scope>
82+
</dependency>
83+
</dependencies>
84+
85+
<build>
86+
<plugins>
87+
<plugin>
88+
<groupId>org.codehaus.gmavenplus</groupId>
89+
<artifactId>gmavenplus-plugin</artifactId>
90+
<version>1.5</version>
91+
<executions>
92+
<execution>
93+
<goals>
94+
<goal>addTestSources</goal>
95+
<goal>testCompile</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-compiler-plugin</artifactId>
103+
<version>3.3</version>
104+
<configuration>
105+
<source>1.8</source>
106+
<target>1.8</target>
107+
</configuration>
108+
</plugin>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-surefire-plugin</artifactId>
112+
<version>2.18.1</version>
113+
<configuration>
114+
<includes>
115+
<include>**/*Test.java</include>
116+
<include>**/*Spec.java</include>
117+
</includes>
118+
</configuration>
119+
</plugin>
120+
</plugins>
121+
</build>
122+
123+
</project>

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/Authorize.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/AuthorizeSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import spock.lang.Shared
66
import spock.lang.Specification
77
import spock.util.concurrent.PollingConditions;
88

9-
class Authorize extends Specification
9+
class AuthorizeSpec extends Specification
1010
{
1111
@Shared
1212
FakeCentralSystem centralSystem = new FakeCentralSystem();

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/BootNotification.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/BootNotification.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/ChangeAvailability.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/ChangeAvailability.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/ChangeConfiguration.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/ChangeConfiguration.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/ClearCache.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/ClearCache.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/DataTransfer.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/DataTransfer.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/GetConfiguration.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/GetConfiguration.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/Heartbeat.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/Heartbeat.groovy

File renamed without changes.

ocpp-v1_6-test/src/it/groovy/eu/chargetime/ocpp/test/core/MeterValues.groovy renamed to ocpp-v1_6-test/src/test/groovy/eu/chargetime/ocpp/test/core/MeterValues.groovy

File renamed without changes.

0 commit comments

Comments
 (0)