including openisis 0.9.0 into webpac tree
[webpac] / openisis / jtest.bat
diff --git a/openisis/jtest.bat b/openisis/jtest.bat
new file mode 100644 (file)
index 0000000..c910367
--- /dev/null
@@ -0,0 +1,48 @@
+@echo off\r
+\r
+rem  openisis - an open implementation of the ISIS database\r
+rem  Version 0.8.x (microversion see file Version)\r
+rem  Copyright (C) 2001-2002 by Erik Grziwotz, erik@openisis.org\r
+rem\r
+rem  This library is free software; you can redistribute it and/or\r
+rem  modify it under the terms of the GNU Lesser General Public\r
+rem  License as published by the Free Software Foundation; either\r
+rem  version 2.1 of the License, or (at your option) any later version.\r
+rem\r
+rem  This library is distributed in the hope that it will be useful,\r
+rem  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+rem  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
+rem  Lesser General Public License for more details.\r
+rem\r
+rem  You should have received a copy of the GNU Lesser General Public\r
+rem  License along with this library; if not, write to the Free Software\r
+rem  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+rem\r
+rem  This software is dedicated to the memory of Eckart Dietrich.\r
+rem\r
+rem  This software is inspired by (but contains no code of) the iAPI\r
+rem  Copyright (C) 2000 by Robert Janusz, rj@jezuici.krakow.pl.\r
+rem  See iAPI.txt for what it contains.\r
+rem\r
+rem\r
+rem  $Id: jtest.bat,v 1.1 2002/08/28 14:47:13 erikisis Exp $\r
+rem  Testscript for openisis java classes on win32 platforms\r
+rem\r
+\r
+set CLASSPATH=.\r
+\r
+if not exist testout.txt goto bug\r
+del testout.txt\r
+\r
+:bug\r
+\r
+java org.openisis.Test -db db/cds/cds -encoding Cp850 -row 42 >> testout.txt\r
+java org.openisis.Test -db db/cds/cds -encoding Cp850 -search development >> testout.txt\r
+java org.openisis.Test -db db/cds/cds -encoding Cp850 -terms "" >> testout.txt\r
+java org.openisis.Test -db db/cds/cds -encoding Cp850 -mpu -row 130 >> testout.txt\r
+java org.openisis.Test -db db/cds/cds -encoding Cp850 -mhl -hta -row 130 >> testout.txt\r
+java org.openisis.Test -db db/cds/cds -encoding Cp850 -m1 -row 130 >> testout.txt\r
+\r
+fc testout.txt jtest.txt\r
+\r
+\r