Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Dali 3.4 M2 Release"

Line 131: Line 131:
 
| ...
 
| ...
 
| Click on the Edit button again, update/change some values for other fields such as Nullable, Insertable, length, etc.. and click on OK button
 
| Click on the Edit button again, update/change some values for other fields such as Nullable, Insertable, length, etc.. and click on OK button
| Verify all the column values remain the same that were not changed/updated.
+
| Verify all the column values remain the same that were not changed/updated
 +
|-
 +
| ...
 +
| ...
 +
| Click on Edit button again, enter a Column Name directly into the Column Name field that does not exist in the db table, then click on the OK button
 +
| Verify this time that nothing appears in the Column Type field
 +
|-
 +
| ...
 +
| ...
 +
| Click on Edit button again, enter an existing Column Name and click on OK button
 +
| Verify the Column Type field is updated to the type from the DB
 +
|-
 +
| ...
 +
| ...
 +
| Click on Finish button for Make Persistent
 +
| Verify the class is not an Entity and appears in the persistent.xml
 
|-
 
|-
 
| 415647
 
| 415647

Revision as of 13:50, 30 September 2013

Dali 3.4

Dali 3.4 M2 Manual Testing

Manual Testing for 3.4 M2 Release
Bug No. Description Test Steps Test Step Results
377790 Add action on class to "Add to persistence.xml" Create JPA project and at least 2 JPA Entities with at least two attributes JPA Project and entities are added succussfully.
... ... Open persistence.xml in editor Verify added entities appear in the list of managed classes on the General tab
... ... Remove one of the entities from the list and save the project Verify error appears stating Class "xxx" is managed, but not listied
... ... R-Click on the entity you removed in the project explorer Verify Add to Persistence Unit appears within the JPA Tools menu when you R-Click on the entity
... ... Click on JPA Tools > Add to Persistence Unit Verify the entity appears in the persistence.xml in the list of managed classes on the General tab and the error message is gone.
... ... Remove both entities from the persistence.xml managed classes and Save project Verify entities are removed successfully and errors appear
... ... R-Click on scr folder in the project explorer and select JPA Tools > Add to Persistence Unit Verify errors are removed and entities appear in the managed classes list in persistence.xml General tab
... ... Remove both entities from the persistence.xml managed classes and Save project Verify entities are removed successfully and errors appear
... ... R-Click on package folder in the project explorer and select JPA Tools > Add to Persistence Unit Verify errors are removed and entities appear in the managed classes list in persistence.xml General tab
... ... Remove both entities from the persistence.xml managed classes and Save project Verify entities are removed successfully and errors appear
... ... Select both entities from the project explorer, R-Click and select JPA Tools > Add to Persistence Unit Verify errors are removed and entities appear in the managed classes list in persistence.xml General tab
379997 NullPointerException: invoke JPQL code assist in JPA Details and switch editor w/o selecting any proposal Create JPA project and a JPA Entity with at least two attributes JPA Project and entity are added succussfully.
... ... Add a JPA ORM Mapping file to the project orm.xml mapping file is added successfully and opened in the editor
... ... Select the open Entity in the editor, Select the entity in the JPA Structure pane, Go to the JPA Details pane and expand Queries and then click on Add button for Queries Add Query dialog appears
... ... Enter a Name 'test', Enter a type 'Named Query' and click on OK button Verify @NamedQuery(name = "test", query = "") is added to entity.java in the editor
... ... Place the cursor in the query field for the added query in the JPA Details pane and enter select and then hit Ctrl spacebar Verify the code assist items appear
... ... Click on the editor for orm.xml Verify orm.xml is now the focus in the editor and no errors appear in the error log.
415646 Make Persistent Wizard: Need to set column name each time editing an attribute Create JPA project with db connection and a Class with a few attributes JPA Project and class are created successfully
... ... R-Click on the Class and Select JPA Tools > Make Persistent Make Persistenct dialog appears
... ... Click on the Next button twice Attribute Mapping page appears
... ... Select an attribute and click on the Edit button Dialog appears for the mapping Annotation for edit
... ... Click on the Browse button for Column Name Select Column dialog appears with the available columns in db table
... ... Select a differnt Column and click on OK button Verify column name is updated
... ... Click on the OK button Verify column name field is updated and all other column values remain the same
... ... Click on the Edit button again, update/change some values for other fields such as Nullable, Insertable, length, etc.. and click on OK button Verify all the column values remain the same that were not changed/updated
... ... Click on Edit button again, enter a Column Name directly into the Column Name field that does not exist in the db table, then click on the OK button Verify this time that nothing appears in the Column Type field
... ... Click on Edit button again, enter an existing Column Name and click on OK button Verify the Column Type field is updated to the type from the DB
... ... Click on Finish button for Make Persistent Verify the class is not an Entity and appears in the persistent.xml
415647 Make Persistent Wizard: java.text.ParseException: Unparseable number: "" Create JPA project and create a Class JPA Project and class are created successfully.
... ... R-Click on the Class and select JPA Tools > Make Persistent Make persistent dialog appears

Back to the top