build.xml 354 KB
Newer Older
afreyssin's avatar
afreyssin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0"?>

<!DOCTYPE project [
    <!ENTITY common SYSTEM "../common.xml">
]>

<project default="tests.all" basedir=".">
  <!-- Includes generic stuff -->
  &common;

  <target name="init.src">
    <!-- Tests specific sources set -->
    <patternset id="specific">
      <include name="joram/**/*.java"/>
      <exclude name="joram/studycase/**/*.java"/>
    </patternset>
  </target>
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
	
  <target name="tests.specific"
          description=" --> ">
    <antcall target="tests.base"/>
    <antcall target="tests.alias"/>
    <antcall target="tests.recovery"/>
    <antcall target="tests.admin"/>
    <antcall target="tests.client"/>
    <antcall target="tests.connection"/>
    <antcall target="tests.local"/>
    <antcall target="tests.dursub"/>
    <antcall target="tests.tcp"/>
    <antcall target="tests.noreg"/>
    <antcall target="tests.xa"/>
    <antcall target="tests.bridge.jms.new"/>
    <antcall target="tests.jca"/>
    <antcall target="tests.dmq"/>
    <antcall target="tests.ttl"/>
    <antcall target="tests.sub"/>
    <antcall target="tests.distribution"/>
    <antcall target="tests.jms2"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
39
    <antcall target="tests.rest"/>
40
    <antcall target="tests.bridge.rest" />
41
  </target>
afreyssin's avatar
afreyssin committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

  <target name="tests.all"
           description=" --> launch all joram tests">
    <ant dir="." antfile="build.xml" target="tests.noperf.all"/>
    <ant dir="." antfile="build.xml" target="tests.perf"/>
  </target>

  <target name="tests.noperf.all.osgi">
    <property name="SCAdminClass" value="framework.SCAdminOSGi"/>
    <property name="isOSGi" value="true"/>
    <antcall target="tests.noperf.all" />
  </target>

  <target name="tests.noperf.all"
          description=" --> launch all no perf joram tests">
    <antcall target="tests.base"/>
58
    <antcall target="tests.alias"/>
afreyssin's avatar
afreyssin committed
59 60 61 62 63 64 65 66 67 68 69
    <antcall target="tests.recovery"/>
    <antcall target="tests.dist"/>
    <antcall target="tests.admin"/>
    <antcall target="tests.client"/>
    <antcall target="tests.connection"/>
    <antcall target="tests.local"/>
    <antcall target="tests.dursub"/>
    <antcall target="tests.tcp"/>
    <antcall target="tests.reconf"/>
    <antcall target="tests.noreg"/>
    <antcall target="tests.xa"/>
70
    <antcall target="tests.bridge.jms.new"/>
afreyssin's avatar
afreyssin committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84
    <antcall target="tests.bridge.amqp"/>
    <antcall target="tests.schedqueue"/>
    <antcall target="tests.clusterTopic"/>
    <antcall target="tests.clusterQueue"/>
    <antcall target="tests.hierarchical"/>
    <antcall target="tests.ssl"/>
    <antcall target="tests.jca"/>
    <antcall target="tests.dmq"/>
    <antcall target="tests.ttl"/>
    <antcall target="tests.sub"/>
    <antcall target="tests.monitoring"/>
    <antcall target="tests.collector"/>
    <antcall target="tests.interceptors"/>
    <antcall target="tests.distribution"/>
85
  	<antcall target="tests.jms2"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
86
    <antcall target="tests.rest"/>
87
    <antcall target="tests.bridge.rest" />
afreyssin's avatar
afreyssin committed
88 89 90 91 92 93 94 95 96
  </target>

  <target name="custom.tests.bamboo"
          description=" --> custom selection of tests to run on bamboo (excludes dist, reconf, bridge, perf)">
    <property name="SCAdminClass" value="framework.SCAdminOSGi"/>
    <property name="isOSGi" value="true"/>
    <antcall target="tests.base"/>
  	<antcall target="tests.alias"/>
    <antcall target="tests.recovery"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
97
    <antcall target="tests.dist"/>
afreyssin's avatar
afreyssin committed
98 99 100 101 102 103
    <antcall target="tests.admin"/>
    <antcall target="tests.client"/>
    <antcall target="tests.connection"/>
    <antcall target="tests.local"/>
    <antcall target="tests.dursub"/>
    <antcall target="tests.tcp"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
104
    <antcall target="tests.reconf"/>
afreyssin's avatar
afreyssin committed
105 106
    <antcall target="tests.noreg"/>
    <antcall target="tests.xa"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
107 108
    <antcall target="tests.bridge.jms.new"/>
    <antcall target="tests.bridge.amqp"/>
afreyssin's avatar
afreyssin committed
109 110 111 112 113 114 115 116 117 118 119 120 121
    <antcall target="tests.schedqueue"/>
    <antcall target="tests.clusterTopic"/>
    <antcall target="tests.clusterQueue"/>
    <antcall target="tests.hierarchical"/>
    <antcall target="tests.ssl"/>
    <antcall target="tests.jca"/>
    <antcall target="tests.dmq"/>
    <antcall target="tests.ttl"/>
    <antcall target="tests.sub"/>
    <antcall target="tests.monitoring"/>
    <antcall target="tests.collector"/>
    <antcall target="tests.interceptors"/>
    <antcall target="tests.distribution"/>
122
  	<antcall target="tests.jms2"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
123
    <antcall target="tests.rest"/>
124
    <antcall target="tests.bridge.rest" />
afreyssin's avatar
afreyssin committed
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
  </target>

  <target name="custom.tests.vtest"
            description=" --> custom selection of tests to run on vtest (excludes dist, reconf, bridge, perf)">
    <property name="SCAdminClass" value="framework.SCAdminOSGi"/>
    <property name="isOSGi" value="true"/>
    <antcall target="tests.base"/>
  	<antcall target="tests.alias"/>
    <antcall target="tests.recovery"/>
    <antcall target="tests.admin"/>
    <antcall target="tests.client"/>
    <antcall target="tests.connection"/>
    <antcall target="tests.local"/>
    <antcall target="tests.dursub"/>
    <antcall target="tests.tcp"/>
    <antcall target="tests.noreg"/>
    <antcall target="tests.xa"/>
    <antcall target="tests.bridge.jms.new"/>
    <antcall target="tests.schedqueue"/>
    <antcall target="tests.clusterTopic"/>
    <antcall target="tests.clusterQueue"/>
    <antcall target="tests.hierarchical"/>
    <antcall target="tests.ssl"/>
    <antcall target="tests.jca"/>
    <antcall target="tests.dmq"/>
    <antcall target="tests.ttl"/>
    <antcall target="tests.sub"/>
    <antcall target="tests.monitoring"/>
    <antcall target="tests.collector"/>
    <antcall target="tests.interceptors"/>
    <antcall target="tests.distribution"/>
156
  	<antcall target="tests.jms2"/>
Nicolas Tachker's avatar
Nicolas Tachker committed
157
    <antcall target="tests.rest"/>
158
    <antcall target="tests.bridge.rest" />
afreyssin's avatar
afreyssin committed
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
  </target>

  <target name="tests.base"
          description=" --> launch all base tests">
    <antcall target="tests.messages"/>
    <antcall target="tests.property"/>
    <antcall target="tests.selector"/>
    <antcall target="tests.temporary"/>
    <antcall target="tests.ack"/>
    <antcall target="base.test_Brows_Q"/>
    <antcall target="base.test_MsgList_T"/>
    <antcall target="base.test_Exp_Q"/>
    <antcall target="base.test_Multi_Q"/>
    <antcall target="tests.transacted"/>
    <antcall target="tests.exceptionlistener"/>
  	<antcall target="tests.activation" />
  </target>

  <target name="tests.messages"
          description=" --> launch all messages tests">
    <antcall target="base.test_Q_M"/>
    <antcall target="base.test_T_M"/>
    <antcall target="base.test_Q_MText"/>
    <antcall target="base.test_T_MText"/>
183 184
  	<antcall target="base.test_Q_MText_Delay"/>
  	<antcall target="base.test_T_MText_Delay"/>
afreyssin's avatar
afreyssin committed
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
    <antcall target="base.test_Q_MObj"/>
    <antcall target="base.test_Q_MObjNull"/>
    <antcall target="base.test_Q_MObjBA"/>
    <antcall target="base.test_T_MObj"/>
    <antcall target="base.test_T_MObjNull"/>
    <antcall target="base.test_T_MObjBA"/>
    <antcall target="base.test_Q_MByte"/>
    <antcall target="base.test_T_MByte"/>
    <antcall target="base.test_Q_MMap"/>
    <antcall target="base.test_T_MMap"/>
    <antcall target="base.test_Q_MStream"/>
    <antcall target="base.test_T_MStream"/>
    <antcall target="base.test_DMQ_Body"/>
  	<antcall target="base.test_Compress_MText" />
  </target>

  <target name="tests.property"
          description=" --> launch all properties tests">
    <antcall target="base.test_property_Q"/>
    <antcall target="base.test_property_T"/>
  </target>

  <target name="tests.selector"
          description=" --> launch all selectors tests">
    <antcall target="base.test_Selector_Q"/>
    <antcall target="base.test_Selector_T"/>
  </target>

  <target name="tests.temporary"
          description=" --> launch all temporary tests">
    <antcall target="base.test_Temp_Q"/>
    <antcall target="base.test_Temp_T"/>
    <antcall target="base.test_Temp_T2"/>
  </target>

  <target name="tests.ack"
          description=" --> launch all acknowledge tests">
    <antcall target="base.test_CAck1_Q"/>
    <antcall target="base.test_CAck1_T"/>
    <antcall target="base.test_CAck2_Q"/>
    <antcall target="base.test_CAck2_T"/>
    <antcall target="base.test_CAck3_Q"/>
  </target>

  <target name="tests.transacted"
          description=" --> launch all transacted tests">
    <antcall target="base.test_Trans_Q"/>
    <antcall target="base.test_Trans_Q2"/>
    <antcall target="base.test_Trans_Q3"/>
    <antcall target="base.test_Trans_T"/>
  </target>

  <target name="tests.exceptionlistener" description=" --> launch all exceptionlistener tests">
    <antcall target="base.test_ExcpList_Q"/>
    <antcall target="base.test_ExcpList_T"/>
    <antcall target="base.test_Exceptions"/>
  </target>

  <target name="tests.activation" 
          description=" --> launch all activation tests">
    <antcall target="base.testActivation" />
  </target>	
	
  <target name="tests.recovery"
          description=" --> launch all recovery tests">
    <antcall target="recovery.test1"/>
    <antcall target="recovery.test2"/>
    <antcall target="recovery.test3"/>
    <antcall target="recovery.test4"/>
    <antcall target="recovery.test5"/>
    <antcall target="recovery.reliable-test"/>
    <antcall target="recovery.test6"/>
    <antcall target="recovery.test7"/>
    <antcall target="recovery.test8"/>
    <antcall target="recovery.test9"/>
    <antcall target="recovery.test10"/>
  </target>

  <target name="tests.dist"
          description=" --> launch all distributed tests">
    <antcall target="dist.test1"/>
    <antcall target="dist.test2"/>
    <antcall target="dist.test3"/>
    <antcall target="dist.test4"/>
    <antcall target="dist.test5"/>
    <antcall target="dist.test6"/>
    <antcall target="dist.test.http"/>
  </target>

  <target name="tests.client"
          description=" --> launch all client tests">
    <antcall target="client.test8"/>
    <antcall target="client.test13"/>
    <antcall target="client.test18"/>
279
  	<antcall target="client.topic"/>
afreyssin's avatar
afreyssin committed
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
    <antcall target="client.topic2"/>
    <antcall target="client.qrmax"/>
    <antcall target="client.mcun"/>
    <antcall target="client.close1"/>
    <antcall target="client.close2"/>
    <antcall target="client.close3"/>
    <antcall target="client.close4"/>
    <antcall target="client.close5"/>
    <antcall target="client.rqueue"/>
    <antcall target="client.tmpq"/>
    <antcall target="client.recover"/>
    <antcall target="client.servexc"/>
    <antcall target="client.cnxclose"/>
    <antcall target="client.cnxclose1"/>
    <antcall target="client.cnxclose2"/>
    <antcall target="client.cnxclose3"/>
    <antcall target="client.empty"/>
    <antcall target="client.redelivery"/>
    <antcall target="client.rollback"/>
    <antcall target="client.nowait"/>
    <antcall target="client.cnxtime_1"/>
    <antcall target="client.cnxtime_1.osgi"/>
    <antcall target="client.cnxtime_2"/>
    <antcall target="client.cnxtime_2.osgi"/>
    <antcall target="client.noloss_1"/>
    <antcall target="client.noloss_2"/>
    <antcall target="client.ClientTest25"/>
    <antcall target="client.ClientTest26"/>
    <antcall target="client.IndividualAcknowledge"/>
    <antcall target="client.SyncExceptionOnFullQueue"/>
    <antcall target="client.ClientTest27"/>
    <antcall target="client.ClientTest28"/>
    <antcall target="client.ClientTest29"/>
313
  	<antcall target="client.ClientTestAsyncSend"/>
afreyssin's avatar
afreyssin committed
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
  </target>

  <target name="tests.connection"
          description=" --> launch all connection tests">
    <antcall target="connection.test1"/>
  </target>

  <target name="tests.local"
          description=" --> launch all local tests">
    <antcall target="local.test"/>
    <antcall target="local.test1"/>
    <antcall target="local.test2"/>
  </target>

  <target name="tests.dursub"
          description=" --> launch all dursub tests">
    <antcall target="dursub.test1"/>
    <antcall target="dursub.test2"/>
    <antcall target="dursub.test3"/>
    <antcall target="dursub.test4"/>
    <antcall target="dursub.test5"/>
    <antcall target="dursub.test6"/>
    <antcall target="dursub.test6.osgi"/>
  </target>

  <target name="tests.tcp"
          description=" --> launch all tcp tests">
    <antcall target="tcp.test1"/>
    <antcall target="tcp.test2"/>
    <antcall target="tcp.test3"/>
    <antcall target="tcp.test4"/>
    <antcall target="tcp.test5"/>
  </target>

  <target name="tests.reconf"
          description=" --> launch all reconf tests">
    <antcall target="reconf.test0"/>
    <antcall target="reconf.test1"/>
    <antcall target="reconf.test2"/>
    <antcall target="reconf.test3"/>
    <antcall target="reconf.test4"/>
    <antcall target="reconf.test5"/>
    <antcall target="reconf.test6"/>
    <antcall target="reconf.test7"/>
    <antcall target="reconf.test8"/>
    <antcall target="reconf.test9"/>
  </target>

  <target name="tests.perf"
          description=" --> launch all perf tests">
    <antcall target="perf.test5"/>
    <antcall target="perf.test6"/>
    <antcall target="perf.test6M"/>
    <antcall target="perf.test26"/>
    <antcall target="perf.test27"/>
    <antcall target="perf.test28"/>
    <antcall target="perf.test29"/>
    <antcall target="perf.test30"/>
    <antcall target="perf.test33"/>
    <antcall target="perf.test34"/>
    <antcall target="perf.test47"/>
    <antcall target="perf.test54"/>
    <antcall target="perf.asynctest"/>
377
		<antcall target="rest.client9"/>
afreyssin's avatar
afreyssin committed
378 379 380 381 382
  </target>

  <target name="tests.noreg"
          description=" --> launch all noreg tests">
    <antcall target="noreg.test3"/>
383
  	<antcall target="noreg.test3x"/>
afreyssin's avatar
afreyssin committed
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
    <antcall target="noreg.test4"/>
    <antcall target="noreg.test7.1"/>
    <antcall target="noreg.test7.2"/>
    <antcall target="noreg.test8"/>
    <antcall target="noreg.test9"/>
    <antcall target="noreg.test10"/>
    <antcall target="noreg.test11"/>
    <antcall target="noreg.test12"/>
    <antcall target="noreg.test13"/>
    <antcall target="noreg.test14"/>
    <antcall target="noreg.test15"/>
    <antcall target="noreg.test16"/>
    <antcall target="noreg.test17"/>
    <antcall target="noreg.test18"/>
    <antcall target="noreg.test19"/>
    <antcall target="noreg.test20"/>
    <antcall target="noreg.test21"/>
    <antcall target="noreg.test25"/>
    <antcall target="noreg.test26"/>
    <antcall target="noreg.test31"/>
    <antcall target="noreg.test32"/>
    <antcall target="noreg.test35"/>
    <antcall target="noreg.test39"/>
    <antcall target="noreg.test40"/>
    <antcall target="noreg.test41"/>
    <antcall target="noreg.test45"/>
    <antcall target="noreg.test46"/>
    <antcall target="noreg.test48"/>
    <antcall target="noreg.test49"/>
    <antcall target="noreg.test50"/>
    <antcall target="noreg.test51"/>
    <antcall target="noreg.test56"/>
    <antcall target="noreg.test58"/>
    <antcall target="noreg.test59"/>
    <antcall target="noreg.test60"/>
    <antcall target="noreg.test61"/>
  </target>

  <target name="tests.xa"
          description=" --> launch all xa tests">
    <antcall target="xa.test1"/>
    <antcall target="xa.test2"/>
    <antcall target="xa.test3"/>
    <antcall target="xa.test4"/>
    <antcall target="xa.test5"/>
    <antcall target="xa.test6"/>
    <antcall target="xa.test7"/>
  </target>

  <target name="tests.bridge.jms" description=" --> launch all bridge tests">
    <property name="SCAdminClass" value="framework.SCAdminOSGi"/>
    <property name="isOSGi" value="true"/>
    <antcall target="tests.bridge.jms.old"/>
    <antcall target="tests.bridge.jms.old.auto"/>
    <antcall target="tests.bridge.jms.old.xa"/>
    <antcall target="tests.bridge.jms.old.auto.xa"/>
    <antcall target="tests.bridge.jms.new"/>
  </target>

  <target name="tests.bridge.jms.old" description=" --> launch all bridge tests (old framework)">
    <!--
      - AF: The reconnection works only with automatic mode !!
    <antcall target="bridge.jms.test1"/>
      -->
    <antcall target="bridge.jms.test2"/>
    <antcall target="bridge.jms.test3"/>
    <antcall target="bridge.jms.test4"/>
    <antcall target="bridge.jms.test5"/>
    <antcall target="bridge.jms.test6"/>
  </target>

  <target name="tests.bridge.jms.old.xa" description=" --> launch all bridge tests (old framework)">
    <antcall target="bridge.jms.xatest1"/>
    <antcall target="bridge.jms.xatest2"/>
    <antcall target="bridge.jms.xatest3"/>
    <antcall target="bridge.jms.xatest4"/>
    <antcall target="bridge.jms.xatest5"/>
    <antcall target="bridge.jms.xatest6"/>
  </target>

  <target name="tests.bridge.jms.old.auto" description=" --> launch all bridge tests (old framework, automatic mode)">
    <antcall target="bridge.jms.test1.1"/>
    <antcall target="bridge.jms.test2.1"/>
    <antcall target="bridge.jms.test3.1"/>
    <antcall target="bridge.jms.test4"/>
    <antcall target="bridge.jms.test5.1"/>
    <antcall target="bridge.jms.test6.1"/>
    <antcall target="bridge.jms.test8"/>
    <antcall target="bridge.jms.testX3"/>
  </target>

  <target name="tests.bridge.jms.old.auto.xa" description=" --> launch all bridge tests (old framework, automatic mode)">
    <antcall target="bridge.jms.xatest1.1"/>
    <antcall target="bridge.jms.xatest2.1"/>
    <antcall target="bridge.jms.xatest3"/>
    <antcall target="bridge.jms.xatest4.1"/>
    <antcall target="bridge.jms.xatest5.1"/>
    <antcall target="bridge.jms.xatest6.1"/>
  </target>

  <target name="tests.bridge.jms.new" description=" --> launch all bridge tests (acquisition/distribution framework)">
    <antcall target="bridge.jms.admintest1xA"/>
    <antcall target="bridge.jms.admintest1xB"/>
    <antcall target="bridge.jms.admintest2xA"/>
    <antcall target="bridge.jms.admintest2xB"/>
    <antcall target="bridge.jms.test1x"/>
    <antcall target="bridge.jms.test2x"/>
    <antcall target="bridge.jms.test3x"/>
    <antcall target="bridge.jms.test4x"/>
    <antcall target="bridge.jms.test5x"/>
    <antcall target="bridge.jms.test6x"/>
    <antcall target="bridge.jms.test7"/>
    <antcall target="bridge.jms.test8x"/>
    <antcall target="bridge.jms.test9x"/>
    <antcall target="bridge.jms.test10x"/>
    <antcall target="bridge.jms.testX"/>
    <antcall target="bridge.jms.testX2"/>
    <antcall target="bridge.jms.asynctest"/>
    <!-- antcall target="bridge.asyncexctest"/ -->
    <antcall target="bridge.jms.acquisitiontest"/>
    <antcall target="bridge.jms.test11x"/>
    <antcall target="bridge.jms.test12x"/>
    <antcall target="bridge.jms.test13x"/>
    <antcall target="bridge.jms.test14x"/>
508 509 510
  	<antcall target="bridge.jms.test15x"/>
    <antcall target="bridge.jms.test15x2"/>
    <antcall target="bridge.jms.test15x3"/>
afreyssin's avatar
afreyssin committed
511 512 513 514
    <antcall target="bridge.jms.test16x"/>
    <antcall target="bridge.jms.test17x"/>
    <antcall target="bridge.jms.test18x"/>
    <antcall target="bridge.jms.test19x"/>
515
    <antcall target="bridge.jms.test20x"/>
516
    <antcall target="bridge.jms.test21x"/>
afreyssin's avatar
afreyssin committed
517
  </target>
518
	
afreyssin's avatar
afreyssin committed
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
  <target name="tests.schedqueue"
          description=" --> launch all schedqueue tests">
    <antcall target="schedqueue.test1"/>
    <antcall target="schedqueue.test2"/>
    <antcall target="schedqueue.test3"/>
    <antcall target="schedqueue.test4"/>
    <antcall target="schedqueue.test5"/>
  </target>

  <target name="tests.clusterTopic"
          description=" --> launch all cluster topic tests">
    <antcall target="cluster.testTAdmin"/>
    <antcall target="cluster.testT1"/>
    <antcall target="cluster.testT2"/>
    <antcall target="cluster.testT3"/>
  </target>

  <target name="tests.clusterQueue"
            description=" --> launch all cluster queue tests">
    <antcall target="cluster.testQAdmin"/>
    <antcall target="cluster.testQ1"/>
    <antcall target="cluster.testQ2"/>
    <antcall target="cluster.testQ3"/>
    <antcall target="cluster.testQ4"/>
    <antcall target="cluster.testQ5"/>
    <antcall target="cluster.testQ6"/>
    <antcall target="cluster.testQ7"/>
  </target>

  <target name="tests.hierarchical"
          description=" --> launch all hierarchical tests">
    <antcall target="hierarchical.test1"/>
  </target>

  <target name="tests.ssl"
          description=" --> launch all ssl tests">
    <antcall target="ssl.test"/>
  </target>

  <target name="tests.jca" description=" --> test joram connector">
    <antcall target="jca.test1"/>
    <antcall target="jca.test2"/>
  </target>

  <target name="tests.dmq"
          description=" --> launch all dmq tests">
    <antcall target="dmq.TestDmq1"/>
    <antcall target="dmq.TestDmq2"/>
    <antcall target="dmq.TestDmq3"/>
    <antcall target="dmq.TestDmq4"/>
    <antcall target="dmq.TestDmq5"/>
    <antcall target="dmq.TestDmq6"/>
    <antcall target="dmq.ChainedDMQ"/>
    <antcall target="dmq.TestDmq7"/>
  </target>

  <target name="tests.ttl"
          description=" --> launch all ttl tests">
    <antcall target="ttl.Test1_Topic"/>
    <antcall target="ttl.Test2_Queue"/>
  </target>

  <target name="tests.sub"
          description=" --> launch all sub tests">
    <antcall target="sub.Sub"/>
    <antcall target="sub.Sub2"/>
    <antcall target="sub.Sub3"/>
    <antcall target="sub.Sub4"/>
  </target>

  <target name="tests.monitoring"
          description=" --> launch all monitoring tests">
    <antcall target="monitoring.TestT1"/>
    <antcall target="monitoring.TestT2"/>
    <antcall target="monitoring.TestT3"/>
    <antcall target="monitoring.TestQ1"/>
    <antcall target="monitoring.TestQ2"/>
    <antcall target="monitoring.TestQ3"/>
    <antcall target="monitoring.AdminTest1"/>
  </target>

  <target name="tests.collector"
          description=" --> launch all collector tests">
    <antcall target="collector.TestT1"/>
    <antcall target="collector.TestT2"/>
    <antcall target="collector.TestT3"/>
    <antcall target="collector.TestT4"/>
    <antcall target="collector.TestQ1"/>
    <antcall target="collector.TestQ2"/>
    <antcall target="collector.TestQ3"/>
    <antcall target="collector.TestQ4"/>
    <antcall target="collector.AdminTest1"/>
  </target>

  <target name="tests.interceptors"
          description=" --> launch all interceptors tests">
    <antcall target="interceptors.test1"/>
    <antcall target="interceptors.test2"/>
    <antcall target="interceptors.test3"/>
    <antcall target="interceptors.test4"/>
    <antcall target="interceptors.test5"/>
    <antcall target="interceptors.test6"/>
    <antcall target="interceptors.test7"/>
  	<antcall target="interceptors.test8" />
  	<antcall target="interceptors.test9" />
    <antcall target="interceptors.test_Q"/>
    <antcall target="interceptors.test_T"/>
    <antcall target="interceptors.test_Q2"/>
    <antcall target="interceptors.test_T2"/>
    <antcall target="interceptors.test_Q3"/>
    <antcall target="interceptors.test_T3"/>
    <antcall target="interceptors.test_Q4"/>
    <antcall target="interceptors.test_T4"/>
    <antcall target="interceptors.test_Q5"/>
    <antcall target="interceptors.test_T5"/>
    <antcall target="interceptors.test_Q6"/>
    <antcall target="interceptors.test_T6"/>
  	<antcall target="interceptors.test_Q7" />
    <antcall target="interceptors.test_T7" />
  </target>

  <target name="tests.distribution"
          description=" --> launch all distribution tests">
    <antcall target="distribution.test1"/>
    <antcall target="distribution.test2"/>
    <antcall target="distribution.test3"/>
  </target>

  <target name="tests.pool"
          description=" --> launch all pool tests">
    <antcall target="pool.Test1"/>
    <antcall target="pool.Test2"/>
    <antcall target="pool.Test3"/>
  </target>

  <!--
    - Generic test launcher
    -->
  <target name="init.test">
    <!-- Initialization of the run directory -->
659 660 661 662
  	<move file="${test.dir}" todir="${test.dir}.old" overwrite="true" force="true" failonerror="false" performGCOnFailedDelete="true"/>
    <delete dir="${test.dir}.old" failonerror="false" performGCOnFailedDelete="true"/>
  	<delete dir="${test.dir}" failonerror="false" performGCOnFailedDelete="true"/>    
  	<sleep seconds="2"/>
afreyssin's avatar
afreyssin committed
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
    <mkdir dir="${test.dir}"/>

    <copy file="config.properties" todir="${test.dir}"/>
    <property name="bundle.dir" location="${ship.dir}/bundle" />
    <replace file="${test.dir}/config.properties" token="@BUNDLE_DIR@" value="${bundle.dir}" />
    <replace file="${test.dir}/config.properties" token="\" value="/" />

    <copy file="${a3conf}" tofile="${test.dir}/a3servers.xml"/>
    <replace file="${test.dir}/a3servers.xml"
             token="@engine@" value="${engine}"/>
    <replace file="${test.dir}/a3servers.xml"
             token="@transaction@" value="${transaction}"/>
    <replace file="${test.dir}/a3servers.xml"
             token="@network@" value="${network}"/>
    <replace file="${test.dir}/a3servers.xml"
             token="@multiCnxSync@" value="${multiCnx}"/>

    <copy file="a3debug.cfg" tofile="${test.dir}/a3debug.cfg"/>

    <available file="${joramAdmin}" type="file" 
               property="joramAdmin.available"/>
    <antcall target="cpJoramAdmin" inheritAll="true"/>

    <available file="${joramAdminExport}" type="file" 
               property="joramAdminExport.available"/>
    <antcall target="cpJoramAdminExport" inheritAll="true"/>

    <available file="${jndiconf}" type="file"
               property="jndi.available"/>
    <antcall target="cpJndi" inheritAll="true"/>

    <available file="${monitoring.props}" type="file"
               property="monitoring.available"/>
    <antcall target="cpMonitoring" inheritAll="true"/>

    <available file="${src.dir}/${manifest.mf}" type="file" property="test-bundle.available"/>
    <antcall target="test-bundle" inheritAll="true"/>
  </target>

  <target name="test-bundle" if="test-bundle.available">
    <jar jarfile="${obj.dir}/test-bundle.jar" manifest="${src.dir}/${manifest.mf}">
      <fileset dir="${obj.dir}">
        <include name="${include.classes}"/>
      </fileset>
    </jar>
    <copy file="config-extended.properties" tofile="${test.dir}/config.properties" overwrite="true"/>
    <property name="bundle.dir" location="${ship.dir}/bundle" />
    <replace file="${test.dir}/config.properties" token="@BUNDLE_DIR@" value="${bundle.dir}" />
    <replace file="${test.dir}/config.properties" token="\" value="/" />
  </target>

  <target name="cpJoramAdmin" if="joramAdmin.available">
    <copy file="${joramAdmin}" tofile="${test.dir}/joramAdmin.xml"/>
  </target>

  <target name="cpJoramAdminExport" if="joramAdminExport.available">
    <copy file="${joramAdminExport}" tofile="${test.dir}/joramAdminExport.xml"/>
  </target>

  <target name="cpJndi" if="jndi.available">
    <copy file="${jndiconf}" tofile="${test.dir}/jndi.properties"/>
  </target>

  <target name="cpMonitoring" if="monitoring.available">
    <copy file="${monitoring.props}" tofile="${test.dir}/monitoring.props"/>
  </target>

  <target name="init.a3props">
    <!-- Theses default properties can be overidden by param defines
      -  in specific target.
     -->
    <property name="engine" value="fr.dyade.aaa.agent.Engine"/>
    <property name="network" value="fr.dyade.aaa.agent.PoolNetwork"/>
    <property name="transaction" value="fr.dyade.aaa.ext.NGTransaction"/>
  </target>

  <target name="test.start">
    <!-- Launch test without initialization -->
741
    <java classname="${className}" failonerror="no" fork="yes" dir="${test.dir}">
afreyssin's avatar
afreyssin committed
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
      <classpath path="${project.class.path}"/>
      <jvmarg line="-DSCAdminClass=${SCAdminClass} -Dfelix.dir=${felix.dir} -Dfelix.config.properties=file:config.properties -Dcom.sun.management.jmxremote -Dframework.TestCase.TestId=${testid} -Dframework.TestCase.OutFile=${report.file} ${jvmargs}"/>
      <!-- jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y"/ -->
      <arg line="${args}"/>
    </java>
  </target>

  <target name="test.run">
    <!-- Launch test with initialization: init.test + test.start -->
    <antcall target="init.test" inheritAll="true"/>
    <antcall target="test.start" inheritAll="true"/>
  </target>

  <!--  ************ init and start end *************** -->

  <target name="tests.alias"
          description=" --> launch all alias tests">
    <antcall target="alias.AliasQTest"/>
    <antcall target="alias.AliasTTest"/>
    <antcall target="alias.AliasQTest2.simple"/>
    <antcall target="alias.AliasQTest2.pool"/>
    <antcall target="alias.AliasInQTest1"/>
    <antcall target="alias.AliasInQTest2"/>
  </target>

  <target name="alias.AliasQTest" depends="init.a3props,compile"
          description=" --> test an alias queue built with acquisition and distibution queue">
    <antcall target="test.run" inheritAll="true">
      <param name="testid" value="alias.AliasQTest"/>
      <param name="className" value="joram.alias.AliasTestQ"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="alias.AliasTTest" depends="init.a3props,compile"
          description=" --> test an alias topic built with acquisition and distibution topic">
    <antcall target="test.run" inheritAll="true">
      <param name="testid" value="alias.AliasTTest"/>
      <param name="className" value="joram.alias.AliasTestT"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="alias.AliasQTest2.simple" depends="init.a3props,compile"
          description=" --> test the AliasQueue behavior, holding messages when destination is unreachable">
    <antcall target="test.run" inheritAll="true">
      <param name="testid" value="alias.AliasQTest2.simple"/>
      <param name="className" value="joram.alias.AliasTestQ2"/>
      <param name="network" value="fr.dyade.aaa.agent.SimpleNetwork"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="alias/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="alias.AliasQTest2.pool" depends="init.a3props,compile"
          description=" --> test the AliasQueue behavior, holding messages when destination is unreachable">
    <antcall target="test.run" inheritAll="true">
      <param name="testid" value="alias.AliasQTest2.pool"/>
      <param name="className" value="joram.alias.AliasTestQ2"/>
      <param name="network" value="fr.dyade.aaa.agent.PoolNetwork"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="alias/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="alias.AliasInQTest1" depends="init.a3props,compile"
          description=" --> test the AliasInQueue behavior with static repartition">
    <antcall target="test.run" inheritAll="true">
      <param name="testid" value="alias.AliasInQTest1"/>
      <param name="className" value="joram.alias.AliasInQueueTest1"/>
      <param name="network" value="fr.dyade.aaa.agent.PoolNetwork"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="alias/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="alias.AliasInQTest2" depends="init.a3props,compile"
          description=" --> test the AliasInQueue behavior with dynamic repartition">
    <antcall target="test.run" inheritAll="true">
      <param name="testid" value="alias.AliasInQTest2"/>
      <param name="className" value="joram.alias.AliasInQueueTest2"/>
      <param name="network" value="fr.dyade.aaa.agent.PoolNetwork"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="alias/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_M" depends="init.a3props,compile"
          description=" --> test if the message receive is the same that the message sent, with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_M"/>
      <param name="className" value="joram.base.Test_Q_M"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_M" depends="init.a3props,compile"
          description=" --> test if the message receive is the same that the message sent, with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_M"/>
      <param name="className" value="joram.base.Test_T_M"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_MText" depends="init.a3props,compile"
          description=" --> test if the text message receive is the same that the message sent, with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MText"/>
      <param name="className" value="joram.base.Test_Q_MText"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

882 883 884 885 886 887 888 889 890 891 892 893
  <target name="base.test_Q_MText_Delay" depends="init.a3props,compile"
          description=" --> test if the text message received with the delay, with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MText_Delay"/>
      <param name="className" value="joram.base.Test_Q_MText_Delay"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>
Nicolas Tachker's avatar
Nicolas Tachker committed
894

afreyssin's avatar
afreyssin committed
895 896 897 898 899 900 901 902 903 904 905 906 907
  <target name="base.test_T_MText" depends="init.a3props,compile"
          description=" --> test if the text message receive is the same that the message sent, with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MText"/>
      <param name="className" value="joram.base.Test_T_MText"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

908 909 910 911 912 913 914 915 916 917 918 919
  <target name="base.test_T_MText_Delay" depends="init.a3props,compile"
          description=" --> test if the text message received with the delay, with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MText_Delay"/>
      <param name="className" value="joram.base.Test_T_MText_Delay"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>
920

afreyssin's avatar
afreyssin committed
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 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402
  <target name="base.test_Q_MObj" depends="init.a3props,compile"
          description=" --> test if the object message receive is the same that the message sent (use a String), with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MObj"/>
      <param name="className" value="joram.base.Test_Q_MObj"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_MObjNull" depends="init.a3props,compile"
          description=" --> test if the object message receive is the same that the message sent (use a null object), with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MObjNull"/>
      <param name="className" value="joram.base.Test_Q_MObjNull"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_MObjBA" depends="init.a3props,compile"
          description=" --> test if the object message receive is the same that the message sent (use a byte[]), with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MObjBA"/>
      <param name="className" value="joram.base.Test_Q_MObjBA"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_MObj" depends="init.a3props,compile"
          description=" --> test if the object message receive is the same that the message sent (use a String), with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MObj"/>
      <param name="className" value="joram.base.Test_T_MObj"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_MObjNull" depends="init.a3props,compile"
          description=" --> test if the object message receive is the same that the message sent (use a null object), with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MObjNull"/>
      <param name="className" value="joram.base.Test_T_MObjNull"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_MObjBA" depends="init.a3props,compile"
          description=" --> test if the object message receive is the same that the message sent (use a byte[]), with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MObjBA"/>
      <param name="className" value="joram.base.Test_T_MObjBA"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_MByte" depends="init.a3props,compile"
          description=" --> test if the byte message receive is the same that the message sent, with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MByte"/>
      <param name="className" value="joram.base.Test_Q_MByte"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_MByte" depends="init.a3props,compile"
          description=" --> test if the byte message receive is the same that the message sent, with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MByte"/>
      <param name="className" value="joram.base.Test_T_MByte"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_MMap" depends="init.a3props,compile"
          description=" --> test if the Map message receive is the same that the message sent, with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MMap"/>
      <param name="className" value="joram.base.Test_Q_MMap"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_MMap" depends="init.a3props,compile"
          description=" --> test if the Map message receive is the same that the message sent, with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MMap"/>
      <param name="className" value="joram.base.Test_T_MMap"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Q_MStream" depends="init.a3props,compile"
          description=" --> test if the Stream message receive is the same that the message sent, with queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Q_MStream"/>
      <param name="className" value="joram.base.Test_Q_MStream"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_T_MStream" depends="init.a3props,compile"
          description=" --> test if the Stream message receive is the same that the message sent, with topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_T_MStream"/>
      <param name="className" value="joram.base.Test_T_MStream"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_property_Q" depends="init.a3props,compile"
          description=" --> test if the message properties are transmit with a queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_property_Q"/>
      <param name="className" value="joram.base.Test_property_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_property_T" depends="init.a3props,compile"
          description=" --> test if the message properties are transmit with a topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_property_T"/>
      <param name="className" value="joram.base.Test_property_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Selector_Q" depends="init.a3props,compile"
          description=" --> test the message selector with a queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Selector_Q"/>
      <param name="className" value="joram.base.Test_Selector_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Selector_T" depends="init.a3props,compile"
          description=" --> test the message selector with a topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Selector_T"/>
      <param name="className" value="joram.base.Test_Selector_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Temp_Q" depends="init.a3props,compile"
          description=" --> test the functioning of Temporary Queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Temp_Q"/>
      <param name="className" value="joram.base.Test_Temp_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Temp_T" depends="init.a3props,compile"
          description=" --> test the functioning of Temporary Topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Temp_T"/>
      <param name="className" value="joram.base.Test_Temp_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Temp_T2" depends="init.a3props,compile"
          description=" --> tests delete temporay topic when connection close">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Temp_T2"/>
      <param name="className" value="joram.base.Test_Temp_T2"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Brows_Q" depends="init.a3props,compile"
          description=" --> test the functioning of browser with Queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Brows_Q"/>
      <param name="className" value="joram.base.Test_Brows_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>


  <target name="base.test_MsgList_T" depends="init.a3props,compile"
          description=" --> test the functioning of message listener">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_MsgList_T"/>
      <param name="className" value="joram.base.Test_MsgList_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Exp_Q" depends="init.a3props,compile"
          description=" --> test the message expiration with a queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Exp_Q"/>
      <param name="className" value="joram.base.Test_Exp_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_DMQ_Body" depends="init.a3props,compile"
          description=" --> test that a message body is not delete on a Dqueue when restart server">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_DMQ_Body"/>
      <param name="className" value="joram.base.Test_DMQ_Body"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

	<target name="base.test_Compress_MText" depends="init.a3props,compile"
	    description=" --> test a compress message body">
	    <antcall target="test.run" inheritAll="true">
	      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction" />
	      <param name="testid" value="base.test_Compress_MText" />
	      <param name="className" value="joram.base.Test_Compress_MText" />
	      <param name="jndiconf" value="base/jndi.properties" />
	      <param name="a3conf" value="base/a3servers1.xml" />
	      <param name="jvmargs" value="" />
	      <param name="args" value="" />
	    </antcall>
	  </target>

  <target name="base.test_CAck1_Q" depends="init.a3props,compile"
          description=" --> test client_acknowledgement with one message and  with a queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_CAck1_Q"/>
      <param name="className" value="joram.base.Test_CAck1_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_CAck1_T" depends="init.a3props,compile"
          description=" --> test client_acknowledgement with one message and  with a topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_CAck1_T"/>
      <param name="className" value="joram.base.Test_CAck1_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_CAck2_Q" depends="init.a3props,compile"
          description=" --> test client_acknowledgement with three messages, one acknowledgement and  with a queue.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_CAck2_Q"/>
      <param name="className" value="joram.base.Test_CAck2_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_CAck2_T" depends="init.a3props,compile"
          description=" --> test client_acknowledgement with three messages, one acknowledgement and with a topic">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_CAck2_T"/>
      <param name="className" value="joram.base.Test_CAck2_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_CAck3_Q" depends="init.a3props,compile"
          description=" --> test client_acknowledgement. The message is redelivred when a session is close not a consumer">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_CAck3_Q"/>
      <param name="className" value="joram.base.Test_CAck3_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Trans_Q" depends="init.a3props,compile"
          description=" --> test transcated session method with a queue.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Trans_Q"/>
      <param name="className" value="joram.base.Test_Trans_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Trans_Q2" depends="init.a3props,compile"
          description=" --> test transcated session method with a queue.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Trans_Q2"/>
      <param name="className" value="joram.base.Test_Trans_Q2"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Trans_Q3" depends="init.a3props,compile"
          description=" --> test transcated session method with a queue.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Trans_Q3"/>
      <param name="className" value="joram.base.Test_Trans_Q3"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Trans_T" depends="init.a3props,compile"
          description=" --> test transcated session method with a topic.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Trans_T"/>
      <param name="className" value="joram.base.Test_Trans_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_ExcpList_Q" depends="init.a3props,compile"
          description=" --> test ExceptionListener with a queue.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_ExcpList_Q"/>
      <param name="className" value="joram.base.Test_ExcpList_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Exceptions" depends="init.a3props,compile"
          description=" --> test ExceptionListener with a queue.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Exceptions"/>
      <param name="className" value="joram.base.Test_Exceptions"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_ExcpList_T" depends="init.a3props,compile"
          description=" --> test ExceptionListener with a topic.">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_ExcpList_T"/>
      <param name="className" value="joram.base.Test_ExcpList_T"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="base.test_Multi_Q" depends="init.a3props,compile"
          description=" --> check send and receive message with 500 queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="testid" value="base.test_Multi_Q"/>
      <param name="className" value="joram.base.Test_Multi_Q"/>
      <param name="jndiconf" value="base/jndi.properties"/>
      <param name="a3conf" value="base/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

	<target name="base.testActivation" depends="init.a3props,compile"
1403
            description=" --> test connection with or without ConnectionManager activation.">
afreyssin's avatar
afreyssin committed
1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842
	  <antcall target="test.run" inheritAll="true">
	    <param name="transaction" value="fr.dyade.aaa.util.NullTransaction" />
	    <param name="testid" value="base.testActivation" />
	    <param name="className" value="joram.base.TestProxyActivation" />
	    <param name="jndiconf" value="base/jndi.properties" />
	    <param name="a3conf" value="base/a3servers1.xml" />
	    <param name="jvmargs" value="" />
	  </antcall>
	</target>
	
  <!-- end test base -->

  <!-- test recovery -->
  <target name="recovery.test1" depends="init.a3props,compile"
          description=" --> test recovery with queue and kill servers after send message and before receive">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Recover_1"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="recovery.test2" depends="init.a3props,compile"
          description=" --> test recovery with queue and kill server before ack all messages">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Recover_2"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="recovery.test3" depends="init.a3props,compile"
          description=" --> test recovery with topic and kill servers after send message and before receive">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Recover_3"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="recovery.test4" depends="init.a3props,compile"
          description=" --> test recovery with topic and kill server before ack all messages">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Recover_4"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <!-- Commented as transaction properties are not restored properly for now. -->
  <target name="recovery.test5" depends="init.a3props,compile"
          description=" -> Check transaction properties after a restart of the agent server.">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Recover_5"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="recovery.reliable-test" depends="init.a3props,compile"
          description=" --> Test recovery : kill server during receive">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.ReliableTest"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="recovery.test6" depends="init.a3props,compile"
          description=" --> test recovery with 2 server and a durablesubscriber.  ">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test6"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers3.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

  <target name="recovery.test7" depends="init.a3props,compile"
          description=" --> test recovery with 1 server and a durablesubscriber.">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test7"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

  <target name="recovery.test8"
          description=" --> test the DMQ recovery">
    <antcall target="recovery.test8-1"/>
    <antcall target="recovery.test8-2"/>
    <antcall target="recovery.test8-3"/>
  </target>

  <target name="recovery.test8-1" depends="init.a3props,compile"
          description=" --> test  the DMQ recovery">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test8"/>
      <param name="testid" value="recovery.test8-1"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers3.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

  <target name="recovery.test8-2" depends="init.a3props,compile"
          description=" --> test the DMQ recovery. DMQ is on other server">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test8_2"/>
      <param name="testid" value="recovery.test8-2"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers3.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

  <target name="recovery.test8-3" depends="init.a3props,compile"
          description=" --> test the DMQ recovery">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test8_3"/>
      <param name="testid" value="recovery.test8-3"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers3.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

  <target name="recovery.test9">
    <antcall target="recovery.test9-1"/>
    <antcall target="recovery.test9-2"/>
  </target>

  <target name="recovery.test9-1" depends="init.a3props,compile">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test9"/>
      <param name="testid" value="recovery.test9-1"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers4.xml"/>
      <param name="jvmargs" value="-DMsgSize=10240"/>
    </antcall>
  </target>

  <target name="recovery.test9-2" depends="init.a3props,compile"
          description=" --> test recovery with several big message">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test9_2"/>
      <param name="testid" value="recovery.test9-2"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers4.xml"/>
      <param name="jvmargs" value="-DMsgSize=10240"/>
    </antcall>
  </target>

  <target name="recovery.test10" depends="init.a3props,compile"
          description=" --> test ..">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.recovery.Test10"/>
      <param name="testid" value="recovery.test10"/>
      <param name="jndiconf" value="recovery/jndi.properties"/>
      <param name="a3conf" value="recovery/a3servers.xml"/>
      <param name="jvmargs" value=""/>
    </antcall>
  </target>

  <!-- end test recovery -->

  <!-- test distributed -->

  <target name="dist.test1" depends="init.a3props,compile"
          description=" --> test distributed with 2 serveurs and queue">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_2serv"/>
      <param name="testid" value="dist.test1"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="dist.test2" depends="init.a3props,compile"
          description=" --> test distributed with 3 serveurs and queue">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_3serv"/>
      <param name="testid" value="dist.test2"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="dist.test3" depends="init.a3props,compile"
          description=" --> test distributed with 2 serveurs and topic">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_2serv_T"/>
      <param name="testid" value="dist.test3"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="dist.test4" depends="init.a3props,compile"
          description=" --> test distributed with 3 serveurs and topic">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_3serv_T"/>
      <param name="testid" value="dist.test4"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="dist.test5" depends="init.a3props,compile"
          description=" --> test distributed with 2 serveurs, a queue and a bad network">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_2serv_BadNetwork"/>
      <param name="testid" value="dist.test5"/>
      <param name="network" value="fr.dyade.aaa.agent.PoolNetwork"/>
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers2.xml"/>
      <param name="jvmargs" value="-DNbRound=1000 -DNbMsgPerRound=100"/>
      <param name="manifest.mf" value="utils/osgi/manifest.mf"/>
      <param name="include.classes" value="utils/*.class"/>
    </antcall>
  </target>

  <target name="dist.test6" depends="init.a3props,compile"
          description=" --> test distributed with 2 serveurs, a topic and a bad network">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_2serv_T_BadNetwork"/>
      <param name="testid" value="dist.test6"/>
      <param name="network" value="fr.dyade.aaa.agent.PoolNetwork"/>
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers2.xml"/>
      <param name="jvmargs" value="-DNbRound=1000 -DNbMsgPerRound=100"/>
      <param name="manifest.mf" value="utils/osgi/manifest.mf"/>
      <param name="include.classes" value="utils/*.class"/>
    </antcall>
  </target>

  <target name="dist.test.http" depends="init.a3props,compile"
          description=" --> test distributed with 2 serveurs, a topic and an http network">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_2serv_T_Http"/>
      <param name="testid" value="dist.test.http"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers.http.xml"/>
      <param name="jvmargs" value="-DNbRound=10 -DNbMsgPerRound=1"/>
    </antcall>
  </target>

  <target name="dist.test.http.long" depends="init.a3props,compile"
          description=" --> test distributed with 2 serveurs, a topic and an http network">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.distrib.Distrib_2serv_T_Http"/>
      <param name="testid" value="dist.test.http.long"/>
      <param name="jndiconf" value="distrib/jndi.properties"/>
      <param name="a3conf" value="distrib/a3servers.http.xml"/>
      <param name="jvmargs" value="-DNbRound=100 -DNbMsgPerRound=1"/>
    </antcall>
  </target>

  <!-- end test distributed -->

  <!-- test admin -->

  <target name="tests.admin" depends="admin.test1,admin.test2,admin.test3,admin.test4,admin.test5,admin.test6,admin.test7,admin.test8"/>

  <target name="admin.test1" depends="init.a3props,compile"
          description=" --> test admin configuration">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest1"/>
      <param name="testid" value="admin.test1"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test2" depends="init.a3props,compile"
          description=" --> test admin configuration">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest2"/>
      <param name="testid" value="admin.test2"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test3" depends="init.a3props,compile"
          description=" --> test admin configuration">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest3"/>
      <param name="testid" value="admin.test3"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test4" depends="init.a3props,compile"
          description=" --> test admin configuration">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest4"/>
      <param name="testid" value="admin.test4"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test5" depends="init.a3props,compile"
          description=" --> test admin configuration">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest5"/>
      <param name="testid" value="admin.test5"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test6" depends="init.a3props,compile"
          description=" --> test user deletion">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest6"/>
      <param name="testid" value="admin.test6"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers1.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test7" depends="init.a3props,compile"
          description=" --> test server static invocation method">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest7"/>
      <param name="testid" value="admin.test7"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="admin.test8" depends="init.a3props,compile"
          description=" --> test admin configuration">
    <antcall target="test.run" inheritAll="true">
      <param name="className" value="joram.admin.AdminTest8"/>
      <param name="testid" value="admin.test8"/>
      <param name="jndiconf" value="admin/jndi.properties"/>
      <param name="a3conf" value="admin/a3servers2.xml"/>
      <param name="jvmargs" value=""/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <!-- fin test admin -->

  <!-- test client -->

  <target name="client.test8" depends="init.a3props,compile"
          description=" --> test delete temporary queue">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="className" value="joram.client.ClientTest8"/>
      <param name="jndiconf" value="client/jndi.properties"/>
      <param name="a3conf" value="client/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="testid" value="client.test8"/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="client.test13" depends="init.a3props,compile"
          description=" --> Reproduce bug in ClientSubscription">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="className" value="joram.client.ClientTest13"/>
      <param name="jndiconf" value="client/jndi.properties"/>
      <param name="a3conf" value="client/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="testid" value="client.test13"/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="client.test18" depends="init.a3props,compile"
          description=" --> Checks that a message listener can send messages ">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="className" value="joram.client.ClientTest18"/>
      <param name="jndiconf" value="client/jndi.properties"/>
      <param name="a3conf" value="client/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="testid" value="client.test18"/>
      <param name="args" value=""/>
    </antcall>
  </target>

  <target name="client.mcun" depends="init.a3props,compile"
          description=" --> concurrent close consumer and a consumer listener">
    <antcall target="test.run" inheritAll="true">
      <param name="transaction" value="fr.dyade.aaa.util.NullTransaction"/>
      <param name="className" value="joram.client.MsgConsUnsubscribe"/>
      <param name="jndiconf" value="client/jndi.properties"/>
      <param name="a3conf" value="client/a3servers.xml"/>
      <param name="jvmargs" value=""/>
      <param name="testid" value="client.mcun"/>
      <param name="args" value=""/>
    </antcall>
  </target>

1843
	<!--This test don't test anything (no asset about memory leak) and it never terminates -->
afreyssin's avatar
afreyssin committed
1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905