myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r641184 - /myfaces/trinidad/branches/1.2.7.1-branch/trinidad-api/src/test/java/org/apache/myfaces/trinidad/context/MockRequestContext.java
Date Wed, 26 Mar 2008 07:30:13 GMT
Author: matzew
Date: Wed Mar 26 00:30:12 2008
New Revision: 641184

URL: http://svn.apache.org/viewvc?rev=641184&view=rev
Log:
added mock impl for "getPageFlowScope"

Modified:
    myfaces/trinidad/branches/1.2.7.1-branch/trinidad-api/src/test/java/org/apache/myfaces/trinidad/context/MockRequestContext.java

Modified: myfaces/trinidad/branches/1.2.7.1-branch/trinidad-api/src/test/java/org/apache/myfaces/trinidad/context/MockRequestContext.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.7.1-branch/trinidad-api/src/test/java/org/apache/myfaces/trinidad/context/MockRequestContext.java?rev=641184&r1=641183&r2=641184&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.7.1-branch/trinidad-api/src/test/java/org/apache/myfaces/trinidad/context/MockRequestContext.java
(original)
+++ myfaces/trinidad/branches/1.2.7.1-branch/trinidad-api/src/test/java/org/apache/myfaces/trinidad/context/MockRequestContext.java
Wed Mar 26 00:30:12 2008
@@ -19,6 +19,7 @@
 package org.apache.myfaces.trinidad.context;
 
 import java.awt.Color;
+import java.util.Collections;
 import java.util.List;
 import java.util.Locale;
 import java.util.Map;
@@ -76,7 +77,7 @@
   @Override
   public Map<String, Object> getPageFlowScope()
   {
-    throw new UnsupportedOperationException("Not implemented yet");
+    return Collections.emptyMap();
   }
 
   @Override



Mime
View raw message