Skip to content

Commit 68984b8

Browse files
committed
Version 3.0
1 parent 1adc351 commit 68984b8

File tree

133 files changed

+46427
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+46427
-10
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "org.hamcrest"
7-
version = "3.0-SNAPSHOT"
7+
version = "3.0"
88

99
subprojects {
1010
apply plugin: 'checkstyle'

docs/distributables.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ when upgrading.
3030
## The Hamcrest Jar
3131

3232
All the base classes and standard matcher implementations are contained in a
33-
single jar file called `hamcrest-2.2.jar`.
33+
single jar file called `hamcrest-3.0.jar`.
3434

3535
### Using Hamcrest in a Gradle Project
3636

37-
Add `"org.hamcrest:hamcrest:2.2"` to the dependencies section of your
37+
Add `"org.hamcrest:hamcrest:3.0"` to the dependencies section of your
3838
`build.gradle`, for example:
3939

4040
```gradle
4141
apply plugin: 'java'
4242
4343
dependencies {
44-
testImplementation 'org.hamcrest:hamcrest:2.2'
44+
testImplementation 'org.hamcrest:hamcrest:3.0'
4545
}
4646
```
4747

@@ -56,7 +56,7 @@ Add the following to the `<dependencies>` section in your `pom.xml`:
5656
<dependency>
5757
<groupId>org.hamcrest</groupId>
5858
<artifactId>hamcrest</artifactId>
59-
<version>2.2</version>
59+
<version>3.0</version>
6060
<scope>test</scope>
6161
</dependency>
6262
```
@@ -115,8 +115,8 @@ directly declare a dependency upon these shim jars to force the upgrade.
115115
apply plugin: 'java'
116116
117117
dependencies {
118-
testImplementation 'org.hamcrest:hamcrest:2.2'
119-
testImplementation 'org.hamcrest:hamcrest-library:2.2'
118+
testImplementation 'org.hamcrest:hamcrest:3.0'
119+
testImplementation 'org.hamcrest:hamcrest-library:3.0'
120120
testImplementation 'junit:junit:4.13.2'
121121
}
122122
```
@@ -132,13 +132,13 @@ dependencies, otherwise the older version will take precedence.
132132
<dependency>
133133
<groupId>org.hamcrest</groupId>
134134
<artifactId>hamcrest</artifactId>
135-
<version>2.2</version>
135+
<version>3.0</version>
136136
<scope>test</scope>
137137
</dependency>
138138
<dependency>
139139
<groupId>org.hamcrest</groupId>
140140
<artifactId>hamcrest-library</artifactId>
141-
<version>2.2</version>
141+
<version>3.0</version>
142142
<scope>test</scope>
143143
</dependency>
144144
<dependency>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!-- NewPage -->
3+
<html lang="en">
4+
<head>
5+
<!-- Generated by javadoc -->
6+
<title>All Classes (Hamcrest 3.0 API)</title>
7+
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
8+
<script type="text/javascript" src="script.js"></script>
9+
</head>
10+
<body>
11+
<h1 class="bar">All&nbsp;Classes</h1>
12+
<div class="indexContainer">
13+
<ul>
14+
<li><a href="org/hamcrest/core/AllOf.html" title="class in org.hamcrest.core" target="classFrame">AllOf</a></li>
15+
<li><a href="org/hamcrest/core/AnyOf.html" title="class in org.hamcrest.core" target="classFrame">AnyOf</a></li>
16+
<li><a href="org/hamcrest/collection/ArrayAsIterableMatcher.html" title="class in org.hamcrest.collection" target="classFrame">ArrayAsIterableMatcher</a></li>
17+
<li><a href="org/hamcrest/internal/ArrayIterator.html" title="class in org.hamcrest.internal" target="classFrame">ArrayIterator</a></li>
18+
<li><a href="org/hamcrest/collection/ArrayMatching.html" title="class in org.hamcrest.collection" target="classFrame">ArrayMatching</a></li>
19+
<li><a href="org/hamcrest/BaseDescription.html" title="class in org.hamcrest" target="classFrame">BaseDescription</a></li>
20+
<li><a href="org/hamcrest/BaseMatcher.html" title="class in org.hamcrest" target="classFrame">BaseMatcher</a></li>
21+
<li><a href="org/hamcrest/number/BigDecimalCloseTo.html" title="class in org.hamcrest.number" target="classFrame">BigDecimalCloseTo</a></li>
22+
<li><a href="org/hamcrest/text/CharSequenceLength.html" title="class in org.hamcrest.text" target="classFrame">CharSequenceLength</a></li>
23+
<li><a href="org/hamcrest/core/CombinableMatcher.html" title="class in org.hamcrest.core" target="classFrame">CombinableMatcher</a></li>
24+
<li><a href="org/hamcrest/core/CombinableMatcher.CombinableBothMatcher.html" title="class in org.hamcrest.core" target="classFrame">CombinableMatcher.CombinableBothMatcher</a></li>
25+
<li><a href="org/hamcrest/core/CombinableMatcher.CombinableEitherMatcher.html" title="class in org.hamcrest.core" target="classFrame">CombinableMatcher.CombinableEitherMatcher</a></li>
26+
<li><a href="org/hamcrest/comparator/ComparatorMatcherBuilder.html" title="class in org.hamcrest.comparator" target="classFrame">ComparatorMatcherBuilder</a></li>
27+
<li><a href="org/hamcrest/Condition.html" title="class in org.hamcrest" target="classFrame">Condition</a></li>
28+
<li><a href="org/hamcrest/Condition.Step.html" title="interface in org.hamcrest" target="classFrame"><span class="interfaceName">Condition.Step</span></a></li>
29+
<li><a href="org/hamcrest/CoreMatchers.html" title="class in org.hamcrest" target="classFrame">CoreMatchers</a></li>
30+
<li><a href="org/hamcrest/CustomMatcher.html" title="class in org.hamcrest" target="classFrame">CustomMatcher</a></li>
31+
<li><a href="org/hamcrest/CustomTypeSafeMatcher.html" title="class in org.hamcrest" target="classFrame">CustomTypeSafeMatcher</a></li>
32+
<li><a href="org/hamcrest/core/DescribedAs.html" title="class in org.hamcrest.core" target="classFrame">DescribedAs</a></li>
33+
<li><a href="org/hamcrest/Description.html" title="interface in org.hamcrest" target="classFrame"><span class="interfaceName">Description</span></a></li>
34+
<li><a href="org/hamcrest/Description.NullDescription.html" title="class in org.hamcrest" target="classFrame">Description.NullDescription</a></li>
35+
<li><a href="org/hamcrest/DiagnosingMatcher.html" title="class in org.hamcrest" target="classFrame">DiagnosingMatcher</a></li>
36+
<li><a href="org/hamcrest/core/Every.html" title="class in org.hamcrest.core" target="classFrame">Every</a></li>
37+
<li><a href="org/hamcrest/FeatureMatcher.html" title="class in org.hamcrest" target="classFrame">FeatureMatcher</a></li>
38+
<li><a href="org/hamcrest/io/FileMatchers.html" title="class in org.hamcrest.io" target="classFrame">FileMatchers</a></li>
39+
<li><a href="org/hamcrest/io/FileMatchers.FileStatus.html" title="interface in org.hamcrest.io" target="classFrame"><span class="interfaceName">FileMatchers.FileStatus</span></a></li>
40+
<li><a href="org/hamcrest/object/HasEqualValues.html" title="class in org.hamcrest.object" target="classFrame">HasEqualValues</a></li>
41+
<li><a href="org/hamcrest/collection/HasItemInArray.html" title="class in org.hamcrest.collection" target="classFrame">HasItemInArray</a></li>
42+
<li><a href="org/hamcrest/beans/HasProperty.html" title="class in org.hamcrest.beans" target="classFrame">HasProperty</a></li>
43+
<li><a href="org/hamcrest/beans/HasPropertyWithValue.html" title="class in org.hamcrest.beans" target="classFrame">HasPropertyWithValue</a></li>
44+
<li><a href="org/hamcrest/object/HasToString.html" title="class in org.hamcrest.object" target="classFrame">HasToString</a></li>
45+
<li><a href="org/hamcrest/xml/HasXPath.html" title="class in org.hamcrest.xml" target="classFrame">HasXPath</a></li>
46+
<li><a href="org/hamcrest/core/Is.html" title="class in org.hamcrest.core" target="classFrame">Is</a></li>
47+
<li><a href="org/hamcrest/core/IsAnything.html" title="class in org.hamcrest.core" target="classFrame">IsAnything</a></li>
48+
<li><a href="org/hamcrest/collection/IsArray.html" title="class in org.hamcrest.collection" target="classFrame">IsArray</a></li>
49+
<li><a href="org/hamcrest/collection/IsArrayContainingInAnyOrder.html" title="class in org.hamcrest.collection" target="classFrame">IsArrayContainingInAnyOrder</a></li>
50+
<li><a href="org/hamcrest/collection/IsArrayContainingInOrder.html" title="class in org.hamcrest.collection" target="classFrame">IsArrayContainingInOrder</a></li>
51+
<li><a href="org/hamcrest/collection/IsArrayWithSize.html" title="class in org.hamcrest.collection" target="classFrame">IsArrayWithSize</a></li>
52+
<li><a href="org/hamcrest/text/IsBlankString.html" title="class in org.hamcrest.text" target="classFrame">IsBlankString</a></li>
53+
<li><a href="org/hamcrest/number/IsCloseTo.html" title="class in org.hamcrest.number" target="classFrame">IsCloseTo</a></li>
54+
<li><a href="org/hamcrest/core/IsCollectionContaining.html" title="class in org.hamcrest.core" target="classFrame">IsCollectionContaining</a></li>
55+
<li><a href="org/hamcrest/collection/IsCollectionWithSize.html" title="class in org.hamcrest.collection" target="classFrame">IsCollectionWithSize</a></li>
56+
<li><a href="org/hamcrest/object/IsCompatibleType.html" title="class in org.hamcrest.object" target="classFrame">IsCompatibleType</a></li>
57+
<li><a href="org/hamcrest/collection/IsEmptyCollection.html" title="class in org.hamcrest.collection" target="classFrame">IsEmptyCollection</a></li>
58+
<li><a href="org/hamcrest/collection/IsEmptyIterable.html" title="class in org.hamcrest.collection" target="classFrame">IsEmptyIterable</a></li>
59+
<li><a href="org/hamcrest/text/IsEmptyString.html" title="class in org.hamcrest.text" target="classFrame">IsEmptyString</a></li>
60+
<li><a href="org/hamcrest/core/IsEqual.html" title="class in org.hamcrest.core" target="classFrame">IsEqual</a></li>
61+
<li><a href="org/hamcrest/text/IsEqualCompressingWhiteSpace.html" title="class in org.hamcrest.text" target="classFrame">IsEqualCompressingWhiteSpace</a></li>
62+
<li><a href="org/hamcrest/text/IsEqualIgnoringCase.html" title="class in org.hamcrest.text" target="classFrame">IsEqualIgnoringCase</a></li>
63+
<li><a href="org/hamcrest/object/IsEventFrom.html" title="class in org.hamcrest.object" target="classFrame">IsEventFrom</a></li>
64+
<li><a href="org/hamcrest/collection/IsIn.html" title="class in org.hamcrest.collection" target="classFrame">IsIn</a></li>
65+
<li><a href="org/hamcrest/core/IsInstanceOf.html" title="class in org.hamcrest.core" target="classFrame">IsInstanceOf</a></li>
66+
<li><a href="org/hamcrest/core/IsIterableContaining.html" title="class in org.hamcrest.core" target="classFrame">IsIterableContaining</a></li>
67+
<li><a href="org/hamcrest/collection/IsIterableContainingInAnyOrder.html" title="class in org.hamcrest.collection" target="classFrame">IsIterableContainingInAnyOrder</a></li>
68+
<li><a href="org/hamcrest/collection/IsIterableContainingInOrder.html" title="class in org.hamcrest.collection" target="classFrame">IsIterableContainingInOrder</a></li>
69+
<li><a href="org/hamcrest/collection/IsIterableContainingInRelativeOrder.html" title="class in org.hamcrest.collection" target="classFrame">IsIterableContainingInRelativeOrder</a></li>
70+
<li><a href="org/hamcrest/collection/IsIterableWithSize.html" title="class in org.hamcrest.collection" target="classFrame">IsIterableWithSize</a></li>
71+
<li><a href="org/hamcrest/collection/IsMapContaining.html" title="class in org.hamcrest.collection" target="classFrame">IsMapContaining</a></li>
72+
<li><a href="org/hamcrest/collection/IsMapWithSize.html" title="class in org.hamcrest.collection" target="classFrame">IsMapWithSize</a></li>
73+
<li><a href="org/hamcrest/number/IsNaN.html" title="class in org.hamcrest.number" target="classFrame">IsNaN</a></li>
74+
<li><a href="org/hamcrest/core/IsNot.html" title="class in org.hamcrest.core" target="classFrame">IsNot</a></li>
75+
<li><a href="org/hamcrest/core/IsNull.html" title="class in org.hamcrest.core" target="classFrame">IsNull</a></li>
76+
<li><a href="org/hamcrest/core/IsSame.html" title="class in org.hamcrest.core" target="classFrame">IsSame</a></li>
77+
<li><a href="org/hamcrest/Matcher.html" title="interface in org.hamcrest" target="classFrame"><span class="interfaceName">Matcher</span></a></li>
78+
<li><a href="org/hamcrest/MatcherAssert.html" title="class in org.hamcrest" target="classFrame">MatcherAssert</a></li>
79+
<li><a href="org/hamcrest/Matchers.html" title="class in org.hamcrest" target="classFrame">Matchers</a></li>
80+
<li><a href="org/hamcrest/text/MatchesPattern.html" title="class in org.hamcrest.text" target="classFrame">MatchesPattern</a></li>
81+
<li><a href="org/hamcrest/internal/NullSafety.html" title="class in org.hamcrest.internal" target="classFrame">NullSafety</a></li>
82+
<li><a href="org/hamcrest/number/OrderingComparison.html" title="class in org.hamcrest.number" target="classFrame">OrderingComparison</a></li>
83+
<li><a href="org/hamcrest/beans/PropertyUtil.html" title="class in org.hamcrest.beans" target="classFrame">PropertyUtil</a></li>
84+
<li><a href="org/hamcrest/internal/ReflectiveTypeFinder.html" title="class in org.hamcrest.internal" target="classFrame">ReflectiveTypeFinder</a></li>
85+
<li><a href="org/hamcrest/beans/SamePropertyValuesAs.html" title="class in org.hamcrest.beans" target="classFrame">SamePropertyValuesAs</a></li>
86+
<li><a href="org/hamcrest/SelfDescribing.html" title="interface in org.hamcrest" target="classFrame"><span class="interfaceName">SelfDescribing</span></a></li>
87+
<li><a href="org/hamcrest/internal/SelfDescribingValue.html" title="class in org.hamcrest.internal" target="classFrame">SelfDescribingValue</a></li>
88+
<li><a href="org/hamcrest/internal/SelfDescribingValueIterator.html" title="class in org.hamcrest.internal" target="classFrame">SelfDescribingValueIterator</a></li>
89+
<li><a href="org/hamcrest/core/StringContains.html" title="class in org.hamcrest.core" target="classFrame">StringContains</a></li>
90+
<li><a href="org/hamcrest/text/StringContainsInOrder.html" title="class in org.hamcrest.text" target="classFrame">StringContainsInOrder</a></li>
91+
<li><a href="org/hamcrest/StringDescription.html" title="class in org.hamcrest" target="classFrame">StringDescription</a></li>
92+
<li><a href="org/hamcrest/core/StringEndsWith.html" title="class in org.hamcrest.core" target="classFrame">StringEndsWith</a></li>
93+
<li><a href="org/hamcrest/core/StringRegularExpression.html" title="class in org.hamcrest.core" target="classFrame">StringRegularExpression</a></li>
94+
<li><a href="org/hamcrest/core/StringStartsWith.html" title="class in org.hamcrest.core" target="classFrame">StringStartsWith</a></li>
95+
<li><a href="org/hamcrest/core/SubstringMatcher.html" title="class in org.hamcrest.core" target="classFrame">SubstringMatcher</a></li>
96+
<li><a href="org/hamcrest/TypeSafeDiagnosingMatcher.html" title="class in org.hamcrest" target="classFrame">TypeSafeDiagnosingMatcher</a></li>
97+
<li><a href="org/hamcrest/TypeSafeMatcher.html" title="class in org.hamcrest" target="classFrame">TypeSafeMatcher</a></li>
98+
</ul>
99+
</div>
100+
</body>
101+
</html>

0 commit comments

Comments
 (0)