-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move all package docs into package-info.java * Ensure tutorial examples fit in line * Remove broken links from related projects * Suppress warnings about Java 8 * Exclude `org.hamcrest.internal` package from javadoc * Add javadoc overview, with basic example code * Add missing javadoc and fix javadoc warnings
- Loading branch information
1 parent
e4c5bdd
commit 21a0529
Showing
97 changed files
with
1,090 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,9 @@ | |
*/ | ||
@Deprecated | ||
class HamcrestCoreIsDeprecated { | ||
/** | ||
* Unused | ||
*/ | ||
private HamcrestCoreIsDeprecated() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,9 @@ | |
*/ | ||
@Deprecated | ||
class HamcrestLibraryIsDeprecated { | ||
/** | ||
* Unused | ||
*/ | ||
private HamcrestLibraryIsDeprecated() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE HTML> | ||
<html lang="en"> | ||
<head> | ||
<title>Hamcrest Overview</title> | ||
</head> | ||
<body> | ||
<p>Matchers that can be combined to create flexible expressions of intent.</p> | ||
<p>For example:</p> | ||
<pre style="border: 1px solid #ccc; margin: 0; padding: 0.5em;"><code>import org.junit.jupiter.api.Test; | ||
import static org.hamcrest.MatcherAssert.assertThat; | ||
import static org.hamcrest.Matchers.*; | ||
|
||
public class BiscuitTest { | ||
@Test | ||
public void testEquals() { | ||
Biscuit theBiscuit = new Biscuit("Ginger"); | ||
Biscuit myBiscuit = new Biscuit("Ginger"); | ||
assertThat(theBiscuit, equalTo(myBiscuit)); | ||
} | ||
} | ||
</code></pre> | ||
|
||
<p>For more information and documentation, see:</p> | ||
<ul> | ||
<li>The <a href="https://hamcrest.org/JavaHamcrest/tutorial" target="_top">Getting Started</a> tutorial</li> | ||
<li>The <a href="https://github.com/hamcrest/JavaHamcrest" target="_top">source code on GitHub</a></li> | ||
</ul> | ||
|
||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.