Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline maxthekokusaiwarrior  
#1 Posted : Monday, April 7, 2014 2:21:22 AM(UTC)
maxthekokusaiwarrior

Joined: 11/4/2013(UTC)
Posts: 18

Hi guys Cool,

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. ThumpUp

Max

Edited by user Monday, April 7, 2014 2:43:38 AM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline Benjamin  
#2 Posted : Monday, April 7, 2014 1:57:55 PM(UTC)
Benjamin

Medals: Admin

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
Offline maxthekokusaiwarrior  
#3 Posted : Monday, April 7, 2014 2:35:57 PM(UTC)
maxthekokusaiwarrior

Joined: 11/4/2013(UTC)
Posts: 18

Thank you very much, Benjamin ThumpUp
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
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.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.042 seconds.