1 18 19 package org.objectweb.speedo.stress; 20 21 import org.objectweb.speedo.pobjects.userid.IntUserId; 22 import org.objectweb.util.monolog.api.BasicLevel; 23 24 import javax.jdo.PersistenceManager; 25 import javax.jdo.JDOFatalException; 26 27 import junit.framework.TestSuite; 28 import junit.textui.TestRunner; 29 30 35 public class TestCreation extends StressHelper { 36 private String CREATION = getLoggerName() + ".creation"; 37 private String STARTID = getLoggerName() + ".startid"; 38 39 public TestCreation(String s) { 40 super(s); 41 } 42 43 protected String [] getClassNamesToInit() { 44 return new String [] {IntUserId.class.getName()}; 45 } 46 47 protected String getLoggerName() { 48 return STRESS_LOG_NAME + ".TestCreation"; 49 } 50 51 public static void main(String [] args) { 52 TestRunner.run(new TestSuite(TestCreation.class)); 53 } 54 55 class CreationCtx { 56 int nbc; 57 int startid; 58 59 public CreationCtx(int _nbc, int _startid) { 60 this.nbc = _nbc; 61 this.startid = _startid; 62 } 63 64 public String toString() { 65 return "nbCreation = " + nbc + " / startid = " + startid; 66 } 67 } 68 69 protected void perform(Task task, int threadId, int txId, Object ctx, PerformResult res) { 70 CreationCtx cc = (CreationCtx) ctx; 71 final int nbCreation = cc.nbc; 72 final int startId = cc.startid; 73 PersistenceManager pm = getPM(task, threadId,txId); 74 try { 75 res.beginTest(); 76 beginTx(pm, task, threadId, txId); 77 for (int no = 0; no < nbCreation; no++) { 78 int oid = (txId * nbCreation) + no + startId; 79 if (debug) { 80 logger.log(BasicLevel.DEBUG, "Creating object " + oid); 81 } 82 IntUserId iui = new IntUserId(oid, "Obj No " + oid); 83 pm.makePersistent(iui); 84 } 85 commitTx(pm, task, threadId, txId); 86 res.endTest(); 87 } catch (JDOFatalException e) { 88 rollbackOnException(pm, e, res, task, threadId, txId); 89 } catch (Throwable e) { 90 stopOnError(pm, e, res, task, threadId, txId); 91 } finally { 92 closePM(pm, threadId, txId, task, res); 93 } 94 } 95 96 100 public void testInteractive() { 101 if (interactive) { 102 perform(Integer.getInteger(THREAD, 10).intValue(), 103 Integer.getInteger(TX, 100).intValue(), 104 Integer.getInteger(TIMEOUT, 1000000).intValue(), 105 new CreationCtx( 106 Integer.getInteger(CREATION, 1000).intValue(), 107 Integer.getInteger(STARTID, 0).intValue())); 108 } 109 } 110 111 115 public void testCreationTh1Tx10Cr1() { 116 if (!interactive) { 117 perform(1, 10, 1000000, new CreationCtx(1, getStartId(ID_Th1Tx10Cr1))); 118 } 119 } 120 121 125 public void testCreationTh1Tx100Cr1() { 126 if (!interactive) { 127 perform(1, 100, 1000000, new CreationCtx(1, getStartId(ID_Th1Tx100Cr1))); 128 } 129 } 130 131 135 public void testCreationTh1Tx1000Cr1() { 136 if (!interactive) { 137 perform(1, 1000, 1000000, new CreationCtx(1, getStartId(ID_Th1Tx1000Cr1))); 138 } 139 } 140 141 145 public void testCreationTh1Tx10000Cr1() { 146 if (!interactive) { 147 perform(1, 10000, 1000000, new CreationCtx(1, getStartId(ID_Th1Tx10000Cr1))); 148 } 149 } 150 151 155 public void testCreationTh1Tx10Cr10() { 156 if (!interactive) { 157 perform(1, 10, 1000000, new CreationCtx(10, getStartId(ID_Th1Tx10Cr10))); 158 } 159 } 160 161 165 public void testCreationTh1Tx100Cr10() { 166 167 if (!interactive) { 168 perform(1, 100, 1000000, new CreationCtx(10, getStartId(ID_Th1Tx100Cr10))); 169 } 170 } 171 172 176 public void testCreationTh1Tx1000Cr10() { 177 178 if (!interactive) { 179 perform(1, 1000, 1000000, new CreationCtx(10, getStartId(ID_Th1Tx1000Cr10))); 180 } 181 } 182 183 187 public void testCreationTh1Tx10000Cr10() { 188 189 if (!interactive) { 190 perform(1, 10000, 1000000, new CreationCtx(10, getStartId(ID_Th1Tx10000Cr10))); 191 } 192 } 193 194 198 public void testCreationTh1Tx10Cr100() { 199 200 if (!interactive) { 201 perform(1, 10, 1000000, new CreationCtx(100, getStartId(ID_Th1Tx10Cr100))); 202 } 203 } 204 205 209 public void testCreationTh1Tx100Cr100() { 210 211 if (!interactive) { 212 perform(1, 100, 1000000, new CreationCtx(100, getStartId(ID_Th1Tx100Cr100))); 213 } 214 } 215 216 220 public void testCreationTh1Tx1000Cr100() { 221 222 if (!interactive) { 223 perform(1, 1000, 1000000, new CreationCtx(100, getStartId(ID_Th1Tx1000Cr100))); 224 } 225 } 226 227 231 public void testCreationTh1Tx10000Cr100() { 232 233 if (!interactive) { 234 perform(1, 10000, 1000000, new CreationCtx(100, getStartId(ID_Th1Tx10000Cr100))); 235 } 236 } 237 238 242 public void testCreationTh1Tx10Cr500() { 243 244 if (!interactive) { 245 perform(1, 10, 1000000, new CreationCtx(500, getStartId(ID_Th1Tx10Cr500))); 246 } 247 } 248 249 253 public void testCreationTh1Tx100Cr500() { 254 255 if (!interactive) { 256 perform(1, 100, 1000000, new CreationCtx(500, getStartId(ID_Th1Tx100Cr500))); 257 } 258 } 259 260 264 public void testCreationTh1Tx1000Cr500() { 265 266 if (!interactive) { 267 perform(1, 1000, 1000000, new CreationCtx(500, getStartId(ID_Th1Tx1000Cr500))); 268 } 269 } 270 271 275 public void testCreationTh1Tx10Cr1000() { 276 277 if (!interactive) { 278 perform(1, 10, 1000000, new CreationCtx(1000, getStartId(ID_Th1Tx10Cr1000))); 279 } 280 } 281 282 286 public void testCreationTh1Tx100Cr1000() { 287 288 if (!interactive) { 289 perform(1, 100, 1000000, new CreationCtx(1000, getStartId(ID_Th1Tx100Cr1000))); 290 } 291 } 292 293 297 public void testCreationTh1Tx1000Cr1000() { 298 299 if (!interactive) { 300 perform(1, 1000, 1000000, new CreationCtx(1000, getStartId(ID_Th1Tx100Cr1000))); 301 } 302 } 303 304 308 public void testCreationTh1Tx10Cr2000() { 309 310 if (!interactive) { 311 perform(1, 10, 1000000, new CreationCtx(2000, getStartId(ID_Th1Tx10Cr2000))); 312 } 313 } 314 315 319 public void testCreationTh1Tx100Cr2000() { 320 321 if (!interactive) { 322 perform(1, 100, 1000000, new CreationCtx(2000, getStartId(ID_Th1Tx100Cr2000))); 323 } 324 } 325 326 330 public void testCreationTh1Tx1000Cr2000() { 331 332 if (!interactive) { 333 perform(1, 1000, 1000000, new CreationCtx(2000, getStartId(ID_Th1Tx1000Cr2000))); 334 } 335 } 336 337 341 public void testCreationTh1Tx10Cr10000() { 342 if (!interactive) { 343 perform(1, 10, 1000000, new CreationCtx(10000, getStartId(ID_Th1Tx10Cr10000))); 344 } 345 } 346 347 351 public void testCreationTh1Tx100Cr10000() { 352 353 if (!interactive) { 354 perform(1, 100, 1000000, new CreationCtx(10000, getStartId(ID_Th1Tx100Cr10000))); 355 } 356 } 357 358 361 365 public void testCreationTh2Tx10Cr1() { 366 367 if (!interactive) { 368 perform(2, 10, 1000000, new CreationCtx(1, getStartId(ID_Th2Tx10Cr1))); 369 } 370 } 371 372 376 public void testCreationTh2Tx100Cr1() { 377 378 if (!interactive) { 379 perform(2, 100, 1000000, new CreationCtx(1, getStartId(ID_Th2Tx100Cr1))); 380 } 381 } 382 383 387 public void testCreationTh2Tx1000Cr1() { 388 389 if (!interactive) { 390 perform(2, 1000, 1000000, new CreationCtx(1, getStartId(ID_Th2Tx1000Cr1))); 391 } 392 } 393 394 398 public void testCreationTh2Tx10000Cr1() { 399 400 if (!interactive) { 401 perform(2, 10000, 1000000, new CreationCtx(1, getStartId(ID_Th2Tx10000Cr1))); 402 } 403 } 404 405 409 public void testCreationTh2Tx100000Cr1() { 410 411 if (!interactive) { 412 perform(2, 100000, 1000000, new CreationCtx(1, getStartId(ID_Th2Tx100000Cr1))); 413 } 414 } 415 416 420 public void testCreationTh2Tx10Cr10() { 421 422 if (!interactive) { 423 perform(2, 10, 1000000, new CreationCtx(10, getStartId(ID_Th2Tx10Cr10))); 424 } 425 } 426 427 431 public void testCreationTh2Tx100Cr10() { 432 433 if (!interactive) { 434 perform(2, 100, 1000000, new CreationCtx(10, getStartId(ID_Th2Tx100Cr10))); 435 } 436 } 437 438 442 public void testCreationTh2Tx1000Cr10() { 443 444 if (!interactive) { 445 perform(2, 1000, 1000000, new CreationCtx(10, getStartId(ID_Th2Tx1000Cr10))); 446 } 447 } 448 449 453 public void testCreationTh2Tx10000Cr10() { 454 455 if (!interactive) { 456 perform(2, 10000, 1000000, new CreationCtx(10, getStartId(ID_Th2Tx10000Cr10))); 457 } 458 } 459 460 464 public void testCreationTh2Tx100000Cr10() { 465 466 if (!interactive) { 467 perform(2, 100000, 1000000, new CreationCtx(10, getStartId(ID_Th2Tx100000Cr10))); 468 } 469 } 470 471 475 public void testCreationTh2Tx10Cr100() { 476 477 if (!interactive) { 478 perform(2, 10, 1000000, new CreationCtx(100, getStartId(ID_Th2Tx10Cr100))); 479 } 480 } 481 482 486 public void testCreationTh2Tx100Cr100() { 487 488 if (!interactive) { 489 perform(2, 100, 1000000, new CreationCtx(100, getStartId(ID_Th2Tx100Cr100))); 490 } 491 } 492 493 497 public void testCreationTh2Tx1000Cr100() { 498 499 if (!interactive) { 500 perform(2, 1000, 1000000, new CreationCtx(100, getStartId(ID_Th2Tx1000Cr100))); 501 } 502 } 503 504 508 public void testCreationTh2Tx10000Cr100() { 509 510 if (!interactive) { 511 perform(2, 10000, 1000000, new CreationCtx(100, getStartId(ID_Th2Tx10000Cr100))); 512 } 513 } 514 515 519 public void testCreationTh2Tx10Cr500() { 520 521 if (!interactive) { 522 perform(2, 10, 1000000, new CreationCtx(500, getStartId(ID_Th2Tx10Cr500))); 523 } 524 } 525 526 530 public void testCreationTh2Tx100Cr500() { 531 532 if (!interactive) { 533 perform(2, 100, 1000000, new CreationCtx(500, getStartId(ID_Th2Tx100Cr500))); 534 } 535 } 536 537 541 public void testCreationTh2Tx1000Cr500() { 542 543 if (!interactive) { 544 perform(2, 1000, 1000000, new CreationCtx(500, getStartId(ID_Th2Tx1000Cr500))); 545 } 546 } 547 548 552 public void testCreationTh2Tx10Cr1000() { 553 554 if (!interactive) { 555 perform(2, 10, 1000000, new CreationCtx(1000, getStartId(ID_Th2Tx10Cr1000))); 556 } 557 } 558 559 563 public void testCreationTh2Tx100Cr1000() { 564 565 if (!interactive) { 566 perform(2, 100, 1000000, new CreationCtx(1000, getStartId(ID_Th2Tx100Cr1000))); 567 } 568 } 569 570 574 public void testCreationTh2Tx1000Cr1000() { 575 576 if (!interactive) { 577 perform(2, 1000, 1000000, new CreationCtx(1000, getStartId(ID_Th2Tx100Cr1000))); 578 } 579 } 580 581 585 public void testCreationTh2Tx10Cr2000() { 586 587 if (!interactive) { 588 perform(2, 10, 1000000, new CreationCtx(2000, getStartId(ID_Th2Tx10Cr2000))); 589 } 590 } 591 592 596 public void testCreationTh2Tx100Cr2000() { 597 598 if (!interactive) { 599 perform(2, 100, 1000000, new CreationCtx(2000, getStartId(ID_Th2Tx100Cr2000))); 600 } 601 } 602 603 607 public void testCreationTh2Tx1000Cr2000() { 608 609 if (!interactive) { 610 perform(2, 1000, 1000000, new CreationCtx(2000, getStartId(ID_Th2Tx1000Cr2000))); 611 } 612 } 613 614 618 public void testCreationTh2Tx10Cr10000() { 619 if (!interactive) { 620 perform(2, 10, 1000000, new CreationCtx(10000, getStartId(ID_Th2Tx10Cr10000))); 621 } 622 } 623 624 628 public void testCreationTh2Tx100Cr10000() { 629 630 if (!interactive) { 631 perform(2, 100, 1000000, new CreationCtx(10000, getStartId(ID_Th2Tx100Cr10000))); 632 } 633 } 634 635 638 642 public void testCreationTh3Tx10Cr1() { 643 644 if (!interactive) { 645 perform(3, 10, 1000000, new CreationCtx(1, getStartId(ID_Th3Tx10Cr1))); 646 } 647 } 648 649 653 public void testCreationTh3Tx100Cr1() { 654 655 if (!interactive) { 656 perform(3, 100, 1000000, new CreationCtx(1, getStartId(ID_Th3Tx100Cr1))); 657 } 658 } 659 660 664 public void testCreationTh3Tx1000Cr1() { 665 666 if (!interactive) { 667 perform(3, 1000, 1000000, new CreationCtx(1, getStartId(ID_Th3Tx1000Cr1))); 668 } 669 } 670 671 675 public void testCreationTh3Tx10000Cr1() { 676 677 if (!interactive) { 678 perform(3, 10000, 1000000, new CreationCtx(1, getStartId(ID_Th3Tx10000Cr1))); 679 } 680 } 681 682 686 public void testCreationTh3Tx100000Cr1() { 687 688 if (!interactive) { 689 perform(3, 100000, 1000000, new CreationCtx(1, getStartId(ID_Th3Tx100000Cr1))); 690 } 691 } 692 693 697 public void testCreationTh3Tx10Cr10() { 698 699 if (!interactive) { 700 perform(3, 10, 1000000, new CreationCtx(10, getStartId(ID_Th3Tx10Cr10))); 701 } 702 } 703 704 708 public void testCreationTh3Tx100Cr10() { 709 710 if (!interactive) { 711 perform(3, 100, 1000000, new CreationCtx(10, getStartId(ID_Th3Tx100Cr10))); 712 } 713 } 714 715 719 public void testCreationTh3Tx1000Cr10() { 720 721 if (!interactive) { 722 perform(3, 1000, 1000000, new CreationCtx(10, getStartId(ID_Th3Tx1000Cr10))); 723 } 724 } 725 726 730 public void testCreationTh3Tx10000Cr10() { 731 732 if (!interactive) { 733 perform(3, 10000, 1000000, new CreationCtx(10, getStartId(ID_Th3Tx10000Cr10))); 734 } 735 } 736 737 741 public void testCreationTh3Tx100000Cr10() { 742 743 if (!interactive) { 744 perform(3, 100000, 1000000, new CreationCtx(10, getStartId(ID_Th3Tx100000Cr10))); 745 } 746 } 747 748 752 public void testCreationTh3Tx10Cr100() { 753 754 if (!interactive) { 755 perform(3, 10, 1000000, new CreationCtx(100, getStartId(ID_Th3Tx10Cr100))); 756 } 757 } 758 759 763 public void testCreationTh3Tx100Cr100() { 764 765 if (!interactive) { 766 perform(3, 100, 1000000, new CreationCtx(100, getStartId(ID_Th3Tx100Cr100))); 767 } 768 } 769 770 774 public void testCreationTh3Tx1000Cr100() { 775 776 if (!interactive) { 777 perform(3, 1000, 1000000, new CreationCtx(100, getStartId(ID_Th3Tx1000Cr100))); 778 } 779 } 780 781 785 public void testCreationTh3Tx10000Cr100() { 786 787 if (!interactive) { 788 perform(3, 10000, 1000000, new CreationCtx(100, getStartId(ID_Th3Tx10000Cr100))); 789 } 790 } 791 792 796 public void testCreationTh3Tx10Cr500() { 797 798 if (!interactive) { 799 perform(3, 10, 1000000, new CreationCtx(500, getStartId(ID_Th3Tx10Cr500))); 800 } 801 } 802 803 807 public void testCreationTh3Tx100Cr500() { 808 809 if (!interactive) { 810 perform(3, 100, 1000000, new CreationCtx(500, getStartId(ID_Th3Tx100Cr500))); 811 } 812 } 813 814 818 public void testCreationTh3Tx1000Cr500() { 819 820 if (!interactive) { 821 perform(3, 1000, 1000000, new CreationCtx(500, getStartId(ID_Th3Tx1000Cr500))); 822 } 823 } 824 825 829 public void testCreationTh3Tx10Cr1000() { 830 831 if (!interactive) { 832 perform(3, 10, 1000000, new CreationCtx(1000, getStartId(ID_Th3Tx10Cr1000))); 833 } 834 } 835 836 840 public void testCreationTh3Tx100Cr1000() { 841 842 if (!interactive) { 843 perform(3, 100, 1000000, new CreationCtx(1000, getStartId(ID_Th3Tx100Cr1000))); 844 } 845 } 846 847 851 public void testCreationTh3Tx1000Cr1000() { 852 853 if (!interactive) { 854 perform(3, 1000, 1000000, new CreationCtx(1000, getStartId(ID_Th3Tx100Cr1000))); 855 } 856 } 857 858 862 public void testCreationTh3Tx10Cr2000() { 863 864 if (!interactive) { 865 perform(3, 10, 1000000, new CreationCtx(2000, getStartId(ID_Th3Tx10Cr2000))); 866 } 867 } 868 869 873 public void testCreationTh3Tx100Cr2000() { 874 875 if (!interactive) { 876 perform(3, 100, 1000000, new CreationCtx(2000, getStartId(ID_Th3Tx100Cr2000))); 877 } 878 } 879 880 884 public void testCreationTh3Tx1000Cr2000() { 885 886 if (!interactive) { 887 perform(3, 1000, 1000000, new CreationCtx(2000, getStartId(ID_Th3Tx1000Cr2000))); 888 } 889 } 890 891 895 public void testCreationTh3Tx10Cr10000() { 896 if (!interactive) { 897 perform(3, 10, 1000000, new CreationCtx(10000, getStartId(ID_Th3Tx10Cr10000))); 898 } 899 } 900 901 905 public void testCreationTh3Tx100Cr10000() { 906 907 if (!interactive) { 908 perform(3, 100, 1000000, new CreationCtx(10000, getStartId(ID_Th3Tx100Cr10000))); 909 } 910 } 911 912 915 919 public void testCreationTh4Tx10Cr1() { 920 921 if (!interactive) { 922 perform(4, 10, 1000000, new CreationCtx(1, getStartId(ID_Th4Tx10Cr1))); 923 } 924 } 925 926 930 public void testCreationTh4Tx100Cr1() { 931 932 if (!interactive) { 933 perform(4, 100, 1000000, new CreationCtx(1, getStartId(ID_Th4Tx100Cr1))); 934 } 935 } 936 937 941 public void testCreationTh4Tx1000Cr1() { 942 943 if (!interactive) { 944 perform(4, 1000, 1000000, new CreationCtx(1, getStartId(ID_Th4Tx1000Cr1))); 945 } 946 } 947 948 952 public void testCreationTh4Tx10000Cr1() { 953 954 if (!interactive) { 955 perform(4, 10000, 1000000, new CreationCtx(1, getStartId(ID_Th4Tx10000Cr1))); 956 } 957 } 958 959 963 public void testCreationTh4Tx100000Cr1() { 964 965 if (!interactive) { 966 perform(4, 100000, 1000000, new CreationCtx(1, getStartId(ID_Th4Tx100000Cr1))); 967 } 968 } 969 970 974 public void testCreationTh4Tx10Cr10() { 975 976 if (!interactive) { 977 perform(4, 10, 1000000, new CreationCtx(10, getStartId(ID_Th4Tx10Cr10))); 978 } 979 } 980 981 985 public void testCreationTh4Tx100Cr10() { 986 987 if (!interactive) { 988 perform(4, 100, 1000000, new CreationCtx(10, getStartId(ID_Th4Tx100Cr10))); 989 } 990 } 991 992 996 public void testCreationTh4Tx1000Cr10() { 997 998 if (!interactive) { 999 perform(4, 1000, 1000000, new CreationCtx(10, getStartId(ID_Th4Tx1000Cr10))); 1000 } 1001 } 1002 1003 1007 public void testCreationTh4Tx10000Cr10() { 1008 1009 if (!interactive) { 1010 perform(4, 10000, 1000000, new CreationCtx(10, getStartId(ID_Th4Tx10000Cr10))); 1011 } 1012 } 1013 1014 1018 public void testCreationTh4Tx100000Cr10() { 1019 1020 if (!interactive) { 1021 perform(4, 100000, 1000000, new CreationCtx(10, getStartId(ID_Th4Tx100000Cr10))); 1022 } 1023 } 1024 1025 1029 public void testCreationTh4Tx10Cr100() { 1030 1031 if (!interactive) { 1032 perform(4, 10, 1000000, new CreationCtx(100, getStartId(ID_Th4Tx10Cr100))); 1033 } 1034 } 1035 1036 1040 public void testCreationTh4Tx100Cr100() { 1041 1042 if (!interactive) { 1043 perform(4, 100, 1000000, new CreationCtx(100, getStartId(ID_Th4Tx100Cr100))); 1044 } 1045 } 1046 1047 1051 public void testCreationTh4Tx1000Cr100() { 1052 1053 if (!interactive) { 1054 perform(4, 1000, 1000000, new CreationCtx(100, getStartId(ID_Th4Tx1000Cr100))); 1055 } 1056 } 1057 1058 1062 public void testCreationTh4Tx10000Cr100() { 1063 1064 if (!interactive) { 1065 perform(4, 10000, 1000000, new CreationCtx(100, getStartId(ID_Th4Tx10000Cr100))); 1066 } 1067 } 1068 1069 1073 public void testCreationTh4Tx10Cr500() { 1074 1075 if (!interactive) { 1076 perform(4, 10, 1000000, new CreationCtx(500, getStartId(ID_Th4Tx10Cr500))); 1077 } 1078 } 1079 1080 1084 public void testCreationTh4Tx100Cr500() { 1085 1086 if (!interactive) { 1087 perform(4, 100, 1000000, new CreationCtx(500, getStartId(ID_Th4Tx100Cr500))); 1088 } 1089 } 1090 1091 1095 public void testCreationTh4Tx1000Cr500() { 1096 1097 if (!interactive) { 1098 perform(4, 1000, 1000000, new CreationCtx(500, getStartId(ID_Th4Tx1000Cr500))); 1099 } 1100 } 1101 1102 1106 public void testCreationTh4Tx10Cr1000() { 1107 1108 if (!interactive) { 1109 perform(4, 10, 1000000, new CreationCtx(1000, getStartId(ID_Th4Tx10Cr1000))); 1110 } 1111 } 1112 1113 1117 public void testCreationTh4Tx100Cr1000() { 1118 1119 if (!interactive) { 1120 perform(4, 100, 1000000, new CreationCtx(1000, getStartId(ID_Th4Tx100Cr1000))); 1121 } 1122 } 1123 1124 1128 public void testCreationTh4Tx1000Cr1000() { 1129 1130 if (!interactive) { 1131 perform(4, 1000, 1000000, new CreationCtx(1000, getStartId(ID_Th4Tx100Cr1000))); 1132 } 1133 } 1134 1135 1139 public void testCreationTh4Tx10Cr2000() { 1140 1141 if (!interactive) { 1142 perform(4, 10, 1000000, new CreationCtx(2000, getStartId(ID_Th4Tx10Cr2000))); 1143 } 1144 } 1145 1146 1150 public void testCreationTh4Tx100Cr2000() { 1151 1152 if (!interactive) { 1153 perform(4, 100, 1000000, new CreationCtx(2000, getStartId(ID_Th4Tx100Cr2000))); 1154 } 1155 } 1156 1157 1161 public void testCreationTh4Tx1000Cr2000() { 1162 1163 if (!interactive) { 1164 perform(4, 1000, 1000000, new CreationCtx(2000, getStartId(ID_Th4Tx1000Cr2000))); 1165 } 1166 } 1167 1168 1172 public void testCreationTh4Tx10Cr10000() { 1173 if (!interactive) { 1174 perform(4, 10, 1000000, new CreationCtx(10000, getStartId(ID_Th4Tx10Cr10000))); 1175 } 1176 } 1177 1178 1182 public void testCreationTh4Tx100Cr10000() { 1183 1184 if (!interactive) { 1185 perform(4, 100, 1000000, new CreationCtx(10000, getStartId(ID_Th4Tx100Cr10000))); 1186 } 1187 } 1188 1189 1190 1193 1197 public void testCreationTh10Tx10Cr1() { 1198 1199 if (!interactive) { 1200 perform(10, 10, 1000000, new CreationCtx(1, getStartId(ID_Th10Tx10Cr1))); 1201 } 1202 } 1203 1204 1208 public void testCreationTh10Tx100Cr1() { 1209 1210 if (!interactive) { 1211 perform(10, 100, 1000000, new CreationCtx(1, getStartId(ID_Th10Tx100Cr1))); 1212 } 1213 } 1214 1215 1219 public void testCreationTh10Tx1000Cr1() { 1220 1221 if (!interactive) { 1222 perform(10, 1000, 1000000, new CreationCtx(1, getStartId(ID_Th10Tx1000Cr1))); 1223 } 1224 } 1225 1226 1230 public void testCreationTh10Tx10000Cr1() { 1231 1232 if (!interactive) { 1233 perform(10, 10000, 1000000, new CreationCtx(1, getStartId(ID_Th10Tx10000Cr1))); 1234 } 1235 } 1236 1237 1241 public void testCreationTh10Tx100000Cr1() { 1242 1243 if (!interactive) { 1244 perform(10, 100000, 1000000, new CreationCtx(1, getStartId(ID_Th10Tx100000Cr1))); 1245 } 1246 } 1247 1248 1252 public void testCreationTh10Tx10Cr10() { 1253 1254 if (!interactive) { 1255 perform(10, 10, 1000000, new CreationCtx(10, getStartId(ID_Th10Tx10Cr10))); 1256 } 1257 } 1258 1259 1263 public void testCreationTh10Tx100Cr10() { 1264 1265 if (!interactive) { 1266 perform(10, 100, 1000000, new CreationCtx(10, getStartId(ID_Th10Tx100Cr10))); 1267 } 1268 } 1269 1270 1274 public void testCreationTh10Tx1000Cr10() { 1275 1276 if (!interactive) { 1277 perform(10, 1000, 1000000, new CreationCtx(10, getStartId(ID_Th10Tx1000Cr10))); 1278 } 1279 } 1280 1281 1285 public void testCreationTh10Tx10000Cr10() { 1286 1287 if (!interactive) { 1288 perform(10, 10000, 1000000, new CreationCtx(10, getStartId(ID_Th10Tx10000Cr10))); 1289 } 1290 } 1291 1292 1296 public void testCreationTh10Tx100000Cr10() { 1297 1298 if (!interactive) { 1299 perform(10, 100000, 1000000, new CreationCtx(10, getStartId(ID_Th10Tx100000Cr10))); 1300 } 1301 } 1302 1303 1307 public void testCreationTh10Tx10Cr100() { 1308 1309 if (!interactive) { 1310 perform(10, 10, 1000000, new CreationCtx(100, getStartId(ID_Th10Tx10Cr100))); 1311 } 1312 } 1313 1314 1318 public void testCreationTh10Tx100Cr100() { 1319 1320 if (!interactive) { 1321 perform(10, 100, 1000000, new CreationCtx(100, getStartId(ID_Th10Tx100Cr100))); 1322 } 1323 } 1324 1325 1329 public void testCreationTh10Tx1000Cr100() { 1330 1331 if (!interactive) { 1332 perform(10, 1000, 1000000, new CreationCtx(100, getStartId(ID_Th10Tx1000Cr100))); 1333 } 1334 } 1335 1336 1340 public void testCreationTh10Tx10000Cr100() { 1341 1342 if (!interactive) { 1343 perform(10, 10000, 1000000, new CreationCtx(100, getStartId(ID_Th10Tx10000Cr100))); 1344 } 1345 } 1346 1347 1351 public void testCreationTh10Tx10Cr500() { 1352 1353 if (!interactive) { 1354 perform(10, 10, 1000000, new CreationCtx(500, getStartId(ID_Th10Tx10Cr500))); 1355 } 1356 } 1357 1358 1362 public void testCreationTh10Tx100Cr500() { 1363 1364 if (!interactive) { 1365 perform(10, 100, 1000000, new CreationCtx(500, getStartId(ID_Th10Tx100Cr500))); 1366 } 1367 } 1368 1369 1373 public void testCreationTh10Tx1000Cr500() { 1374 1375 if (!interactive) { 1376 perform(10, 1000, 1000000, new CreationCtx(500, getStartId(ID_Th10Tx1000Cr500))); 1377 } 1378 } 1379 1380 1384 public void testCreationTh10Tx10Cr1000() { 1385 1386 if (!interactive) { 1387 perform(10, 10, 1000000, new CreationCtx(1000, getStartId(ID_Th10Tx10Cr1000))); 1388 } 1389 } 1390 1391 1395 public void testCreationTh10Tx100Cr1000() { 1396 1397 if (!interactive) { 1398 perform(10, 100, 1000000, new CreationCtx(1000, getStartId(ID_Th10Tx100Cr1000))); 1399 } 1400 } 1401 1402 1406 public void testCreationTh10Tx1000Cr1000() { 1407 1408 if (!interactive) { 1409 perform(10, 1000, 1000000, new CreationCtx(1000, getStartId(ID_Th10Tx100Cr1000))); 1410 } 1411 } 1412 1413 1417 public void testCreationTh10Tx10Cr2000() { 1418 1419 if (!interactive) { 1420 perform(10, 10, 1000000, new CreationCtx(2000, getStartId(ID_Th10Tx10Cr2000))); 1421 } 1422 } 1423 1424 1428 public void testCreationTh10Tx100Cr2000() { 1429 1430 if (!interactive) { 1431 perform(10, 100, 1000000, new CreationCtx(2000, getStartId(ID_Th10Tx100Cr2000))); 1432 } 1433 } 1434 1435 1439 public void testCreationTh10Tx1000Cr2000() { 1440 1441 if (!interactive) { 1442 perform(10, 1000, 1000000, new CreationCtx(2000, getStartId(ID_Th10Tx1000Cr2000))); 1443 } 1444 } 1445 1446 1450 public void testCreationTh10Tx10Cr10000() { 1451 1452 1453 if (!interactive) { 1454 perform(10, 10, 1000000, new CreationCtx(10000, getStartId(ID_Th10Tx10Cr10000))); 1455 } 1456 } 1457 1458 1462 public void testCreationTh10Tx100Cr10000() { 1463 1464 if (!interactive) { 1465 perform(10, 100, 1000000, new CreationCtx(10000, getStartId(ID_Th10Tx100Cr10000))); 1466 } 1467 } 1468 1469} 1470 | Popular Tags |