Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034138
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] Y. DBSourceManagerminorhave not tried2016-09-29 19:232016-09-30 11:46
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR16Q4
StatusclosedFix in branchFixed in SCM revisione99053627f40
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034138: Create a Test Suite for Configuration Scripts

DescriptionCurrently DB Source Manager testing infrastructure is not covering Configuration Scripts functionality.

It would be nice to have a Test Suite to cover it, as it will help when adding new export changes (for example index removals, see issue 0034037) and also when doing refactors in some central parts of the DB Source Manager where config scripts are involved (like update.database, install.source)
Steps To ReproduceIn description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0034037 closedplatform Is not possible to export the removal of an index into a configuration script 
related to feature request 0032211 closedcaristu support for partial indexes 
related to defect 0034131 closedalostale can't export database in verbose mode if there's a config script changing a column to nullable 
related to defect 0034144 closedcaristu Prevent NPE on RemoveTriggerChange toString() method 

-  Notes
(0090406)
hgbot (developer)
2016-09-30 09:57

Repository: erp/devel/dbsm-main
Changeset: e99053627f4098e9aef0f9161bb8edc4264b5b22
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Sep 30 09:56:32 2016 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/e99053627f4098e9aef0f9161bb8edc4264b5b22 [^]

fixes issue 34138: Create a Test Suite for Configuration Scripts

---
M src-test/src/org/openbravo/dbsm/test/DBSMTestSuite.java
M src-test/src/org/openbravo/dbsm/test/base/DbsmTest.java
A src-test/data/configScripts/TEST.xml
A src-test/model/configScripts/BASE_MODEL.xml
A src-test/model/configScripts/configScript.xml
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptBaseTest.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnDataChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnRequiredChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnSizeChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptRemoveCheckChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptRemoveTriggerChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptSuite.java
---
(0090415)
alostale (developer)
2016-09-30 11:46

code reviewed

- Issue History
Date Modified Username Field Change
2016-09-29 19:23 caristu New Issue
2016-09-29 19:23 caristu Assigned To => caristu
2016-09-29 19:23 caristu Modules => Core
2016-09-29 19:23 caristu Triggers an Emergency Pack => No
2016-09-29 19:23 caristu Relationship added related to 0034037
2016-09-29 19:27 caristu Relationship added related to 0032211
2016-09-30 09:57 hgbot Checkin
2016-09-30 09:57 hgbot Note Added: 0090406
2016-09-30 09:57 hgbot Status new => resolved
2016-09-30 09:57 hgbot Resolution open => fixed
2016-09-30 09:57 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/e99053627f4098e9aef0f9161bb8edc4264b5b22 [^]
2016-09-30 09:57 caristu Review Assigned To => alostale
2016-09-30 09:58 caristu Issue Monitored: alostale
2016-09-30 09:58 caristu Relationship added related to 0034131
2016-09-30 10:12 caristu Relationship added related to 0034144
2016-09-30 11:46 alostale Note Added: 0090415
2016-09-30 11:46 alostale Status resolved => closed
2016-09-30 11:46 alostale Fixed in Version => 3.0PR16Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker