|
From: <vas...@ac...> - 2004-09-29 14:09:32
|
Hi Owen,
Thanks for the reply. Actually our development code will look like the
below one.
class XFactory
{
//.... some code
Public X GetXInstance
{
get
{
if(InUnitTest)
{
retyrn return XMock
}
else
{
return realX
}
}
}
}
I hope this will gives the information required.
with regds,
vasu
Owen Rogers
<OR...@th... To: Vasu Devan/Internal/Accenture@Accenture
m> cc: nmo...@li...
Subject: Re: Some clarifications required on NMock
09/29/2004 06:16 PM
hi vasu,
> Is it possible to save the Mock class generated by Nmock.
currently no (at least as far as i understand your question). could you
please explain further why you might want to do this? i'm not sure if i
understand what you mean by "later time compilation and customization".
cheers,
owen.
ps. in future, please address your queries to the list
(nmo...@li...) rather than directly to the
maintainers.
---
R. Owen Rogers
ThoughtWorks Technologies (India) Pvt Ltd.
ThoughtWorks - Deliver with passion!
ThoughtWorks is always looking for talented people who are passionate about
technology. To find out more about a career at ThoughtWorks go to
http://www.thoughtworks.com/career/.
<vas...@ac...>
To:
cc:
29/09/2004 18:51 Subject: Some
clarifications required on NMock
Hi,
We have a question on NMock. Is it possible to save the Mock class
generated by Nmock. Whether the Mock classes will be available in the disk
for later time compilation and customization. Pls give me these answers.
with regds,
vasu
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
|