Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 2cf1ad3

Browse files
committed
Polishing documentation
1 parent 2714bd9 commit 2cf1ad3

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

src/main/asciidoc/about.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
The assertion API is used for assertion methods such as `assertEquals` in {junit}[JUnit] and {testng}[TestNG].
77
Also, it comes with support for `assertThat` in {assertj}[AssertJ] and {hamcrest}[Hamcrest].
88

9+
Github project: {datasource-assert}[datasource-assert]
910

src/main/asciidoc/assert-query-simple.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[[assert-query-with-assertequals]]
22
=== assertEquals
33

4-
This section describes how to assert `ProxyTestDataSource` with simple `assertEquals` from JUnit or TestNG.
4+
This section describes how to assert `ProxyTestDataSource` with simple `assertEquals` from {junit}[JUnit] or
5+
{testng}[TestNG].
56

67
All assertion examples below use JUnit4 `assertEquals`.
78

src/main/asciidoc/how-to-use.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ assertThat(ds.getFirstStatement(), query(startsWith("SELECT * FROM"))); // with
1616
assertThat(ds.getFirstStatement()).hasQueryType(QueryType.SELECT); // with AssertJ
1717
```
1818

19+
See more details on <<assert-query-with-assertequals, Assert Query Executions with assertEquals>>
20+
21+
1922
[[how-to-use-assertj]]
2023
=== With AssertJ
2124
For {assertj}[AssertJ], `DataSourceAssertAssertions` defines all `assertThat` methods and entry
@@ -26,8 +29,12 @@ To use them, static import those methods.
2629
import static net.ttddyy.dsproxy.asserts.assertj.DataSourceAssertAssertions.assertThat;
2730
```
2831

32+
See more details on <<assert-query-with-assertj, Assert Query Executions with AssertJ>>
33+
2934
[[how-to-use-hamcrest]]
3035
=== With Hamcrest
3136

3237
For {hamcrest}[Hamcrest], all matchers are defined in `DataSourceAssertMatchers` class.
3338

39+
See more details on <<assert-query-with-hamcrest, Assert Query Executions with Hamcrest>>
40+

0 commit comments

Comments
 (0)