JaVa
   

T

TableCell class (HttpUnit), 646–647 tables, accessing with HttpUnit, 305–306 tag handlers, 373 nested tags, 381–384 scopes, 375 tag libraries (Jelly), 472–473 tag library descriptor testing, 384–385 TagData objects, 384 TagExtraInfo class, 384 taglibs (XDoclet), 154–157 tags Javadoc, 132–133 XDoclet custom, 214–215 @ ejb.bean, 172–173 @ ejb.create-method, 175 @ ejb.finder, 173–174 @ ejb.home, 173 @ ejb.interface, 173 @ ejb.interface-method, 175–176 @ ejb.persistence, 174–175 @ ejb.persistence-field, 175 @ ejb.pk, 173 @ ejb.relation, 176–177 @ ejb.transaction, 177 @ struts.action, 196–197 @ struts.action-forward, 196–197 @ struts.form, 195–196 @ struts.validator, 196 webdoclet, 150–152 Target Class (Ant), 576–577 target directory (Maven), 468 Target tag (Ant), 529–530 targets (Ant), 39–40, 200 all, 40 clean, 40 compile, 40 conditional, 50–52 default, setting, 71 deploy, 40 docs/javadocs, 40 fetch, 40 Hello World app project, 76 Hello World model project, 70–73 init, 40 init-debug, 40 init-release, 40 link/jar, 40 main, 40 naming, 39–40 pet store example, 686–687 publish, 40 staging, 40 standard, 40 test, 40 Task class (Ant), 201–203, 578–579 TaskAdapter class (Ant), 580 taskdef task (Ant), 535 tasks, 39–40 adding to Maven projects, 473–474 BuildNumber, 62 check, 412 Chmod, 62 custom 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 cvs, 62 < echo>, 493 ejbdoclet, 136–140, 141 hibernatedoclet, 141 instrument, 412 JAR, 63 jcoverage as, 411–416 jdodoclet, 141 jmxdoclet, 141 jtestrun, 412 merge, 412 mockdoclet, 141 parallel, 62–63 portletdoclet, 141 report, 412 webdoclet, 141 with Eclipse, 157–167 generating deployment descriptors, 152–154 Struts app, 197–198 taglibs, 154–157 tags, 150–152 tearDown() method (Cactus), 355–356 templates (XDoclet), 133, 142–143 custom template example, 217–220 simple template example, 216–217 test cases (JUnit), 223 defining classes, 225 defining tests, 226–227 HashMapTest example, 223–228 overriding setUp(), 225 VectorTest, 223 test data, creating with Ant, 687–691 test fixtures, 223, 590 Test Interface (JUnit), 589 test suites (JUnit), 223, 227–228 test targets (Ant), 40 JUnit integration, 229–230 JUnit test project, 241–242 TestCase class (JUnit), 589–593 TestCases (Cactus) FilterTestCase, 351 JspTestCase, 351 server-side execution, 355–356 server-side setup, 353–354 ServletTestCase, 351 TestDecorator class (JUnit), 603–604 TestFailure class (JUnit), 594 TestHelper class (jfcUnit), 438–439 testing. See also automated testing functional, 297–298 integration, 344 advantages, 344–345 disadvantages, 345 as XP practice, 5–6 testing controllers (JMeter), 321 TestListener interface (JUnit), 593–594 TestPlans (JMeter), 320–321 TestResult class (JUnit), 594–597 TestSetup class (JUnit), 604–605 TestSuite class (JUnit), 597–600 testXXX() method (Cactus), 356 ThreadBarrier class (JUnitPerf), 670 ThreadedTest class (JUnitPerf), 671 ThreadedTestGroup class (JUnitPerf), 671–672 ThreadGroups (JMeter), 320 controllers, 321–322 listeners, 322 setting up (pet store example), 322–323 threads (JMeter), 321 timed tests (JUnitPerf), 264 decorating tests with, 264, 275–276 Loop test case creating tests, 264–268 running, 269–271 test data, 268 TimedTest class (JUnitPerf), 672–674 timeouts (Jemmy), 433–436 timers (JMeter), 321, 325 Tomcat, 126, 486 touch task (Ant), 538–539 tracer bullets, 319 Tstamp tag (Ant), 531 Turbine, 457 type element (Maven), 466 < type> selector (Ant), 48
JaVa
   
Comments