mock'ing phalanger httpcontext

Discussion about the open-source Phalanger [?] project.

mock'ing phalanger httpcontext

Postby tleslie » September 9th, 2012, 9:47 pm

in wanting to do some mock'ing, i have found i can't mock into
this class/method as it uses HttpContext, rather then
a mockable HttpContextBase.
Would it be a big job (Phalanger team, or me) to put HttpContext Base into
this code? Just wondering if it would cascade into a more complex task?

public static RequestContext/*!*/ Initialize(ApplicationContext/*!*/ appContext, HttpContext/*!*/ context)

-tl
tleslie
 
Posts: 32
Joined: August 3rd, 2012, 4:42 am

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 19 guests

cron

User Control Panel

Login

Who is online

In total there are 19 users online :: 0 registered, 0 hidden and 19 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 19 guests