Java Extreme Programming Cookbook doc
... Matches Does not match * .java Person .java Person.class Person* .java Person .java, PersonA .java, PersonBoss .java P .java, BossPerson .java Test? .java TestA .java Test .java, TestOne .java **/*.txt a.txt, ... [echo] [echo] [echo] [echo] [java] [java] [java] [java] [java] Now in buildfile prop1 = First Prop prop2 = Property from Buildfile prop3 = Third Prop user.home = C:\Documents...
Ngày tải lên: 14/03/2014, 16:20
Java™ Extreme Programming Cookbook potx
... a book about open source Java tools that complement Extreme Programming (XP) practices In this chapter, we outline the relationship between programming tools and XP, followed by a brief introduction ... complete and stable build environment on any Java-enabled platform This is also a book about Extreme Programming (XP), which led us to choose the tools that we did The XP software de...
Ngày tải lên: 27/06/2014, 12:20
... Application Section 10 .9 Hot-Deploying to JBoss Section 10 .10 Hot-Deploying a Web Application to JBoss Section 10 .11 Testing Against Multiple Servers Chapter 11 Additional Topics Section 11 .1 Introduction ... 11 .1 Introduction Section 11 .2 Testing XML Files Section 11 .3 Enterprise JavaBeans Testing Tools Section 11 .4 Avoiding EJB Testing Section 11 .5 Testing Swing GUIs Se...
Ngày tải lên: 12/08/2014, 19:21
... Table 3 -2 Ant pattern-matching examples Pattern Matches Does not match * .java Person .java Person.class Person* .java Person .java, PersonA .java, PersonBoss .java P .java, BossPerson .java Test? .java ... Test? .java TestA .java Test .java, TestOne .java **/*.txt a.txt, src/a.txt, src/com/oreilly/b.txt Files not ending in txt src/**/* .java src/A .java, src/com/oreilly/File .jav...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 3 pdf
... at com.oreilly.javaxp.junit.TestPerson.testGetFullName(C:/cvsdata /java_ xp_ cookbook/ examples/src/com/oreilly/javaxp/junit/TestPerson .java :24) 2) testNullsInName(com.oreilly.javaxp.junit.TestPerson)junit.fram ... Burke> but was:
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 4 pptx
... the mouse or typing with the keyboard using java. awt.Robot 4. 19.2 Solution We not recommend this technique 4. 19.3 Discussion java. awt.Robot allows Java applications to take command of native ... database to a known state very quickly 4. 20 .4 See Also Recipe 4. 7 shows how to implement oneTimeSetUp( ) and oneTimeTearDown( ) 4. 21 Repeatedly Testing the Same Method 4. 21.1 Probl...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 5 pot
... have all passed 5. 7.4 See Also Recipe 5. 6 discusses testable HTML 5. 8 Testing a Form Tag and Refactoring Your Tests 5. 8.1 Problem You want to test for the existence of an HTML form 5. 8.2 Solution ... well as showing a refactored test fixture Example 5- 5 opens with a test for a basic HTML form Example 5- 5 Refactored unit test package com.oreilly.javaxp.httpunit; import com.meterw...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 6 ppt
... Objects with MockMaker 6. 6.1 Problem You want to automatically generate a mock object from any Java interface 6. 6.2 Solution Use MockMaker, available from http://www.mockmaker.org 6. 6.3 Discussion Writing ... refid="classpath.mockmaker"/> < /java> 6. 6.4 See Also Recipe 6. 2 and Recipe 6. 3 show how to hand-code mock objects that look similar to the code ... then echoed to the co...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 7 pdf
... Example 7- 7 Example 7- 7 First iteration of the ShoppingCartServlet package com.oreilly.javaxp.cactus.servlet; import import import import import import javax.servlet.http.HttpServlet; javax.servlet.http.HttpServletRequest; ... Example 7- 8 and Example 7- 9 show these objects Example 7- 8 Shopping cart class package com.oreilly.javaxp.cactus.servlet; import import import import java. i...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 8 potx
... tearing down the tests 8. 3.4 See Also Recipe 8. 4 shows how to create a JUnitPerf LoadTest Recipe 8. 7 shows how to use Ant to execute JUnitPerf tests 8. 4 Creating a LoadTest 8. 4.1 Problem You need ... junit.textui.TestRunner.run(suite( )); } 8. 4.4 See Also Recipe 8. 3 shows how to create a JUnitPerf TimedTest Recipe 8. 7 shows how to use Ant to execute JUnitPerf tests 8. 5 Creat...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 9 potx
... http://xdoclet.sourceforge.net/1.2beta/templates/index.html 9. 9 Extending XDoclet to Generate Custom Files 9. 9.1 Problem You would like to extend XDoclet to generate custom files 9. 9.2 Solution There are five main steps ... to generate JUnitPerf tests did not exist 9. 9.4 See Also Recipe 9. 10 shows how to create a custom Ant Doclet subtask to generate JUnitPerf tests Recipe 9. 11 sh...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 10 potx
... import import import import java. io.ByteArrayOutputStream; java. io.File; java. io.IOException; java. io.PrintWriter; java. net.HttpURLConnection; java. net.MalformedURLException; java. net.URL; public class ... deploy your new application 10. 9.4 See Also Recipe 10. 3 shows how to use Tomcat's Manager web application to hot-deploy 10. 10 Hot-Deploying a Web Application to JBoss 1...
Ngày tải lên: 12/08/2014, 19:21
Java programming language basics
... 17:30 Java( TM) Language Basics, Part 1, Lesson 2: Building Applications http://developer .java. sun.com/developer aining /Programming/ BasicJava1/prog.html Training Index JavaTM Programming Language Basics, ... 17:30 Java( TM) Language Basics, Part 1, Lesson 3: Building Applets http://developer .java. sun.com/developer ning /Programming/ BasicJava1/applet.html Training Index Jav...
Ngày tải lên: 06/08/2013, 17:39