You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/02/13 02:49:46 UTC

svn commit: r1070178 [2/2] - in /commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations: ./ addressbook/ catalog/ employee/ failingtetst/ person/ rss/ servletbean/

Added: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java?rev=1070178&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java (added)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java Sun Feb 13 01:49:45 2011
@@ -0,0 +1,160 @@
+/* $Id$
+ *
+ * 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.commons.digester3.annotations.rss;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.commons.digester3.annotations.rules.BeanPropertySetter;
+import org.apache.commons.digester3.annotations.rules.ObjectCreate;
+import org.apache.commons.digester3.annotations.rules.SetNext;
+
+/**
+ * 
+ *
+ * @since 2.1
+ */
+@ObjectCreate(pattern = "rss/channel")
+public final class Channel {
+
+    private final List<Item> items = new ArrayList<Item>();
+
+    @BeanPropertySetter(pattern = "rss/channel/title")
+    private String title;
+
+    @BeanPropertySetter(pattern = "rss/channel/link")
+    private String link;
+
+    @BeanPropertySetter(pattern = "rss/channel/description")
+    private String description;
+
+    @BeanPropertySetter(pattern = "rss/channel/language")
+    private String language;
+
+    private Image image;
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public String getLink() {
+        return link;
+    }
+
+    public void setLink(String link) {
+        this.link = link;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public String getLanguage() {
+        return language;
+    }
+
+    public void setLanguage(String language) {
+        this.language = language;
+    }
+
+    public List<Item> getItems() {
+        return items;
+    }
+
+    public Image getImage() {
+        return image;
+    }
+
+    @SetNext
+    public void setImage(Image image) {
+        this.image = image;
+    }
+
+    @SetNext
+    public void addItem(Item item) {
+        this.items.add(item);
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj)
+            return true;
+        if (obj == null)
+            return false;
+        if (getClass() != obj.getClass())
+            return false;
+        Channel other = (Channel) obj;
+        if (description == null) {
+            if (other.description != null)
+                return false;
+        } else if (!description.equals(other.description))
+            return false;
+        if (image == null) {
+            if (other.image != null)
+                return false;
+        } else if (!image.equals(other.image))
+            return false;
+        if (items == null) {
+            if (other.items != null)
+                return false;
+        } else if (!items.equals(other.items))
+            return false;
+        if (language == null) {
+            if (other.language != null)
+                return false;
+        } else if (!language.equals(other.language))
+            return false;
+        if (link == null) {
+            if (other.link != null)
+                return false;
+        } else if (!link.equals(other.link))
+            return false;
+        if (title == null) {
+            if (other.title != null)
+                return false;
+        } else if (!title.equals(other.title))
+            return false;
+        return true;
+    }
+
+    @Override
+    public String toString() {
+        return "Channel [description="
+                + description
+                + ", image="
+                + image
+                + ", items="
+                + items
+                + ", language="
+                + language
+                + ", link="
+                + link
+                + ", title="
+                + title
+                + "]";
+    }
+
+}

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Channel.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java?rev=1070178&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java (added)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java Sun Feb 13 01:49:45 2011
@@ -0,0 +1,149 @@
+/* $Id$
+ *
+ * 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.commons.digester3.annotations.rss;
+
+import org.apache.commons.digester3.annotations.rules.BeanPropertySetter;
+import org.apache.commons.digester3.annotations.rules.ObjectCreate;
+
+/**
+ * 
+ *
+ * @since 2.1
+ */
+@ObjectCreate(pattern = "rss/channel/image")
+public final class Image {
+
+    @BeanPropertySetter(pattern = "rss/channel/image/description")
+    private String description;
+
+    @BeanPropertySetter(pattern = "rss/channel/image/width")
+    private int width;
+
+    @BeanPropertySetter(pattern = "rss/channel/image/height")
+    private int height;
+
+    @BeanPropertySetter(pattern = "rss/channel/image/link")
+    private String link;
+
+    @BeanPropertySetter(pattern = "rss/channel/image/title")
+    private String title;
+
+    @BeanPropertySetter(pattern = "rss/channel/image/url")
+    private String url;
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public int getWidth() {
+        return width;
+    }
+
+    public void setWidth(int width) {
+        this.width = width;
+    }
+
+    public int getHeight() {
+        return height;
+    }
+
+    public void setHeight(int height) {
+        this.height = height;
+    }
+
+    public String getLink() {
+        return link;
+    }
+
+    public void setLink(String link) {
+        this.link = link;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj)
+            return true;
+        if (obj == null)
+            return false;
+        if (getClass() != obj.getClass())
+            return false;
+        Image other = (Image) obj;
+        if (description == null) {
+            if (other.description != null)
+                return false;
+        } else if (!description.equals(other.description))
+            return false;
+        if (height != other.height)
+            return false;
+        if (link == null) {
+            if (other.link != null)
+                return false;
+        } else if (!link.equals(other.link))
+            return false;
+        if (title == null) {
+            if (other.title != null)
+                return false;
+        } else if (!title.equals(other.title))
+            return false;
+        if (url == null) {
+            if (other.url != null)
+                return false;
+        } else if (!url.equals(other.url))
+            return false;
+        if (width != other.width)
+            return false;
+        return true;
+    }
+
+    @Override
+    public String toString() {
+        return "Image [description="
+                + description
+                + ", height="
+                + height
+                + ", link="
+                + link
+                + ", title="
+                + title
+                + ", url="
+                + url
+                + ", width="
+                + width + "]";
+    }
+
+}

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Image.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java?rev=1070178&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java (added)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java Sun Feb 13 01:49:45 2011
@@ -0,0 +1,102 @@
+/* $Id$
+ *
+ * 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.commons.digester3.annotations.rss;
+
+import org.apache.commons.digester3.annotations.rules.BeanPropertySetter;
+import org.apache.commons.digester3.annotations.rules.ObjectCreate;
+
+/**
+ * 
+ *
+ * @since 2.1
+ */
+@ObjectCreate(pattern = "rss/channel/item")
+public final class Item {
+
+    @BeanPropertySetter(pattern = "rss/channel/item/description")
+    private String description;
+
+    @BeanPropertySetter(pattern = "rss/channel/item/link")
+    private String link;
+
+    @BeanPropertySetter(pattern = "rss/channel/item/title")
+    private String title;
+
+    public String getDescription() {
+        return description;
+    }
+
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    public String getLink() {
+        return link;
+    }
+
+    public void setLink(String link) {
+        this.link = link;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj)
+            return true;
+        if (obj == null)
+            return false;
+        if (getClass() != obj.getClass())
+            return false;
+        Item other = (Item) obj;
+        if (description == null) {
+            if (other.description != null)
+                return false;
+        } else if (!description.equals(other.description))
+            return false;
+        if (link == null) {
+            if (other.link != null)
+                return false;
+        } else if (!link.equals(other.link))
+            return false;
+        if (title == null) {
+            if (other.title != null)
+                return false;
+        } else if (!title.equals(other.title))
+            return false;
+        return true;
+    }
+
+    @Override
+    public String toString() {
+        return "Item [description="
+                + description
+                + ", link="
+                + link
+                + ", title="
+                + title
+                + "]";
+    }
+
+}

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/Item.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java?rev=1070178&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java (added)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java Sun Feb 13 01:49:45 2011
@@ -0,0 +1,75 @@
+/* $Id$
+ *
+ * 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.commons.digester3.annotations.rss;
+
+import org.apache.commons.digester3.annotations.AbstractAnnotatedPojoTestCase;
+import org.junit.Test;
+
+/**
+ * 
+ *
+ * @since 2.1
+ */
+public final class RssTestCase extends AbstractAnnotatedPojoTestCase {
+
+    @Test
+    public void testRss() throws Exception {
+        Channel channel = new Channel();
+        channel.setTitle("Apache");
+        channel.setLink("http://www.apache.org");
+        channel.setDescription("The Apache Software Foundation");
+        channel.setLanguage("en-US");
+
+        Image image = new Image();
+        image.setTitle("Apache");
+        image.setUrl("http://jakarta.apache.org/images/jakarta-logo.gif");
+        image.setLink("http://jakarta.apache.org");
+        image.setDescription(
+                "The Jakarta project. Open source, serverside java.");
+        image.setWidth(505);
+        image.setHeight(480);
+        channel.setImage(image);
+
+        Item item = new Item();
+        item.setTitle("Commons Attributes 2.1 Released");
+        item.setLink("http://jakarta.apache.org/site/news/news-2004-2ndHalf.html#20040815.1");
+        item.setDescription("The Apache Commons team is happy to announce the release of Commons Attributes 2.1. This is the first release of the new Commons-Attributes code.");
+        channel.addItem(item);
+
+        item = new Item();
+        item.setTitle("Cloudscape Becomes Apache Derby");
+        item.setLink("http://jakarta.apache.org/site/news/elsewhere-2004-2ndHalf.html#20040803.1");
+        item.setDescription("IBM has submitted a proposal to the Apache DB project for a Java-based package to be called 'Derby'.");
+        channel.addItem(item);
+
+        item = new Item();
+        item.setTitle("Commons BeanUtils 1.7 Released");
+        item.setLink("http://jakarta.apache.org/site/news/news-2004-2ndHalf.html#20040802.1");
+        item.setDescription("");
+        channel.addItem(item);
+
+        item = new Item();
+        item.setTitle("Commons JXPath 1.2 Released");
+        item.setLink("http://jakarta.apache.org/site/news/news-2004-2ndHalf.html#20040801.2");
+        item.setDescription("");
+        channel.addItem(item);
+
+        this.verifyExpectedEqualsToParsed(channel);
+    }
+
+}

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/rss/RssTestCase.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java?rev=1070178&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java (added)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java Sun Feb 13 01:49:45 2011
@@ -0,0 +1,107 @@
+/* $Id$
+ *
+ * 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.commons.digester3.annotations.servletbean;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.commons.digester3.annotations.rules.BeanPropertySetter;
+import org.apache.commons.digester3.annotations.rules.CallMethod;
+import org.apache.commons.digester3.annotations.rules.CallParam;
+import org.apache.commons.digester3.annotations.rules.ObjectCreate;
+
+/**
+ * 
+ * @since 2.1
+ */
+@ObjectCreate(pattern = "web-app/servlet")
+public final class ServletBean {
+
+    private final Map<String, String> initParams = new HashMap<String, String>();
+
+    @BeanPropertySetter(pattern = "web-app/servlet/servlet-name")
+    private String servletName;
+
+    @BeanPropertySetter(pattern = "web-app/servlet/servlet-class")
+    private String servletClass;
+
+    @CallMethod(pattern = "web-app/servlet/init-param")
+    public void addInitParam(@CallParam(pattern = "web-app/servlet/init-param/param-name") String name,
+            @CallParam(pattern = "web-app/servlet/init-param/param-value") String value) {
+        this.initParams.put(name, value);
+    }
+
+    public String getServletName() {
+        return servletName;
+    }
+
+    public void setServletName(String servletName) {
+        this.servletName = servletName;
+    }
+
+    public String getServletClass() {
+        return servletClass;
+    }
+
+    public void setServletClass(String servletClass) {
+        this.servletClass = servletClass;
+    }
+
+    public Map<String, String> getInitParams() {
+        return initParams;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj)
+            return true;
+        if (obj == null)
+            return false;
+        if (getClass() != obj.getClass())
+            return false;
+        ServletBean other = (ServletBean) obj;
+        if (initParams == null) {
+            if (other.initParams != null)
+                return false;
+        } else if (!initParams.equals(other.initParams))
+            return false;
+        if (servletClass == null) {
+            if (other.servletClass != null)
+                return false;
+        } else if (!servletClass.equals(other.servletClass))
+            return false;
+        if (servletName == null) {
+            if (other.servletName != null)
+                return false;
+        } else if (!servletName.equals(other.servletName))
+            return false;
+        return true;
+    }
+
+    @Override
+    public String toString() {
+        return "ServletBean [initParams="
+                + initParams
+                + ", servletClass="
+                + servletClass
+                + ", servletName="
+                + servletName
+                + "]";
+    }
+
+}

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java?rev=1070178&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java (added)
+++ commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java Sun Feb 13 01:49:45 2011
@@ -0,0 +1,41 @@
+/* $Id$
+ *
+ * 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.commons.digester3.annotations.servletbean;
+
+import org.apache.commons.digester3.annotations.AbstractAnnotatedPojoTestCase;
+import org.junit.Test;
+
+/**
+ * 
+ * @since 2.1
+ */
+public final class ServletBeanTestCase extends AbstractAnnotatedPojoTestCase {
+
+    @Test
+    public void testServletBean() throws Exception {
+        ServletBean servletBean = new ServletBean();
+        servletBean.setServletName("action");
+        servletBean.setServletClass("org.apache.struts.action.ActionServlet");
+        servletBean.addInitParam("application",
+                "org.apache.struts.example.ApplicationResources");
+        servletBean.addInitParam("config", "/WEB-INF/struts-config.xml");
+
+        this.verifyExpectedEqualsToParsed(servletBean);
+    }
+
+}

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/digester3/trunk/src/test/java/org/apache/commons/digester3/annotations/servletbean/ServletBeanTestCase.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain