This repository was archived by the owner on Dec 15, 2023. It is now read-only.
File tree 4 files changed +13
-4
lines changed
base/src/test/java/org/rapidpm/persistence/prj
src/main/java/org/rapidpm/webapp/vaadin
4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 13
13
import org .junit .Test ;
14
14
import org .rapidpm .Constants ;
15
15
import org .rapidpm .persistence .DaoFactory ;
16
+ import org .rapidpm .persistence .DaoFactorySingelton ;
16
17
17
18
import static org .junit .Assert .assertEquals ;
18
19
19
20
public class BaseDAOTest {
20
21
21
- protected DaoFactory daoFactory = new DaoFactory ( Constants . PERSISTENCE_UNIT_NAME_TEST );
22
+ protected DaoFactory daoFactory = DaoFactorySingelton . getInstance ( );
22
23
23
24
24
25
@ Before
@@ -28,7 +29,7 @@ public void setUp() throws Exception {
28
29
29
30
@ After
30
31
public void tearDown () throws Exception {
31
- daoFactory .getEntityManager ().close ();
32
+ // daoFactory.getEntityManager().close();
32
33
}
33
34
34
35
@ Test
Original file line number Diff line number Diff line change 93
93
<showWarnings >true</showWarnings >
94
94
</configuration >
95
95
</plugin >
96
+ <plugin >
97
+ <groupId >org.apache.maven.plugins</groupId >
98
+ <artifactId >maven-surefire-plugin</artifactId >
99
+ <version >2.12.4</version >
100
+ <configuration >
101
+ <skipTests >true</skipTests >
102
+ </configuration >
103
+ </plugin >
96
104
<plugin >
97
105
<groupId >org.sonatype.plugins</groupId >
98
106
<artifactId >nexus-staging-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 16
16
17
17
<properties >
18
18
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
19
- <vaadin .version>7.0.1 </vaadin .version>
19
+ <vaadin .version>7.0.3 </vaadin .version>
20
20
<vaadin .plugin.version>${vaadin.version} </vaadin .plugin.version>
21
21
</properties >
22
22
<repositories >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public abstract class BaseUI extends UI {
35
35
private static final Logger logger = Logger .getLogger (BaseUI .class );
36
36
37
37
private static final boolean DEBUG_MODE = false ;
38
- private static final String VERSION = "alpha - build 20130112 - bf57b264fc2f9f0b14fd8bb967bd84b1fa50bbdd " ;
38
+ private static final String VERSION = "alpha - for testing only " ;
39
39
40
40
private final HorizontalLayout linkLeistenLayout = new HorizontalLayout (); //obere buttonLeiste
41
41
private final HorizontalLayout iconsLayout = new HorizontalLayout ();
You can’t perform that action at this time.
0 commit comments