Commit ea199d55f764b38071ebbb567e4576b7e4bc8cb1
1 parent
6819fe58
Exists in
master
Ajuste de formatação em algumas classes.
Showing
3 changed files
with
6 additions
and
9 deletions
Show diff stats
impl/extension/jdbc/src/test/java/connection/producer/ConnectionProducerNoConnectionUrlTest.java
| @@ -31,7 +31,7 @@ public class ConnectionProducerNoConnectionUrlTest { | @@ -31,7 +31,7 @@ public class ConnectionProducerNoConnectionUrlTest { | ||
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | /** | 33 | /** |
| 34 | - * TODO Refinar a exceção esperada | 34 | + * TODO Refinar a exceção esperada |
| 35 | */ | 35 | */ |
| 36 | @Test(expected = Exception.class) | 36 | @Test(expected = Exception.class) |
| 37 | public void failOnCreateConnection() { | 37 | public void failOnCreateConnection() { |
impl/extension/jdbc/src/test/java/connection/producer/ConnectionProducerWithoutJndiTest.java
impl/extension/jdbc/src/test/java/connection/producer/ConnectionProducerWithoutNameTest.java
| @@ -9,7 +9,6 @@ import javax.inject.Inject; | @@ -9,7 +9,6 @@ import javax.inject.Inject; | ||
| 9 | import org.jboss.arquillian.container.test.api.Deployment; | 9 | import org.jboss.arquillian.container.test.api.Deployment; |
| 10 | import org.jboss.arquillian.junit.Arquillian; | 10 | import org.jboss.arquillian.junit.Arquillian; |
| 11 | import org.jboss.shrinkwrap.api.spec.WebArchive; | 11 | import org.jboss.shrinkwrap.api.spec.WebArchive; |
| 12 | -import org.junit.Ignore; | ||
| 13 | import org.junit.Test; | 12 | import org.junit.Test; |
| 14 | import org.junit.runner.RunWith; | 13 | import org.junit.runner.RunWith; |
| 15 | 14 | ||
| @@ -19,20 +18,20 @@ import test.Tests; | @@ -19,20 +18,20 @@ import test.Tests; | ||
| 19 | public class ConnectionProducerWithoutNameTest { | 18 | public class ConnectionProducerWithoutNameTest { |
| 20 | 19 | ||
| 21 | private static String PATH = "src/test/resources/producer/without-name"; | 20 | private static String PATH = "src/test/resources/producer/without-name"; |
| 22 | - | 21 | + |
| 23 | @Inject | 22 | @Inject |
| 24 | private Connection connection; | 23 | private Connection connection; |
| 25 | - | 24 | + |
| 26 | @Deployment | 25 | @Deployment |
| 27 | public static WebArchive createDeployment() { | 26 | public static WebArchive createDeployment() { |
| 28 | WebArchive deployment = Tests.createDeployment(ConnectionProducerWithoutNameTest.class); | 27 | WebArchive deployment = Tests.createDeployment(ConnectionProducerWithoutNameTest.class); |
| 29 | deployment.addAsResource(Tests.createFileAsset(PATH + "/demoiselle.properties"), "demoiselle.properties"); | 28 | deployment.addAsResource(Tests.createFileAsset(PATH + "/demoiselle.properties"), "demoiselle.properties"); |
| 30 | return deployment; | 29 | return deployment; |
| 31 | } | 30 | } |
| 32 | - | 31 | + |
| 33 | @Test | 32 | @Test |
| 34 | - public void createConnection(){ | 33 | + public void createConnection() { |
| 35 | assertNotNull(connection); | 34 | assertNotNull(connection); |
| 36 | } | 35 | } |
| 37 | - | 36 | + |
| 38 | } | 37 | } |