Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043171Openbravo ERPA. Platformpublic2020-02-05 13:572020-02-11 15:30
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
3.0PR19Q4.2 
cberner
Core
No
0043171: junit test RuntimeModelTest.testIdentifiers is not given useful output (hiding details)
That test checking that all tables have some columns set as column identifier and fails if any tables are missing those.

However the list of specific tables is only shown as log.debug instead of the test output making it impossible to act on easily when seeing the test-failure.

Run that test is an environment where any table does not have any column identifer set
Change test to report the non-compliant tables in junit error output instead of log.debug.

IndexedTest.testSubTabs can be used as example.
No tags attached.
blocks defect 0043121 closed shuehner junit test RuntimeModelTest.testIdentifiers is not given useful output (hiding details) 
Issue History
2020-02-10 18:09caristuTypedefect => backport
2020-02-10 18:09caristuTarget Version => 3.0PR19Q4.2
2020-02-11 09:30cbernerAssigned Toshuehner => cberner
2020-02-11 09:31cbernerAssigned Tocberner => shuehner
2020-02-11 15:29hgbotCheckin
2020-02-11 15:29hgbotNote Added: 0117644
2020-02-11 15:29hgbotStatusscheduled => resolved
2020-02-11 15:29hgbotResolutionopen => fixed
2020-02-11 15:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/7b81f1be38f5985b040a4e9ef3b7058a62366763 [^] => http://code.openbravo.com/erp/backports/3.0PR19Q4.2/rev/a95e16d91e1c10c7b6af63ef7d181db24be8ffae [^]
2020-02-11 15:30cbernerStatusresolved => closed

Notes
(0117644)
hgbot   
2020-02-11 15:29   
Repository: erp/backports/3.0PR19Q4.2
Changeset: a95e16d91e1c10c7b6af63ef7d181db24be8ffae
Author: Stefan Huehner <stefan.huehner <at> openbravo.com>
Date: Tue Feb 11 15:26:56 2020 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q4.2/rev/a95e16d91e1c10c7b6af63ef7d181db24be8ffae [^]

Fixes ISSUE-43171: Add useful information to RuntimeModelTest.testIdentifiers

---
M src-test/src/org/openbravo/test/model/RuntimeModelTest.java
---