polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [1/3] zest-java git commit: Renamed uowf to unitOfWorkFactory in AbstractZestTestcase
Date Fri, 15 Apr 2016 09:31:59 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop f21cc656a -> 61427b8a1


http://git-wip-us.apache.org/repos/asf/zest-java/blob/61427b8a/tutorials/hello/src/test/java/org/apache/zest/tutorials/hello/HelloTest4.java
----------------------------------------------------------------------
diff --git a/tutorials/hello/src/test/java/org/apache/zest/tutorials/hello/HelloTest4.java
b/tutorials/hello/src/test/java/org/apache/zest/tutorials/hello/HelloTest4.java
index 3dfe756..1887561 100644
--- a/tutorials/hello/src/test/java/org/apache/zest/tutorials/hello/HelloTest4.java
+++ b/tutorials/hello/src/test/java/org/apache/zest/tutorials/hello/HelloTest4.java
@@ -43,7 +43,7 @@ public class HelloTest4 extends AbstractZestTest
     @Test
     public void givenHelloValueInitializedToHelloWorldWhenCallingSayExpectHelloWorld()
     {
-        UnitOfWork uow = uowf.newUnitOfWork();
+        UnitOfWork uow = unitOfWorkFactory.newUnitOfWork();
         try
         {
             EntityBuilder<Hello> builder = uow.newEntityBuilder( Hello.class, "123"
);
@@ -51,7 +51,7 @@ public class HelloTest4 extends AbstractZestTest
             builder.instanceFor( Hello.State.class ).name().set( "World" );
             builder.newInstance();
             uow.complete();
-            uow = uowf.newUnitOfWork();
+            uow = unitOfWorkFactory.newUnitOfWork();
             Hello underTest = uow.get( Hello.class, "123" );
             String result = underTest.say();
             uow.complete();


Mime
View raw message