TS 80 JavaFX-AdvSamples-Update

JavaFX - Advanced Samples and Project Updates

Author: Lou Dasaro
Version: 1.0A
Last update: 10-Jan-2014
Introduction: JavaFX is the next step in the evolution of Java as a rich client platform. It is designed to provide a lightweight, hardware-accelerated Java UI platform for enterprise and business applications. This document describes three suites of tests which aim to ensure correct functionality of NetBeans JavaFX support module. See also related TS 80 JavaFX Test Specifications
Time to complete: Less than one hour

Contents

Test suite: Advanced Sample (Ensemble 8)

Purpose: Test functionality of NetBeans support for complex JavaFX Projects.
Setup: NetBeans running on latest publicly available JDK 8. 3D samples require modern graphics hardware with latest drivers (Linux requires Nvidia).
Comments: Some samples require internet access. Proxy should be set automatically using system settings.
Note: This is a placeholder - Ensemble8 is not available at the time of this writing, so skip this suite.

  1. Open Ensemble8 Project
    1. Download the Ensemble8 project from the link provided by your tribe leader.
    2. Select File | Open Project... from main menu. Navigate to the location containing the Ensemble8 project and open it.
    • EXPECTED RESULT: The Ensemble8 project was successfully opened and scanned without error.
  2. Run Ensemble8 Project and verify
    1. Run the project. Check the Samples within Ensemble8 to ensure that they run correctly.
    • EXPECTED RESULT: The project was built without error. With a supported GPU, Program runs correctly and without error.
    • EXPECTED RESULT: The project was built without error. Without a supported GPU, Some samples don't run correctly, and may throw a Prism-ES2 Error.
  3. Clean Ensemble8 Project and verify
    1. Clean the project. Check the file system to ensure that the Build and Dist directories were deleted. Close the project
    • EXPECTED RESULT: The project was cleaned and closed without error.

Delete the project and sources at your discretion

Test suite: Advanced (3D) Samples

Purpose: Test functionality of JavaFX 3D Samples.
Setup: NetBeans running on latest publicly available JDK 8. 3D samples require modern graphics hardware with latest drivers (Linux requires Nvidia).
Comments: Some samples require internet access. Proxy should be set automatically using system settings.
Samples: Key: (M)edia - (3d) - (F)XML - (S)wing - (P)roxy

AudioVisualiser3D (M,3d)
Cube3D (3d)
CubeSystem3D (3d)

  1. Try Sample 3D Project (Perform the following for each sample in the above list - 3 tests in all)
    1. Select File | New Project... from main menu. "New Project" wizard appears.
    2. In the first step of the wizard expand "Samples" category and select "JavaFX" subcategory.
    3. Select chosen project. Push Next > button.
    4. For "JavaFX Platform", make sure JDK 1.8 is selected. Push Finish.
    5. Run the newly created project.
    6. Delete the project and sources at your discretion
    • EXPECTED RESULT: The sample project was successfully created and built without error. With a supported GPU, Program runs correctly and without error.
    • EXPECTED RESULT: The sample project was successfully created and built without error. Without a supported GPU, Program doesn't run correctly, and may throw Prism-ES2 Error.


Test suite: Project Auto-update

Purpose: Test JavaFX Project metadata auto-update mechanism.
Setup: NetBeans running on latest publicly available JDK 8. Make sure you copy the project from the zip each time prior to running the test.

  1. NB 7.1 to NB 8.0
    1. Download the Media:TS_72_JavaFX2_NB710Project.zip file.
    2. Unzip the NB710Project project and open it in the IDE.
    3. Build and run the NB710Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  2. NB 7.1.1 to NB 8.0
    1. Download the Media:TS_72_JavaFX2_NB711Project.zip file.
    2. Unzip the NB711Project project and open it in the IDE.
    3. Build and run the NB711Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  3. NB 7.1.2 to NB 8.0
    1. Download the Media:TS_72_JavaFX2_NB712Project.zip file.
    2. Unzip the NB712Project project and open it in the IDE.
    3. Build and run the NB712Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  4. NB 7.1.3 to NB 8.0
    1. Download the Media:TS_72_JavaFX2_NB713Project.zip file.
    2. Unzip the NB713Project project and open it in the IDE.
    3. Build and run the NB713Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  5. NB 7.2 to NB 8.0
    1. Download the Media:TS_73_JavaFX2_NB720Project.zip file.
    2. Unzip the NB720Project project and open it in the IDE.
    3. Build and run the NB720Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  6. NB 7.3 to NB 8.0
    1. Download the Media:TS_80_JavaFX_NB730Project.zip file.
    2. Unzip the NB730Project project and open it in the IDE.
    3. Build and run the NB730Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  7. NB 7.3.1 to NB 8.0
    1. Download the Media:TS_80_JavaFX_NB731Project.zip file.
    2. Unzip the NB731Project project and open it in the IDE.
    3. Build and run the NB731Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.
  8. NB 7.4 to NB 8.0
    1. Download the Media:TS_80_JavaFX_NB740Project.zip file.
    2. Unzip the NB740Project project and open it in the IDE.
    3. Build and run the NB740Project project.
    • EXPECTED RESULT: Upon opening the project, the jfx-impl.xml file is upgraded to an actual version. The project builds/deploys/runs successfully after the upgrade.


Attachments List

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