geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r701688 - in /geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src: main/java/org/apache/geronimo/gshell/vfs/provider/meta/ test/java/org/ test/java/org/apache/ test/java/org/apache/geronimo/ test/java/org/apache/geronimo/gshell/ test/j...
Date Sat, 04 Oct 2008 19:06:30 GMT
Author: jdillon
Date: Sat Oct  4 12:06:30 2008
New Revision: 701688

URL: http://svn.apache.org/viewvc?rev=701688&view=rev
Log:
Add some basic tests and tidy up

Added:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
  (with props)
Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileData.java
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImpl.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileData.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileData.java?rev=701688&r1=701687&r2=701688&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileData.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileData.java
Sat Oct  4 12:06:30 2008
@@ -46,9 +46,9 @@
 
     private long lastModified = -1;
 
-    private final Map<String,Object> attributes = Collections.synchronizedMap(new HashMap<String,Object>());
+    private final Map<String,Object> attributes = /*Collections.synchronizedMap(*/new
HashMap<String,Object>()/*)*/;
 
-    private final Collection<MetaFileData> children = Collections.synchronizedCollection(new
ArrayList<MetaFileData>());
+    private final Collection<MetaFileData> children = /*Collections.synchronizedCollection(*/new
ArrayList<MetaFileData>()/*)*/;
 
     public MetaFileData(final FileName name, final FileType type) {
         assert name != null;
@@ -87,12 +87,18 @@
         // value could be null
 
         getAttributes().put(name, value);
+
+        updateLastModified();
     }
 
     public Object removeAttribute(final String name) {
         assert name != null;
 
-        return getAttributes().remove(name);
+        Object old = getAttributes().remove(name);
+
+        updateLastModified();
+
+        return old;
     }
 
     public Collection<MetaFileData> getChildren() {

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImpl.java?rev=701688&r1=701687&r2=701688&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImpl.java
Sat Oct  4 12:06:30 2008
@@ -35,12 +35,12 @@
  *
  * @version $Rev$ $Date$
  */
-public class MetaFileDataRegistryImpl
+public class  MetaFileDataRegistryImpl
     implements MetaFileDataRegistry
 {
     private final Logger log = LoggerFactory.getLogger(getClass());
 
-    private final Map<FileName,MetaFileData> nodes = Collections.synchronizedMap(new
HashMap<FileName,MetaFileData>());
+    private final Map<FileName,MetaFileData> nodes = /*Collections.synchronizedMap(*/new
HashMap<FileName,MetaFileData>()/*)*/;
 
     private String rootFileName = MetaFileName.SCHEME + ":/";
 
@@ -52,6 +52,10 @@
         registerData(rootName, new MetaFileData(rootName, FileType.FOLDER));
     }
 
+    protected Map<FileName,MetaFileData> getNodes() {
+        return nodes;
+    }
+    
     public void registerData(final FileName name, final MetaFileData data) {
         assert name != null;
         assert data != null;
@@ -77,7 +81,7 @@
             }
         }
 
-        nodes.put(name, data);
+        getNodes().put(name, data);
     }
 
     public void removeData(final FileName name) {
@@ -85,7 +89,7 @@
 
         log.debug("Removing data: {}", name);
 
-        MetaFileData data = nodes.remove(name);
+        MetaFileData data = getNodes().remove(name);
 
         FileName parentName = name.getParent();
         if (containsData(parentName)) {
@@ -102,7 +106,7 @@
     public boolean containsData(final FileName name) {
         assert name != null;
 
-        return nodes.containsKey(name);
+        return getNodes().containsKey(name);
     }
 
     public MetaFileData lookupData(final FileName name) {
@@ -110,49 +114,6 @@
 
         log.debug("Looking up data: {}", name);
         
-        return nodes.get(name);
-    }
-
-    /*
-    void save(final MetaFileObject file) throws FileSystemException {
-        assert file != null;
-
-        log.debug("Saving: {}", file);
-
-        FileName name = file.getName();
-        MetaFileData data = file.getData();
-
-        if (name.getDepth() > 0) {
-            MetaFileData parentData = registry.lookup(file.getParent().getName());
-
-            if (!parentData.hasChild(data)) {
-                MetaFileObject parent = (MetaFileObject)file.getParent();
-                parent.getData().addChild(data);
-                parent.close();
-            }
-        }
-
-        registry.register(name, data);
-        file.getData().updateLastModified();
-        file.close();
-    }
-
-    void delete(final MetaFileObject file) throws FileSystemException {
-        assert file != null;
-
-        log.debug("Deleting: {}", file);
-
-        if (file.getParent() == null) {
-            throw new FileSystemException("Can not delete file-system root");
-        }
-
-        registry.remove(file.getName());
-
-        MetaFileObject parent = (MetaFileObject) resolveFile(file.getParent().getName());
-        parent.getData().removeChild(file.getData());
-        parent.close();
-
-        file.close();
+        return getNodes().get(name);
     }
-    */
 }
\ No newline at end of file

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java?rev=701688&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
Sat Oct  4 12:06:30 2008
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.gshell.vfs.provider.meta;
+
+import org.apache.geronimo.gshell.spring.SpringTestSupport;
+import org.apache.commons.vfs.FileName;
+import com.thoughtworks.xstream.XStream;
+import com.thoughtworks.xstream.io.xml.DomDriver;
+
+import java.util.Map;
+
+/**
+ * Accessible {@link MetaFileDataRegistryImpl}.
+ *
+ * @version $Rev$ $Date$
+ */
+public class AccessibleMetaFileDataRegistry
+    extends MetaFileDataRegistryImpl
+{
+    @Override
+    public Map<FileName, MetaFileData> getNodes() {
+        return super.getNodes();
+    }
+}
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/AccessibleMetaFileDataRegistry.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java?rev=701688&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
Sat Oct  4 12:06:30 2008
@@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.gshell.vfs.provider.meta;
+
+import org.apache.geronimo.gshell.spring.SpringTestSupport;
+import org.apache.commons.vfs.FileName;
+import com.thoughtworks.xstream.XStream;
+import com.thoughtworks.xstream.io.xml.DomDriver;
+
+import java.util.Map;
+
+/**
+ * Unit tests for the {@link MetaFileDataRegistryConfigurer} class.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MetaFileDataRegistryConfigurerTest
+    extends SpringTestSupport
+{
+    private AccessibleMetaFileDataRegistry registry;
+
+    private MetaFileDataRegistryConfigurer config;
+
+    protected void setUp() throws Exception {
+        super.setUp();
+
+        registry = getBeanContainer().getBean(AccessibleMetaFileDataRegistry.class);
+        assertNotNull(registry);
+
+        config = new MetaFileDataRegistryConfigurer(registry);
+    }
+
+    public void testAddFolder() throws Exception {
+        MetaFileData data = config.addFolder("testing");
+        assertNotNull(data);
+
+        Map<FileName, MetaFileData> nodes = registry.getNodes();
+        assertNotNull(nodes);
+        assertEquals(2, nodes.size());
+    }
+
+    public void testAddNestedFiles() throws Exception {
+        MetaFileData d1 = config.addFolder("testing");
+        assertNotNull(d1);
+
+        MetaFileData d2 = config.addFile("testing/stuff");
+        assertNotNull(d2);
+
+        MetaFileData d3 = config.addFile("testing/more-stuff");
+        assertNotNull(d3);
+
+        Map<FileName, MetaFileData> nodes = registry.getNodes();
+        assertNotNull(nodes);
+        assertEquals(4, nodes.size());
+    }
+
+    public void testAddNestedFilesWithScheme() throws Exception {
+        MetaFileData d1 = config.addFolder("meta:/testing");
+        assertNotNull(d1);
+
+        MetaFileData d2 = config.addFile("meta:/testing/stuff");
+        assertNotNull(d2);
+
+        MetaFileData d3 = config.addFile("meta:/testing/more-stuff");
+        assertNotNull(d3);
+
+        Map<FileName, MetaFileData> nodes = registry.getNodes();
+        assertNotNull(nodes);
+        assertEquals(4, nodes.size());
+
+        XStream xs = new XStream(new DomDriver());
+        String xml = xs.toXML(registry);
+        System.out.println(xml);
+    }
+}
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java?rev=701688&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
Sat Oct  4 12:06:30 2008
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.gshell.vfs.provider.meta;
+
+import org.apache.geronimo.gshell.spring.SpringTestSupport;
+import org.apache.commons.vfs.FileName;
+import com.thoughtworks.xstream.XStream;
+import com.thoughtworks.xstream.io.xml.DomDriver;
+
+import java.util.Map;
+
+/**
+ * Unit tests for the {@link MetaFileDataRegistryImpl} class.
+ *
+ * @version $Rev$ $Date$
+ */
+public class MetaFileDataRegistryImplTest
+    extends SpringTestSupport
+{
+    private AccessibleMetaFileDataRegistry registry;
+
+    protected void setUp() throws Exception {
+        super.setUp();
+
+        registry = getBeanContainer().getBean(AccessibleMetaFileDataRegistry.class);
+        assertNotNull(registry);
+    }
+
+    public void testInitialState() throws Exception {
+        Map<FileName, MetaFileData> nodes = registry.getNodes();
+        assertNotNull(nodes);
+        assertEquals(1, nodes.size());
+
+        XStream xs = new XStream(new DomDriver());
+        String xml = xs.toXML(registry);
+        System.out.println(xml);
+    }
+}
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml?rev=701688&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
Sat Oct  4 12:06:30 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <bean id="metaFileDataRegistry" class="org.apache.geronimo.gshell.vfs.provider.meta.AccessibleMetaFileDataRegistry"
scope="prototype"/>
+
+</beans>
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryConfigurerTest-context.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml?rev=701688&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
Sat Oct  4 12:06:30 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+            http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <bean id="metaFileDataRegistry" class="org.apache.geronimo.gshell.vfs.provider.meta.AccessibleMetaFileDataRegistry"/>
+
+</beans>
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/test/resources/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileDataRegistryImplTest-context.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message