Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043172Openbravo ERPA. Platformpublic2020-02-05 13:572020-02-11 15:31
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
3.0PR19Q3.4 
cberner
Core
No
0043172: 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.0PR19Q3.4
2020-02-11 15:29hgbotCheckin
2020-02-11 15:29hgbotNote Added: 0117643
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.0PR19Q3.4/rev/0bfbe31c8f54abb66af926e55a35c6e55b36ab58 [^]
2020-02-11 15:31cbernerStatusresolved => closed

Notes
(0117643)
hgbot   
2020-02-11 15:29   
Repository: erp/backports/3.0PR19Q3.4
Changeset: 0bfbe31c8f54abb66af926e55a35c6e55b36ab58
Author: Stefan Huehner <stefan.huehner <at> openbravo.com>
Date: Tue Feb 11 13:15:14 2020 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q3.4/rev/0bfbe31c8f54abb66af926e55a35c6e55b36ab58 [^]

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

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