PropertyEditors Test Specification

Author: Marian Mirilovic
Version:
Last update: 04/19/2005
Introduction: This is intended as test of Property Editors, Property Customizers and property value persistence after set by editor, customizer or set wrong value or cancel customizer after value changing.
Comment:

Table of Contents

Test suite 1: Property Editors tests (Primitive Data Types and their wrappers)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : java.lang.Boolean, True
  1. click on property Boolean (default value="False")
  2. choose "True" from expanded combobox
  3. press Enter
RESULT: New value is "True".
2Property Editor for type : java.lang.Boolean, False
  1. click on property Boolean (default value="False")
  2. choose "True" from expanded combobox
  3. press Enter
RESULT: New value is "False".
3Property Editor for primitive type : boolean, True
  1. click on property boolean (default value="False")
  2. doubleclick on property name (choose value to "True")
  3. press Enter
RESULT: New value is "True".
4Property Editor for primitive type : boolean, False
  1. click on property boolean (default value="False")
  2. doubleclick on property name (choose value to "True")
  3. press Enter
RESULT: New value is "True".
5Property Editor for type : java.lang.Byte
  1. click on property Byte (default value="null")
  2. type in created textfield "127"
  3. press Enter
RESULT: New value is "127".
6Property Editor for type : java.lang.Byte - invalid value
  1. click on property Byte (default value="null")
  2. type in created textfield "128"
  3. press Enter
RESULT: Value isn't changed "null".
7Property Editor for primitive type : byte
  1. click on property byte (default value="0")
  2. type in created textfield "-128"
  3. press Enter
RESULT: New value is "-128".
8Property Editor for primitive type : byte - invalid value
  1. click on property byte (default value="0")
  2. type in created textfield "a"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "0".
9Property Editor for type : java.lang.Character
  1. click on property Character (default value="\u0000")
  2. type in created textfield "f"
  3. press Enter
RESULT: New value is "f".
10Property Editor for type : java.lang.Character - invalid value
  1. click on property Character (default value="\u0000")
  2. type in created textfield "val"
  3. press Enter
RESULT: Value is changed and only first character stay as new value("v".
11Property Editor for primitive type : char
  1. click on property Char (default value="\u0000")
  2. type in created textfield "@"
  3. press Enter
RESULT: New value is "@".
12Property Editor for primitive type : char - invalid value
  1. click on property Char (default value="\u0000")
  2. type in created textfield "\"
  3. press Enter
RESULT: Value is changed and new value is ("\\") what represent char '\'.
13Property Editor for type : java.lang.Double
  1. click on property Double (default value="null")
  2. type in created textfield "123456789123456789123456789"
  3. press Enter
RESULT: New value is "1.2345678912345679E26".
14Property Editor for type : java.lang.Double - invalid value
  1. click on property Double (default value="null")
  2. type in created textfield "value"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
15Property Editor for primitive type : double
  1. click on property double (default value="0.0")
  2. type in created textfield "-123456789.123456789123456789"
  3. press Enter
RESULT: New value is "-1.2345678912345679E8".
16Property Editor for primitive type : double - invalid value
  1. click on property double (default value="0.0")
  2. type in created textfield "xxx"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "0.0".
17Property Editor for type : java.lang.Float
  1. click on property Float (default value="null")
  2. type in created textfield "123456789123456789123456789"
  3. press Enter
RESULT: New value is "1.2345679E26".
18Property Editor for type : java.lang.Float - invalid value
  1. click on property Float (default value="null")
  2. type in created textfield "value"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
19Property Editor for primitive type : float
  1. click on property float (default value="0.0")
  2. type in created textfield "-123456789.123456789123456789"
  3. press Enter
RESULT: New value is "-1.23456792E8".
20Property Editor for primitive type : float - invalid value
  1. click on property float (default value="0.0")
  2. type in created textfield "xxx"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "0.0".
21Property Editor for type : java.lang.Integer
  1. click on property Integer (default value="null")
  2. type in created textfield "1234567890"
  3. press Enter
RESULT: New value is "1234567890".
22Property Editor for type : java.lang.Integer - invalid value
  1. click on property Integer (default value="null")
  2. type in created textfield "12345678901"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
23Property Editor for primitive type : int
  1. click on property int (default value="0")
  2. type in created textfield "-1234567890"
  3. press Enter
RESULT: New value is "-1234567890".
24Property Editor for primitive type : int - invalid value
  1. click on property int (default value="0")
  2. type in created textfield "value"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "0".
25Property Editor for type : java.lang.Long
  1. click on property Long (default value="null")
  2. type in created textfield "1234567891245678912"
  3. press Enter
RESULT: New value is "1234567891245678912".
26Property Editor for type : java.lang.Long - invalid value
  1. click on property Long (default value="null")
  2. type in created textfield "1.1"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
27Property Editor for primitive type : long
  1. click on property long (default value="0")
  2. type in created textfield "-1234567891245678912"
  3. press Enter
RESULT: New value is "-1234567891245678912".
28Property Editor for primitive type : long - invalid value
  1. click on property long (default value="0")
  2. type in created textfield "value"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "0".
29Property Editor for type : java.lang.Short
  1. click on property Short (default value="null")
  2. type in created textfield "12345"
  3. press Enter
RESULT: New value is "12345".
30Property Editor for type : java.lang.Short - invalid value
  1. click on property Short (default value="null")
  2. type in created textfield "1.2345"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
31Property Editor for primitive type : short
  1. click on property short (default value="0")
  2. type in created textfield "-12345"
  3. press Enter
RESULT: New value is "-12345".
32Property Editor for primitive type : short - invalid value
  1. click on property short (default value="0")
  2. type in created textfield "value"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "0".

Test suite 2: Property Editors tests (Class, String, String[], Object, Object[])

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Mount directory $testDirectory/sources that contains class PropertyEditorsTestBean.java, choose from popup menu Customize.

#Test caseDescription
1Property Editor for type : java.lang.Class
  1. click on property class (default value="null")
  2. type in created textfield "java.lang.String"
  3. press Enter
RESULT: New value is "java.lang.String".
2Property Editor for type : java.lang.Class - invalid value
  1. click on property class (default value="null")
  2. type in created textfield "java.lang.Stringxxx"
  3. press Enter
RESULT: Value isn't changed "null".
3Property Editor for type : java.lang.String
  1. click on property string (default value="null")
  2. type in created textfield "My String"
  3. press Enter
RESULT: New value is "My String".
4Property Editor for type : java.lang.String - Customizer
  1. click on property string (default value="null")
  2. push ...
  3. in opened String Property Editor write to TextArea "My String"
  4. push Ok
RESULT: New value is "My String".
5Property Editor for type : java.lang.String - customizer, cancel
  1. click on property string (default value="null")
  2. push ...
  3. in opened String Property Editor write to TextArea "My String"
  4. push Cancel
RESULT: Value isn't changed "null" and String Property Editor dialog is closed.
6Property Editor for type : java.lang.String []
  1. click on property String [] (default value="null")
  2. type in created textfield "remove, down, up, edit"
  3. press Enter
RESULT: New value is "remove, down, up, edit".
7Property Editor for type : java.lang.String [], Customizer - Add
  1. click on property String [] (default value="null")
  2. push ...
  3. in opened String[] Property Editor write "add" to textfield
  4. push Add
  5. push Ok
RESULT: New value is "remove, down, up, edit, add".
8Property Editor for type : java.lang.String [], Customizer - Remove
  1. click on property String [] (default value="null")
  2. type in created textfield "remove" and press Enter
  3. click on property value
  4. push ...
  5. select item "remove" and push Remove
  6. push Ok
RESULT: New value is "".
9Property Editor for type : java.lang.String [], Customizer - Edit
  1. click on property String [] (default value="null")
  2. type in created textfield "edit"
  3. click on property String [] once more
  4. push ...
  5. in opened String[] Property Editor select item "edit"
  6. write "newEdit" to textfield
  7. push Edit
  8. push Ok
RESULT: New value is "newEdit".
10Property Editor for type : java.lang.String [], Customizer - Up/Down
  1. click on property String [] (default value="null")
  2. type in created textfield "str1, str2, str3" and press Enter
  3. click on property value
  4. push ...
  5. select row "str3" and push Up
  6. select row "str1" and push Down
  7. push Ok
RESULT: New value is "str2, str3, str1".
11Property Editor for type : java.lang.String [], Customizer , Cancel
  1. click on property String [] (default value="null")
  2. in opened String[] Property Editor write "add" to textfield
  3. push Add
  4. push Cancel
RESULT: Value isn't changed ("".
12Property Editor for type : java.lang.Object
  1. click on property Object (default value="Lookup null item")
  2. change value by choosing from expanded combobox to "Applet"
  3. press Enter
RESULT: New value is "FastJavac Compilation".
13Property Editor for type : java.lang.Object, Customizer
  1. click on property Object (default value="Lookup null item")
  2. push ...
  3. in opened Object Property Editor select from list of Compilers "Output Window"
  4. push Ok
RESULT: New value is "Output Window".
14Property Editor for type : java.lang.Object, Customizer, Cancel
  1. click on property Object (default value="Lookup null item")
  2. push ...
  3. in opened Object Property Editor select from list of Compilers "Form Editor Settings"
  4. push cancel
RESULT: Value isn't changed "Lookup null item".

Test suite 3: Property Editors tests (AWT, Swing)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : java.lang.Color, in place
  1. click on property Color (default value="null")
  2. type in created textfield "20,10,100"
  3. press Enter
RESULT: New value is "[20,10,100]".
2Property Editor for type : java.lang.Color, in place - invalid value
  1. click on property class (default value="null")
  2. type in created textfield "xx color"
  3. press Enter
RESULT: Value isn't changed "null".
3Property Editor for type : java.awt.Color, combo
  1. click on property Color (default value="null")
  2. change value by choosing from expanded combobox to "red"
  3. press Enter
RESULT: New value is "red") and icon red rectangle is displayed behind color name.
4Property Editor for type : java.awt.Color - Customizer, Swatches
  1. click on property Color (default value="null")
  2. push ...
  3. in opened Color Property Editor select tab Swatches
  4. select 50,50,50
  5. push Ok
RESULT: New value is "[50,50,50]") and colored icon is displayed behind color name.
5Property Editor for type : java.awt.Color - Customizer, System Palette
  1. click on property Color (default value="null")
  2. push ...
  3. in opened Color Property Editor select tab System Palette
  4. select Active Caption
  5. push Ok
RESULT: New value is "Active Caption") and colored icon is displayed behind color name.
6Property Editor for type : java.awt.Color - customizer, Cancel
  1. click on property Color (default value="null")
  2. push ...
  3. in opened Color Property Editor select tab System Palette
  4. select Active Caption
  5. push Cancel
RESULT: Value isn't changed "null".
7Property Editor for type : java.awt.Dimension
  1. click on property Dimension (default value="null")
  2. type in created textfield "10,20"
  3. press Enter
RESULT: New value is "[10,20]".
8Property Editor for type : java.awt.Dimension - invalid value
  1. click on property Dimension (default value="null")
  2. type in created textfield "xx"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
9Property Editor for type : java.awt.Dimension, only one value
  1. click on property Dimension (default value="null")
  2. type in created textfield "10"
  3. press Enter
RESULT: New value is "[10,10]".
10Property Editor for type : java.awt.Dimension, Customizer
  1. click on property Dimension (default value="null")
  2. push ...
  3. in opened Dimension Property Editor write "30" to the Width textfield and "40" to the Height textfield
  4. push Ok
RESULT: New value is "[30,40]".
11Property Editor for type : java.awt.Dimension, Customizer, Cancel
  1. click on property Dimension (default value="null")
  2. push ...
  3. in opened Dimension Property Editor write "300" to the Width textfield and "400" to the Height textfield
  4. push Cancel
RESULT: Value isn't changed "null".
12Property Editor for type : java.awt.Dimension, Customizer, Invalid
  1. click on property Dimension (default value="null")
  2. push ...
  3. in opened Dimension Property Editor write "xx" to the Width textfield and "ww" to the Height textfield
  4. push Ok
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
13Property Editor for type : java.awt.Font, Customizer
  1. click on property Font (default value={default font})
  2. push ...
  3. in opened Font Property Editor select in Font list "Arial"
  4. select in Font Type list "Bold"
  5. type size toSize textfield "10"
  6. push Ok
RESULT: Value is changed and displayed font of property value is the same as property value("Arial Bold 10".
14Property Editor for type : java.awt.Font, Customizer, not listed size
  1. click on property Font (default value={default font})
  2. push ...
  3. in opened Font Property Editor select in Font list "Arial"
  4. select in Font Type list "Bold"
  5. type size toSize textfield "13"
  6. push Ok
RESULT: Value is changed and displayed font of property value is the same as property value("Arial Bold 13".
15Property Editor for type : java.awt.Font, Customizer, Cancel
  1. click on property Font (default value={default font})
  2. push ...
  3. in opened Font Property Editor select in Font list "Arial"
  4. select in Font Type list "Bold"
  5. type size toSize textfield "100"
  6. push Cancel
RESULT: Value isn't changed {default font}.
16Property Editor for type : java.awt.Font, Customizer, invalid
  1. click on property Font (default value={default font})
  2. push ...
  3. in opened Font Property Editor select in Font list "Arial"
  4. select in Font Type list "Bold Italic"
  5. type size toSize textfield "xx"
  6. push Ok
RESULT: Value is changed and displayed font of property value is the same as property value "Arial Bold Italic {previous size}".
17Property Editor for type : java.awt.Insets
  1. click on property Insets (default value="null")
  2. type in created textfield "10,20,30,40"
  3. press Enter
RESULT: New value is "[10,20,30,40]".
18Property Editor for type : java.awt.Insets - invalid value
  1. click on property Insets (default value="null")
  2. type in created textfield "xx"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
19Property Editor for type : java.awt.Insets - only one value
  1. click on property Insets (default value="null")
  2. type in created textfield "10"
  3. press Enter
RESULT: New value is "[10,10,10,10]".
20Property Editor for type : java.awt.Insets, Customizer
  1. click on property Insets (default value="null")
  2. push ...
  3. in opened Insets Property Editor write "10" to the Top textfield and "20" to the Left textfield and "30" to the Bottom textfield and "40" to the Right textfield
  4. push Ok
RESULT: New value is "[10,20,30,40]".
21Property Editor for type : java.awt.Insets, Customizer, Cancel
  1. click on property Insets (default value="null")
  2. push ...
  3. in opened Insets Property Editor write "100" to the Top textfield and "200" to the Left textfield and "300" to the Bottom textfield and "400" to the Right textfield
  4. push Cancel
RESULT: Value isn't changed "null".
22Property Editor for type : java.awt.Insets, Customizer, invalid
  1. click on property Insets (default value="null")
  2. push ...
  3. in opened Insets Property Editor write "xx" to the Top textfield and "200" to the Left textfield and "300" to the Bottom textfield and "400" to the Right textfield
  4. push Ok
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
23Property Editor for type : java.awt.Point
  1. click on property Point (default value="null")
  2. type in created textfield "10,20"
  3. press Enter
RESULT: New value is "[10,20]".
24Property Editor for type : java.awt.Point - invalid value
  1. click on property Point (default value="null")
  2. type in created textfield "xx"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
25Property Editor for type : java.awt.Point, only one value
  1. click on property Point (default value="null")
  2. type in created textfield "10"
  3. press Enter
RESULT: New value is "[10,10]".
26Property Editor for type : java.awt.Point, Customizer
  1. click on property Point (default value="null")
  2. push ...
  3. in opened Point Property Editor write "30" to the X textfield and "40" to the Y textfield
  4. push Ok
RESULT: New value is "[30,40]".
27Property Editor for type : java.awt.Point, Customizer, Cancel
  1. click on property Point (default value="null")
  2. push ...
  3. in opened Point Property Editor write "300" to the X textfield and "400" to the Y textfield
  4. push Cancel
RESULT: Value isn't changed "null".
28Property Editor for type : java.awt.Point, Customizer, invalid
  1. click on property Point (default value="null")
  2. push ...
  3. in opened Point Property Editor write "xx" to the X textfield and "20" to the Y textfield
  4. push Ok
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
29Property Editor for type : java.awt.Rectangle
  1. click on property Rectangle (default value="null")
  2. type in created textfield "10,20,30,40"
  3. press Enter
RESULT: New value is "[10,20,30,40]".
30Property Editor for type : java.awt.Rectangle - invalid value
  1. click on property Rectangle (default value="null")
  2. type in created textfield "xx"
  3. press Enter
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".
31Property Editor for type : java.awt.Rectangle - only one value
  1. click on property Rectangle (default value="null")
  2. type in created textfield "30"
  3. press Enter
RESULT: New value is "[30,30,30,30]".
32Property Editor for type : java.awt.Rectangle, Customizer
  1. click on property Rectangle (default value="null")
  2. push ...
  3. in opened Rectangle Property Editor write "10" to the X textfield and "20" to the Y textfield and "30" to the Width textfield and "40" to the Height textfield
  4. push Ok
RESULT: New value is "[10,20,30,40]".
33Property Editor for type : java.awt.Rectangle, Customizer, Cancel
  1. click on property Rectangle (default value="null")
  2. push ...
  3. in opened Rectangle Property Editor write "100" to the X textfield and "200" to the Y textfield and "300" to the Width textfield and "400" to the Height textfield
  4. push Cancel
RESULT: Value isn't changed "null".
34Property Editor for type : java.awt.Rectangle, Customizer, invalid
  1. click on property Rectangle (default value="null")
  2. push ...
  3. in opened Rectangle Property Editor write "xx" to the X textfield and "20" to the Y textfield and "30" to the Width textfield and "50" to the Height textfield
  4. push Ok
RESULT: Information dialog {Invalid value..} arise and value isn't changed "null".

Test suite 4: Property Editors tests (IO - File)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : java.io.File
  1. click on property File (default value=" ")
  2. type in created textfield "gui/propertyeditors/data/sourceLocalFS/package1_FS1/JavaFile1_p1.java"
  3. press Enter
RESULT: New value is "gui/propertyeditors/data/sourceLocalFS/package1_FS1/JavaFile1_p1.java".
2Property Editor for type : java.io.File, Customizer
  1. click on property File (default value=" ")
  2. push ...
  3. expand gui/propertyeditors/data/sourceLocalFS
  4. expand [package1_FS1] and select FormFile1_p1.java
  5. push Ok
RESULT: New value is "gui/propertyeditors/data/sourceLocalFS/package1_FS1/FormFile1_p1.java".
3Property Editor for type : java.io.File, Customizer, Cancel
  1. click on property File (default value=" ")
  2. push ...
  3. expand gui/propertyeditors/data/sourceLocalFS
  4. expand [package1_FS1] and select FormFile1_p1.java
  5. push Cancel
RESULT: Value isn't changed " ".

Test suite 5: Property Editors tests (executions)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : org.openide.execution.NbClassPath - In Place
  1. click on property NbClassPath (default value="null")
  2. type in created textfield "one.jar:two.zip"
  3. press Enter
RESULT: New value is "one.jar:two.zip".
2Property Editor for type : org.openide.execution.NbClassPath - Add Directory
  1. click on property NbClassPath (default value="null")
  2. push ...
  3. in opened NbClassPath Property Editor select Add Directory
  4. push Browse
  5. in opened dialog Add Directory select [gui/propertyeditors/data/sourceLocalFS]/[package1_FS1]
  6. push Ok
  7. push Ok
RESULT: New value is "[gui/propertyeditors/data/sourceLocalFS]/[package1_FS1]...".
3Property Editor for type : org.openide.execution.NbClassPath - Add JAR
  1. click on property NbClassPath (default value="null")
  2. push ...
  3. in opened FileSystem Property Editor select Add JAR/Zip
  4. push Browse
  5. in opened dialog Add JAR/Zip select [gui/propertyeditors/data/jarArchiveFS.jar]
  6. push Ok
  7. push Ok
RESULT: New value is "[gui/propertyeditors/data/jarArchiveFS]/...".
4Property Editor for type : org.openide.execution.NbClassPath - Add Directory, Cancel
  1. click on property NbClassPath (default value="null")
  2. push ...
  3. in opened NbClassPath Property Editor select Add Directory
  4. push Browse
  5. in opened dialog Add Directory select [gui/propertyeditors/data/sourceLocalFS]/[package1_FS1]
  6. push Ok
  7. push Cancel
RESULT: Value isn't changed "null".
5Property Editor for type : org.openide.execution.NbClassPath - Add Directory, Remove
  1. click on property NbClassPath (default value="null")
  2. push ...
  3. in opened NbClassPath Property Editor select Add Directory
  4. push Browse
  5. in opened dialog Add Directory select [gui/propertyeditors/data/sourceLocalFS]/[package1_FS1]
  6. push Remove
  7. push Ok
RESULT: Value isn't changed "null".
6Property Editor for type : org.openide.execution.NbClassPath - Change order
  1. click on property NbClassPath (default value="null")
  2. push ...
  3. in opened NbClassPath Property Editor select Add Directory
  4. push Browse
  5. in opened dialog Add Directory select [gui/propertyeditors/data/sourceLocalFS]/[package1_FS1]
  6. push Ok
  7. click on property NbClassPath again
  8. push ...
  9. in opened FileSystem Property Editor select Add JAR/Zip
  10. push Browse
  11. in opened dialog Add JAR/Zip select [gui/propertyeditors/data/jarArchiveFS.jar]
  12. push Ok
  13. select [gui/propertyeditors/data/jarArchiveFS.jar] and push Move Up
  14. push Ok
RESULT: New value is "/, /...".
7Property Editor for type : org.openide.execution.NbProcessDescriptor, in-place
  1. click on property NbProcessDescriptor (default value="null")
  2. type in created textfield "process argument"
  3. press Enter
RESULT: New value is "process argument".
8Property Editor for type : org.openide.execution.NbProcessDescriptor, Customizer
  1. click on property NbProcessDescriptor (default value="null")
  2. in opened NbProcessDescriptor Property Editor type in textfield "process"
  3. in textarea type "argument"
  4. push Ok
RESULT: New value is "process argument".
9Property Editor for type : org.openide.execution.NbProcessDescriptor, Customizer, Cancel
  1. click on property NbProcessDescriptor (default value="null")
  2. in opened NbProcessDescriptor Property Editor type in textfield "process"
  3. in textarea type "argument"
  4. push Cancel
RESULT: Value isn't changed "null".

Test suite 6: Property Editors tests (Indent Engines)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : org.openide.text.IndentEngine
  1. click on property IndentEngine (default value="Default")
  2. change value by choosing from expanded combobox to "Simple Indentation Engine"
  3. press Enter
RESULT: New value is "Simple Indentation Engine".
2Property Editor for type : org.openide.text.IndentEngine, Customizer
  1. click on property IndentEngine (default value="Default")
  2. push ...
  3. in opened IndentEngine Property Editor select from list of IndentEngines "Java Indentation Engine"
  4. push Ok
RESULT: New value is "Java Indentation Engine".
3Property Editor for type : org.openide.text.IndentEngine, Customizer, Cancel
  1. click on property IndentEngine (default value="Default")
  2. push ...
  3. in opened IndentEngine Property Editor select from list of IndentEngines "No Indentation"
  4. push Cancel
RESULT: Value isn't changed "Default".

Test suite 7: Property Editors tests (Services)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : org.openide.ServiceType
  1. click on property Service Type (default value="Default")
  2. change value by choosing from expanded combobox to "NetBeans Update Center Alpha"
  3. press Enter
RESULT: New value is "NetBeans Update Center Alpha".
2Property Editor for type : org.openide.ServiceType, Customizer
  1. click on property Service Type (default value="Default")
  2. push ...
  3. in opened ServiceType Property Editor select from list of Services "Date"
  4. push Ok
RESULT: New value is "Date".
3Property Editor for type : org.openide.ServiceType, Customizer, Cancel
  1. click on property Service Type (default value="Default")
  2. push ...
  3. in opened ServiceType Property Editor select from list of Services "Type"
  4. push cancel
RESULT: Value isn't changed "Default".

Test suite 8: Property Editors tests (Properties)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : java.util.Properties
  1. click on property Properties (default value="null")
  2. type in created textfield "propertyName=propertyValue"
  3. press Enter
RESULT: New value is "propertyName=propertyValue".
2Property Editor for type : java.util.Properties, Customizer
  1. click on property Properties (default value="null")
  2. push ...
  3. in opened Properties Property Editor write to EditorPane "propertyName1=propertyValue1"
  4. push Ok
RESULT: New value is "propertyName1=propertyValue1".
3Property Editor for type : java.util.Properties, Customizer, Cancel
  1. click on property Properties (default value="null")
  2. push ...
  3. in opened Properties Property Editor write to EditorPane "pp=xx"
  4. push Cancel
RESULT: Value isn't changed "null" and Properties Property Editor dialog is closed.

Test suite 9: Property Editors tests (URL)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : java.net.URL
  1. click on property url (default value=/same URL/)
  2. type in created textfield "http://core.netbeans.org"
  3. press Enter
RESULT: New value is "http://core.netbeans.org".
2Property Editor for type : java.net.URL - invalid value
  1. click on property url (default value=/same URL/)
  2. type in created textfield "xxx"
  3. press Enter
RESULT: Value isn't changed(/some URL/.

Test suite 10: Property Editors tests (HtmlBrowser)

Purpose: Check default values, possibility to change values and type invalid values.
Setup: Start IDE with clear userdir. Run Test class PropertiesTest.java.

#Test caseDescription
1Property Editor for type : org.openide.awt.HtmlBrowser.Factory
  1. click on property HtmlBrowser (default value="False")
  2. change value by doubleclick on property name to "External Browser (Command Line)"
  3. press Enter
RESULT: New value is "External Browser (Command Line)".
2Property Editor for type : org.openide.awt.HtmlBrowser.Factory - by doubleclick
  1. click on property HtmlBrowser (default value="Unspecified")
  2. change value by choosing from expanded combobox to "Swing HTML Browser"
  3. press Enter
RESULT: New value is "Swing HTML Browser".

Generated: 2005 09 19 02:19

Project Features

About this Project

QA was started in November 2009, is owned by Marian Mirilovic, and has 98 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close