diff --git a/src/site/markdown/DataSources.md b/src/site/markdown/DataSources.md index 131b3b66..52d0bf4e 100644 --- a/src/site/markdown/DataSources.md +++ b/src/site/markdown/DataSources.md @@ -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); -  -## Summary of methods +  +## Summary of API methods ### `JDBDT` diff --git a/src/site/markdown/index.md.template b/src/site/markdown/index.md.template index 92b7a0a4..b9f03098 100644 --- a/src/site/markdown/index.md.template +++ b/src/site/markdown/index.md.template @@ -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 = ... } @@ -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); } @@ -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).