deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject [1/2] deltaspike git commit: DELTASPIKE-1145 improved test for @TransactionScoped
Date Mon, 16 May 2016 15:28:49 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master a14aef88a -> f3ee6faff


DELTASPIKE-1145 improved test for @TransactionScoped


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/21848ec5
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/21848ec5
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/21848ec5

Branch: refs/heads/master
Commit: 21848ec52c478a18fb10730e821a469aee31ce7b
Parents: a14aef8
Author: gpetracek <gpetracek@apache.org>
Authored: Mon May 16 17:24:54 2016 +0200
Committer: gpetracek <gpetracek@apache.org>
Committed: Mon May 16 17:26:00 2016 +0200

----------------------------------------------------------------------
 .../DefaultTransactionScopedEntityManagerInjectionTest.java        | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/21848ec5/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactionscoped/defaultinjection/DefaultTransactionScopedEntityManagerInjectionTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactionscoped/defaultinjection/DefaultTransactionScopedEntityManagerInjectionTest.java
b/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactionscoped/defaultinjection/DefaultTransactionScopedEntityManagerInjectionTest.java
index 4a0c62b..ad3ffed 100644
--- a/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactionscoped/defaultinjection/DefaultTransactionScopedEntityManagerInjectionTest.java
+++ b/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactionscoped/defaultinjection/DefaultTransactionScopedEntityManagerInjectionTest.java
@@ -114,6 +114,8 @@ public class DefaultTransactionScopedEntityManagerInjectionTest
     @Test
     public void invalidEntityManagerUsageAfterTransaction()
     {
+        transactionalBean.executeInTransaction();
+
         try
         {
             //not available because there is no transactional method


Mime
View raw message