You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/01/25 04:04:48 UTC

svn commit: r1063118 - /myfaces/test/trunk/test12/src/main/java/org/apache/myfaces/test/mock/MockApplication12.java

Author: lu4242
Date: Tue Jan 25 03:04:48 2011
New Revision: 1063118

URL: http://svn.apache.org/viewvc?rev=1063118&view=rev
Log:
MYFACESTEST-40 Add MockApplication12.setExpressionFactory

Modified:
    myfaces/test/trunk/test12/src/main/java/org/apache/myfaces/test/mock/MockApplication12.java

Modified: myfaces/test/trunk/test12/src/main/java/org/apache/myfaces/test/mock/MockApplication12.java
URL: http://svn.apache.org/viewvc/myfaces/test/trunk/test12/src/main/java/org/apache/myfaces/test/mock/MockApplication12.java?rev=1063118&r1=1063117&r2=1063118&view=diff
==============================================================================
--- myfaces/test/trunk/test12/src/main/java/org/apache/myfaces/test/mock/MockApplication12.java (original)
+++ myfaces/test/trunk/test12/src/main/java/org/apache/myfaces/test/mock/MockApplication12.java Tue Jan 25 03:04:48 2011
@@ -125,6 +125,16 @@ public class MockApplication12 extends M
         return bundles;
     }
 
+    /**
+     * Set the current ExpressionFactory to be returned by this mock object
+     * 
+     * @param expressionFactory
+     */
+    public void setExpressionFactory(ExpressionFactory expressionFactory)
+    {
+        this.expressionFactory = expressionFactory;
+    }
+    
     // ----------------------------------------------------- Application Methods
 
     /** {@inheritDoc} */