Skip to content

Commit b08abb0

Browse files
MakarovSdmitry-timofeev
authored andcommitted
Add TimeService and Blockchain ITs [ECR-3054] (#890)
Blockchain ITs are planned to replace system tests via QA service endpoints, see ECR-3185
1 parent 703a9c8 commit b08abb0

9 files changed

Lines changed: 902 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
3+
<!DOCTYPE suppressions PUBLIC
4+
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
5+
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
6+
7+
<suppressions>
8+
<!-- Allow `aBlock` name -->
9+
<suppress files="BlockchainIntegrationTest\.java" checks="MethodName"/>
10+
</suppressions>
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<parent>
6+
<groupId>com.exonum.binding</groupId>
7+
<artifactId>exonum-java-binding-parent</artifactId>
8+
<version>0.7.0-SNAPSHOT</version>
9+
</parent>
10+
11+
<artifactId>exonum-java-binding-integration-tests</artifactId>
12+
<version>0.7.0-SNAPSHOT</version>
13+
<packaging>jar</packaging>
14+
15+
<name>Exonum Java Binding: Integration Tests</name>
16+
<description>
17+
A module providing integration tests for Core and Time Oracle modules that require
18+
a node running a service. Such tests cannot be written using plain MemoryDb, hence use
19+
a testkit.
20+
</description>
21+
22+
<properties>
23+
<checkstyle.configLocation>${project.parent.basedir}/../checkstyle.xml</checkstyle.configLocation>
24+
<ejb-core.nativeLibPath>${project.parent.basedir}/core/rust/target/debug</ejb-core.nativeLibPath>
25+
</properties>
26+
27+
<dependencies>
28+
<dependency>
29+
<groupId>com.exonum.binding</groupId>
30+
<artifactId>exonum-java-binding-core</artifactId>
31+
<version>${project.version}</version>
32+
</dependency>
33+
34+
<dependency>
35+
<groupId>com.exonum.binding</groupId>
36+
<artifactId>exonum-time-oracle</artifactId>
37+
<version>${project.version}</version>
38+
</dependency>
39+
40+
<dependency>
41+
<groupId>org.assertj</groupId>
42+
<artifactId>assertj-core</artifactId>
43+
<scope>test</scope>
44+
</dependency>
45+
46+
<dependency>
47+
<groupId>com.exonum.binding</groupId>
48+
<artifactId>exonum-testkit</artifactId>
49+
<version>${project.version}</version>
50+
<scope>test</scope>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>com.exonum.binding</groupId>
55+
<artifactId>exonum-java-testing</artifactId>
56+
<version>${project.version}</version>
57+
<scope>test</scope>
58+
</dependency>
59+
</dependencies>
60+
61+
<build>
62+
<plugins>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-compiler-plugin</artifactId>
66+
</plugin>
67+
68+
<plugin>
69+
<artifactId>maven-surefire-plugin</artifactId>
70+
<configuration>
71+
<argLine>
72+
${jacoco.args}
73+
-Djava.library.path=${ejb-core.nativeLibPath}
74+
${java.vm.assertionFlag}
75+
</argLine>
76+
</configuration>
77+
</plugin>
78+
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-checkstyle-plugin</artifactId>
82+
<configuration>
83+
<configLocation>${project.parent.basedir}/../checkstyle.xml</configLocation>
84+
<suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
85+
</configuration>
86+
</plugin>
87+
88+
<!-- Skip the deployment of internal module as it is inherited from parent pom -->
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-deploy-plugin</artifactId>
92+
<configuration>
93+
<skip>true</skip>
94+
</configuration>
95+
</plugin>
96+
</plugins>
97+
</build>
98+
</project>

0 commit comments

Comments
 (0)