[Jspro-cvs] jsPro/tests array.html,1.2,1.3 date.html,1.2,1.3 math.html,1.1,1.2 string.html,1.1,1.2 t
Brought to you by:
wigleys
From: Stuart W. <wi...@us...> - 2005-01-19 16:27:15
|
Update of /cvsroot/jspro/jsPro/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12160 Modified Files: array.html date.html math.html string.html test.js validator.html Log Message: Updated copyright message. Added contributions from Dieter Raber Index: date.html =================================================================== RCS file: /cvsroot/jspro/jsPro/tests/date.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** date.html 27 Oct 2003 07:47:38 -0000 1.2 --- date.html 19 Jan 2005 16:26:43 -0000 1.3 *************** *** 2,26 **** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +-------------------------------------------------------------------------+ ! * | jsPro - Date Test Page | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +-------------------------------------------------------------------------+ * $Id$ --> --- 2,26 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +---------------------------------------------------------------------------+ ! * | jsPro - Date Test Page | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +---------------------------------------------------------------------------+ * $Id$ --> Index: math.html =================================================================== RCS file: /cvsroot/jspro/jsPro/tests/math.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** math.html 13 Oct 2003 15:31:42 -0000 1.1 --- math.html 19 Jan 2005 16:26:43 -0000 1.2 *************** *** 2,26 **** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +-------------------------------------------------------------------------+ ! * | jsPro - Math Test Page | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +-------------------------------------------------------------------------+ * $Id$ --> --- 2,26 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +---------------------------------------------------------------------------+ ! * | jsPro - Math Test Page | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +---------------------------------------------------------------------------+ * $Id$ --> Index: test.js =================================================================== RCS file: /cvsroot/jspro/jsPro/tests/test.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** test.js 13 Oct 2003 15:31:42 -0000 1.1 --- test.js 19 Jan 2005 16:26:43 -0000 1.2 *************** *** 1,25 **** /** ! * +-------------------------------------------------------------------------+ ! * | jsPro - Test | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * | Randolph Fielding <gat...@ci...> | ! * +-------------------------------------------------------------------------+ * $Id$ */ --- 1,25 ---- /** ! * +---------------------------------------------------------------------------+ ! * | jsPro - Test | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * | Randolph Fielding <gat...@ci...> | ! * +---------------------------------------------------------------------------+ * $Id$ */ *************** *** 102,114 **** var vResult = eval(sClass + '.' + sMethodName + '(' + sArguments + ')'); ! } ! catch (vError) { ! if (vError instanceof Error) { vError.handleError(); } ! } ! finally { ! if (oOutput) { oOutput.value = vResult; --- 102,110 ---- var vResult = eval(sClass + '.' + sMethodName + '(' + sArguments + ')'); ! } catch (vError) { if (vError instanceof Error) { vError.handleError(); } ! } finally { if (oOutput) { oOutput.value = vResult; Index: validator.html =================================================================== RCS file: /cvsroot/jspro/jsPro/tests/validator.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** validator.html 27 Oct 2003 07:48:01 -0000 1.2 --- validator.html 19 Jan 2005 16:26:43 -0000 1.3 *************** *** 2,26 **** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +-------------------------------------------------------------------------+ ! * | jsPro - Validator Test Page | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +-------------------------------------------------------------------------+ * $Id$ --> --- 2,26 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +---------------------------------------------------------------------------+ ! * | jsPro - Validator Test Page | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +---------------------------------------------------------------------------+ * $Id$ --> Index: string.html =================================================================== RCS file: /cvsroot/jspro/jsPro/tests/string.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** string.html 13 Oct 2003 15:31:42 -0000 1.1 --- string.html 19 Jan 2005 16:26:43 -0000 1.2 *************** *** 2,26 **** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +-------------------------------------------------------------------------+ ! * | jsPro - String Test Page | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +-------------------------------------------------------------------------+ * $Id$ --> --- 2,26 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +---------------------------------------------------------------------------+ ! * | jsPro - String Test Page | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +---------------------------------------------------------------------------+ * $Id$ --> *************** *** 71,74 **** --- 71,80 ---- </tr> <tr> + <td>String.hex2rgb()</td> + <td> </td> + <td><input id="hex2rgb" type="button" value="Calculate >" onclick="oTest.evaluateMethod(this, '\'' + document.getElementById('inputString').value + '\'')" /></td> + <td><input id="hex2rgbResult" name="output" type="text" size="30" readonly="readonly" /></td> + </tr> + <tr> <td>String.htmlEntities()</td> <td> </td> Index: array.html =================================================================== RCS file: /cvsroot/jspro/jsPro/tests/array.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** array.html 27 Oct 2003 07:46:41 -0000 1.2 --- array.html 19 Jan 2005 16:26:42 -0000 1.3 *************** *** 2,26 **** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +-------------------------------------------------------------------------+ ! * | jsPro - Array Test Page | ! * +-------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2003 Stuart Wigley | ! * +-------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by| ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License| ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +-------------------------------------------------------------------------+ ! * | Authors: Stuart Wigley <stu...@ya...> | ! * +-------------------------------------------------------------------------+ * $Id$ --> --- 2,25 ---- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- ! * +---------------------------------------------------------------------------+ ! * | jsPro - Array Test Page | ! * +---------------------------------------------------------------------------+ ! * | Copyright (C) 2001-2005 Stuart Wigley | ! * +---------------------------------------------------------------------------+ ! * | This library is free software; you can redistribute it and/or modify it | ! * | under the terms of the GNU Lesser General Public License as published by | ! * | the Free Software Foundation; either version 2.1 of the License, or (at | ! * | your option) any later version. | ! * | | ! * | This library is distributed in the hope that it will be useful, but | ! * | WITHOUT ANY WARRANTY; without even the implied warranty of | ! * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | ! * | General Public License for more details. | ! * | | ! * | You should have received a copy of the GNU Lesser General Public License | ! * | along with this library; if not, write to the Free Software Foundation, | ! * | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ! * +---------------------------------------------------------------------------+ ! * +---------------------------------------------------------------------------+ * $Id$ --> *************** *** 67,70 **** --- 66,75 ---- </tr> <tr> + <td>Array.contains()</td> + <td><input id="contains1" name="input" type="text" size="5" /></td> + <td><input id="contains" type="button" value="Calculate >" onclick="oTest.evaluateMethod(this, 'aSample')" /></td> + <td><input id="containsResult" name="output" type="text" size="30" readonly="readonly" /></td> + </tr> + <tr> <td>Array.count()</td> <td> </td> *************** *** 90,94 **** <td><input id="fill" type="button" value="Calculate >" onclick="oTest.evaluateMethod(this, 'aSample')" /></td> <td><input id="fillResult" name="output" type="text" size="30" readonly="readonly" /></td> ! </tr> <tr> <td>Array.max()</td> --- 95,99 ---- <td><input id="fill" type="button" value="Calculate >" onclick="oTest.evaluateMethod(this, 'aSample')" /></td> <td><input id="fillResult" name="output" type="text" size="30" readonly="readonly" /></td> ! </tr> <tr> <td>Array.max()</td> *************** *** 173,176 **** --- 178,187 ---- </tr> <tr> + <td>Array.unique()</td> + <td> </td> + <td><input id="unique" type="button" value="Calculate >" onclick="oTest.evaluateMethod(this, 'aSample')" /></td> + <td><input id="uniqueResult" name="output" type="text" size="30" readonly="readonly" /></td> + </tr> + <tr> <td>Array.variance()</td> <td> |