TS 60 DataSources

Data Sources Management Test Specification for

Author: Martin Schovanek
Version: 1.1
Last update: 2006/03/21
Introduction:
Comments:

       Features covered by this spec are described in Persistence UI spec (main part).
   

Contents


Test suite: Data Sources Test Suite

Purpose:
Setup:

  1. 'New Data Source ...' action accessibility
                    New > Persistence > Entity Classes from Database > Database Tables (Step 2)  dialog
               
                    New > Persistence > New Persistence Unit > Provider and Database (Step 2)  dialog
               
    • EXPECTED RESULT:
                   Both dialogs contain Data Source combobox with  New Data Source ...  item.
 
  1. Create Data Source
                   invoke  New > Persistence > Persistence Unit > Data Source: > New Data Source ... 
               
                   enter  JNDI Name  and  Database Connection  and finish the dialog
               
    • EXPECTED RESULT:
                   Data Source declaration and resource reference appear in server specific data source descriptor and server specific deployment descriptor.
 
  1. Deploy Data Source
    1. write test servlet and use the data source there
    2. deploy project and run the servlet
    • EXPECTED RESULT:
                   Project and data source are correctly deployed on target server and servlet is up and running.
                
 
  1. Retrieve Data Sources from server
    1. expand New > Persistence > Persistence Unit > Data Source: combobox
    2. attempt to create new data source with existing JNDI name
    • EXPECTED RESULT:
                   The combobox contains all data sources deployed on the server or stored in the project. Attempt to create new data source with existing JNDI name is rejected.
                
   

Generated: Tue Dec 19 15:37:12 CET 2006

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