Test updates
This commit is contained in:
parent
54fdd44189
commit
fbcd15a16d
|
@ -303,6 +303,17 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
These tests all use a shared database, so it's easier if
|
||||||
|
they run in a predictable order
|
||||||
|
-->
|
||||||
|
<runOrder>alphabetical</runOrder>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>de.juplo</groupId>
|
<groupId>de.juplo</groupId>
|
||||||
<artifactId>hibernate4-maven-plugin</artifactId>
|
<artifactId>hibernate4-maven-plugin</artifactId>
|
||||||
|
|
|
@ -46,7 +46,9 @@ public class SystemProviderTest {
|
||||||
ourLog.info(response);
|
ourLog.info(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: enable!
|
/**
|
||||||
|
* This is Gramahe's test transaction - it requires some set up in order to work
|
||||||
|
*/
|
||||||
// @Test
|
// @Test
|
||||||
public void testTransactionFromBundle3() throws Exception {
|
public void testTransactionFromBundle3() throws Exception {
|
||||||
|
|
||||||
|
|
|
@ -60,8 +60,7 @@ public class ResourceValidatorTest {
|
||||||
*/
|
*/
|
||||||
ourDefaultLocale = Locale.getDefault();
|
ourDefaultLocale = Locale.getDefault();
|
||||||
|
|
||||||
Locale[] available = Locale.getAvailableLocales();
|
Locale newLocale = Locale.GERMANY;
|
||||||
Locale newLocale = available[(int)(Math.random() * available.length)];
|
|
||||||
Locale.setDefault(newLocale);
|
Locale.setDefault(newLocale);
|
||||||
|
|
||||||
ourLog.info("Tests are running in locale: " + newLocale.getDisplayName());
|
ourLog.info("Tests are running in locale: " + newLocale.getDisplayName());
|
||||||
|
|
Loading…
Reference in New Issue