Revision: 7087
http://jython.svn.sourceforge.net/jython/?rev=7087&view=rev
Author: zyasoft
Date: 2010-08-09 20:58:24 +0000 (Mon, 09 Aug 2010)
Log Message:
-----------
Missing file from the last commit, necessary for test_java_integration copy testing
Added Paths:
-----------
trunk/jython/tests/java/javatests/ProxyTests.java
Added: trunk/jython/tests/java/javatests/ProxyTests.java
===================================================================
--- trunk/jython/tests/java/javatests/ProxyTests.java (rev 0)
+++ trunk/jython/tests/java/javatests/ProxyTests.java 2010-08-09 20:58:24 UTC (rev 7087)
@@ -0,0 +1,38 @@
+package javatests;
+
+public class ProxyTests {
+
+ public static class Person {
+
+ // models conventions of names in certain parts of the world
+
+ private String firstName;
+ private String lastName;
+
+ public Person(String firstName, String lastName) {
+ this.firstName = firstName;
+ this.lastName = lastName;
+ }
+
+ public String toString() {
+ return lastName + ", " + firstName;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+ }
+
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|