Click here to Skip to main content
15,071,262 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Multiple Thread Start at the Same Time in c# Pin
Mark Churchill11-Jul-08 1:02
MemberMark Churchill11-Jul-08 1:02 
AnswerRe: How to Multiple Thread execute at Same Time(simultaneously) in c#. Pin
Technobizz11-Jul-08 1:43
MemberTechnobizz11-Jul-08 1:43 
AnswerRe: How to Multiple Thread execute at Same Time(simultaneously) in c#. Pin
killabyte11-Jul-08 2:50
Memberkillabyte11-Jul-08 2:50 
AnswerRe: How to Multiple Thread execute at Same Time(simultaneously) in c#. Pin
Luc Pattyn11-Jul-08 3:11
sitebuilderLuc Pattyn11-Jul-08 3:11 
QuestionHow would you test this Pin
Razvan Dimescu10-Jul-08 22:15
MemberRazvan Dimescu10-Jul-08 22:15 
AnswerRe: How would you test this Pin
N a v a n e e t h10-Jul-08 22:30
MemberN a v a n e e t h10-Jul-08 22:30 
GeneralRe: How would you test this Pin
Razvan Dimescu10-Jul-08 23:01
MemberRazvan Dimescu10-Jul-08 23:01 
GeneralRe: How would you test this Pin
N a v a n e e t h10-Jul-08 23:14
MemberN a v a n e e t h10-Jul-08 23:14 
razvan_dme wrote:
Can you please give me a suggestion of how I should refactor my presenter class?


It's very tough to do as I haven't seen the whole implementation. As "PopulateControlsFromItem" is a part of presenter initialization, testing presenter initialization would cover this method also. Then assert all the expected initializations are happened. AFAIK, you don't write unit tests for each and every method, you write unit tests for testing a particular functionality. Here it is presenter initialization.

Hope it's clear

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: How would you test this Pin
Razvan Dimescu10-Jul-08 23:24
MemberRazvan Dimescu10-Jul-08 23:24 
GeneralRe: How would you test this Pin
N a v a n e e t h13-Jul-08 16:59
MemberN a v a n e e t h13-Jul-08 16:59 
AnswerRe: How would you test this Pin
Mark Churchill11-Jul-08 0:57
MemberMark Churchill11-Jul-08 0:57 
Questionsql to mysql Pin
ali_reza_zareian10-Jul-08 22:01
Memberali_reza_zareian10-Jul-08 22:01 
AnswerRe: sql to mysql Pin
N a v a n e e t h10-Jul-08 22:33
MemberN a v a n e e t h10-Jul-08 22:33 
GeneralRe: sql to mysql Pin
yiren_shao10-Jul-08 22:51
Memberyiren_shao10-Jul-08 22:51 
AnswerRe: sql to mysql Pin
scottgp11-Jul-08 2:55
professionalscottgp11-Jul-08 2:55 
QuestionTransparency in compact framework Pin
Subasish_CodeProject10-Jul-08 20:48
MemberSubasish_CodeProject10-Jul-08 20:48 
AnswerRe: Transparency in compact framework Pin
N a v a n e e t h10-Jul-08 22:34
MemberN a v a n e e t h10-Jul-08 22:34 
GeneralRe: Transparency in compact framework Pin
Subasish_CodeProject14-Jul-08 2:57
MemberSubasish_CodeProject14-Jul-08 2:57 
AnswerRe: Transparency in compact framework Pin
netJP12L11-Jul-08 5:54
MembernetJP12L11-Jul-08 5:54 
GeneralRe: Transparency in compact framework Pin
Subasish_CodeProject14-Jul-08 2:44
MemberSubasish_CodeProject14-Jul-08 2:44 
GeneralRe: Transparency in compact framework Pin
netmonster18-Aug-08 17:51
Membernetmonster18-Aug-08 17:51 
Questiondate picker in web application Pin
SSN10-Jul-08 20:32
MemberSSN10-Jul-08 20:32 
AnswerRe: date picker in web application Pin
J a a n s10-Jul-08 21:39
professionalJ a a n s10-Jul-08 21:39 
Questionstrange name2ee output Pin
George_George10-Jul-08 20:19
MemberGeorge_George10-Jul-08 20:19 
AnswerRe: strange name2ee output Pin
Vimalsoft(Pty) Ltd11-Jul-08 6:58
professionalVimalsoft(Pty) Ltd11-Jul-08 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.