This is a migrated thread and some comments may be shown as answers.

Silverlight Support

7 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carl Rippon
Top achievements
Rank 1
Carl Rippon asked on 05 Jul 2010, 06:28 AM
Does JustMock support silverlight code? If not are there any plans to support this in the future?

7 Answers, 1 is accepted

Sort by
0
Ricky
Telerik team
answered on 05 Jul 2010, 01:32 PM

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
0
Nick
Top achievements
Rank 1
answered on 05 Nov 2010, 08:00 AM
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.
0
Ricky
Telerik team
answered on 09 Nov 2010, 01:14 PM
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
0
Stephen
Top achievements
Rank 2
answered on 24 Aug 2012, 03:55 AM
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
0
Vladi
Telerik team
answered on 24 Aug 2012, 11:59 AM
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.

0
Heiko
Top achievements
Rank 1
answered on 23 Oct 2012, 09:53 AM
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
0
Kaloyan
Telerik team
answered on 24 Oct 2012, 02:40 PM
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.

Tags
General Discussions
Asked by
Carl Rippon
Top achievements
Rank 1
Answers by
Ricky
Telerik team
Nick
Top achievements
Rank 1
Stephen
Top achievements
Rank 2
Vladi
Telerik team
Heiko
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or