1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Wed Aug 22 13:39:44 MDT 2007 -->
<TITLE>
jTDS API: Class SAfeTest
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SAfeTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/sourceforge/jtds/test/ResultSetTest.html"><B>PREV CLASS</B></A>
<A HREF="../../../../net/sourceforge/jtds/test/SanityTest.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAfeTest.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
net.sourceforge.jtds.test</FONT>
<BR>
Class SAfeTest</H2>
<PRE>
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--<A HREF="../../../../net/sourceforge/jtds/test/TestBase.html">net.sourceforge.jtds.test.TestBase</A>
|
+--<A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html">net.sourceforge.jtds.test.DatabaseTestCase</A>
|
+--<B>net.sourceforge.jtds.test.SAfeTest</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>junit.framework.Test</DD>
</DL>
<HR>
<DL>
<DT>public class <B>SAfeTest</B><DT>extends <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html">DatabaseTestCase</A></DL>
<P>
<DL>
<DT><B>Since: </B><DD>0.4</DD>
<DT><B>Version: </B><DD>$Id: SAfeTest.java,v 1.62 2007/07/08 21:43:02 bheineman Exp $</DD>
<DT><B>Author: </B><DD>Alin Sinpalean</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#done">done</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#failed">failed</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#started">started</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_net.sourceforge.jtds.test.DatabaseTestCase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class net.sourceforge.jtds.test.<A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html">DatabaseTestCase</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#typemap">typemap</A></CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_net.sourceforge.jtds.test.TestBase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class net.sourceforge.jtds.test.<A HREF="../../../../net/sourceforge/jtds/test/TestBase.html">TestBase</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#con">con</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#CONNECTION_PROPERTIES">CONNECTION_PROPERTIES</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#props">props</A></CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_junit.framework.TestCase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class junit.framework.TestCase</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fName</CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#SAfeTest(java.lang.String)">SAfeTest</A></B>(java.lang.String name)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#insertBigDecimal(java.sql.PreparedStatement, double, boolean)">insertBigDecimal</A></B>(java.sql.PreparedStatement stmt,
double val,
boolean scaleFlag)</CODE>
<BR>
Helper method for <code>testBigDecimal0007</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testBatchUpdates0015()">testBatchUpdates0015</A></B>()</CODE>
<BR>
Test batch updates for both plain and prepared statements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testBigDecimal0007()">testBigDecimal0007</A></B>()</CODE>
<BR>
Test <code>BigDecimal</code>s created from double values (i.e with very
large scales).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testBigDecimal1()">testBigDecimal1</A></B>()</CODE>
<BR>
Test for bug [939206] TdsException: can't sent this BigDecimal</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testBitFields0005()">testBitFields0005</A></B>()</CODE>
<BR>
Check that values returned from bit fields are correct (not just 0) (bug #841670).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testBytesToString()">testBytesToString</A></B>()</CODE>
<BR>
Test that getString() on a varbinary column returns a hex string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCallableStatement0006()">testCallableStatement0006</A></B>()</CODE>
<BR>
Test that <code>CallableStatement</code>s with return values work correctly.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCallableStatementVarchar0010()">testCallableStatementVarchar0010</A></B>()</CODE>
<BR>
Test VARCHAR output parameters returned by CallableStatements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCancel0001()">testCancel0001</A></B>()</CODE>
<BR>
Test cancelling.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCancel0002()">testCancel0002</A></B>()</CODE>
<BR>
Test cancelling.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCancel0003()">testCancel0003</A></B>()</CODE>
<BR>
Test for bug [1120442] Statement hangs in socket read after
Statement.cancel().</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCursorResultSetConcurrency0003()">testCursorResultSetConcurrency0003</A></B>()</CODE>
<BR>
Test <code>CursorResultSet</code> concurrency.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testCursorResultSetEmpty0004()">testCursorResultSetEmpty0004</A></B>()</CODE>
<BR>
Check that meta data information is fetched even for empty cursor-based result sets (bug #613199).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testDataTruncException()">testDataTruncException</A></B>()</CODE>
<BR>
Test <code>DataTruncation</code> exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testDatetimeRounding1()">testDatetimeRounding1</A></B>()</CODE>
<BR>
Test for bug [983561] getDatetimeValue truncates fractional milliseconds</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testDeleteRow0009()">testDeleteRow0009</A></B>()</CODE>
<BR>
Test <code>ResultSet.deleteRow()</code> on updateable result sets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testExecuteUpdateSelect()">testExecuteUpdateSelect</A></B>()</CODE>
<BR>
Tests that <code>executeUpdate("SELECT ...")</code> fails.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testFloat1()">testFloat1</A></B>()</CODE>
<BR>
Test for bug [963799] float values change when written to the database</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testFnEscape()">testFnEscape</A></B>()</CODE>
<BR>
Test for bug related with [1368058] Calling StoredProcedure with
functions ({fn} escape can't handle special characters, e.g.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testFnEscapeNesting()">testFnEscapeNesting</A></B>()</CODE>
<BR>
Test for bug #1116046 {fn } escape can't handle nested functions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testGetMultiScrollRs()">testGetMultiScrollRs</A></B>()</CODE>
<BR>
Test return of multiple scrollable result sets from one execute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testInsertRow0012()">testInsertRow0012</A></B>()</CODE>
<BR>
Test <code>ResultSet.insertRow()</code> on updateable result sets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testLongToVarchar0008()">testLongToVarchar0008</A></B>()</CODE>
<BR>
Test writing <code>long</code> values to VARCHAR fields.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testMaxFieldSize()">testMaxFieldSize</A></B>()</CODE>
<BR>
Test <code>Statement.setMaxFieldSize()</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testNullLengthStrings0001()">testNullLengthStrings0001</A></B>()</CODE>
<BR>
Test whether NULL values, 0-length strings and single space strings
are treated right.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testNullOutputParameters()">testNullOutputParameters</A></B>()</CODE>
<BR>
Test that <code>null</code> output parameters are handled correctly.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testOldDates0016()">testOldDates0016</A></B>()</CODE>
<BR>
Test that dates prior to 06/15/1940 0:00:00 are stored and retrieved
correctly.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testOutOfOrderClose0013()">testOutOfOrderClose0013</A></B>()</CODE>
<BR>
Test how an "out-of-order" close behaves (e.g close the
<code>Connection</code> first, then the <code>Statement</code> anf
finally the <code>ResultSet</code>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testPlainResultSetPosition0004()">testPlainResultSetPosition0004</A></B>()</CODE>
<BR>
Check that the <code>isBeforeFirst</code>, <code>isAfterLast</code>,
<code>isFirst</code> and <code>isLast</code> methods work for
forward-only, read-only result sets (bug [1039876] MS SQL
JtdsResultSet.isAfterLast() always returns false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testPreparedAndCallableCursors0014()">testPreparedAndCallableCursors0014</A></B>()</CODE>
<BR>
Test cursor-based <code>ResultSet</code>s obtained from
<code>PreparedStatement</code>s and <code>CallableStatement</code>s.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testQueryTimeout()">testQueryTimeout</A></B>()</CODE>
<BR>
Test for bug [1222199] Delayed exception thrown in statement close.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testSocketConcurrency1()">testSocketConcurrency1</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testSocketConcurrency2()">testSocketConcurrency2</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testSocketConcurrency3()">testSocketConcurrency3</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testSocketConcurrency4()">testSocketConcurrency4</A></B>()</CODE>
<BR>
Test running SELECT queries on one <code>Statement</code> at the same
time as <code>cancel()</code> is called on a concurrent
<code>Statement</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testTableParsing()">testTableParsing</A></B>()</CODE>
<BR>
Test that the SQL parser doesn't try to parse the table name unless
necessary (or that it is able to parse function calls if it does).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testThreadInterrupt()">testThreadInterrupt</A></B>()</CODE>
<BR>
Test for bug [1596743] executeQuery absorbs thread interrupt status</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testUnterminatedCommentParsing()">testUnterminatedCommentParsing</A></B>()</CODE>
<BR>
Test for bug [1187927] Driver Hangs on Statement.execute().</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/jtds/test/SAfeTest.html#testUpdateRow0011()">testUpdateRow0011</A></B>()</CODE>
<BR>
Test <code>ResultSet.updateRow()</code> on updateable result sets.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.sourceforge.jtds.test.DatabaseTestCase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class net.sourceforge.jtds.test.<A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html">DatabaseTestCase</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#compareBytes(byte[], byte[])">compareBytes</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#dropFunction(java.lang.String)">dropFunction</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#dropProcedure(java.sql.Statement, java.lang.String)">dropProcedure</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#dropProcedure(java.lang.String)">dropProcedure</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#dropTable(java.lang.String)">dropTable</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#getLongString(char)">getLongString</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#getLongString(int)">getLongString</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#getType(java.lang.Object)">getType</A>, <A HREF="../../../../net/sourceforge/jtds/test/DatabaseTestCase.html#getTypemap()">getTypemap</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.sourceforge.jtds.test.TestBase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class net.sourceforge.jtds.test.<A HREF="../../../../net/sourceforge/jtds/test/TestBase.html">TestBase</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#compareInputStreams(java.io.InputStream, java.io.InputStream)">compareInputStreams</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#compareReaders(java.io.Reader, java.io.Reader)">compareReaders</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#connect()">connect</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#disconnect()">disconnect</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#dump(java.sql.ResultSet)">dump</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#dumpRow(java.sql.ResultSet)">dumpRow</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#getConnection()">getConnection</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#getConnection(java.util.Properties)">getConnection</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#loadProperties(java.lang.String)">loadProperties</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#makeObjects(java.sql.Statement, int)">makeObjects</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#makeTestTables(java.sql.Statement)">makeTestTables</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#setUp()">setUp</A>, <A HREF="../../../../net/sourceforge/jtds/test/TestBase.html#tearDown()">tearDown</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_junit.framework.TestCase"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class junit.framework.TestCase</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_junit.framework.Assert"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class junit.framework.Assert</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="started"><!-- --></A><H3>
started</H3>
<PRE>
volatile int <B>started</B></PRE>
<DL>
</DL>
<HR>
<A NAME="done"><!-- --></A><H3>
done</H3>
<PRE>
volatile int <B>done</B></PRE>
<DL>
</DL>
<HR>
<A NAME="failed"><!-- --></A><H3>
failed</H3>
<PRE>
volatile boolean <B>failed</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SAfeTest(java.lang.String)"><!-- --></A><H3>
SAfeTest</H3>
<PRE>
public <B>SAfeTest</B>(java.lang.String name)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[] args)</PRE>
<DL>
</DL>
<HR>
<A NAME="testNullLengthStrings0001()"><!-- --></A><H3>
testNullLengthStrings0001</H3>
<PRE>
public void <B>testNullLengthStrings0001</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test whether NULL values, 0-length strings and single space strings
are treated right.</DL>
<HR>
<A NAME="testCancel0001()"><!-- --></A><H3>
testCancel0001</H3>
<PRE>
public void <B>testCancel0001</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test cancelling. Create 2 connections, lock some records on one of them
and try to read them using the other one. Cancel the statement from the
second connection, then try executing a simple query on it to make sure
it's in a correct state.</DL>
<HR>
<A NAME="testCancel0002()"><!-- --></A><H3>
testCancel0002</H3>
<PRE>
public void <B>testCancel0002</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test cancelling. Create 2 connections, lock some records on one of them
and try to read them using the other one with a timeout set. When the
second connection times out try executing a simple query on it to make
sure it's in a correct state.</DL>
<HR>
<A NAME="testCancel0003()"><!-- --></A><H3>
testCancel0003</H3>
<PRE>
public void <B>testCancel0003</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [1120442] Statement hangs in socket read after
Statement.cancel().
<p/>
In 1.0.1 and earlier versions network packets consisting of a single
TDS_DONE packet with the CANCEL flag set were ignored and a new read()
was attempted, essentially causing a deadlock.
<p/>
Because it relies on a particular succession of events this test will
not always work as expected, i.e. the cancel might be executed too early
or too late, but it won't fail in this situation.</DL>
<HR>
<A NAME="testQueryTimeout()"><!-- --></A><H3>
testQueryTimeout</H3>
<PRE>
public void <B>testQueryTimeout</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [1222199] Delayed exception thrown in statement close.</DL>
<HR>
<A NAME="testCursorResultSetConcurrency0003()"><!-- --></A><H3>
testCursorResultSetConcurrency0003</H3>
<PRE>
public void <B>testCursorResultSetConcurrency0003</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>CursorResultSet</code> concurrency. Create a number of threads that execute concurrent queries using
scrollable result sets. All requests should be run on the same connection (<code>Tds</code> instance).</DL>
<HR>
<A NAME="testCursorResultSetEmpty0004()"><!-- --></A><H3>
testCursorResultSetEmpty0004</H3>
<PRE>
public void <B>testCursorResultSetEmpty0004</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Check that meta data information is fetched even for empty cursor-based result sets (bug #613199).<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="testPlainResultSetPosition0004()"><!-- --></A><H3>
testPlainResultSetPosition0004</H3>
<PRE>
public void <B>testPlainResultSetPosition0004</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Check that the <code>isBeforeFirst</code>, <code>isAfterLast</code>,
<code>isFirst</code> and <code>isLast</code> methods work for
forward-only, read-only result sets (bug [1039876] MS SQL
JtdsResultSet.isAfterLast() always returns false).<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if an error condition occurs</DL>
</DD>
</DL>
<HR>
<A NAME="testBitFields0005()"><!-- --></A><H3>
testBitFields0005</H3>
<PRE>
public void <B>testBitFields0005</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Check that values returned from bit fields are correct (not just 0) (bug #841670).<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="testCallableStatement0006()"><!-- --></A><H3>
testCallableStatement0006</H3>
<PRE>
public void <B>testCallableStatement0006</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test that <code>CallableStatement</code>s with return values work correctly.<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="insertBigDecimal(java.sql.PreparedStatement, double, boolean)"><!-- --></A><H3>
insertBigDecimal</H3>
<PRE>
private static void <B>insertBigDecimal</B>(java.sql.PreparedStatement stmt,
double val,
boolean scaleFlag)
throws java.lang.Exception</PRE>
<DL>
<DD>Helper method for <code>testBigDecimal0007</code>. Inserts a BigDecimal
value obtained from a double value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>stmt</CODE> - <code>PreparedStatement</code> instance<DD><CODE>val</CODE> - the <code>double</code> value to insert<DD><CODE>scaleFlag</CODE> - if <code>true</code> scale the value to 4, otherwise
leave it as it is</DL>
</DD>
</DL>
<HR>
<A NAME="testBigDecimal0007()"><!-- --></A><H3>
testBigDecimal0007</H3>
<PRE>
public void <B>testBigDecimal0007</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>BigDecimal</code>s created from double values (i.e with very
large scales).</DL>
<HR>
<A NAME="testLongToVarchar0008()"><!-- --></A><H3>
testLongToVarchar0008</H3>
<PRE>
public void <B>testLongToVarchar0008</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test writing <code>long</code> values to VARCHAR fields. There was a
regression introduced in release 0.6 that caused <code>long</code>
fields to be sent with non-zero scale and appear with decimals when
written into VARCHAR fields.</DL>
<HR>
<A NAME="testDeleteRow0009()"><!-- --></A><H3>
testDeleteRow0009</H3>
<PRE>
public void <B>testDeleteRow0009</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>ResultSet.deleteRow()</code> on updateable result sets.</DL>
<HR>
<A NAME="testCallableStatementVarchar0010()"><!-- --></A><H3>
testCallableStatementVarchar0010</H3>
<PRE>
public void <B>testCallableStatementVarchar0010</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test VARCHAR output parameters returned by CallableStatements.
<p>
An issue existed, caused by the fact that the parameter was sent to SQL
Server as a short VARCHAR (not XORed with 0x80) limiting its length to
255 characters. See bug [815348] for more details.</DL>
<HR>
<A NAME="testUpdateRow0011()"><!-- --></A><H3>
testUpdateRow0011</H3>
<PRE>
public void <B>testUpdateRow0011</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>ResultSet.updateRow()</code> on updateable result sets.</DL>
<HR>
<A NAME="testInsertRow0012()"><!-- --></A><H3>
testInsertRow0012</H3>
<PRE>
public void <B>testInsertRow0012</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>ResultSet.insertRow()</code> on updateable result sets.</DL>
<HR>
<A NAME="testOutOfOrderClose0013()"><!-- --></A><H3>
testOutOfOrderClose0013</H3>
<PRE>
public void <B>testOutOfOrderClose0013</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test how an "out-of-order" close behaves (e.g close the
<code>Connection</code> first, then the <code>Statement</code> anf
finally the <code>ResultSet</code>).</DL>
<HR>
<A NAME="testPreparedAndCallableCursors0014()"><!-- --></A><H3>
testPreparedAndCallableCursors0014</H3>
<PRE>
public void <B>testPreparedAndCallableCursors0014</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test cursor-based <code>ResultSet</code>s obtained from
<code>PreparedStatement</code>s and <code>CallableStatement</code>s.</DL>
<HR>
<A NAME="testBatchUpdates0015()"><!-- --></A><H3>
testBatchUpdates0015</H3>
<PRE>
public void <B>testBatchUpdates0015</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test batch updates for both plain and prepared statements.</DL>
<HR>
<A NAME="testOldDates0016()"><!-- --></A><H3>
testOldDates0016</H3>
<PRE>
public void <B>testOldDates0016</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test that dates prior to 06/15/1940 0:00:00 are stored and retrieved
correctly.</DL>
<HR>
<A NAME="testBigDecimal1()"><!-- --></A><H3>
testBigDecimal1</H3>
<PRE>
public void <B>testBigDecimal1</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [939206] TdsException: can't sent this BigDecimal</DL>
<HR>
<A NAME="testFloat1()"><!-- --></A><H3>
testFloat1</H3>
<PRE>
public void <B>testFloat1</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [963799] float values change when written to the database</DL>
<HR>
<A NAME="testDatetimeRounding1()"><!-- --></A><H3>
testDatetimeRounding1</H3>
<PRE>
public void <B>testDatetimeRounding1</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [983561] getDatetimeValue truncates fractional milliseconds</DL>
<HR>
<A NAME="testSocketConcurrency1()"><!-- --></A><H3>
testSocketConcurrency1</H3>
<PRE>
public void <B>testSocketConcurrency1</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="testSocketConcurrency2()"><!-- --></A><H3>
testSocketConcurrency2</H3>
<PRE>
public void <B>testSocketConcurrency2</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="testSocketConcurrency3()"><!-- --></A><H3>
testSocketConcurrency3</H3>
<PRE>
public void <B>testSocketConcurrency3</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="testSocketConcurrency4()"><!-- --></A><H3>
testSocketConcurrency4</H3>
<PRE>
public void <B>testSocketConcurrency4</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test running SELECT queries on one <code>Statement</code> at the same
time as <code>cancel()</code> is called on a concurrent
<code>Statement</code>.</DL>
<HR>
<A NAME="testNullOutputParameters()"><!-- --></A><H3>
testNullOutputParameters</H3>
<PRE>
public void <B>testNullOutputParameters</B>()
throws java.sql.SQLException</PRE>
<DL>
<DD>Test that <code>null</code> output parameters are handled correctly.
<p/>
It seems that if a non-nullable type is sent as input value and the
output value is NULL, SQL Server (not Sybase) gets confused and returns
the same type but a single 0 byte as value instead of the equivalent
nullable type (e.g. instead of returning an <code>INTN</code> with
length 0, which means it's null, it returns an <code>INT4</code>
followed by a single 0 byte). The output parameter packet length is also
incorrect, which indicates that SQL Server is confused.
<p/>
Currently jTDS always sends RPC parameters as nullable types, but this
test is necessary to ensure that it will always remain so.</DL>
<HR>
<A NAME="testTableParsing()"><!-- --></A><H3>
testTableParsing</H3>
<PRE>
public void <B>testTableParsing</B>()
throws java.sql.SQLException</PRE>
<DL>
<DD>Test that the SQL parser doesn't try to parse the table name unless
necessary (or that it is able to parse function calls if it does).</DL>
<HR>
<A NAME="testFnEscape()"><!-- --></A><H3>
testFnEscape</H3>
<PRE>
public void <B>testFnEscape</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug related with [1368058] Calling StoredProcedure with
functions ({fn} escape can't handle special characters, e.g. underscore).</DL>
<HR>
<A NAME="testFnEscapeNesting()"><!-- --></A><H3>
testFnEscapeNesting</H3>
<PRE>
public void <B>testFnEscapeNesting</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug #1116046 {fn } escape can't handle nested functions.</DL>
<HR>
<A NAME="testDataTruncException()"><!-- --></A><H3>
testDataTruncException</H3>
<PRE>
public void <B>testDataTruncException</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>DataTruncation</code> exception.</DL>
<HR>
<A NAME="testMaxFieldSize()"><!-- --></A><H3>
testMaxFieldSize</H3>
<PRE>
public void <B>testMaxFieldSize</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test <code>Statement.setMaxFieldSize()</code>.</DL>
<HR>
<A NAME="testGetMultiScrollRs()"><!-- --></A><H3>
testGetMultiScrollRs</H3>
<PRE>
public void <B>testGetMultiScrollRs</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test return of multiple scrollable result sets from one execute.</DL>
<HR>
<A NAME="testUnterminatedCommentParsing()"><!-- --></A><H3>
testUnterminatedCommentParsing</H3>
<PRE>
public void <B>testUnterminatedCommentParsing</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [1187927] Driver Hangs on Statement.execute().
<p/>
Versions 1.0.3 and prior entered an infinite loop when parsing an
unterminated multi-line comment.</DL>
<HR>
<A NAME="testBytesToString()"><!-- --></A><H3>
testBytesToString</H3>
<PRE>
public void <B>testBytesToString</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test that getString() on a varbinary column returns a hex string.</DL>
<HR>
<A NAME="testExecuteUpdateSelect()"><!-- --></A><H3>
testExecuteUpdateSelect</H3>
<PRE>
public void <B>testExecuteUpdateSelect</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Tests that <code>executeUpdate("SELECT ...")</code> fails.</DL>
<HR>
<A NAME="testThreadInterrupt()"><!-- --></A><H3>
testThreadInterrupt</H3>
<PRE>
public void <B>testThreadInterrupt</B>()
throws java.lang.Exception</PRE>
<DL>
<DD>Test for bug [1596743] executeQuery absorbs thread interrupt status</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SAfeTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/sourceforge/jtds/test/ResultSetTest.html"><B>PREV CLASS</B></A>
<A HREF="../../../../net/sourceforge/jtds/test/SanityTest.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="SAfeTest.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Generated on August 22 2007
</BODY>
</HTML>
|