You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2007/03/02 00:15:44 UTC
svn commit: r513536 - in
/myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController:
TargetBean.java TargetBeanInterface.java
TestInterfaceViewControllerExecutor.java
TestReflectiveViewControllerExecutor.java
Author: werpu
Date: Thu Mar 1 14:07:39 2007
New Revision: 513536
URL: http://svn.apache.org/viewvc?view=rev&rev=513536
Log: (empty)
Modified:
myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBean.java
myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBeanInterface.java
myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestInterfaceViewControllerExecutor.java
myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestReflectiveViewControllerExecutor.java
Modified: myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBean.java
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBean.java?view=diff&rev=513536&r1=513535&r2=513536
==============================================================================
--- myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBean.java (original)
+++ myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBean.java Thu Mar 1 14:07:39 2007
@@ -34,6 +34,11 @@
called="preRenderView";
}
+ public void preProcess()
+ {
+ called="preProcess";
+ }
+
public String getCalled()
{
return called;
Modified: myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBeanInterface.java
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBeanInterface.java?view=diff&rev=513536&r1=513535&r2=513536
==============================================================================
--- myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBeanInterface.java (original)
+++ myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TargetBeanInterface.java Thu Mar 1 14:07:39 2007
@@ -38,4 +38,8 @@
{
return called;
}
+
+ public void preProcess() {
+ called = "preProcess";
+ }
}
Modified: myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestInterfaceViewControllerExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestInterfaceViewControllerExecutor.java?view=diff&rev=513536&r1=513535&r2=513536
==============================================================================
--- myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestInterfaceViewControllerExecutor.java (original)
+++ myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestInterfaceViewControllerExecutor.java Thu Mar 1 14:07:39 2007
@@ -36,5 +36,9 @@
executor.invokePreRenderView(targetBean);
assertEquals("preRenderView", targetBean.getCalled());
- }
+
+ executor.invokePreProcess(targetBean);
+ assertEquals("preProcess", targetBean.getCalled());
+
+ }
}
Modified: myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestReflectiveViewControllerExecutor.java
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestReflectiveViewControllerExecutor.java?view=diff&rev=513536&r1=513535&r2=513536
==============================================================================
--- myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestReflectiveViewControllerExecutor.java (original)
+++ myfaces/fusion/trunk/core/src/test/java/org/apache/myfaces/fusion/viewController/TestReflectiveViewControllerExecutor.java Thu Mar 1 14:07:39 2007
@@ -36,5 +36,9 @@
executor.invokePreRenderView(targetBean);
assertEquals("preRenderView", targetBean.getCalled());
- }
+
+ executor.invokePreProcess(targetBean);
+ assertEquals("preProcess", targetBean.getCalled());
+
+ }
}