Klasse BasePeerImplTest


public class BasePeerImplTest extends MockBaseTestCase
Tests the class BasePeerImpl.
Version:
$Id: BasePeerImplTest.java 1917245 2024-04-21 14:06:23Z tv $
  • Konstruktordetails

    • BasePeerImplTest

      public BasePeerImplTest()
  • Methodendetails

    • setUp

      @BeforeEach public void setUp() throws Exception
      Beschreibung aus Klasse kopiert: MockBaseTestCase
      Re-Initialize Torque and fill supplied data. Subclasses which override setUp() must call super.setUp() as their first action.
      Setzt außer Kraft:
      setUp in Klasse MockBaseTestCase
      Löst aus:
      Exception - if initialization fails.
    • tearDown

      @AfterEach public void tearDown()
    • testDoSelect

      @Test public void testDoSelect() throws Exception
      Check that a basic doSelect works.
      Löst aus:
      Exception - if the test fails.
    • testDoSelectWithQuery

      @Test public void testDoSelectWithQuery() throws Exception
      Check that a doSelect with a query.
      Löst aus:
      Exception - if the test fails.
    • testAddSelectColumns

      @Test public void testAddSelectColumns()
    • testDoSelectNoSelectColumnsPresent

      @Test public void testDoSelectNoSelectColumnsPresent() throws Exception
      Checks that doSelect ads the select columns if no select columns were already added.
      Löst aus:
      Exception - if the test fails.
    • testAddSelectColumnsWithAsColumns

      @Test public void testAddSelectColumnsWithAsColumns() throws Exception
      Checks that doSelect does add Select Columns if an AsColumn was already added.
      Löst aus:
      Exception - if the test fails.
    • testDoSelectAllFetchSize

      @Test public void testDoSelectAllFetchSize() throws Exception
      Check that the fetch size gets set on the prepared statement when set in the criteria.
      Löst aus:
      Exception - if the test fails.
    • testDeleteWithQualifiedTableName

      @Test public void testDeleteWithQualifiedTableName() throws Exception
      Löst aus:
      Exception
    • testDeleteWithError

      @Test public void testDeleteWithError() throws Exception
      Löst aus:
      Exception
    • testDoInsertWithoutKeygen

      @Test public void testDoInsertWithoutKeygen() throws Exception
      Check that a simple doInsert works.
      Löst aus:
      Exception - if the test fails.
    • testDoInsertWithSubselect

      @Test public void testDoInsertWithSubselect() throws Exception
      Check that a doInsert with subselects works.
      Löst aus:
      Exception - if the test fails.
    • testDoInsertWithException

      @Test public void testDoInsertWithException() throws Exception
      Check that Exception handling for doInsert works.
      Löst aus:
      Exception - if the test fails.
    • testDoInsertWithKeygen

      @Test public void testDoInsertWithKeygen() throws Exception
      Check that a doInsert with a key generator works.
      Löst aus:
      Exception - if the test fails.
    • testDoUpdate

      @Test public void testDoUpdate() throws Exception
      Check that a simple doUpdate works.
      Löst aus:
      Exception - if the test fails.
    • testDoUpdateWithPk

      @Test public void testDoUpdateWithPk() throws Exception
      Check that a simple doUpdate works.
      Löst aus:
      Exception - if the test fails.
    • testExecuteStatementNamed

      @Test public void testExecuteStatementNamed() throws Exception
      Check that executeStatements with a set of named replacements works.
      Löst aus:
      Exception - if the test fails.
    • testExecuteStatementNamedNoReplacements

      @Test public void testExecuteStatementNamedNoReplacements() throws Exception
      Check that executeStatements with a set of named replacements works when the statement contains no replacements.
      Löst aus:
      Exception - if the test fails.