1. Project Clover database Wed Jan 17 2024 23:40:18 CST
  2. Package org.europa.together.application

File PaginationTestHbmDAO.java

 

Coverage histogram

../../../../img/srcFileCovDistChart3.png
93% of files have more coverage

Code metrics

0
3
5
1
52
41
5
1.67
0.6
5
1

Classes

Class Line # Actions
PaginationTestHbmDAO 19 3 0% 5 6
0.2525%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package org.europa.together.application;
2   
3    import org.europa.together.JUnit5Preperator;
4    import org.europa.together.business.DatabaseActions;
5    import org.europa.together.business.Logger;
6    import org.europa.together.business.PaginationTestDAO;
7    import org.europa.together.domain.LogLevel;
8    import org.europa.together.domain.PaginationTestDO;
9    import org.junit.jupiter.api.AfterAll;
10    import org.junit.jupiter.api.AfterEach;
11    import org.junit.jupiter.api.Assumptions;
12    import org.junit.jupiter.api.BeforeAll;
13    import org.junit.jupiter.api.BeforeEach;
14    import org.junit.jupiter.api.extension.ExtendWith;
15    import org.springframework.stereotype.Repository;
16   
17    @Repository
18    @ExtendWith({JUnit5Preperator.class})
 
19    public class PaginationTestHbmDAO extends GenericHbmDAO<PaginationTestDO, String>
20    implements PaginationTestDAO {
21   
22    private static final long serialVersionUID = 99999L;
23    private static final Logger LOGGER
24    = new LogbackLogger(PaginationTestHbmDAO.class);
25    private static DatabaseActions jdbcActions
26    = new JdbcActions();
27   
28    //<editor-fold defaultstate="collapsed" desc="Test Preparation">
 
29  0 toggle @BeforeAll
30    static void setUp() {
31  0 Assumptions.assumeTrue(jdbcActions.connect("test"), "JDBC DBMS Connection failed.");
32   
33  0 LOGGER.log("Assumptions passed ...\n\n", LogLevel.DEBUG);
34    }
35   
 
36  0 toggle @AfterAll
37    static void tearDown() {
38    }
39   
 
40  0 toggle @BeforeEach
41    void testCaseInitialization() {
42    }
43   
 
44  0 toggle @AfterEach
45    void testCaseTermination() {
46    }
47    //</editor-fold>
48   
 
49  1 toggle public PaginationTestHbmDAO() {
50  1 super();
51    }
52    }