001 package com.mockrunner.jdbc; 002 003 import java.sql.CallableStatement; 004 import java.sql.PreparedStatement; 005 import java.util.List; 006 import java.util.Map; 007 008 import junit.framework.TestCase; 009 010 import com.mockrunner.mock.jdbc.JDBCMockObjectFactory; 011 import com.mockrunner.mock.jdbc.MockCallableStatement; 012 import com.mockrunner.mock.jdbc.MockPreparedStatement; 013 import com.mockrunner.mock.jdbc.MockResultSet; 014 import com.mockrunner.mock.jdbc.MockSavepoint; 015 import com.mockrunner.mock.jdbc.MockStatement; 016 017 /** 018 * Delegator for {@link com.mockrunner.jdbc.JDBCTestModule}. You can 019 * subclass this adapter or use {@link com.mockrunner.jdbc.JDBCTestModule} 020 * directly (so your test case can use another base class). 021 * This basic adapter can be used if you don't need any other modules. It 022 * does not extend {@link com.mockrunner.base.BaseTestCase}. If you want 023 * to use several modules in conjunction, consider subclassing 024 * {@link com.mockrunner.jdbc.JDBCTestCaseAdapter}. 025 * <b>This class is generated from the {@link com.mockrunner.jdbc.JDBCTestModule} 026 * and should not be edited directly</b>. 027 */ 028 public abstract class BasicJDBCTestCaseAdapter extends TestCase 029 { 030 private JDBCTestModule jdbcTestModule; 031 private JDBCMockObjectFactory jdbcMockObjectFactory; 032 033 public BasicJDBCTestCaseAdapter() 034 { 035 036 } 037 038 public BasicJDBCTestCaseAdapter(String name) 039 { 040 super(name); 041 } 042 043 protected void tearDown() throws Exception 044 { 045 super.tearDown(); 046 if(null != jdbcMockObjectFactory) 047 { 048 jdbcMockObjectFactory.restoreDrivers(); 049 } 050 jdbcTestModule = null; 051 jdbcMockObjectFactory = null; 052 } 053 054 /** 055 * Creates the {@link com.mockrunner.jdbc.JDBCTestModule}. If you 056 * overwrite this method, you must call <code>super.setUp()</code>. 057 */ 058 protected void setUp() throws Exception 059 { 060 super.setUp(); 061 jdbcTestModule = createJDBCTestModule(getJDBCMockObjectFactory()); 062 } 063 064 /** 065 * Creates a {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory}. 066 * @return the created {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory} 067 */ 068 protected JDBCMockObjectFactory createJDBCMockObjectFactory() 069 { 070 return new JDBCMockObjectFactory(); 071 } 072 073 /** 074 * Gets the {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory}. 075 * @return the {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory} 076 */ 077 protected JDBCMockObjectFactory getJDBCMockObjectFactory() 078 { 079 synchronized(JDBCMockObjectFactory.class) 080 { 081 if(jdbcMockObjectFactory == null) 082 { 083 jdbcMockObjectFactory = createJDBCMockObjectFactory(); 084 } 085 } 086 return jdbcMockObjectFactory; 087 } 088 089 /** 090 * Sets the {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory}. 091 * @param jdbcMockObjectFactory the {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory} 092 */ 093 protected void setJDBCMockObjectFactory(JDBCMockObjectFactory jdbcMockObjectFactory) 094 { 095 this.jdbcMockObjectFactory = jdbcMockObjectFactory; 096 } 097 098 /** 099 * Creates a {@link com.mockrunner.jdbc.JDBCTestModule} based on the current 100 * {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory}. 101 * Same as <code>createJDBCTestModule(getJDBCMockObjectFactory())</code>. 102 * @return the created {@link com.mockrunner.jdbc.JDBCTestModule} 103 */ 104 protected JDBCTestModule createJDBCTestModule() 105 { 106 return new JDBCTestModule(getJDBCMockObjectFactory()); 107 } 108 109 /** 110 * Creates a {@link com.mockrunner.jdbc.JDBCTestModule} with the specified 111 * {@link com.mockrunner.mock.jdbc.JDBCMockObjectFactory}. 112 * @return the created {@link com.mockrunner.jdbc.JDBCTestModule} 113 */ 114 protected JDBCTestModule createJDBCTestModule(JDBCMockObjectFactory mockFactory) 115 { 116 return new JDBCTestModule(mockFactory); 117 } 118 119 /** 120 * Gets the {@link com.mockrunner.jdbc.JDBCTestModule}. 121 * @return the {@link com.mockrunner.jdbc.JDBCTestModule} 122 */ 123 protected JDBCTestModule getJDBCTestModule() 124 { 125 return jdbcTestModule; 126 } 127 128 /** 129 * Sets the {@link com.mockrunner.jdbc.JDBCTestModule}. 130 * @param jdbcTestModule the {@link com.mockrunner.jdbc.JDBCTestModule} 131 */ 132 protected void setJDBCTestModule(JDBCTestModule jdbcTestModule) 133 { 134 this.jdbcTestModule = jdbcTestModule; 135 } 136 137 /** 138 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#setCaseSensitive(boolean)} 139 */ 140 protected void setCaseSensitive(boolean caseSensitive) 141 { 142 jdbcTestModule.setCaseSensitive(caseSensitive); 143 } 144 145 /** 146 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCommitted} 147 */ 148 protected void verifyCommitted() 149 { 150 jdbcTestModule.verifyCommitted(); 151 } 152 153 /** 154 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNotCommitted} 155 */ 156 protected void verifyNotCommitted() 157 { 158 jdbcTestModule.verifyNotCommitted(); 159 } 160 161 /** 162 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyRolledBack} 163 */ 164 protected void verifyRolledBack() 165 { 166 jdbcTestModule.verifyRolledBack(); 167 } 168 169 /** 170 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNotRolledBack} 171 */ 172 protected void verifyNotRolledBack() 173 { 174 jdbcTestModule.verifyNotRolledBack(); 175 } 176 177 /** 178 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#setExactMatch(boolean)} 179 */ 180 protected void setExactMatch(boolean exactMatch) 181 { 182 jdbcTestModule.setExactMatch(exactMatch); 183 } 184 185 /** 186 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#setUseRegularExpressions(boolean)} 187 */ 188 protected void setUseRegularExpressions(boolean useRegularExpressions) 189 { 190 jdbcTestModule.setUseRegularExpressions(useRegularExpressions); 191 } 192 193 /** 194 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getStatementResultSetHandler} 195 */ 196 protected StatementResultSetHandler getStatementResultSetHandler() 197 { 198 return jdbcTestModule.getStatementResultSetHandler(); 199 } 200 201 /** 202 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatementResultSetHandler} 203 */ 204 protected PreparedStatementResultSetHandler getPreparedStatementResultSetHandler() 205 { 206 return jdbcTestModule.getPreparedStatementResultSetHandler(); 207 } 208 209 /** 210 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementResultSetHandler} 211 */ 212 protected CallableStatementResultSetHandler getCallableStatementResultSetHandler() 213 { 214 return jdbcTestModule.getCallableStatementResultSetHandler(); 215 } 216 217 /** 218 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getStatement(int)} 219 */ 220 protected MockStatement getStatement(int index) 221 { 222 return jdbcTestModule.getStatement(index); 223 } 224 225 /** 226 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getStatements} 227 */ 228 protected List getStatements() 229 { 230 return jdbcTestModule.getStatements(); 231 } 232 233 /** 234 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getExecutedSQLStatements} 235 */ 236 protected List getExecutedSQLStatements() 237 { 238 return jdbcTestModule.getExecutedSQLStatements(); 239 } 240 241 /** 242 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getExecutedSQLStatementParameter} 243 * @deprecated 244 */ 245 protected Map getExecutedSQLStatementParameter() 246 { 247 return jdbcTestModule.getExecutedSQLStatementParameter(); 248 } 249 250 /** 251 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getExecutedSQLStatementParameterMap} 252 */ 253 protected Map getExecutedSQLStatementParameterMap() 254 { 255 return jdbcTestModule.getExecutedSQLStatementParameterMap(); 256 } 257 258 /** 259 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getExecutedSQLStatementParameterSets(String)} 260 */ 261 protected ParameterSets getExecutedSQLStatementParameterSets(String sql) 262 { 263 return jdbcTestModule.getExecutedSQLStatementParameterSets(sql); 264 } 265 266 /** 267 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getReturnedResultSet(String)} 268 */ 269 protected MockResultSet getReturnedResultSet(String id) 270 { 271 return jdbcTestModule.getReturnedResultSet(id); 272 } 273 274 /** 275 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getReturnedResultSets(String)} 276 */ 277 protected List getReturnedResultSets(String id) 278 { 279 return jdbcTestModule.getReturnedResultSets(id); 280 } 281 282 /** 283 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getReturnedResultSets} 284 */ 285 protected List getReturnedResultSets() 286 { 287 return jdbcTestModule.getReturnedResultSets(); 288 } 289 290 /** 291 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatement(String)} 292 */ 293 protected MockPreparedStatement getPreparedStatement(String sql) 294 { 295 return jdbcTestModule.getPreparedStatement(sql); 296 } 297 298 /** 299 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatement(int)} 300 */ 301 protected MockPreparedStatement getPreparedStatement(int index) 302 { 303 return jdbcTestModule.getPreparedStatement(index); 304 } 305 306 /** 307 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatements(String)} 308 */ 309 protected List getPreparedStatements(String sql) 310 { 311 return jdbcTestModule.getPreparedStatements(sql); 312 } 313 314 /** 315 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatements} 316 */ 317 protected List getPreparedStatements() 318 { 319 return jdbcTestModule.getPreparedStatements(); 320 } 321 322 /** 323 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatement(String)} 324 */ 325 protected MockCallableStatement getCallableStatement(String sql) 326 { 327 return jdbcTestModule.getCallableStatement(sql); 328 } 329 330 /** 331 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatement(int)} 332 */ 333 protected MockCallableStatement getCallableStatement(int index) 334 { 335 return jdbcTestModule.getCallableStatement(index); 336 } 337 338 /** 339 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatements(String)} 340 */ 341 protected List getCallableStatements(String sql) 342 { 343 return jdbcTestModule.getCallableStatements(sql); 344 } 345 346 /** 347 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatements} 348 */ 349 protected List getCallableStatements() 350 { 351 return jdbcTestModule.getCallableStatements(); 352 } 353 354 /** 355 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatementParameter(String, int)} 356 */ 357 protected Object getPreparedStatementParameter(String sql, int indexOfParameter) 358 { 359 return jdbcTestModule.getPreparedStatementParameter(sql, indexOfParameter); 360 } 361 362 /** 363 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatementParameter(int, int)} 364 */ 365 protected Object getPreparedStatementParameter(int indexOfStatement, int indexOfParameter) 366 { 367 return jdbcTestModule.getPreparedStatementParameter(indexOfStatement, indexOfParameter); 368 } 369 370 /** 371 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getPreparedStatementParameter(PreparedStatement, int)} 372 */ 373 protected Object getPreparedStatementParameter(PreparedStatement statement, int indexOfParameter) 374 { 375 return jdbcTestModule.getPreparedStatementParameter(statement, indexOfParameter); 376 } 377 378 /** 379 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementParameter(String, String)} 380 */ 381 protected Object getCallableStatementParameter(String sql, String nameOfParameter) 382 { 383 return jdbcTestModule.getCallableStatementParameter(sql, nameOfParameter); 384 } 385 386 /** 387 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementParameter(int, String)} 388 */ 389 protected Object getCallableStatementParameter(int indexOfStatement, String nameOfParameter) 390 { 391 return jdbcTestModule.getCallableStatementParameter(indexOfStatement, nameOfParameter); 392 } 393 394 /** 395 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementParameter(CallableStatement, String)} 396 */ 397 protected Object getCallableStatementParameter(CallableStatement statement, String nameOfParameter) 398 { 399 return jdbcTestModule.getCallableStatementParameter(statement, nameOfParameter); 400 } 401 402 /** 403 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementParameter(String, int)} 404 */ 405 protected Object getCallableStatementParameter(String sql, int indexOfParameter) 406 { 407 return jdbcTestModule.getCallableStatementParameter(sql, indexOfParameter); 408 } 409 410 /** 411 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementParameter(CallableStatement, int)} 412 */ 413 protected Object getCallableStatementParameter(CallableStatement statement, int indexOfParameter) 414 { 415 return jdbcTestModule.getCallableStatementParameter(statement, indexOfParameter); 416 } 417 418 /** 419 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getCallableStatementParameter(int, int)} 420 */ 421 protected Object getCallableStatementParameter(int indexOfStatement, int indexOfParameter) 422 { 423 return jdbcTestModule.getCallableStatementParameter(indexOfStatement, indexOfParameter); 424 } 425 426 /** 427 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getSavepoints} 428 */ 429 protected List getSavepoints() 430 { 431 return jdbcTestModule.getSavepoints(); 432 } 433 434 /** 435 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getSavepoint(int)} 436 */ 437 protected MockSavepoint getSavepoint(int index) 438 { 439 return jdbcTestModule.getSavepoint(index); 440 } 441 442 /** 443 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#getSavepoint(String)} 444 */ 445 protected MockSavepoint getSavepoint(String name) 446 { 447 return jdbcTestModule.getSavepoint(name); 448 } 449 450 /** 451 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySQLStatementExecuted(String)} 452 */ 453 protected void verifySQLStatementExecuted(String sql) 454 { 455 jdbcTestModule.verifySQLStatementExecuted(sql); 456 } 457 458 /** 459 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySQLStatementNotExecuted(String)} 460 */ 461 protected void verifySQLStatementNotExecuted(String sql) 462 { 463 jdbcTestModule.verifySQLStatementNotExecuted(sql); 464 } 465 466 /** 467 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySQLStatementParameterNumber(String, int, int)} 468 */ 469 protected void verifySQLStatementParameterNumber(String sql, int indexOfParameterSet, int number) 470 { 471 jdbcTestModule.verifySQLStatementParameterNumber(sql, indexOfParameterSet, number); 472 } 473 474 /** 475 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySQLStatementParameter(String, int, String, Object)} 476 */ 477 protected void verifySQLStatementParameter(String sql, int indexOfParameterSet, String nameOfParameter, Object expectedParameter) 478 { 479 jdbcTestModule.verifySQLStatementParameter(sql, indexOfParameterSet, nameOfParameter, expectedParameter); 480 } 481 482 /** 483 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySQLStatementParameter(String, int, int, Object)} 484 */ 485 protected void verifySQLStatementParameter(String sql, int indexOfParameterSet, int indexOfParameter, Object expectedParameter) 486 { 487 jdbcTestModule.verifySQLStatementParameter(sql, indexOfParameterSet, indexOfParameter, expectedParameter); 488 } 489 490 /** 491 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySQLStatementParameter(String, int, Map)} 492 */ 493 protected void verifySQLStatementParameter(String sql, int indexOfParameterSet, Map parameterMap) 494 { 495 jdbcTestModule.verifySQLStatementParameter(sql, indexOfParameterSet, parameterMap); 496 } 497 498 /** 499 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyConnectionClosed} 500 */ 501 protected void verifyConnectionClosed() 502 { 503 jdbcTestModule.verifyConnectionClosed(); 504 } 505 506 /** 507 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyAllStatementsClosed} 508 */ 509 protected void verifyAllStatementsClosed() 510 { 511 jdbcTestModule.verifyAllStatementsClosed(); 512 } 513 514 /** 515 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetClosed(String)} 516 */ 517 protected void verifyResultSetClosed(String id) 518 { 519 jdbcTestModule.verifyResultSetClosed(id); 520 } 521 522 /** 523 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowInserted(MockResultSet, int)} 524 */ 525 protected void verifyResultSetRowInserted(MockResultSet resultSet, int number) 526 { 527 jdbcTestModule.verifyResultSetRowInserted(resultSet, number); 528 } 529 530 /** 531 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowInserted(String, int)} 532 */ 533 protected void verifyResultSetRowInserted(String id, int number) 534 { 535 jdbcTestModule.verifyResultSetRowInserted(id, number); 536 } 537 538 /** 539 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowNotInserted(MockResultSet, int)} 540 */ 541 protected void verifyResultSetRowNotInserted(MockResultSet resultSet, int number) 542 { 543 jdbcTestModule.verifyResultSetRowNotInserted(resultSet, number); 544 } 545 546 /** 547 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowNotInserted(String, int)} 548 */ 549 protected void verifyResultSetRowNotInserted(String id, int number) 550 { 551 jdbcTestModule.verifyResultSetRowNotInserted(id, number); 552 } 553 554 /** 555 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowUpdated(MockResultSet, int)} 556 */ 557 protected void verifyResultSetRowUpdated(MockResultSet resultSet, int number) 558 { 559 jdbcTestModule.verifyResultSetRowUpdated(resultSet, number); 560 } 561 562 /** 563 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowUpdated(String, int)} 564 */ 565 protected void verifyResultSetRowUpdated(String id, int number) 566 { 567 jdbcTestModule.verifyResultSetRowUpdated(id, number); 568 } 569 570 /** 571 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowNotUpdated(String, int)} 572 */ 573 protected void verifyResultSetRowNotUpdated(String id, int number) 574 { 575 jdbcTestModule.verifyResultSetRowNotUpdated(id, number); 576 } 577 578 /** 579 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowNotUpdated(MockResultSet, int)} 580 */ 581 protected void verifyResultSetRowNotUpdated(MockResultSet resultSet, int number) 582 { 583 jdbcTestModule.verifyResultSetRowNotUpdated(resultSet, number); 584 } 585 586 /** 587 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowDeleted(MockResultSet, int)} 588 */ 589 protected void verifyResultSetRowDeleted(MockResultSet resultSet, int number) 590 { 591 jdbcTestModule.verifyResultSetRowDeleted(resultSet, number); 592 } 593 594 /** 595 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowDeleted(String, int)} 596 */ 597 protected void verifyResultSetRowDeleted(String id, int number) 598 { 599 jdbcTestModule.verifyResultSetRowDeleted(id, number); 600 } 601 602 /** 603 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowNotDeleted(String, int)} 604 */ 605 protected void verifyResultSetRowNotDeleted(String id, int number) 606 { 607 jdbcTestModule.verifyResultSetRowNotDeleted(id, number); 608 } 609 610 /** 611 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRowNotDeleted(MockResultSet, int)} 612 */ 613 protected void verifyResultSetRowNotDeleted(MockResultSet resultSet, int number) 614 { 615 jdbcTestModule.verifyResultSetRowNotDeleted(resultSet, number); 616 } 617 618 /** 619 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyAllResultSetsClosed} 620 */ 621 protected void verifyAllResultSetsClosed() 622 { 623 jdbcTestModule.verifyAllResultSetsClosed(); 624 } 625 626 /** 627 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberCommits(int)} 628 */ 629 protected void verifyNumberCommits(int number) 630 { 631 jdbcTestModule.verifyNumberCommits(number); 632 } 633 634 /** 635 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberRollbacks(int)} 636 */ 637 protected void verifyNumberRollbacks(int number) 638 { 639 jdbcTestModule.verifyNumberRollbacks(number); 640 } 641 642 /** 643 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberStatements(int)} 644 */ 645 protected void verifyNumberStatements(int number) 646 { 647 jdbcTestModule.verifyNumberStatements(number); 648 } 649 650 /** 651 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberPreparedStatements(int, String)} 652 */ 653 protected void verifyNumberPreparedStatements(int number, String sql) 654 { 655 jdbcTestModule.verifyNumberPreparedStatements(number, sql); 656 } 657 658 /** 659 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberPreparedStatements(int)} 660 */ 661 protected void verifyNumberPreparedStatements(int number) 662 { 663 jdbcTestModule.verifyNumberPreparedStatements(number); 664 } 665 666 /** 667 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberCallableStatements(int, String)} 668 */ 669 protected void verifyNumberCallableStatements(int number, String sql) 670 { 671 jdbcTestModule.verifyNumberCallableStatements(number, sql); 672 } 673 674 /** 675 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyNumberCallableStatements(int)} 676 */ 677 protected void verifyNumberCallableStatements(int number) 678 { 679 jdbcTestModule.verifyNumberCallableStatements(number); 680 } 681 682 /** 683 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyStatementClosed(int)} 684 */ 685 protected void verifyStatementClosed(int index) 686 { 687 jdbcTestModule.verifyStatementClosed(index); 688 } 689 690 /** 691 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementClosed(String)} 692 */ 693 protected void verifyPreparedStatementClosed(String sql) 694 { 695 jdbcTestModule.verifyPreparedStatementClosed(sql); 696 } 697 698 /** 699 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementClosed(int)} 700 */ 701 protected void verifyPreparedStatementClosed(int index) 702 { 703 jdbcTestModule.verifyPreparedStatementClosed(index); 704 } 705 706 /** 707 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementClosed(int)} 708 */ 709 protected void verifyCallableStatementClosed(int index) 710 { 711 jdbcTestModule.verifyCallableStatementClosed(index); 712 } 713 714 /** 715 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementClosed(String)} 716 */ 717 protected void verifyCallableStatementClosed(String sql) 718 { 719 jdbcTestModule.verifyCallableStatementClosed(sql); 720 } 721 722 /** 723 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRow(MockResultSet, int, List)} 724 */ 725 protected void verifyResultSetRow(MockResultSet resultSet, int number, List rowData) 726 { 727 jdbcTestModule.verifyResultSetRow(resultSet, number, rowData); 728 } 729 730 /** 731 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRow(MockResultSet, int, Object[])} 732 */ 733 protected void verifyResultSetRow(MockResultSet resultSet, int number, Object[] rowData) 734 { 735 jdbcTestModule.verifyResultSetRow(resultSet, number, rowData); 736 } 737 738 /** 739 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRow(String, int, List)} 740 */ 741 protected void verifyResultSetRow(String id, int number, List rowData) 742 { 743 jdbcTestModule.verifyResultSetRow(id, number, rowData); 744 } 745 746 /** 747 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetRow(String, int, Object[])} 748 */ 749 protected void verifyResultSetRow(String id, int number, Object[] rowData) 750 { 751 jdbcTestModule.verifyResultSetRow(id, number, rowData); 752 } 753 754 /** 755 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(String, String, List)} 756 */ 757 protected void verifyResultSetColumn(String id, String name, List columnData) 758 { 759 jdbcTestModule.verifyResultSetColumn(id, name, columnData); 760 } 761 762 /** 763 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(MockResultSet, int, List)} 764 */ 765 protected void verifyResultSetColumn(MockResultSet resultSet, int number, List columnData) 766 { 767 jdbcTestModule.verifyResultSetColumn(resultSet, number, columnData); 768 } 769 770 /** 771 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(MockResultSet, int, Object[])} 772 */ 773 protected void verifyResultSetColumn(MockResultSet resultSet, int number, Object[] columnData) 774 { 775 jdbcTestModule.verifyResultSetColumn(resultSet, number, columnData); 776 } 777 778 /** 779 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(String, int, List)} 780 */ 781 protected void verifyResultSetColumn(String id, int number, List columnData) 782 { 783 jdbcTestModule.verifyResultSetColumn(id, number, columnData); 784 } 785 786 /** 787 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(String, int, Object[])} 788 */ 789 protected void verifyResultSetColumn(String id, int number, Object[] columnData) 790 { 791 jdbcTestModule.verifyResultSetColumn(id, number, columnData); 792 } 793 794 /** 795 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(MockResultSet, String, List)} 796 */ 797 protected void verifyResultSetColumn(MockResultSet resultSet, String name, List columnData) 798 { 799 jdbcTestModule.verifyResultSetColumn(resultSet, name, columnData); 800 } 801 802 /** 803 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(MockResultSet, String, Object[])} 804 */ 805 protected void verifyResultSetColumn(MockResultSet resultSet, String name, Object[] columnData) 806 { 807 jdbcTestModule.verifyResultSetColumn(resultSet, name, columnData); 808 } 809 810 /** 811 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetColumn(String, String, Object[])} 812 */ 813 protected void verifyResultSetColumn(String id, String name, Object[] columnData) 814 { 815 jdbcTestModule.verifyResultSetColumn(id, name, columnData); 816 } 817 818 /** 819 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetEquals(String, MockResultSet)} 820 */ 821 protected void verifyResultSetEquals(String id, MockResultSet target) 822 { 823 jdbcTestModule.verifyResultSetEquals(id, target); 824 } 825 826 /** 827 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyResultSetEquals(MockResultSet, MockResultSet)} 828 */ 829 protected void verifyResultSetEquals(MockResultSet source, MockResultSet target) 830 { 831 jdbcTestModule.verifyResultSetEquals(source, target); 832 } 833 834 /** 835 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementPresent(String)} 836 */ 837 protected void verifyPreparedStatementPresent(String sql) 838 { 839 jdbcTestModule.verifyPreparedStatementPresent(sql); 840 } 841 842 /** 843 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementNotPresent(String)} 844 */ 845 protected void verifyPreparedStatementNotPresent(String sql) 846 { 847 jdbcTestModule.verifyPreparedStatementNotPresent(sql); 848 } 849 850 /** 851 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementPresent(String)} 852 */ 853 protected void verifyCallableStatementPresent(String sql) 854 { 855 jdbcTestModule.verifyCallableStatementPresent(sql); 856 } 857 858 /** 859 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementNotPresent(String)} 860 */ 861 protected void verifyCallableStatementNotPresent(String sql) 862 { 863 jdbcTestModule.verifyCallableStatementNotPresent(sql); 864 } 865 866 /** 867 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameterPresent(PreparedStatement, int)} 868 */ 869 protected void verifyPreparedStatementParameterPresent(PreparedStatement statement, int indexOfParameter) 870 { 871 jdbcTestModule.verifyPreparedStatementParameterPresent(statement, indexOfParameter); 872 } 873 874 /** 875 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameterPresent(String, int)} 876 */ 877 protected void verifyPreparedStatementParameterPresent(String sql, int indexOfParameter) 878 { 879 jdbcTestModule.verifyPreparedStatementParameterPresent(sql, indexOfParameter); 880 } 881 882 /** 883 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameterPresent(int, int)} 884 */ 885 protected void verifyPreparedStatementParameterPresent(int indexOfStatement, int indexOfParameter) 886 { 887 jdbcTestModule.verifyPreparedStatementParameterPresent(indexOfStatement, indexOfParameter); 888 } 889 890 /** 891 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameterNotPresent(String, int)} 892 */ 893 protected void verifyPreparedStatementParameterNotPresent(String sql, int indexOfParameter) 894 { 895 jdbcTestModule.verifyPreparedStatementParameterNotPresent(sql, indexOfParameter); 896 } 897 898 /** 899 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameterNotPresent(PreparedStatement, int)} 900 */ 901 protected void verifyPreparedStatementParameterNotPresent(PreparedStatement statement, int indexOfParameter) 902 { 903 jdbcTestModule.verifyPreparedStatementParameterNotPresent(statement, indexOfParameter); 904 } 905 906 /** 907 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameterNotPresent(int, int)} 908 */ 909 protected void verifyPreparedStatementParameterNotPresent(int indexOfStatement, int indexOfParameter) 910 { 911 jdbcTestModule.verifyPreparedStatementParameterNotPresent(indexOfStatement, indexOfParameter); 912 } 913 914 /** 915 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterPresent(int, String)} 916 */ 917 protected void verifyCallableStatementParameterPresent(int indexOfStatement, String nameOfParameter) 918 { 919 jdbcTestModule.verifyCallableStatementParameterPresent(indexOfStatement, nameOfParameter); 920 } 921 922 /** 923 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterPresent(CallableStatement, int)} 924 */ 925 protected void verifyCallableStatementParameterPresent(CallableStatement statement, int indexOfParameter) 926 { 927 jdbcTestModule.verifyCallableStatementParameterPresent(statement, indexOfParameter); 928 } 929 930 /** 931 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterPresent(String, int)} 932 */ 933 protected void verifyCallableStatementParameterPresent(String sql, int indexOfParameter) 934 { 935 jdbcTestModule.verifyCallableStatementParameterPresent(sql, indexOfParameter); 936 } 937 938 /** 939 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterPresent(int, int)} 940 */ 941 protected void verifyCallableStatementParameterPresent(int indexOfStatement, int indexOfParameter) 942 { 943 jdbcTestModule.verifyCallableStatementParameterPresent(indexOfStatement, indexOfParameter); 944 } 945 946 /** 947 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterPresent(String, String)} 948 */ 949 protected void verifyCallableStatementParameterPresent(String sql, String nameOfParameter) 950 { 951 jdbcTestModule.verifyCallableStatementParameterPresent(sql, nameOfParameter); 952 } 953 954 /** 955 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterPresent(CallableStatement, String)} 956 */ 957 protected void verifyCallableStatementParameterPresent(CallableStatement statement, String nameOfParameter) 958 { 959 jdbcTestModule.verifyCallableStatementParameterPresent(statement, nameOfParameter); 960 } 961 962 /** 963 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterNotPresent(CallableStatement, String)} 964 */ 965 protected void verifyCallableStatementParameterNotPresent(CallableStatement statement, String nameOfParameter) 966 { 967 jdbcTestModule.verifyCallableStatementParameterNotPresent(statement, nameOfParameter); 968 } 969 970 /** 971 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterNotPresent(int, int)} 972 */ 973 protected void verifyCallableStatementParameterNotPresent(int indexOfStatement, int indexOfParameter) 974 { 975 jdbcTestModule.verifyCallableStatementParameterNotPresent(indexOfStatement, indexOfParameter); 976 } 977 978 /** 979 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterNotPresent(CallableStatement, int)} 980 */ 981 protected void verifyCallableStatementParameterNotPresent(CallableStatement statement, int indexOfParameter) 982 { 983 jdbcTestModule.verifyCallableStatementParameterNotPresent(statement, indexOfParameter); 984 } 985 986 /** 987 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterNotPresent(String, int)} 988 */ 989 protected void verifyCallableStatementParameterNotPresent(String sql, int indexOfParameter) 990 { 991 jdbcTestModule.verifyCallableStatementParameterNotPresent(sql, indexOfParameter); 992 } 993 994 /** 995 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterNotPresent(int, String)} 996 */ 997 protected void verifyCallableStatementParameterNotPresent(int indexOfStatement, String nameOfParameter) 998 { 999 jdbcTestModule.verifyCallableStatementParameterNotPresent(indexOfStatement, nameOfParameter); 1000 } 1001 1002 /** 1003 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameterNotPresent(String, String)} 1004 */ 1005 protected void verifyCallableStatementParameterNotPresent(String sql, String nameOfParameter) 1006 { 1007 jdbcTestModule.verifyCallableStatementParameterNotPresent(sql, nameOfParameter); 1008 } 1009 1010 /** 1011 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameter(PreparedStatement, int, Object)} 1012 */ 1013 protected void verifyPreparedStatementParameter(PreparedStatement statement, int indexOfParameter, Object object) 1014 { 1015 jdbcTestModule.verifyPreparedStatementParameter(statement, indexOfParameter, object); 1016 } 1017 1018 /** 1019 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameter(String, int, Object)} 1020 */ 1021 protected void verifyPreparedStatementParameter(String sql, int indexOfParameter, Object object) 1022 { 1023 jdbcTestModule.verifyPreparedStatementParameter(sql, indexOfParameter, object); 1024 } 1025 1026 /** 1027 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyPreparedStatementParameter(int, int, Object)} 1028 */ 1029 protected void verifyPreparedStatementParameter(int indexOfStatement, int indexOfParameter, Object object) 1030 { 1031 jdbcTestModule.verifyPreparedStatementParameter(indexOfStatement, indexOfParameter, object); 1032 } 1033 1034 /** 1035 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameter(int, String, Object)} 1036 */ 1037 protected void verifyCallableStatementParameter(int indexOfStatement, String nameOfParameter, Object object) 1038 { 1039 jdbcTestModule.verifyCallableStatementParameter(indexOfStatement, nameOfParameter, object); 1040 } 1041 1042 /** 1043 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameter(CallableStatement, int, Object)} 1044 */ 1045 protected void verifyCallableStatementParameter(CallableStatement statement, int indexOfParameter, Object object) 1046 { 1047 jdbcTestModule.verifyCallableStatementParameter(statement, indexOfParameter, object); 1048 } 1049 1050 /** 1051 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameter(String, int, Object)} 1052 */ 1053 protected void verifyCallableStatementParameter(String sql, int indexOfParameter, Object object) 1054 { 1055 jdbcTestModule.verifyCallableStatementParameter(sql, indexOfParameter, object); 1056 } 1057 1058 /** 1059 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameter(int, int, Object)} 1060 */ 1061 protected void verifyCallableStatementParameter(int indexOfStatement, int indexOfParameter, Object object) 1062 { 1063 jdbcTestModule.verifyCallableStatementParameter(indexOfStatement, indexOfParameter, object); 1064 } 1065 1066 /** 1067 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameter(CallableStatement, String, Object)} 1068 */ 1069 protected void verifyCallableStatementParameter(CallableStatement statement, String nameOfParameter, Object object) 1070 { 1071 jdbcTestModule.verifyCallableStatementParameter(statement, nameOfParameter, object); 1072 } 1073 1074 /** 1075 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementParameter(String, String, Object)} 1076 */ 1077 protected void verifyCallableStatementParameter(String sql, String nameOfParameter, Object object) 1078 { 1079 jdbcTestModule.verifyCallableStatementParameter(sql, nameOfParameter, object); 1080 } 1081 1082 /** 1083 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementOutParameterRegistered(CallableStatement, int)} 1084 */ 1085 protected void verifyCallableStatementOutParameterRegistered(CallableStatement statement, int indexOfParameter) 1086 { 1087 jdbcTestModule.verifyCallableStatementOutParameterRegistered(statement, indexOfParameter); 1088 } 1089 1090 /** 1091 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementOutParameterRegistered(String, int)} 1092 */ 1093 protected void verifyCallableStatementOutParameterRegistered(String sql, int indexOfParameter) 1094 { 1095 jdbcTestModule.verifyCallableStatementOutParameterRegistered(sql, indexOfParameter); 1096 } 1097 1098 /** 1099 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementOutParameterRegistered(int, int)} 1100 */ 1101 protected void verifyCallableStatementOutParameterRegistered(int indexOfStatement, int indexOfParameter) 1102 { 1103 jdbcTestModule.verifyCallableStatementOutParameterRegistered(indexOfStatement, indexOfParameter); 1104 } 1105 1106 /** 1107 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementOutParameterRegistered(CallableStatement, String)} 1108 */ 1109 protected void verifyCallableStatementOutParameterRegistered(CallableStatement statement, String nameOfParameter) 1110 { 1111 jdbcTestModule.verifyCallableStatementOutParameterRegistered(statement, nameOfParameter); 1112 } 1113 1114 /** 1115 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementOutParameterRegistered(String, String)} 1116 */ 1117 protected void verifyCallableStatementOutParameterRegistered(String sql, String nameOfParameter) 1118 { 1119 jdbcTestModule.verifyCallableStatementOutParameterRegistered(sql, nameOfParameter); 1120 } 1121 1122 /** 1123 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifyCallableStatementOutParameterRegistered(int, String)} 1124 */ 1125 protected void verifyCallableStatementOutParameterRegistered(int indexOfStatement, String nameOfParameter) 1126 { 1127 jdbcTestModule.verifyCallableStatementOutParameterRegistered(indexOfStatement, nameOfParameter); 1128 } 1129 1130 /** 1131 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointPresent(String)} 1132 */ 1133 protected void verifySavepointPresent(String name) 1134 { 1135 jdbcTestModule.verifySavepointPresent(name); 1136 } 1137 1138 /** 1139 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointPresent(int)} 1140 */ 1141 protected void verifySavepointPresent(int index) 1142 { 1143 jdbcTestModule.verifySavepointPresent(index); 1144 } 1145 1146 /** 1147 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointReleased(int)} 1148 */ 1149 protected void verifySavepointReleased(int index) 1150 { 1151 jdbcTestModule.verifySavepointReleased(index); 1152 } 1153 1154 /** 1155 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointReleased(String)} 1156 */ 1157 protected void verifySavepointReleased(String name) 1158 { 1159 jdbcTestModule.verifySavepointReleased(name); 1160 } 1161 1162 /** 1163 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointNotReleased(int)} 1164 */ 1165 protected void verifySavepointNotReleased(int index) 1166 { 1167 jdbcTestModule.verifySavepointNotReleased(index); 1168 } 1169 1170 /** 1171 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointNotReleased(String)} 1172 */ 1173 protected void verifySavepointNotReleased(String name) 1174 { 1175 jdbcTestModule.verifySavepointNotReleased(name); 1176 } 1177 1178 /** 1179 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointRolledBack(int)} 1180 */ 1181 protected void verifySavepointRolledBack(int index) 1182 { 1183 jdbcTestModule.verifySavepointRolledBack(index); 1184 } 1185 1186 /** 1187 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointRolledBack(String)} 1188 */ 1189 protected void verifySavepointRolledBack(String name) 1190 { 1191 jdbcTestModule.verifySavepointRolledBack(name); 1192 } 1193 1194 /** 1195 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointNotRolledBack(String)} 1196 */ 1197 protected void verifySavepointNotRolledBack(String name) 1198 { 1199 jdbcTestModule.verifySavepointNotRolledBack(name); 1200 } 1201 1202 /** 1203 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointNotRolledBack(int)} 1204 */ 1205 protected void verifySavepointNotRolledBack(int index) 1206 { 1207 jdbcTestModule.verifySavepointNotRolledBack(index); 1208 } 1209 1210 /** 1211 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointRollbacked(String)} 1212 * @deprecated 1213 */ 1214 protected void verifySavepointRollbacked(String name) 1215 { 1216 jdbcTestModule.verifySavepointRollbacked(name); 1217 } 1218 1219 /** 1220 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointRollbacked(int)} 1221 * @deprecated 1222 */ 1223 protected void verifySavepointRollbacked(int index) 1224 { 1225 jdbcTestModule.verifySavepointRollbacked(index); 1226 } 1227 1228 /** 1229 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointNotRollbacked(String)} 1230 * @deprecated 1231 */ 1232 protected void verifySavepointNotRollbacked(String name) 1233 { 1234 jdbcTestModule.verifySavepointNotRollbacked(name); 1235 } 1236 1237 /** 1238 * Delegates to {@link com.mockrunner.jdbc.JDBCTestModule#verifySavepointNotRollbacked(int)} 1239 * @deprecated 1240 */ 1241 protected void verifySavepointNotRollbacked(int index) 1242 { 1243 jdbcTestModule.verifySavepointNotRollbacked(index); 1244 } 1245 }