Skip to main content

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.

Jump to: navigation, search

Dali 3.2 M6

Revision as of 17:14, 24 February 2012 by Unnamed Poltroon (Talk)

Dali 3.2

Dali 3.2 M6 Release Manual Testing

Manual Testing for 3.2 M6 Release
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 = 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>model</package>
   <entity class="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.

Back to the top