Java Doc for PropertyEditorsTest.java in  » IDE-Netbeans » library » gui » propertyeditors » 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 » library » gui.propertyeditors 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


gui.propertyeditors.PropertyEditorsTest

All known Subclasses:   gui.propertyeditors.PropertyType_ElementFormat,  gui.propertyeditors.PropertyType_ExtensionList,  gui.propertyeditors.PropertyType_double,  gui.propertyeditors.PropertyType_FloatO,  gui.propertyeditors.PropertyType_Rectangle,  gui.propertyeditors.PropertyType_Font,  gui.propertyeditors.PropertyType_String,  gui.propertyeditors.PropertyType_NbClassPath,  gui.propertyeditors.PropertyType_File,  gui.propertyeditors.PropertyType_ByteO,  gui.propertyeditors.PropertyType_Dimension,  gui.propertyeditors.PropertyType_IdentifierArray,  gui.propertyeditors.PropertyType_Integer,  gui.propertyeditors.PropertyType_Character,  gui.propertyeditors.PropertyType_Icon,  gui.propertyeditors.PropertyType_StringArray,  gui.propertyeditors.PropertyType_ServiceType,  gui.propertyeditors.PropertyType_char,  gui.propertyeditors.PropertyType_Insets,  gui.propertyeditors.PropertyType_byte,  gui.propertyeditors.PropertyType_int,  gui.propertyeditors.PropertyType_Color,  gui.propertyeditors.PropertyType_HTMLBrowser,  gui.propertyeditors.PropertyType_NbProcessDescriptor,  gui.propertyeditors.PropertyType_Point,  gui.propertyeditors.PropertyType_DoubleO,  gui.propertyeditors.PropertyType_IndentEngine,  gui.propertyeditors.PropertyType_Properties,  gui.propertyeditors.PropertyType_Type,  gui.propertyeditors.PropertyType_short,  gui.propertyeditors.PropertyType_BooleanO,  gui.propertyeditors.PropertyType_boolean,  gui.propertyeditors.PropertyType_ShortO,  gui.propertyeditors.PropertyType_LongO,  gui.propertyeditors.PropertyType_long,  gui.propertyeditors.PropertyType_Executor,  gui.propertyeditors.PropertyType_Class,  gui.propertyeditors.PropertyType_Filesystem,  gui.propertyeditors.PropertyType_URL,  gui.propertyeditors.PropertyType_float,
PropertyEditorsTest
abstract public class PropertyEditorsTest extends JellyTestCase (Code)
JellyTestCase test case with implemented Property Editors Test support stuff
author:
   mmirilovic@netbeans.org


Field Summary
protected static  PrintStreamerr
    
protected static  PrintStreamlog
    
protected static  NbDialogOperatorpropertiesWindow
    
protected static  NbDialogOperatorpropertyCustomizer
    
public  StringpropertyInitialValue
    
public  StringpropertyValue
    
protected static  JTableOperatortableOperator
    

Constructor Summary
public  PropertyEditorsTest(String testName)
    

Method Summary
protected static  voidfailTest(Exception exc, String message)
     Print full stack trace to log files, get message and log to test results if test fails.
protected static  PropertyfindProperty(String propertyName, NbDialogOperator propertiesWindow)
     Find Property in Property Sheet and return them.
public  NbDialogOperatorgetInformationDialog()
    
public  NbDialogOperatorgetPropertyCustomizer()
     Return Property Customizer.
public  StringgetValue(String propertyName)
    
public static  NbDialogOperatorinitializeWorkplace()
     Initialize Workplace.
public static  voidmakeIDEScreenshot(JellyTestCase testCase)
    
public static  NbDialogOperatoropenAndGetPropertyCustomizer(String propertyName)
     Open property customizer for property propertyName.
public static  NbDialogOperatorreInitializeWorkplace()
     Reinitialize Workplace.
public  voidsetByCombo(String propertyName, String propertyValue, boolean expectance)
     Set value propertyValue of property propertyName by combobox, verify value with expectance.
public  voidsetByCombo(String propertyName, int propertyValueIndex, boolean expectance)
     Set indexed value propertyValueIndex of property propertyName by combobox, verify value with expectance.
public  voidsetByCustomizerCancel(String propertyName, boolean expectance)
     Open Property Customizer for propertyName, set value by customizer and press Cancel button, verify value with expectance.
public  voidsetByCustomizerOk(String propertyName, boolean expectance)
     Open Property Customizer for propertyName, set value by customizer and press Ok button, verify value with expectance.
public  voidsetByInPlace(String propertyName, String propertyValue, boolean expectance)
     Set value propertyValue of property propertyName by in-place, verify value with expectance.
abstract public  voidsetCustomizerValue()
    
public  voidsetUp()
    
public  voidtearDown()
    
public  voidverifyCustomizer(String propertyName)
     Verify customizer layout for property propertyName.
abstract public  voidverifyCustomizerLayout()
    
public  voidverifyExpectationValue(String propertyName, boolean expectation, String propertyValueExpectation, String propertyValue, boolean waitDialog)
     Verify exceptation value.
abstract public  voidverifyPropertyValue(boolean expectation)
    

Field Detail
err
protected static PrintStream err(Code)



log
protected static PrintStream log(Code)



propertiesWindow
protected static NbDialogOperator propertiesWindow(Code)



propertyCustomizer
protected static NbDialogOperator propertyCustomizer(Code)



propertyInitialValue
public String propertyInitialValue(Code)



propertyValue
public String propertyValue(Code)



tableOperator
protected static JTableOperator tableOperator(Code)




Constructor Detail
PropertyEditorsTest
public PropertyEditorsTest(String testName)(Code)
Creates a new instance of PropertyEditorsTest




Method Detail
failTest
protected static void failTest(Exception exc, String message)(Code)
Print full stack trace to log files, get message and log to test results if test fails.
Parameters:
  exc - Exception logged to description
Parameters:
  message - written to test results



findProperty
protected static Property findProperty(String propertyName, NbDialogOperator propertiesWindow)(Code)
Find Property in Property Sheet and return them. This is first hack for new Jelly2, because it isn't possible to set String Comparator only for one operator.
Parameters:
  propertyName - name of property
Parameters:
  type - TextFieldProperty - textfield property, ComboBoxProperty - combobox property property by propertyName and type.



getInformationDialog
public NbDialogOperator getInformationDialog()(Code)
Return Informational dialog Informational dialog



getPropertyCustomizer
public NbDialogOperator getPropertyCustomizer()(Code)
Return Property Customizer. Property Customizer.



getValue
public String getValue(String propertyName)(Code)
Get value of property propertyName
Parameters:
  propertyName - name of property asked for value value of property



initializeWorkplace
public static NbDialogOperator initializeWorkplace()(Code)
Initialize Workplace.



makeIDEScreenshot
public static void makeIDEScreenshot(JellyTestCase testCase)(Code)
Make IDE screenshot of whole IDE
Parameters:
  testCase - it is needed for locate destination directory of saving screenshot file



openAndGetPropertyCustomizer
public static NbDialogOperator openAndGetPropertyCustomizer(String propertyName)(Code)
Open property customizer for property propertyName.
Parameters:
  propertyName - name of property to be changed Property Customizer



reInitializeWorkplace
public static NbDialogOperator reInitializeWorkplace()(Code)
Reinitialize Workplace.



setByCombo
public void setByCombo(String propertyName, String propertyValue, boolean expectance)(Code)
Set value propertyValue of property propertyName by combobox, verify value with expectance.
Parameters:
  propertyName - name of property to be changed
Parameters:
  propertyValue - new value of property
Parameters:
  expectance - true- new value must be the same as expected value, false-value needn't be the same as expected



setByCombo
public void setByCombo(String propertyName, int propertyValueIndex, boolean expectance)(Code)
Set indexed value propertyValueIndex of property propertyName by combobox, verify value with expectance.
Parameters:
  propertyName - name of property to be changed
Parameters:
  propertyValueIndex - index of new value in combobox
Parameters:
  expectance - true- new value must be the same as expected value, false-value needn't be the same as expected



setByCustomizerCancel
public void setByCustomizerCancel(String propertyName, boolean expectance)(Code)
Open Property Customizer for propertyName, set value by customizer and press Cancel button, verify value with expectance.
Parameters:
  propertyName - name of property to be customized
Parameters:
  expectance - true- new value must be the same as expected value, false-value needn't be the same as expected



setByCustomizerOk
public void setByCustomizerOk(String propertyName, boolean expectance)(Code)
Open Property Customizer for propertyName, set value by customizer and press Ok button, verify value with expectance.
Parameters:
  propertyName - name of property to be customized
Parameters:
  expectance - true- new value must be the same as expected value, false-value needn't be the same as expected



setByInPlace
public void setByInPlace(String propertyName, String propertyValue, boolean expectance)(Code)
Set value propertyValue of property propertyName by in-place, verify value with expectance.
Parameters:
  propertyName - name of property to be changed
Parameters:
  propertyValue - new value of property
Parameters:
  expectance - true- new value must be the same as expected value, false-value needn't be the same as expected



setCustomizerValue
abstract public void setCustomizerValue()(Code)



setUp
public void setUp()(Code)



tearDown
public void tearDown()(Code)



verifyCustomizer
public void verifyCustomizer(String propertyName)(Code)
Verify customizer layout for property propertyName.
Parameters:
  propertyName - name of property to be changed



verifyCustomizerLayout
abstract public void verifyCustomizerLayout()(Code)



verifyExpectationValue
public void verifyExpectationValue(String propertyName, boolean expectation, String propertyValueExpectation, String propertyValue, boolean waitDialog)(Code)
Verify exceptation value.
Parameters:
  propertyName - name of property
Parameters:
  expectation - true - expected value must be the same as new value, false - expected value should not be the same
Parameters:
  propertyValueExpectation - expected value
Parameters:
  propertyValue - new value
Parameters:
  waitDialog - true - after changing value Informational dialog about impissibility to set invalid value arise



verifyPropertyValue
abstract public void verifyPropertyValue(boolean expectation)(Code)



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