JaVa
   

Index

A

AAA pet store. See pet store example Abbot, 447–448. See also Costello advantages, 455 defining components, 451 defining launch arguments, 451 dialog test example, 453–454 downloading, 447 integrating tests, 450–451 ScriptTestSuite function, 451 table test example, 452–453 test suite, creating, 454–455 AbstractTestCase class (Cactus), 607–610 acceptance testing. See functional testing Action object (Struts), 189–190 ActionForm (Struts), 188–189 ActiveTestSuite class (JUnit), 600–601 all targets (Ant), 40, 70 AllTest test suite example, 228 < and> selector container (Ant), 49 Ant. See also continuous integration; Hello World Model 2 example buildfiles, 39, 199–200 as documentation, 37–38 EJB testing, 396–397 master, 78–80 naming conventions, 70 nesting, 59 organization, 67–68 running, 73–74 specifying name, 41 for standalone apps, 76–78 Cactus integration, 359–360 command line options, 527–528 continuous integration, 38 custom tasks accessing properties, 203–204 < classpath> element, 204 example buildfile, 208–211 execute() method, 204–205 nested elements, 205–208 Task class, 201–203 TDSS task example, 200–201 directory/file system tasks, 535 chmod task, 535–536 copy task, 536–537 delete task, 537 mkdir task, 538 move task, 538 touch task, 538–539 downloading, 37 EJB deployment, 254 deploy directory, copying to, 257 directory structure, 254–255 enterprise_beans buildfile, 255–256 JAR files, creating, 257–258 support libraries, 259 elements classpath element, 553 fileset element, 555 mapper element, 63–64, 554–555 patternset element, 555 zipfileset element, 556 extensibility of, 37 external execution tasks, 539 apply task, 539–540 exec task, 540–541 execon task, 541–542 java task, 542–543 javac task, 543–544 sql task, 544–545 file library tasks, 545 jar task, 545–546 unjar task, 548 unwar task, 548 unzip task, 548 war task, 546–547 zip task, 547 file manipulation tasks, 548 mail task, 549 replace task, 548–549 Filter tag, 530–531 filters, 52–53 FilterChains, 55–59 FilterReaders, 55–59 filtersets, 53–54 Hello World model project buildfile, 70–73 classes, 68–69 targets, 70–73 HelloWorldApplet project buildfile, 84 building the applet, 85 IDEs comparison, 38 support, 250 installing, 42 JUnit integration junitSample project, 229–234 setting up JAR files, 229 key tasks, 532 ant task, 532 antcall task, 532 available task, 533 echo task, 534 fail task, 534 property task, 534–535 taskdef task, 535 listeners, 60 literals, defining, 72 loggers, 60–62 mappers, 63–64 flatten, 64 glob, 64 identity, 63–64 merge, 64 package, 64 regexp, 64 unpackage, 64 optional tasks junit task, 551–552 junitreport task, 552–553 passing properties to, 51 Path tag, 530 pathelements, 44–46 location, 44 path, 44 patternsets, 49–50 project tag, 528 projects, 39–40 properties, 43 requirements, 7 running, 42 selectors, 46 containers, 49 < contains>, 46 < containsregexp>, 48 < date>, 46–47 < depend>, 47 < depth>, 47 < different>, 47 < filename>, 47–48 < present>, 48 < size>, 48 < type>, 48 setup files, 42 source control tasks, 549 cvs task, 549 get task, 550 Target tag, 529–530 targets, 39–40, 200 clean, 40, 72 compile, 40, 73 conditional, 50–52 default, setting, 71 deploy, 40 docs/javadocs, 40 fetch, 40 init, 40, 72 init-debug, 40 init-release, 40 link/jar, 40 main, 40 naming, 39–40 package, 72 prepare, 73 publish, 40 setProps target (Ant), 71–72 staging, 40 standard, 40 test, 40 tasks, 39–40 adding to Maven projects, 473–474 BuildNumber, 62 check, 412 Chmod, 62 cvs, 62 < echo>, 493 instrument, 412 JAR, 63 jcoverage as, 411–416 jtestrun, 412 merge, 412 parallel, 62–63 report, 412 tasks automated by, 6 Tstamp tag, 531 with XDoclet. see XDoclet Ant component (CruiseControl), 499–500 Ant in Anger, 40 Ant tag library (Jelly), 473 ant task, 532 antcall task (Ant), 532 AntClassLoader class (Ant), 558–559 AntHill, 507–508 Administration page, 511–512 app servers, 509–510 builds adding, 523–524 scheduling, 523 configuring, 512–513 dependencies, 524–525 downloading, 507 HelloWorld project creating, 516–517 impounding, 517 test build, 517–518 installing, 509–512 pet store example, 525–526 projects building, 521–522 creating, 518–521 directory structure, 522 urban{code} example project, 514–515 Apache settings (Bugzilla), 282–283 Applet class, 81–83 applets buildfiles, creating, 84 building with Ant, 85 delivering to browsers, 102–103 including in WAR files, 103–104 JAR files, 14–15 apply task (Ant), 539–540 artifactId element (Maven), 466 Artifactsuploader component (CruiseControl), 501 aspectSourceDirectory element (Maven), 466, 477–478 assembled enterprise beans, 17 Assert class (JUnit), 585–588 assertions, adding to Costello, 453 AssertUtils class (Cactus), 627–628 assuming simplicity, 3 AuthFilter example (Cactus), 366–369 AuthorizationRequiredException class (HttpUnit), 636 automated builds, 37–38. See also Ant automated testing, requirements for, 7 available task (Ant), 533
JaVa
   
Comments