harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r525019 - in /harmony/enhanced/classlib/trunk/modules/sql/src: main/java/javax/sql/rowset/serial/SerialStruct.java test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java
Date Tue, 03 Apr 2007 04:02:47 GMT
Author: smishura
Date: Mon Apr  2 21:02:46 2007
New Revision: 525019

URL: http://svn.apache.org/viewvc?view=rev&rev=525019
Log:
Apply patch for HARMONY-3531:
([classlib][sql] implementation and test case stub for javax.sql.rowset.serial.SerialStruct)

Added:
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialStruct.java
  (with props)
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java
  (with props)

Added: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialStruct.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialStruct.java?view=auto&rev=525019
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialStruct.java
(added)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialStruct.java
Mon Apr  2 21:02:46 2007
@@ -0,0 +1,64 @@
+/*
+ *  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 javax.sql.rowset.serial;
+
+import java.io.Serializable;
+import java.sql.SQLData;
+import java.sql.SQLException;
+import java.sql.Struct;
+import java.util.Map;
+
+import org.apache.harmony.luni.util.NotImplementedException;
+
+public class SerialStruct implements Struct, Serializable, Cloneable {
+    // required by serialized form
+    @SuppressWarnings("unused")
+    private static final long serialVersionUID = -8322445504027483372L;
+
+    // required by serialized form
+    private String SQLTypeName;
+
+    // required by serialized form
+    private Object[] attribs;
+
+    public SerialStruct(SQLData in, Map<String, Class<?>> map)
+            throws SerialException, NotImplementedException {
+        throw new NotImplementedException();
+    }
+
+    public SerialStruct(Struct in, Map<String, Class<?>> map)
+            throws SerialException, NotImplementedException {
+        throw new NotImplementedException();
+    }
+
+    public Object[] getAttributes() throws SerialException,
+            NotImplementedException {
+        throw new NotImplementedException();
+
+    }
+
+    public Object[] getAttributes(Map<String, Class<?>> map)
+            throws SerialException, NotImplementedException {
+        throw new NotImplementedException();
+    }
+
+    public String getSQLTypeName() throws SQLException, NotImplementedException {
+        throw new NotImplementedException();
+    }
+
+}

Propchange: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialStruct.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java?view=auto&rev=525019
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java
(added)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java
Mon Apr  2 21:02:46 2007
@@ -0,0 +1,44 @@
+/*
+ *  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.harmony.sql.tests.javax.sql.rowset.serial;
+
+import junit.framework.TestCase;
+
+public class SerialStructTest extends TestCase {
+
+    public void testSerialStructSQLDataMapOfStringClassOfQ() {
+        
+    }
+
+    public void testSerialStructStructMapOfStringClassOfQ() {
+        
+    }
+
+    public void testGetAttributes() {
+        
+    }
+
+    public void testGetAttributesMapOfStringClassOfQ() {
+        
+    }
+
+    public void testGetSQLTypeName() {
+        
+    }
+
+}

Propchange: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/rowset/serial/SerialStructTest.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message