You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/08/26 08:42:04 UTC

svn commit: r437095 - in /myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data: ./ A.java B.java

Author: matzew
Date: Fri Aug 25 23:42:02 2006
New Revision: 437095

URL: http://svn.apache.org/viewvc?rev=437095&view=rev
Log:
added test case for MYFACES-1309

Added:
    myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/
    myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java   (with props)
    myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java   (with props)

Added: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java?rev=437095&view=auto
==============================================================================
--- myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java (added)
+++ myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java Fri Aug 25 23:42:02 2006
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.myfaces.el.data;
+
+public class A
+{
+  private String first = "First";
+
+  public String getFirst()
+  {
+    return first;
+  }
+
+  public void setFirst(String first)
+  {
+    this.first = first;
+  }
+}

Propchange: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/A.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java?rev=437095&view=auto
==============================================================================
--- myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java (added)
+++ myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java Fri Aug 25 23:42:02 2006
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed 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.myfaces.el.data;
+
+public class B extends A
+{
+  private String second = "Second";
+
+  public String getSecond()
+  {
+    return second;
+  }
+
+  public void setSecond(String second)
+  {
+    this.second = second;
+  }
+
+  public String toString()
+  {
+    
+    return getFirst() + " " + getSecond();
+  }
+  
+  
+}

Propchange: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/el/data/B.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL