Skip to content

Commit

Permalink
Site: anchor link location fixed (#26) plus a few minor adjustments […
Browse files Browse the repository at this point in the history
…skip ci]
  • Loading branch information
edrdo committed Jun 29, 2017
1 parent ab5de40 commit 075a223
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/site/markdown/DataSources.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ to the order of query results, but the use of `orderBy` may make it easier to in
.where("u1.LOGIN <> u2.LOGIN AND u1.PASSWORD = u2.PASSWORD")
.build(db);
&nbsp; <a name="SummaryOfMethods"></a>
## Summary of methods
&nbsp; <a name="SummaryOfMethods"></a>
## Summary of API methods

### `JDBDT`

Expand Down
9 changes: 5 additions & 4 deletions src/site/markdown/index.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ for instance to populate tables, clear them, setting & restoring save points, ..
static DataSet theinitialStata;

@BeforeClass
public void globalSetuo() {
public void globalSetup() {
theTable = ... ;
theInitialData = ...
}
Expand All @@ -90,8 +90,9 @@ or [data set comparison](DBAssertions.html#DataSetAssertions), e.g.,
public void testUserInsertion() {
User uJohn = ...;
DataSet newRow =
data(t).row(999, "john", "John", "jpass", Date.valueOf("2016-01-01"));
sut.insertOneUser( uJohn );
data(theTable)
.row(999, "john", "John", "jpass", Date.valueOf("2016-01-01"));
sut.insertUser( uJohn );
// Verify the insertion; assertion fails if other changes are detected
assertInserted(newRow);
}
Expand All @@ -100,7 +101,7 @@ or [data set comparison](DBAssertions.html#DataSetAssertions), e.g.,
public void testHarmlessQuery() {
User u = sut.getUser("john");
... // standard assertions
assertUnchanged(theUserTable); // no delta
assertUnchanged(theTable); // no delta, query is really harmless!
}

* Assertions and setup operations can be [logged onto (optionally compressed) XML files](Logs.html).
Expand Down

0 comments on commit 075a223

Please sign in to comment.