JaVa
   

C

Cactus, 346 Ant integration, 359–360 architecture, 350 beginXXX() method, 351, 353, 363 downloading, 343 EJB testing Ant buildfile example, 396–397 benefits of, 393 OrderReportBean example, 393–396 product entity bean, 397–401 ProductTest, 401–408 endXXX() method, 357, 363 example test, 349–350 filter testing, 365–369 HttpUnit comparison, 299, 346 implicit objects, 354–355 installing, 347 client-side installation, 348–349 server-side installation, 347–348 JSP tag testing, 371 attribute testing, 373–375 body tag testing, 376–377 iteration tag testing, 378–379 simple tag test, 372–373 tag library descriptor testing, 384–385 TagExtraInfo classes, 384 JSPs, testing, 371 JspTestCases, 371, 372–373 pet store example business need, 386 examining JSPs, 386 tag loop, 387–388 TestCase, writing, 386–387 redirectors, 346 results collection, 356–357 setUp() method, 355–356 tearDown() method, 355–356 TestCases beginning execution, 351–353 calling redirector servlets, 353 FilterTestCase, 351 JspTestCase, 351 server-side execution, 355–356 server-side setup, 353–354 ServletTestCase class, 351 testing requirements, 359–360 testing servlets, 361–365 testXXX() method, 356 WebRequests, 351–352 WebResponse class, 357–358 CASE tools, 9–10 change embracing, 3–4 incremental, 3 check task (Ant), 412 checking out code (CVS repositories), 27 chmod task (Ant), 62, 535–536 Clark, Mike, 263 classpath element (Ant), 204, 553 classpaths referring to by reference, 45–46 setting up (Ant), 44–46 clean target (Ant), 40, 70 Hello World main project, 80 Hello World model project, 72 in master buildfiles, 121 ClearCase component (CruiseControl), 498 ClearCaseBootStrapper component (CruiseControl), 498–499 ClientCookie class (Cactus), 628–629 Clover, 409 code coverage, 409. See also jcoverage basic block coverage, 411 benefits of, 410–411 branch coverage, 411, 417–419 function coverage, 411 GroboUtils, 422 instrumentation, 409 byte-code, 410–411 with modified JVMs, 410 source code, 410 path coverage, 411 race coverage, 411 relational operator coverage, 411 statement coverage, 411, 417 code documentation, 131. See also Javadoc; XDoclet code repositories (CVS), 24 adding files, 27–30 checking out code, 27 connecting to, 26–27 creating branches, 31–33 local, 24–25 locking files, 31 merge conflics, 35–36 recovering files, 34–35 removing files, 33 updating modules, 30–31 coding standards, 9 collective ownership (XP practice), 8 com.clarkware.junitperf package, 665 command line options, Ant, 527–528 commands (CVS), 26 comment blocks (Javadoc), 132 com.meterware.httpunit package, 635 communication (XP value), 2 compile target (Ant), 40, 70 Hello World app project, 77 Hello World Model 2 example, 97 Hello World model project, 73 compiling Struts apps, 195 ComponentFinder class (jfcUnit), 439 ComponentOperator (Jemmy), 433–436 components (Bugzilla), 285–287 Concurrent Versions System. See CVS conditional targets (Ant), 50–52 config object (Cactus), 355 configuration files (Struts), 190–191 configuration management systems, 509 ConstantTimer class (JUnitPerf), 665–666 < contains> selector (Ant), 46 < containsregexp> selector (Ant), 48 continuous integration, 6–7. See also Ant AntHill, 507–508 Administration page, 511–512 app servers, 509–510 building projects, 521–522 configuring, 512–513 creating projects, 518–521 HelloWorld project, 515–518 scheduling builds, 523 urban{code} example project, 514–515 benefits of, 508 CruiseControl, 489–490 alternatives to, 490 bootstrapper components, 498–499 build labels, 500 build log, 493–494 build queues, 502 build scripts, 503–504 builder components, 499–500 BuildLogger components, 500 < cruisecontrol> tag, 491 keeping track of builds, 493 LabelIncrementer components, 500–501 lifecycle, 502 mailing lists, 505 < modificationset> element, 493 multiproject support, 503 MVCHelloWorld project example, 491–497 naming conventions, 491 < project> tag, 491 uploader components, 501–502 publishing results, 494–495 quiet period, 492 < schedule> element, 492 source control system components, 498 synchronizing clocks, 492 successful system components, 509 contributors/contributor element (Maven), 465 controllers (JMeter), 321–322 logic, 321 setting up (pet store example), 323–325 testing, 321 controlling servers, 509. See also AntHill Cookie class (Cactus), 610–614 cookies HttpUnit, 310 tracking with JMeter, 326 copy task (Ant), 536–537 Costello, 447–448. See also Abbot adding assertions, 453 cleaning up results, 454 dialog test example, 453–454 editor frame, 449 key modifiers, 450 recording tests, 448–450 Robot mode, 449 STDOUT errors, 450 table test example, 452–453 courage (XP value), 2 Craig, Philip, 344 create method tags (XDoclet), 175 CruiseControl, 489–490 alternatives to, 490 build labels, 500 build log, 493–494 build queues, 502 build scripts, 490, 503–504 components bootstrappers, 498–499 builders, 499–500 BuildLoggers, 500 LabelIncrementers, 500–501 uploaders, 501–502 source control system, 498 < cruisecontrol> tag, 491 downloading, 489 keeping track of builds, 493 lifecycle, 502 log files, viewing, 497 mailing lists, 505 < modificationset> element, 493 multiproject support, 503 MVCHelloWorld project example, 491–497 naming conventions, 491 < project> tag, 491 publishing results, 494–495 quiet period, 492 running, 496–497 < schedule> element, 492 synchronizing clocks, 492 version control repositories supported, 490 < cruisecontrol> tag, 491 CurrentBuildStatusBootStrapper component (CruiseControl), 498–499 CurrentBuildStatusFTPBootStrapper component (CruiseControl), 498–499 CurrentBuildStatusFTPuploader component (CruiseControl), 502 CurrentBuildStatusuploader component (CruiseControl), 501 custom Ant tasks, example buildfile, 208–211 custom tags (JSP), 371–372 attribute testing, 373–375 body tag testing, 376–377 BodyContent object, testing with, 380 iteration tag testing, 378–379 nested tags, 381–384 pet store example, 388–390 simple tag test, 372–373 tag library descriptor testing, 257–259 TagExtraInfo classes, 384 custom tasks (Ant) accessing properties, 203–204 Ant class, 201–203 < classpath> element, 204 execute() method, 204–205 nested elements, 205–208 TDSS task example, 200–201 cvs add command, 28, 29 cvs co command, 27 cvs commit command, 28–29, 34 CVS component (CruiseControl), 498 CVS (Concurrent Versions System), 23, 24 code repositories, 24 adding files, 27–30 checking out code, 27 connecting to, 26–27 creating branches, 31–33 local, 24–25 locking files, 31 recovering files, 34–35 removing files, 33 updating modules, 30–31 commands, 26 CVS Home, 36 downloading, 23 merge conflics, 35–36 with NetBeans/Forte, 36 server administration, 33–34 source drops, 35 up-to-date check failure, 34 WebCVS, 36 WinCVS, 36 on Windows platforms, 35 CVS Home, 36 cvs init command, 34 cvs remove command, 33 cvs status command, 29–30 cvs tag -b command, 32 cvs task (Ant), 62, 550 cvs update command, 30–31 CVSBootStrapper component (CruiseControl), 498–499 CVSLabelIncrementer component (CruiseControl), 500
JaVa
   
Comments