myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jak...@apache.org
Subject svn commit: r932336 - /myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
Date Fri, 09 Apr 2010 10:19:04 GMT
Author: jakobk
Date: Fri Apr  9 10:19:04 2010
New Revision: 932336

URL: http://svn.apache.org/viewvc?rev=932336&view=rev
Log:
MYFACESTEST-7 MockResource needs to override setResourceName and setLibraryName

Modified:
    myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java

Modified: myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
URL: http://svn.apache.org/viewvc/myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java?rev=932336&r1=932335&r2=932336&view=diff
==============================================================================
--- myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
(original)
+++ myfaces/test/trunk/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java
Fri Apr  9 10:19:04 2010
@@ -76,10 +76,22 @@ public class MockResource extends Resour
     }
 
     @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



Mime
View raw message