3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 package test.rowset.webrowset; 24 25 import java.io.ByteArrayInputStream; 26 import java.io.ByteArrayOutputStream; 27 import java.io.File; 28 import java.io.FileInputStream; 29 import java.io.FileReader; 30 import java.io.InputStreamReader; 31 import java.io.ObjectInputStream; 32 import java.io.ObjectOutputStream; 33 import java.io.OutputStreamWriter; 34 import java.math.BigDecimal; 35 import java.sql.ResultSet; 36 import java.util.Arrays; 37 import javax.sql.rowset.WebRowSet; 38 import static org.testng.Assert.assertEquals; 39 import static org.testng.Assert.assertEqualsNoOrder; 40 import static org.testng.Assert.assertFalse; 41 import static org.testng.Assert.assertTrue; 42 import org.testng.annotations.Test; | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /** 25 * @test 26 * @modules java.sql.rowset/com.sun.rowset 27 * java.sql.rowset/com.sun.rowset.internal 28 * java.sql.rowset/com.sun.rowset.providers 29 */ 30 31 package test.rowset.webrowset; 32 33 import java.io.ByteArrayInputStream; 34 import java.io.ByteArrayOutputStream; 35 import java.io.File; 36 import java.io.FileInputStream; 37 import java.io.FileReader; 38 import java.io.InputStreamReader; 39 import java.io.ObjectInputStream; 40 import java.io.ObjectOutputStream; 41 import java.io.OutputStreamWriter; 42 import java.math.BigDecimal; 43 import java.sql.ResultSet; 44 import java.util.Arrays; 45 import javax.sql.rowset.WebRowSet; 46 import static org.testng.Assert.assertEquals; 47 import static org.testng.Assert.assertEqualsNoOrder; 48 import static org.testng.Assert.assertFalse; 49 import static org.testng.Assert.assertTrue; 50 import org.testng.annotations.Test; |