Java Doc for AppletRunnerStep.java in  » Testing » webtest » com » canoo » webtest » extension » applet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » webtest » com.canoo.webtest.extension.applet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.canoo.webtest.steps.request.AbstractTargetAction
   com.canoo.webtest.extension.applet.AppletRunnerStep

AppletRunnerStep
public class AppletRunnerStep extends AbstractTargetAction (Code)

author:
   Denis N. Antonioli


Field Summary
final public static  StringA_CLOVER_CLASS
     The name of a class in the clover jar.
final static  StringLOG4J_CONFIGURATION
    
final static  StringLOG4J_DEFAULT_INIT_OVERRIDES
    
final public static  StringPROTOCOL_HANDLER_LIST
    
final public static  StringRUNNER_PACKAGE
     The package that is parent to all the necessary StreamHandler.
final static  IntegerZERO
    


Method Summary
protected  voidaddComputedParameters(Map map)
    
public  voidaddParam(Parameter param)
    
public  voidaddParameter(Parameter param)
    
public  voidaddParameterRef(ParameterRef param)
    
 booleanappendOptionalToClasspath(String aClassName, Path classpath)
     Adds a jar file for a given class to the classpath.
Parameters:
  aClassName - The class to look for.
Parameters:
  classpath - The claspath to change.
 voidappendToClasspath(Class aClass, Path classpath)
     Adds a jar file for a given class to the classpath.
protected  URL[]convertPathToURL(Path path)
    
 AppletPluginArgumentscreateAppletPluginArguments()
    
public  Commandline.ArgumentcreateJvmarg()
     Adds a JVM argument.
 AbstractAppletTagextractAppletParameter(URL url, HtmlElement appletNode)
    
static  StringextractClasspathEntry(String url, String classRsrc)
     Cuts off the name of the class and the '!/' that indicates a url into a jar.
protected  PagefindTarget()
    
protected  PagefindTargetWithResults(AppletPluginResults apr, Context context)
    
protected  StringgetLogMessageForTarget()
    
 IteratorgetParameters()
    
static  Environment.VariablegetProtocolHandler()
    
public  StringgetScenario()
    
public  StringgetScenarioLocation()
    
public  StringgetTarget()
    
public static  URLgetUrlForClass(String className)
    
public  StringgetXpath()
    
public  voidsetProject(Project p)
    
public  voidsetScenario(String scenario)
    
public  voidsetScenarioLocation(String scenarioLocation)
    
static  voidsetSysProperty(CommandlineJava cmd, String key, String value)
    
public  voidsetTarget(String target)
    
public  voidsetXpath(String xpath)
    
static  voidsetupLog4j(CommandlineJava cmd)
     Settings for log4j in the child jvm.
 voidverifyAppletResult(AppletPluginResults apr)
    
protected  voidverifyParameters()
    

Field Detail
A_CLOVER_CLASS
final public static String A_CLOVER_CLASS(Code)
The name of a class in the clover jar. Uses this constant to find the jar file on the classpath, if it is present.



LOG4J_CONFIGURATION
final static String LOG4J_CONFIGURATION(Code)



LOG4J_DEFAULT_INIT_OVERRIDES
final static String LOG4J_DEFAULT_INIT_OVERRIDES(Code)



PROTOCOL_HANDLER_LIST
final public static String PROTOCOL_HANDLER_LIST(Code)



RUNNER_PACKAGE
final public static String RUNNER_PACKAGE(Code)
The package that is parent to all the necessary StreamHandler. We do not uses reflection to get this value, because we don't want any of these classes loaded in webtest jvm.



ZERO
final static Integer ZERO(Code)





Method Detail
addComputedParameters
protected void addComputedParameters(Map map)(Code)
Adds the nested parameters children



addParam
public void addParam(Parameter param)(Code)
AppletRunnerStep.addParameter(Parameter)



addParameter
public void addParameter(Parameter param)(Code)

Parameters:
  param -



addParameterRef
public void addParameterRef(ParameterRef param)(Code)

Parameters:
  param -



appendOptionalToClasspath
boolean appendOptionalToClasspath(String aClassName, Path classpath)(Code)
Adds a jar file for a given class to the classpath.
Parameters:
  aClassName - The class to look for.
Parameters:
  classpath - The claspath to change. True if the desired class was added to the classpath.



appendToClasspath
void appendToClasspath(Class aClass, Path classpath)(Code)
Adds a jar file for a given class to the classpath.
Parameters:
  aClass - The class to look for.
Parameters:
  classpath - The claspath to change.



convertPathToURL
protected URL[] convertPathToURL(Path path)(Code)



createAppletPluginArguments
AppletPluginArguments createAppletPluginArguments()(Code)



createJvmarg
public Commandline.Argument createJvmarg()(Code)
Adds a JVM argument. create a new JVM argument so that any argument can be passed to the JVM.
since:
   Ant 1.2



extractAppletParameter
AbstractAppletTag extractAppletParameter(URL url, HtmlElement appletNode)(Code)



extractClasspathEntry
static String extractClasspathEntry(String url, String classRsrc)(Code)
Cuts off the name of the class and the '!/' that indicates a url into a jar.
Parameters:
  url -
Parameters:
  classRsrc - the class name



findTarget
protected Page findTarget() throws JaxenException, IOException, SAXException(Code)



findTargetWithResults
protected Page findTargetWithResults(AppletPluginResults apr, Context context) throws IOException, SAXException(Code)



getLogMessageForTarget
protected String getLogMessageForTarget()(Code)



getParameters
Iterator getParameters()(Code)



getProtocolHandler
static Environment.Variable getProtocolHandler()(Code)



getScenario
public String getScenario()(Code)



getScenarioLocation
public String getScenarioLocation()(Code)



getTarget
public String getTarget()(Code)



getUrlForClass
public static URL getUrlForClass(String className) throws MalformedURLException(Code)



getXpath
public String getXpath()(Code)



setProject
public void setProject(Project p)(Code)



setScenario
public void setScenario(String scenario)(Code)

Parameters:
  scenario -



setScenarioLocation
public void setScenarioLocation(String scenarioLocation)(Code)

Parameters:
  scenarioLocation -



setSysProperty
static void setSysProperty(CommandlineJava cmd, String key, String value)(Code)



setTarget
public void setTarget(String target)(Code)

Parameters:
  target -



setXpath
public void setXpath(String xpath)(Code)

Parameters:
  xpath -



setupLog4j
static void setupLog4j(CommandlineJava cmd)(Code)
Settings for log4j in the child jvm. The logic here is derived from the description in log4j's short manual.
Parameters:
  cmd - The command line for the child jvm.



verifyAppletResult
void verifyAppletResult(AppletPluginResults apr)(Code)



verifyParameters
protected void verifyParameters()(Code)



Methods inherited from com.canoo.webtest.steps.request.AbstractTargetAction
public void doExecute() throws Exception(Code)(Java Doc)
abstract protected Page findTarget() throws Exception(Code)(Java Doc)
abstract protected String getLogMessageForTarget()(Code)(Java Doc)
public String getPassword()(Code)(Java Doc)
protected Page getResponse(WebRequestSettings settings) throws IOException, SAXException(Code)(Java Doc)
public String getSave()(Code)(Java Doc)
public String getUsername()(Code)(Java Doc)
public void setPassword(String password)(Code)(Java Doc)
public void setUsername(String userName)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.