myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [myfaces-test] 03/05: MYFACESTEST-7 MockResource needs to override setResourceName and setLibraryName
Date Thu, 03 May 2018 18:26:25 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit a3d2939e29e1c168615caaea450a0d5a11ac5491
Author: Jakob Korherr <jakobk@apache.org>
AuthorDate: Fri Apr 9 10:19:04 2010 +0000

    MYFACESTEST-7 MockResource needs to override setResourceName and setLibraryName
---
 .../org/apache/myfaces/test/mock/resource/MockResource.java  | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
b/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
index 2892fa3..f1d02b7 100644
--- a/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
+++ b/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
@@ -76,10 +76,22 @@ public class MockResource extends Resource
     }
 
     @Override
+    public void setResourceName(String resourceName)
+    {
+        _resourceName = resourceName;
+    }
+
+    @Override
     public String getLibraryName()
     {
         return _libraryName;
     }
+    
+    @Override
+    public void setLibraryName(String libraryName)
+    {
+        _libraryName = libraryName;
+    }
 
     @Override
     public InputStream getInputStream() throws IOException

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

Mime
View raw message