Ticket #3653 (closed: fixed)
FunctionTest & CompositeFunctionTest should not reference Workspace2D
Reported by: | Russell Taylor | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Russell Taylor |
Description
The fact that they do is an implicit dependency on a higher package, which is wrong. You'll need to use a fake MatrixWorkspace implementation instead (such as those in MatrixWorkspaceTest and WorkspaceFactoryTest) - or perhaps it's an opportunity to learn about gmock.
Change History
comment:1 Changed 9 years ago by Roman Tolchenov
- Status changed from new to verify
- Resolution set to fixed
comment:10 Changed 9 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:11 Changed 9 years ago by Russell Taylor
- Status changed from verifying to closed
These tests no longer reference the real Workspace2D.
comment:12 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 4500
Note: See
TracTickets for help on using
tickets.
In [14410]: