diff --git a/jOOQ-test/src/org/jooq/test/_/testcases/FormatTests.java b/jOOQ-test/src/org/jooq/test/_/testcases/FormatTests.java index b40281ba3a..f3bff1c13a 100644 --- a/jOOQ-test/src/org/jooq/test/_/testcases/FormatTests.java +++ b/jOOQ-test/src/org/jooq/test/_/testcases/FormatTests.java @@ -101,6 +101,13 @@ extends BaseTest result = create().fetch(VLibrary()); + + assertEquals(result, create().fetchFromTXT(result.format())); + } + @Test public void testFormat() throws Exception { jOOQAbstractTest.reset = false; diff --git a/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java b/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java index 3424f7cf85..b572bf0cb0 100644 --- a/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java +++ b/jOOQ-test/src/org/jooq/test/jOOQAbstractTest.java @@ -1608,6 +1608,11 @@ public abstract class jOOQAbstractTest< new CRUDTests(this).testStoreWithOptimisticLock(); } + @Test + public void testFetchFromTXT() throws Exception { + new FormatTests(this).testFetchFromTXT(); + } + @Test public void testFormat() throws Exception { new FormatTests(this).testFormat();