Skip to content

Commit 9e237e8

Browse files
committed
compatibility test testing xmlunit-matchers against Hamcrest 2.2
this seems to indicate #165 is not yet required
1 parent 08fa36d commit 9e237e8

File tree

5 files changed

+96
-0
lines changed

5 files changed

+96
-0
lines changed

compat-tests/hamcrest-2.x/pom.xml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
This file is licensed to You under the Apache License, Version 2.0
4+
(the "License"); you may not use this file except in compliance with
5+
the License. You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
15+
<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/maven-v4_0_0.xsd">
16+
<modelVersion>4.0.0</modelVersion>
17+
18+
<parent>
19+
<groupId>org.xmlunit</groupId>
20+
<artifactId>xmlunit-parent</artifactId>
21+
<version>2.6.4-SNAPSHOT</version>
22+
<relativePath>../..</relativePath>
23+
</parent>
24+
25+
<groupId>org.xmlunit</groupId>
26+
<artifactId>xmlunit-compat-tests-hamcrest-2.x</artifactId>
27+
<packaging>jar</packaging>
28+
<name>org.xmlunit:xmlunit-compat-tests-hamcrest-2.x</name>
29+
<description>Verifies the Hamcrest Matchers are compatible with the latest version of Hamcrest</description>
30+
<url>https://www.xmlunit.org/</url>
31+
32+
<properties>
33+
<automatic.module.name>${project.groupId}.compat-tests-hamcrest-2.x</automatic.module.name>
34+
<hamcrest.version>2.2</hamcrest.version>
35+
</properties>
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.xmlunit</groupId>
40+
<artifactId>xmlunit-core</artifactId>
41+
<scope>test</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.xmlunit</groupId>
45+
<artifactId>xmlunit-matchers</artifactId>
46+
<scope>test</scope>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.hamcrest</groupId>
50+
<artifactId>hamcrest</artifactId>
51+
<version>${hamcrest.version}</version>
52+
<scope>test</scope>
53+
</dependency>
54+
<dependency>
55+
<groupId>org.hamcrest</groupId>
56+
<artifactId>hamcrest-library</artifactId>
57+
<version>${hamcrest.version}</version>
58+
<scope>test</scope>
59+
</dependency>
60+
<dependency>
61+
<groupId>junit</groupId>
62+
<artifactId>junit</artifactId>
63+
<scope>test</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.mockito</groupId>
67+
<artifactId>mockito-core</artifactId>
68+
<scope>test</scope>
69+
</dependency>
70+
</dependencies>
71+
</project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
This file is licensed to You under the Apache License, Version 2.0
3+
(the "License"); you may not use this file except in compliance with
4+
the License. You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software
9+
distributed under the License is distributed on an "AS IS" BASIS,
10+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
See the License for the specific language governing permissions and
12+
limitations under the License.
13+
*/
14+
package org.xmlunit;
15+
16+
public final class TestResources {
17+
public static final String TEST_RESOURCE_DIR = "../../../test-resources/";
18+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../../../xmlunit-matchers/src/test/java/org/xmlunit/bugreports
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../../../xmlunit-matchers/src/test/java/org/xmlunit/matchers

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@
130130
<classifier>tests</classifier>
131131
<version>${project.version}</version>
132132
</dependency>
133+
<dependency>
134+
<groupId>org.xmlunit</groupId>
135+
<artifactId>xmlunit-matchers</artifactId>
136+
<version>${project.version}</version>
137+
</dependency>
133138
<dependency>
134139
<groupId>org.mockito</groupId>
135140
<artifactId>mockito-core</artifactId>

0 commit comments

Comments
 (0)