| Summary: | JPA: CacheImplJUnitTest requires cross-model testSetup) additions for metamodel1,cacheable and fetchgroups test models when run out of order | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael OBrien <michael.f.obrien> | ||||
| Component: | Eclipselink | Assignee: | Michael OBrien <michael.f.obrien> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | eclipselink.orm-inbox | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| URL: | http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/cache_api#Refactor_20100322 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 248780 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Michael OBrien
>part 1 of 2 - disable 10 new tests until setup() is fixed for non-ant use see SVN rev# 7482 http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7482 >the following highlighted 3 additional model table creators are required AdvancedFetchGroup, Cachable and Metamodel public void testSetup() { new AdvancedTableCreator().replaceTables(JUnitTestCase.getServerSession()); > new AdvancedFetchGroupTableCreator().replaceTables(JUnitTestCase.getServerSession()); > new CacheableTableCreator().replaceTables(JUnitTestCase.getServerSession()); > // 315714: metamodel model requires a table creator now that we are persisting with it clearCache(); } Created attachment 171065 [details]
testSetup() requires schema generators for AdvancedFetchGroup, Cacheable and Metamodel
>original rev# that added the cross model dependency http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7461 >test results on the patch adding the 2 replaceTables
- on a clean view
- run testing browser JPA
- login to new derby schema
jdbc:derby:test2;create=true
- run specific advanced suite first
TEST MODEL NAME: (JUnit test): CacheImplJUnitTest
Errors: (failures): 0
Fatal Errors: (errors): 0
Passed: 15
Total Tests: 15
>see SVN rev# 7486 containing above patch http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7486 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |