Silverlight Support

8 posts, 0 answers
  1. Carl Rippon
    Carl Rippon avatar
    14 posts
    Member since:
    Mar 2010

    Posted 05 Jul 2010 Link to this post

    Does JustMock support silverlight code? If not are there any plans to support this in the future?
  2. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 05 Jul 2010 Link to this post

    Hi Carl,

    JustMock natively support Silverlight runtime. You can take a look at the examples which come with JustMock’s installation. Instead of referencing Telerik.JustMock.dll you should rather add a reference to Telerik.JustMock.Silverlight.dll.

    The only limitation is that you can’t use the “elevated mode” in Silverlight runtime which means you won’t be able to mock static members and types and non-virtual members.

     

    Hope that helps.
    Mehfuz

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
  4. Nick
    Nick avatar
    2 posts
    Member since:
    Sep 2010

    Posted 05 Nov 2010 Link to this post

    I'm not a Typemock person but I think Typemock does not have these limitations.  Will you be trying to get JustMock up to TypeMock's abilities.
  5. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 09 Nov 2010 Link to this post

    Hello Nick,

    Thanks again for the suggestion. The issue is already added to the product backlog for implementation and we will keep things posted for any updates. However, the issue is rather a hack than a feature. It is actually done by referencing Silverlight assembly to the C# project.

    Moreover, JustMock can work within the Silverlight runtime itself but as profiler is not directly supported inside Silverlight runtime, you won’t be able to mock concrete members but can mock virtual members as JustMock has a proxy mode as well.


    Hope the information is useful.

    Kind Regards,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Stephen
    Stephen avatar
    40 posts
    Member since:
    Jul 2008

    Posted 23 Aug 2012 Link to this post

    Has the Silverlight elevated mode been released yet? I've not been able to find any info on it and its been two years coming. 
    thanks
    Stephen
  7. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 24 Aug 2012 Link to this post

    Hi Stephen,

    We haven't yet released the Silverlight elevated mode as it hasn't been included in our roadmap till now. But it's in our ToDo list for the next Q and it's very probable that we'll do it this time. Hope this helps.

    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Heiko
    Heiko avatar
    20 posts
    Member since:
    Jan 2009

    Posted 23 Oct 2012 Link to this post

    Hi,

    any news on this? I tried 2012 Q3 and looks like this is still not supported?

    I've also tried to test silverlight library under desktop clr but I'm unable to mock anything except interfaces.
    Is there really no way to mock anything else?

    Thanks

    Heiko
  9. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 24 Oct 2012 Link to this post

    Hi Heiko,

     Unfortunately mocking in Silverlight is still not supported. However we have it in our queue for the next major release, which should happen somewhere in March 2013 or earlier.

     You can check our public issue tracker for further information:
     - http://www.telerik.com/support/pits.aspx#/details/Issue=10188

     If there is anything else, I can help you with, it will be my pleasure.

    All the best,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft R3 2016 release webinar banner