TS 69 JavaFX Platforms

(Difference between revisions)
(Created page with '==Platforms Test Specification== '''Author:''' [mailto:lfitzgerald@netbeans.org Lark Fitzgerald] <br> '''Version:''' 1.1 <br> '''Last update:''' 01 September 2009 <br> '''Introdu…')
(Platforms Test Specification)
Line 1: Line 1:
==Platforms Test Specification==
==Platforms Test Specification==
'''Author:''' [mailto:lfitzgerald@netbeans.org Lark Fitzgerald] <br>
'''Author:''' [mailto:lfitzgerald@netbeans.org Lark Fitzgerald] <br>
-
'''Version:''' 1.1 <br>
+
'''Version:''' 1.2 <br>
-
'''Last update:''' 01 September 2009 <br>
+
'''Last update:''' 04 August 2010 <br>
'''Introduction:''' The Java FX SDK Platform <br>
'''Introduction:''' The Java FX SDK Platform <br>
'''Comments:'''  <br>       
'''Comments:'''  <br>       
Line 9: Line 9:
__TOC__
__TOC__
        
        
-
====Test suite: Creating Java FX SDK Platforms====
+
== Test suite: Creating Java FX SDK Platforms==
Purpose: Verify that the FX SDK can be added and used with a FX project.  <br>
Purpose: Verify that the FX SDK can be added and used with a FX project.  <br>
Setup: Install the JavaFX Plugin <br>
Setup: Install the JavaFX Plugin <br>
      
      
-
# {{testcase|Add a platform via menu}}
+
=== {{testcase|Add a platform via menu}} ===
      
      
-
## Invoke 'Tools | Java Platforms' from the main menu bar.  <pre>  </pre>
+
* Invoke 'Tools | Java Platforms' from the main menu bar.  <pre>  </pre>
          
          
-
## Press Platform... button <pre>  </pre>
+
* Press Platform... button <pre>  </pre>
          
          
-
## Add Java Platform dialog appears <pre>  </pre>
+
* Add Java Platform dialog appears <pre>  </pre>
          
          
-
## Select JavaFX Platform and press Next. <pre>  </pre>
+
* Select JavaFX Platform and press Next. <pre>  </pre>
          
          
-
## Give it a name. <pre>  </pre>
+
* Give it a name. <pre>  </pre>
          
          
-
## Leave Java Platform alone (defaults to IDE Java Platform) or set it to a specific Java Platform Version. <pre>  </pre>
+
* Leave Java Platform alone (defaults to IDE Java Platform) or set it to a specific Java Platform Version. <pre>  </pre>
          
          
-
## Browse for and select a JavaFX SDK Folder. <pre>  </pre>
+
* Browse for and select a JavaFX SDK Folder. <pre>  </pre>
          
          
-
## Press Finish <pre>  </pre>
+
* Press Finish <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: SDK should be recognized by javafx-sdk, not javafx-sdk/lib }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: SDK should be recognized by javafx-sdk, not javafx-sdk/lib }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: A new Platform should be added. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: A new Platform should be added. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: This platform can be assigned to an existing project via project | Properties. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: This platform can be assigned to an existing project via project | Properties. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: On deploy as a webstart the .jars from the platform are deployed into the dist\lib directory - verify the contents of the .jars by dates of the files to be sure they are correct. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: On deploy as a webstart the .jars from the platform are deployed into the dist\lib directory - verify the contents of the .jars by dates of the files to be sure they are correct. }} <pre>  </pre>
              
              
-
# {{testcase|Add a platform via project}}
+
=== {{testcase|Add a platform via project}} ===
      
      
-
## Select an existing FX project <pre>  </pre>
+
* Select an existing FX project <pre>  </pre>
          
          
-
## right click <pre>  </pre>
+
* right click <pre>  </pre>
          
          
-
## Select properties. <pre>  </pre>
+
* Select properties. <pre>  </pre>
          
          
-
## Select the Libraries Category <pre>  </pre>
+
* Select the Libraries Category <pre>  </pre>
          
          
-
## Press Manage Platforms... button <pre>  </pre>
+
* Press Manage Platforms... button <pre>  </pre>
          
          
-
## Add Platform. <pre>  </pre>
+
* Add Platform. <pre>  </pre>
          
          
-
## dialog appears. <pre>  </pre>
+
* dialog appears. <pre>  </pre>
          
          
-
## Select JavaFX Platform and press Next. <pre>  </pre>
+
* Select JavaFX Platform and press Next. <pre>  </pre>
          
          
-
## Give it a name. <pre>  </pre>
+
* Give it a name. <pre>  </pre>
          
          
-
## Leave Java Platform alone. <pre>  </pre>
+
* Leave Java Platform alone. <pre>  </pre>
          
          
-
## Browse for and select a JavaFX SDK Folder. (folder's \lib). Press Finish <pre>  </pre>
+
* Browse for and select a JavaFX SDK Folder. (folder's \lib). Press Finish <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: SDK should be recognized by javafx-sdk, not javafx-sdk/lib }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: SDK should be recognized by javafx-sdk, not javafx-sdk/lib }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: A new Platform should be added. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: A new Platform should be added. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: This platform can be assigned to an existing project via project | Properties. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: This platform can be assigned to an existing project via project | Properties. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: On deploy as a webstart the .jars from the platform are deployed into the dist\lib directory - verify the contents of the .jars by dates of the files to be sure they are correct. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: On deploy as a webstart the .jars from the platform are deployed into the dist\lib directory - verify the contents of the .jars by dates of the files to be sure they are correct. }} <pre>  </pre>
              
              
-
# {{testcase|It should be forbidden to create JavaFX Platform on top of JDK 5 or less}}
+
 
 +
 
 +
=== {{testcase|It should be forbidden to create JavaFX Platform on top of JDK 5 or less}} ===
      
      
-
## Start the IDE with FX plugin installed with JDK 1.5. <pre>  </pre>
+
* Start the IDE with FX plugin installed with JDK 1.5. <pre>  </pre>
          
          
-
## Create a new SDK using steps from previous test cases. <pre>  </pre>
+
* Create a new SDK using steps from previous test cases. <pre>  </pre>
          
          
-
## Create a project (use sample or create your own) that uses the new SDK. <pre>  </pre>
+
* Create a project (use sample or create your own) that uses the new SDK. <pre>  </pre>
          
          
-
## Try to compile or run the project. See Result for First Time: <pre>  </pre>
+
* Try to compile or run the project. See Result for First Time: <pre>  </pre>
          
          
-
## Create a new SDK that points to JDK1.6 and uses the FX SDK (Note: The IDE should still be using JKD 1.5) <pre>  </pre>
+
* Create a new SDK that points to JDK1.6 and uses the FX SDK (Note: The IDE should still be using JKD 1.5) <pre>  </pre>
          
          
-
## Create a project (use sample or create your own) that uses the new SDK or modify the existing application to use the new SDK. <pre>  </pre>
+
* Create a project (use sample or create your own) that uses the new SDK or modify the existing application to use the new SDK. <pre>  </pre>
          
          
-
## Try to compile or run the project. See Result for Second Time: <pre>  </pre>
+
* Try to compile or run the project. See Result for Second Time: <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: First time you try to run you should get the message: "You are attempting to build JavaFX Application with JDK 5 (or less)." }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: First time you try to run you should get the message: "You are attempting to build JavaFX Application with JDK 5 (or less)." }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: The second time: The project should build/run without errors.  }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: The second time: The project should build/run without errors.  }} <pre>  </pre>
              
              
<br>
<br>
    
    
-
====Test suite: Deleting Java FX SDK Platforms====
+
== Test suite: Deleting Java FX SDK Platforms ==
Purpose:  <br>
Purpose:  <br>
Setup:  <br>
Setup:  <br>
      
      
-
# {{testcase|Delete default Platform}}
+
=== {{testcase|Delete default Platform}} ===
      
      
-
## Invoke 'Tools | Java Platforms' from the main menu bar.  <pre>  </pre>
+
* Invoke 'Tools | Java Platforms' from the main menu bar.  <pre>  </pre>
          
          
-
## . <pre>  </pre>
+
* . <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: This should be ignored.  You should NOT be able to remove the default SDK. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: This should be ignored.  You should NOT be able to remove the default SDK. }} <pre>  </pre>
              
              
-
# {{testcase|Projects using deleted SDK's should be re-configurable.}}
+
=== {{testcase|Projects using deleted SDK's should be re-configurable.}} ===
      
      
-
## Create a new SDK. <pre>  </pre>
+
* Create a new SDK. <pre>  </pre>
          
          
-
## Create a new project that uses the SDK. <pre>  </pre>
+
* Create a new project that uses the SDK. <pre>  </pre>
          
          
-
## Delete the SDK. <pre>  </pre>
+
* Delete the SDK. <pre>  </pre>
          
          
-
## Select the project. <pre>  </pre>
+
* Select the project. <pre>  </pre>
          
          
-
## Configure project properties. <pre>  </pre>
+
* Configure project properties. <pre>  </pre>
          
          
-
## Add new SDK. <pre>  </pre>
+
* Add new SDK. <pre>  </pre>
          
          
-
## Compile/run the project. <pre>  </pre>
+
* Compile/run the project. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: Deleting the SDK should cause the project to become invalid. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Deleting the SDK should cause the project to become invalid. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Creating a new SDK (or selecting a existing FX SDK) should make the project valid again. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Creating a new SDK (or selecting a existing FX SDK) should make the project valid again. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Project should compile/run correctly. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Project should compile/run correctly. }} <pre>  </pre>
              
              
<br>
<br>
    
    
-
====Test suite: Changing project SDK Platforms====
+
== Test suite: Changing project SDK Platforms ==
Purpose:  <br>
Purpose:  <br>
Setup:  <br>
Setup:  <br>
      
      
-
# {{testcase|Change project to new platform}}
+
=== {{testcase|Change project to new platform}} ===
      
      
-
## Add new SDK that points to different jdk. <pre>  </pre>
+
* Add new SDK that points to different jdk. <pre>  </pre>
          
          
-
## Right click project (newly created or old) &gt; Properties and change the SDK to the new one. <pre>  </pre>
+
* Right click project (newly created or old) &gt; Properties and change the SDK to the new one. <pre>  </pre>
          
          
-
## Compile/run. <pre>  </pre>
+
* Compile/run. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: Project libraries should be updated accordingly. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Project libraries should be updated accordingly. }} <pre>  </pre>
              
              
<br>
<br>
    
    
-
====Test suite: Adding SDK Platform after project Creation====
+
== Test suite: Adding SDK Platform after project Creation ==
Purpose:  <br>
Purpose:  <br>
Setup:  <br>
Setup:  <br>
      
      
-
# {{testcase|Install plugin without SDK, create project, build, install sdk build}}
+
=== {{testcase|Install plugin without SDK, create project, build, install sdk build}} ===
      
      
-
## Install plugin (without SDK). <pre>  </pre>
+
* Install plugin (without SDK). <pre>  </pre>
          
          
-
## Create a project. <pre>  </pre>
+
* Create a project. <pre>  </pre>
          
          
-
## Build it. <pre>  </pre>
+
* Build it. <pre>  </pre>
          
          
-
## Install SDK. <pre>  </pre>
+
* Install SDK. <pre>  </pre>
          
          
-
## Configure project to use SDK. <pre>  </pre>
+
* Configure project to use SDK. <pre>  </pre>
          
          
-
## Build it. <pre>  </pre>
+
* Build it. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: First build should fail, second should work without errors. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: First build should fail, second should work without errors. }} <pre>  </pre>
              
              
-
# {{testcase|Install plugin without SDK, point to external sdk, build, run}}
+
=== {{testcase|Install plugin without SDK, point to external sdk, build, run}} ===
      
      
-
## Install plugin (without SDK). <pre>  </pre>
+
* Install plugin (without SDK). <pre>  </pre>
          
          
-
## Create a project. <pre>  </pre>
+
* Create a project. <pre>  </pre>
          
          
-
## Add external to IDE SDK. <pre>  </pre>
+
* Add external to IDE SDK. <pre>  </pre>
          
          
-
## Configure project to point to external sdk. <pre>  </pre>
+
* Configure project to point to external sdk. <pre>  </pre>
          
          
-
## Build it.. <pre>  </pre>
+
* Build it.. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: Project should run properly with external SDK. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Project should run properly with external SDK. }} <pre>  </pre>
              
              
<br>
<br>
    
    
-
====Test suite: Backwards Compatibility====
+
== Test suite: Backwards Compatibility ==
Purpose: Sometimes the build.properties gets changed for fixes in ways that is not backwards compatible. Need to make sure that these changes are caught and backwards compatibility is not lost. <br>
Purpose: Sometimes the build.properties gets changed for fixes in ways that is not backwards compatible. Need to make sure that these changes are caught and backwards compatibility is not lost. <br>
Setup: Load old stored projects from previous releases <br>
Setup: Load old stored projects from previous releases <br>
      
      
-
# {{testcase|Load a project from the previous release or build and confirm that SDK can be used}}
+
=== {{testcase|Load a project from the previous release or build and confirm that SDK can be used}} ===
      
      
-
## Open stored project. <pre>  </pre>
+
* Open stored project. <pre>  </pre>
          
          
-
## Configure it to use SDK (if applicable). <pre>  </pre>
+
* Configure it to use SDK (if applicable). <pre>  </pre>
          
          
-
## Build/Run. (May need to clean first) <pre>  </pre>
+
* Build/Run. (May need to clean first) <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: Changing to SDK should be error free. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Changing to SDK should be error free. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Application should build/run error free. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Application should build/run error free. }} <pre>  </pre>
              
              
<br>
<br>
    
    
-
====Test suite: Uninstalling the Java FX SDK====
+
== Test suite: Uninstalling the Java FX SDK ==
Purpose: The SDK is a module like the FX plugin and can be uninstalled separately. <br>
Purpose: The SDK is a module like the FX plugin and can be uninstalled separately. <br>
Setup: . <br>
Setup: . <br>
      
      
-
# {{testcase|Uninstall the SDK plugin via plugin manager}}
+
=== {{testcase|Uninstall the SDK plugin via plugin manager}} ===
      
      
-
## Tools &gt; Plugins. <pre>  </pre>
+
* Tools &gt; Plugins. <pre>  </pre>
          
          
-
## Installed Tab. <pre>  </pre>
+
* Installed Tab. <pre>  </pre>
          
          
-
## Select JavaFX SDK For Windows (or your platform). <pre>  </pre>
+
* Select JavaFX SDK For Windows (or your platform). <pre>  </pre>
          
          
-
## Press Uninstall button. <pre>  </pre>
+
* Press Uninstall button. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: Plugin should be uninstalled - IDE should restart. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Plugin should be uninstalled - IDE should restart. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Other plugins should not be affected. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Other plugins should not be affected. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Tools &gt; Java Platforms should no longer show reference to removed SDK. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Tools &gt; Java Platforms should no longer show reference to removed SDK. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Existing projects should show missing reference if they pointed to the SDK. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Existing projects should show missing reference if they pointed to the SDK. }} <pre>  </pre>
              
              
-
#* {{result|EXPECTED RESULT: Plugin should be available for re-installation. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: Plugin should be available for re-installation. }} <pre>  </pre>
              
              
<br>
<br>
    
    
-
====Test suite: Setting SDK as default.====
+
== Test suite: Setting SDK as default. ==
Purpose: Verify that you can set an SDK as the default. <br>
Purpose: Verify that you can set an SDK as the default. <br>
Setup: . <br>
Setup: . <br>
      
      
-
# {{testcase|non-gui way of setting default}}
+
=== {{testcase|non-gui way of setting default}} ===
      
      
-
## Set the IDE's default platform by running the IDE with the --jdkhome swith on the command line or by entering the path to the JDK in the netbeans_j2sdkhome property of your INSTALLATION_DIRECTORY/etc/netbeans.conf file. <pre>  </pre>
+
* Set the IDE's default platform by running the IDE with the --jdkhome swith on the command line or by entering the path to the JDK in the netbeans_j2sdkhome property of your INSTALLATION_DIRECTORY/etc/netbeans.conf file. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: When you create a new project the SDK should point to the specified location. }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: When you create a new project the SDK should point to the specified location. }} <pre>  </pre>
              
              
-
# {{testcase|GUI way of setting default - Note: this does not exist, RFE needed}}
+
=== {{testcase|GUI way of setting default - Note: this does not exist, RFE needed}} ===
      
      
-
## NA.  This is not possible at this time. <pre>  </pre>
+
* NA.  This is not possible at this time. <pre>  </pre>
          
          
-
#* {{result|EXPECTED RESULT: . }} <pre>  </pre>
+
** {{result|EXPECTED RESULT: . }} <pre>  </pre>
 +
           
 +
<br>
 +
 
              
              
<br>
<br>

Revision as of 10:45, 4 August 2010

Platforms Test Specification

Author: Lark Fitzgerald
Version: 1.2
Last update: 04 August 2010
Introduction: The Java FX SDK Platform
Comments:


Contents


Test suite: Creating Java FX SDK Platforms

Purpose: Verify that the FX SDK can be added and used with a FX project.
Setup: Install the JavaFX Plugin

Add a platform via menu

  • Invoke 'Tools | Java Platforms' from the main menu bar.
      
  • Press Platform... button
      
  • Add Java Platform dialog appears
      
  • Select JavaFX Platform and press Next.
      
  • Give it a name.
      
  • Leave Java Platform alone (defaults to IDE Java Platform) or set it to a specific Java Platform Version.
      
  • Browse for and select a JavaFX SDK Folder.
      
  • Press Finish
      
    • EXPECTED RESULT: SDK should be recognized by javafx-sdk, not javafx-sdk/lib
        
    • EXPECTED RESULT: A new Platform should be added.
        
    • EXPECTED RESULT: This platform can be assigned to an existing project via project
        
    • EXPECTED RESULT: On deploy as a webstart the .jars from the platform are deployed into the dist\lib directory - verify the contents of the .jars by dates of the files to be sure they are correct.
        

Add a platform via project

  • Select an existing FX project
      
  • right click
      
  • Select properties.
      
  • Select the Libraries Category
      
  • Press Manage Platforms... button
      
  • Add Platform.
      
  • dialog appears.
      
  • Select JavaFX Platform and press Next.
      
  • Give it a name.
      
  • Leave Java Platform alone.
      
  • Browse for and select a JavaFX SDK Folder. (folder's \lib). Press Finish
      
    • EXPECTED RESULT: SDK should be recognized by javafx-sdk, not javafx-sdk/lib
        
    • EXPECTED RESULT: A new Platform should be added.
        
    • EXPECTED RESULT: This platform can be assigned to an existing project via project
        
    • EXPECTED RESULT: On deploy as a webstart the .jars from the platform are deployed into the dist\lib directory - verify the contents of the .jars by dates of the files to be sure they are correct.
        


It should be forbidden to create JavaFX Platform on top of JDK 5 or less

  • Start the IDE with FX plugin installed with JDK 1.5.
      
  • Create a new SDK using steps from previous test cases.
      
  • Create a project (use sample or create your own) that uses the new SDK.
      
  • Try to compile or run the project. See Result for First Time:
      
  • Create a new SDK that points to JDK1.6 and uses the FX SDK (Note: The IDE should still be using JKD 1.5)
      
  • Create a project (use sample or create your own) that uses the new SDK or modify the existing application to use the new SDK.
      
  • Try to compile or run the project. See Result for Second Time:
      
    • EXPECTED RESULT: First time you try to run you should get the message: "You are attempting to build JavaFX Application with JDK 5 (or less)."
        
    • EXPECTED RESULT: The second time: The project should build/run without errors.
        


Test suite: Deleting Java FX SDK Platforms

Purpose:
Setup:

Delete default Platform

  • Invoke 'Tools | Java Platforms' from the main menu bar.
      
  • .
      
    • EXPECTED RESULT: This should be ignored. You should NOT be able to remove the default SDK.
        

Projects using deleted SDK's should be re-configurable.

  • Create a new SDK.
      
  • Create a new project that uses the SDK.
      
  • Delete the SDK.
      
  • Select the project.
      
  • Configure project properties.
      
  • Add new SDK.
      
  • Compile/run the project.
      
    • EXPECTED RESULT: Deleting the SDK should cause the project to become invalid.
        
    • EXPECTED RESULT: Creating a new SDK (or selecting a existing FX SDK) should make the project valid again.
        
    • EXPECTED RESULT: Project should compile/run correctly.
        


Test suite: Changing project SDK Platforms

Purpose:
Setup:

Change project to new platform

  • Add new SDK that points to different jdk.
      
  • Right click project (newly created or old) > Properties and change the SDK to the new one.
      
  • Compile/run.
      
    • EXPECTED RESULT: Project libraries should be updated accordingly.
        


Test suite: Adding SDK Platform after project Creation

Purpose:
Setup:

Install plugin without SDK, create project, build, install sdk build

  • Install plugin (without SDK).
      
  • Create a project.
      
  • Build it.
      
  • Install SDK.
      
  • Configure project to use SDK.
      
  • Build it.
      
    • EXPECTED RESULT: First build should fail, second should work without errors.
        

Install plugin without SDK, point to external sdk, build, run

  • Install plugin (without SDK).
      
  • Create a project.
      
  • Add external to IDE SDK.
      
  • Configure project to point to external sdk.
      
  • Build it..
      
    • EXPECTED RESULT: Project should run properly with external SDK.
        


Test suite: Backwards Compatibility

Purpose: Sometimes the build.properties gets changed for fixes in ways that is not backwards compatible. Need to make sure that these changes are caught and backwards compatibility is not lost.
Setup: Load old stored projects from previous releases

Load a project from the previous release or build and confirm that SDK can be used

  • Open stored project.
      
  • Configure it to use SDK (if applicable).
      
  • Build/Run. (May need to clean first)
      
    • EXPECTED RESULT: Changing to SDK should be error free.
        
    • EXPECTED RESULT: Application should build/run error free.
        


Test suite: Uninstalling the Java FX SDK

Purpose: The SDK is a module like the FX plugin and can be uninstalled separately.
Setup: .

Uninstall the SDK plugin via plugin manager

  • Tools > Plugins.
      
  • Installed Tab.
      
  • Select JavaFX SDK For Windows (or your platform).
      
  • Press Uninstall button.
      
    • EXPECTED RESULT: Plugin should be uninstalled - IDE should restart.
        
    • EXPECTED RESULT: Other plugins should not be affected.
        
    • EXPECTED RESULT: Tools > Java Platforms should no longer show reference to removed SDK.
        
    • EXPECTED RESULT: Existing projects should show missing reference if they pointed to the SDK.
        
    • EXPECTED RESULT: Plugin should be available for re-installation.
        


Test suite: Setting SDK as default.

Purpose: Verify that you can set an SDK as the default.
Setup: .

non-gui way of setting default

  • Set the IDE's default platform by running the IDE with the --jdkhome swith on the command line or by entering the path to the JDK in the netbeans_j2sdkhome property of your INSTALLATION_DIRECTORY/etc/netbeans.conf file.
      
    • EXPECTED RESULT: When you create a new project the SDK should point to the specified location.
        

GUI way of setting default - Note: this does not exist, RFE needed

  • NA. This is not possible at this time.
      
    • EXPECTED RESULT: .
        




Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo