Homec4science

BibFormat: setUp/tearDown in unit tests

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Feb 19 2013, 23:32.

Description

BibFormat: setUp/tearDown in unit tests

  • BibFormat unit tests were amending bibformat_engine internal configuration variable to set up testing path. The implementation was lacking however proper tearDown causing all sorts of side effects to tests happening afterwards, in particular affecting get_record()/print_record() calls for empty record. This is now fixed. (closes #1319)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 20 2013, 06:38
Parents
R3600:9cc1ec0e466f: Merge branch 'maint-1.0' into maint-1.1
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:c5886bd6633f: BibFormat: setUp/tearDown in unit tests (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Feb 20 2013, 06:38