Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Dali 3.2 M6
Revision as of 12:09, 28 February 2012 by Unnamed Poltroon (Talk)
Dali 3.2 M6 Release Manual Testing
Bug No. | Description | Test Steps | Test Step Results |
277017 | class chooser widgets don't work if package is set in orm.xml | Create JPA 2.0 Generic project | JPA Project is created successfully |
... | ... | Create JPA Entity | Entity is created successfully |
... | ... | Create JPA ORM mapping file and add JPA Entity to mapping file via the editor
<package>model</package> <entity class="Address"></entity> |
Entity is added to mapping file successfully |
... | ... | Select the JPA Entity in the orm mapping file, then click on Java Class in the JPA Details pane | Verify the JPA Entity editor window opens(appears) and the JPA Details appears so you can edit the entity. |
... | ... | Open the .class files in Comment #6 of the bug | Verify they have been updated with String |
370342 | partial package in the package element should not be supported in the orm.xml | Create a JPA Generic project, Create JPA Entity (package = foo.com.model, Name = Employee), Create JPA orm mapping file | Project, Entity and orm mapping file are all created successfully |
... | ... | Add the following Entity to the orm mapping file via the editor and Save
<package>foo.com.model</package> <entity class="Employee"</entity> |
Verify no errors appear and Employee can be resolved |
... | ... | Update the following Entity in orm mapping file via the editor and Save
<package>foo.com</package> <entity class="model.Employee"</entity> |
Verify no errors appear and employee can be resolved |
... | ... | Update the following Entity in orm mapping file via the editor and Save
<package>foo.com.model.</package> <entity class="Employee"</entity> |
Verify errors appear and employee cannot be resolved due to . at end of model in package |
... | ... | Update the following Entity in orm mapping file via the editor and Save
<entity class="foo.com.model.Employee"</entity> |
Verify no errors appear and employee can be resolved |
... | ... | Update the project from Generic to EclipseLink 2.3.x and Save | Project is updated to EclipseLink project without error |
... | ... | Remove Employee entity from the orm.xml mapping file and Save | Employee enitity is removed successfully |
... | ... | Create EclipseLink orm Mapping file and add the following Entity to the eclipsselink orm mapping file via the editor and Save
<package>foo.com.model</package> <entity class="Employee"</entity> |
Verify no errors appear and Employee can be resolved |
... | ... | Update the following Entity in orm mapping file via the editor and Save
<package>foo.com.model.</package> <entity class="Employee"</entity> |
Verify no errors appear and employee can be resolved |
... | ... | Update the following Entity in orm mapping file via the editor and Save
<package>foo.com</package> <entity class="model.Employee"</entity> |
Verify errors appear and employee cannot be resolved due to package name being split in EL orm mapping file at end of model in package |
... | ... | Update the following Entity in orm mapping file via the editor and Save
<entity class="foo.com.model.Employee"</entity> |
Verify no errors appear and employee can be resolved |
370779 | Refactoring NPE moving an id class that is specified in java | Create JPA project, Create the following JPA entity in model package
package model; @Entity @IdClass(EmployeeId.class) public class Employee { } |
Project and entity are created successfully |
... | ... | Create the following class in the same package
package model; public class EmployeeID {} |
Class is created successfully |
... | ... | Add the orm mapping file to the project and add the following into the orm mapping file
<entity class="com.foo.Employee"> <attributes> <id name="id"> </id> </attributes> </entity> Move the EmployeeId class to another package |
Move dialog appears |
... | ... | Click on the Preview button | Move dialog updates and shows the changes to be performed and no NPE appears in the Error log |
... | ... | Click on the ok button | Verify EmployeeId was moved to another package |
370877 | missing java eclipselink customizer validation | Create JPA (EclipseLink) project, Create the following JPA entity in model package
package model; @Entity @Customizer(FooCustomizer.class) public class Employee {} |
Project and entity are created successfully |
... | ... | Create the following class in a different package
package com.foo; public class FooCustomizer { private FooCustomizer() { super(); } } |
Verify validation appears in problems pane stating The entity customizer class "com.foo.FooCustomizer" must have a public, zero-argument constructor. |