myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [myfaces-test] 15/21: small fix on MockApplication20
Date Thu, 03 May 2018 18:26:02 GMT
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 1_0_0_alpha
in repository https://gitbox.apache.org/repos/asf/myfaces-test.git

commit c85bfc40d6048825efe592738694ae34cc9630db
Author: Leonardo Uribe <lu4242@apache.org>
AuthorDate: Fri Oct 2 04:01:16 2009 +0000

    small fix on MockApplication20
---
 .../java/org/apache/shale/test/mock/MockApplication20.java   | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/test20/src/main/java/org/apache/shale/test/mock/MockApplication20.java b/test20/src/main/java/org/apache/shale/test/mock/MockApplication20.java
index 614bc13..180a847 100644
--- a/test20/src/main/java/org/apache/shale/test/mock/MockApplication20.java
+++ b/test20/src/main/java/org/apache/shale/test/mock/MockApplication20.java
@@ -18,6 +18,7 @@
 package org.apache.shale.test.mock;
 
 import java.lang.reflect.Constructor;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
@@ -174,8 +175,19 @@ public class MockApplication20 extends MockApplication12
     private static final Log log = LogFactory.getLog(MockApplication20.class);
     
     private final Map<Class<? extends SystemEvent>, SystemListenerEntry> _systemEventListenerClassMap
= new ConcurrentHashMap<Class<? extends SystemEvent>, SystemListenerEntry>();
+    
+    private Map<String, String> _defaultValidatorsIds = new HashMap<String, String>();
 
     // ----------------------------------------------------- Mock Object Methods
+    
+    /**
+     * TODO: Implement this one correctly
+     */
+    @Override
+    public Map<String, String> getDefaultValidatorInfo()
+    {
+        return _defaultValidatorsIds;
+    }    
 
     private static SystemEvent _traverseListenerList(
             List<? extends SystemEventListener> listeners,

-- 
To stop receiving notification emails like this one, please contact
deki@apache.org.

Mime
View raw message