Delta Engine
»
Support
»
Engine
»
About MockContentLoader
Joined: 11/4/2013(UTC) Posts: 18
|
Hi guys  , I need to create my CustomMockContentLoader and use it in tests, as with CreepyTowersMockContentLoader class. I would like to inherit it from MockContentLoader, but it seems that the DeltaEngine.Content.Mocks namespace is not available in Delta Engine 1.1 (it appears inside the code, but not throught the package available from Nuget). Can you help me? Thank you. Max Edited by user Monday, April 7, 2014 2:43:38 AM(UTC)
| Reason: Not specified
|
|
|
|
Medals:  Joined: 8/20/2011(UTC) Posts: 1,421 Location: Hannover
Thanks: 18 times Was thanked: 97 time(s) in 92 post(s)
|
Hi Max, Tests and Mocks are not part of the nuget releases, to use them you will have to use the source code. In this case you can just roll your own ContentLoader implementation and copy+paste as much code as you want from MockContentLoader (or just drop MockContentLoader into your project and derive from it): https://github.com/Delta...cks/MockContentLoader.cs
|
|
|
|
Joined: 11/4/2013(UTC) Posts: 18
|
Thank you very much, Benjamin
|
|
|
|
Delta Engine
»
Support
»
Engine
»
About MockContentLoader
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.