Java Doc for Test.java in  » Web-Framework » jpublish » uk » ltd » getahead » dwrdemo » test » 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 » Web Framework » jpublish » uk.ltd.getahead.dwrdemo.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   uk.ltd.getahead.dwrdemo.test.Test

Test
public class Test (Code)
Methods to help unit test DWR.
author:
   Joe Walker [joe at eireneh dot com]

Inner Class :public class InnerSubTestBean extends TestBean
Inner Class :public static class StaticInnerSubTestBean extends TestBean
Inner Class :static class TestBeanInvocationHandler implements InvocationHandler
Inner Class :public interface Foo
Inner Class :public class InnerFoo implements Foo

Field Summary
final protected static  Loggerlog
    


Method Summary
public  booleanareIdentical(List a, List b)
    
public  BigDecimalbigDecimalParam(BigDecimal test)
    
public  BigIntegerbigIntegerParam(BigInteger test)
    
public  boolean[]booleanArrayParam(boolean[] test)
    
public  booleanbooleanParam(boolean test)
    
public  byte[]byteArrayParam(byte[] test)
    
public  bytebyteParam(byte test)
    
public  char[]charArrayParam(char[] test)
    
public  charcharParam(char test)
    
public  MapcharTestBeanMapParam(Map test)
    
public  StringdangerOverload(String param1)
    
public  StringdangerOverload()
    
public  MapdateTest(Date client)
    
public  Stringdelete()
    
public  voiddoNothing()
    
public  double[][]double2DArrayParam(double[][] test)
    
public  double[][][]double3DArrayParam(double[][][] test)
    
public  double[][][][]double4DArrayParam(double[][][][] test)
    
public  double[][][][][]double5DArrayParam(double[][][][][] test)
    
public  double[]doubleArrayParam(double[] test)
    
public  doubledoubleParam(double test)
    
public  Stringerror(InboundContext cx)
    
public  float[]floatArrayParam(float[] test)
    
public  floatfloatParam(float test)
    
public  StringgetInsert()
     Get some text that has been fetched from a JSP page.
public  ObjAgetLooped()
    
public  TestBean[]getNestingTest()
    
public  StringhttpObjectParams(HttpServletRequest req, int i, HttpServletResponse resp, String s, HttpSession session, short[] ss, ServletContext scx, Date d, ServletConfig scfg)
    
public  StringhttpServletRequestParam(HttpServletRequest req)
    
public  FooinheritanceFooTest(int type)
    
public  TestBeaninheritanceTest(int type)
    
public  int[]intArrayParam(int[] test)
    
public  intintParam(int test)
    
public  long[]longArrayParam(long[] test)
    
public  longlongParam(long test)
    
protected  StringprotectedMethod()
    
public  Mapreply(Map data)
    
public  short[]shortArrayParam(short[] test)
    
public  shortshortParam(short test)
    
public static  StringsimplfyUserAgent(String sent)
    
public  StringslowStringParam(String param, long delay)
    
public static  StringstaticMethod()
    
public  ArrayListstringArrayListParam(ArrayList test)
    
public  String[]stringArrayParam(String[] test)
    
public  CollectionstringCollectionParam(Collection test)
    
public  HashSetstringHashSetParam(HashSet test)
    
public  LinkedListstringLinkedListParam(LinkedList test)
    
public  ListstringListParam(List test)
    
public  StringstringParam(String test)
    
public  SetstringSetParam(Set test)
    
public  MapstringStringHashMapParam(HashMap test)
    
public  MapstringStringMapParam(Map test)
    
public  StringstringStringParam(String param1, String param2)
    
public  MapstringStringTreeMapParam(TreeMap test)
    
public  TreeSetstringTreeSetParam(TreeSet test)
    
public  TestBean[]testBeanArrayParam(TestBean[] test)
    
public  ListtestBeanListParam(List test)
    
public  TestBeantestBeanParam(TestBean test)
    
public  SettestBeanSetParam(Set test)
    
public  ObjAtestLooped(ObjA objA)
    
public  voidthrowNPE()
    
public  voidvoidParam()
    
public  intwaitFor(int wait)
    

Field Detail
log
final protected static Logger log(Code)
The log stream





Method Detail
areIdentical
public boolean areIdentical(List a, List b)(Code)

Parameters:
  a -
Parameters:
  b - are they equal



bigDecimalParam
public BigDecimal bigDecimalParam(BigDecimal test)(Code)

Parameters:
  test - string



bigIntegerParam
public BigInteger bigIntegerParam(BigInteger test)(Code)

Parameters:
  test - string



booleanArrayParam
public boolean[] booleanArrayParam(boolean[] test)(Code)

Parameters:
  test - string



booleanParam
public boolean booleanParam(boolean test)(Code)

Parameters:
  test - string



byteArrayParam
public byte[] byteArrayParam(byte[] test)(Code)

Parameters:
  test - string



byteParam
public byte byteParam(byte test)(Code)

Parameters:
  test - string



charArrayParam
public char[] charArrayParam(char[] test)(Code)

Parameters:
  test - string



charParam
public char charParam(char test)(Code)

Parameters:
  test - string



charTestBeanMapParam
public Map charTestBeanMapParam(Map test)(Code)

Parameters:
  test - string



dangerOverload
public String dangerOverload(String param1)(Code)

Parameters:
  param1 - string



dangerOverload
public String dangerOverload()(Code)
string



dateTest
public Map dateTest(Date client)(Code)

Parameters:
  client - Debugging map



delete
public String delete()(Code)
string



doNothing
public void doNothing()(Code)



double2DArrayParam
public double[][] double2DArrayParam(double[][] test)(Code)

Parameters:
  test - string



double3DArrayParam
public double[][][] double3DArrayParam(double[][][] test)(Code)

Parameters:
  test - string



double4DArrayParam
public double[][][][] double4DArrayParam(double[][][][] test)(Code)

Parameters:
  test - string



double5DArrayParam
public double[][][][][] double5DArrayParam(double[][][][][] test)(Code)

Parameters:
  test - string



doubleArrayParam
public double[] doubleArrayParam(double[] test)(Code)

Parameters:
  test - string



doubleParam
public double doubleParam(double test)(Code)

Parameters:
  test - string



error
public String error(InboundContext cx)(Code)
This method should not be callable
Parameters:
  cx - Illegal param Error message



floatArrayParam
public float[] floatArrayParam(float[] test)(Code)

Parameters:
  test - string



floatParam
public float floatParam(float test)(Code)

Parameters:
  test - string



getInsert
public String getInsert() throws ServletException, IOException(Code)
Get some text that has been fetched from a JSP page. A part of a web page
throws:
  IOException - Forwarded from the insert processing
throws:
  ServletException - Forwarded from the insert processing



getLooped
public ObjA getLooped()(Code)
obja



getNestingTest
public TestBean[] getNestingTest()(Code)
nest



httpObjectParams
public String httpObjectParams(HttpServletRequest req, int i, HttpServletResponse resp, String s, HttpSession session, short[] ss, ServletContext scx, Date d, ServletConfig scfg)(Code)

Parameters:
  req -
Parameters:
  i -
Parameters:
  resp -
Parameters:
  s -
Parameters:
  session -
Parameters:
  ss -
Parameters:
  scx -
Parameters:
  d -
Parameters:
  scfg - string



httpServletRequestParam
public String httpServletRequestParam(HttpServletRequest req)(Code)

Parameters:
  req - string



inheritanceFooTest
public Foo inheritanceFooTest(int type)(Code)

Parameters:
  type - test bean



inheritanceTest
public TestBean inheritanceTest(int type)(Code)

Parameters:
  type - test bean



intArrayParam
public int[] intArrayParam(int[] test)(Code)

Parameters:
  test - string



intParam
public int intParam(int test)(Code)

Parameters:
  test - string



longArrayParam
public long[] longArrayParam(long[] test)(Code)

Parameters:
  test - string



longParam
public long longParam(long test)(Code)

Parameters:
  test - string



protectedMethod
protected String protectedMethod()(Code)
string



reply
public Map reply(Map data)(Code)

Parameters:
  data - The results of the current test A summary of all the received results



shortArrayParam
public short[] shortArrayParam(short[] test)(Code)

Parameters:
  test - string



shortParam
public short shortParam(short test)(Code)

Parameters:
  test - string



simplfyUserAgent
public static String simplfyUserAgent(String sent)(Code)
Attempt to simplfy a user-agent string
Parameters:
  sent - The user-agent from the browser A user friendly version if possible



slowStringParam
public String slowStringParam(String param, long delay) throws InterruptedException(Code)

Parameters:
  param -
Parameters:
  delay - string
throws:
  InterruptedException -



staticMethod
public static String staticMethod()(Code)
string



stringArrayListParam
public ArrayList stringArrayListParam(ArrayList test)(Code)

Parameters:
  test - string



stringArrayParam
public String[] stringArrayParam(String[] test)(Code)

Parameters:
  test - string



stringCollectionParam
public Collection stringCollectionParam(Collection test)(Code)

Parameters:
  test - string



stringHashSetParam
public HashSet stringHashSetParam(HashSet test)(Code)

Parameters:
  test - string



stringLinkedListParam
public LinkedList stringLinkedListParam(LinkedList test)(Code)

Parameters:
  test - string



stringListParam
public List stringListParam(List test)(Code)

Parameters:
  test - string



stringParam
public String stringParam(String test)(Code)

Parameters:
  test - string



stringSetParam
public Set stringSetParam(Set test)(Code)

Parameters:
  test - string



stringStringHashMapParam
public Map stringStringHashMapParam(HashMap test)(Code)

Parameters:
  test - string



stringStringMapParam
public Map stringStringMapParam(Map test)(Code)

Parameters:
  test - string



stringStringParam
public String stringStringParam(String param1, String param2)(Code)

Parameters:
  param1 -
Parameters:
  param2 - string



stringStringTreeMapParam
public Map stringStringTreeMapParam(TreeMap test)(Code)

Parameters:
  test - string



stringTreeSetParam
public TreeSet stringTreeSetParam(TreeSet test)(Code)

Parameters:
  test - string



testBeanArrayParam
public TestBean[] testBeanArrayParam(TestBean[] test)(Code)

Parameters:
  test - string



testBeanListParam
public List testBeanListParam(List test)(Code)

Parameters:
  test - set of beans



testBeanParam
public TestBean testBeanParam(TestBean test)(Code)

Parameters:
  test - string



testBeanSetParam
public Set testBeanSetParam(Set test)(Code)

Parameters:
  test - set of beans



testLooped
public ObjA testLooped(ObjA objA)(Code)

Parameters:
  objA - objA



throwNPE
public void throwNPE()(Code)



voidParam
public void voidParam()(Code)



waitFor
public int waitFor(int wait)(Code)

Parameters:
  wait - wait



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.