Java Doc for ExtJellyTestCase.java in  » IDE-Netbeans » junit » org » netbeans » test » junit4 » 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 » IDE Netbeans » junit » org.netbeans.test.junit4 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.test.junit4.ExtJellyTestCase

All known Subclasses:   org.netbeans.test.junit4.CreateProjectTest,
ExtJellyTestCase
abstract public class ExtJellyTestCase extends JellyTestCase (Code)
Class with helpers for easy creating jemmy/jelly tests
author:
   Jiri Vagner


Field Summary
public  BooleanDELETE_FILES
    
public static  StringDELETE_OBJECT_CONFIRM
    
public static  StringTEST_PACKAGE_NAME
    
public static  StringTEST_PROJECT_NAME
    

Constructor Summary
public  ExtJellyTestCase(String testName)
    

Method Summary
public  voidaddBean(String beanFileName)
    
public  StringcreateBeanFormFile(String beanClassName)
    
public  StringcreateFrameFile()
    
public  StringcreateJDialogFile()
    
public  StringcreateJFrameFile()
    
public  voidfindInCode(ArrayList<String> lines, EditorOperator editor)
    
public  voidfindInCode(String stringToFind, EditorOperator editor)
    
public static  booleanfindInFile(String msg, String filePath)
    
public static  StringgetContents(File aFile)
     Fetch the entire contents of a text file, and return it in a String.
public  StringgetFilePathFromDataPackage(String fileName)
    
public  NodegetProjectFileNode(String fileName)
    
public  NodegetProjectFileNode(String fileName, boolean containsFilePathPackage)
    
public  NodegetProjectFileNode(String fileName, String packageName)
    
public  StringgetTimeStamp()
    
public  voidmissInCode(String stringToFind, EditorOperator editor)
    
public  NodeopenFile(String fileName)
    
public  voidp(String msg)
    
public  voidp(Boolean msg)
    
public  voidp(int msg)
    
public  voidremoveFile(String fileName)
    
public  voidrunNoBlockPopupOverNode(String actionName, Node node)
    
public  voidrunPopupOverNode(String actionName, Node node)
    
public  voidrunPopupOverNode(ArrayList<String> actionNames, Node node, Operator.DefaultStringComparator comparator)
    
public  voidrunPopupOverNode(ArrayList<String> actionNames, Node node)
    
public static  voidwaitAMoment()
    
public static  voidwaitNoEvent(long waitTimeout)
    

Field Detail
DELETE_FILES
public Boolean DELETE_FILES(Code)



DELETE_OBJECT_CONFIRM
public static String DELETE_OBJECT_CONFIRM(Code)



TEST_PACKAGE_NAME
public static String TEST_PACKAGE_NAME(Code)



TEST_PROJECT_NAME
public static String TEST_PROJECT_NAME(Code)




Constructor Detail
ExtJellyTestCase
public ExtJellyTestCase(String testName)(Code)
Constructor required by JUnit




Method Detail
addBean
public void addBean(String beanFileName)(Code)
Adds new bean into palette
Parameters:
  beanFileName -



createBeanFormFile
public String createBeanFormFile(String beanClassName)(Code)



createFrameFile
public String createFrameFile()(Code)
Creates new AWT Frame file in project new file name



createJDialogFile
public String createJDialogFile()(Code)
Creates new JDialog file in project new file name



createJFrameFile
public String createJFrameFile()(Code)
Creates new JFrame file in project new file name



findInCode
public void findInCode(ArrayList<String> lines, EditorOperator editor)(Code)
Find a strings in a code
Parameters:
  lines - array list of strings to find
Parameters:
  designer - operator "with text"



findInCode
public void findInCode(String stringToFind, EditorOperator editor)(Code)
Find a string in a code
Parameters:
  lines - array list of strings to find
Parameters:
  designer - operator "with text"



findInFile
public static boolean findInFile(String msg, String filePath)(Code)
Find msg string in file



getContents
public static String getContents(File aFile)(Code)
Fetch the entire contents of a text file, and return it in a String. This style of implementation does not throw Exceptions to the caller.
Parameters:
  aFile - is a file which already exists and can be read.



getFilePathFromDataPackage
public String getFilePathFromDataPackage(String fileName)(Code)
Gets full path to file from "data" package from SampleProject short file name with extension (e.g TestFrame.java);



getProjectFileNode
public Node getProjectFileNode(String fileName)(Code)



getProjectFileNode
public Node getProjectFileNode(String fileName, boolean containsFilePathPackage)(Code)



getProjectFileNode
public Node getProjectFileNode(String fileName, String packageName)(Code)



getTimeStamp
public String getTimeStamp()(Code)



missInCode
public void missInCode(String stringToFind, EditorOperator editor)(Code)
Miss a string in a code Test fail() method is called, when code contains stringToFind string
Parameters:
  stringToFind -
Parameters:
  designer - operator "with text"



openFile
public Node openFile(String fileName)(Code)
Opens file into nb editor
Parameters:
  fileName - node



p
public void p(String msg)(Code)
Simple console println



p
public void p(Boolean msg)(Code)
Simple console println



p
public void p(int msg)(Code)
Simple console println



removeFile
public void removeFile(String fileName)(Code)
Removes file from actual project and actual test package



runNoBlockPopupOverNode
public void runNoBlockPopupOverNode(String actionName, Node node)(Code)
Runs popoup command over node using NoBlockAction
Parameters:
  popup - command, ex.: "Add|Swing|Label"
Parameters:
  node - to run action on



runPopupOverNode
public void runPopupOverNode(String actionName, Node node)(Code)
Runs popoup command over node
Parameters:
  popup - command, ex.: "Add|Swing|Label"
Parameters:
  node - to run action on



runPopupOverNode
public void runPopupOverNode(ArrayList<String> actionNames, Node node, Operator.DefaultStringComparator comparator)(Code)
Runs popup commands over node
Parameters:
  array - list of popup commands
Parameters:
  node - to run actions on



runPopupOverNode
public void runPopupOverNode(ArrayList<String> actionNames, Node node)(Code)
Runs popup commands over node
Parameters:
  array - list of popup commands
Parameters:
  node - to run actions on



waitAMoment
public static void waitAMoment()(Code)
Calls Jelly waitNoEvent() with MY_WAIT_MOMENT



waitNoEvent
public static void waitNoEvent(long waitTimeout)(Code)
Calls Jelly waitNoEvent()
Parameters:
  quiet - time (miliseconds)



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