[U2] Mocking UniSession in .NET

2012-08-13 Thread Ravindranath Wickramanayake
Hi Does anybody know how to mock UniSession via .NET? or is there a interface for UniSession like IUniSession so it could be easily mockable? Your Help is very much appreciated Thanks Ravi ___ U2-Users mailing list

Re: [U2] Mocking UniSession in .NET

2012-08-13 Thread Ravindranath Wickramanayake
db calls. I expose all the business logic through server side subroutines, all using standardized calling conventions, then they can easily be simulated and also I can use server side unit tests. Sent from my iPad On 13 Aug 2012, at 19:32, Ravindranath Wickramanayake ra...@rammutual.com wrote

Re: [U2] Mocking UniSession in .NET

2012-08-14 Thread Ravindranath Wickramanayake
Hmm my Business logic sends data to Data Layer then data layer talks to pick server by using UniObject.NET dll. What I'm trying to unit test is this DataLayer Calls to pick to check whether it converts complex objects to UniDynArrays correctly. So How do you abstract UniSession out? Sproc coming

Re: [U2] Mocking UniSession in .NET

2012-08-15 Thread Ravindranath Wickramanayake
of an existing or non-existing element. B Sent from my iPad On 14 Aug 2012, at 20:49, Ravindranath Wickramanayake ra...@rammutual.com wrote: Hmm my Business logic sends data to Data Layer then data layer talks to pick server by using UniObject.NET dll. What I'm trying to unit test

[U2] How to check which sproc is called by user

2013-01-07 Thread Ravindranath Wickramanayake
Hi U2 Guru's Can I tell when a sproc was last executed or who executed it. If so how. Some way to get statistics and access logs. Reason we are asking this is we are having a session hang issue we have tracked it down to a session user but have no clue which sproc did the call to trouble