[QFJ-798] Refactor Session construction in test code Created: 13/Jun/14 Updated: 13/Jun/14 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.5.3 |
Fix Version/s: | None |
Type: | Improvement | Priority: | Default |
Reporter: | Andrzej Hajderek | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None |
Description |
Currently to create some of the Session related test cases it is necessary to use constructs like this: Session session = new Session(new UnitTestApplication(), new MemoryStoreFactory(), , false, disconnectOnError, false, true, false, true, false, null, This kind of code turns from an asset into a liability pretty quickly, so the sooner it is rationalised the better. The Session constructor itself isn't very pretty either with its 30+ parameters. |