Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
AnswerRe: Distinct Pin
OriginalGriff14-Feb-10 4:58
mveOriginalGriff14-Feb-10 4:58 
QuestionHow do I unit test this? Pin
Member 448708314-Feb-10 4:36
Member 448708314-Feb-10 4:36 
AnswerRe: How do I unit test this? Pin
Keith Barrow14-Feb-10 4:55
professionalKeith Barrow14-Feb-10 4:55 
AnswerRe: How do I unit test this? Pin
Luc Pattyn14-Feb-10 5:03
sitebuilderLuc Pattyn14-Feb-10 5:03 
GeneralRe: How do I unit test this? [modified] Pin
Keith Barrow14-Feb-10 5:54
professionalKeith Barrow14-Feb-10 5:54 
AnswerRe: How do I unit test this? Pin
Not Active14-Feb-10 4:57
mentorNot Active14-Feb-10 4:57 
AnswerRe: How do I unit test this? Pin
Luc Pattyn14-Feb-10 5:00
sitebuilderLuc Pattyn14-Feb-10 5:00 
GeneralRe: How do I unit test this? Pin
Member 448708315-Feb-10 6:50
Member 448708315-Feb-10 6:50 
Luc Pattyn wrote:
my personal preference: change all private attributes to protected ones; then derive a class that simply adds the test code and can access everything; you probably would keep the test class in a separate assembly which you do not distribute.


That's quite interesting because everybody else is saying that this is a bad idea. I think it can be quite neat in some places, but I wouldn't want to fill the main application with lots of unnecessary protecteds.
GeneralRe: How do I unit test this? Pin
Luc Pattyn15-Feb-10 11:44
sitebuilderLuc Pattyn15-Feb-10 11:44 
AnswerRe: How do I unit test this? [modified] Pin
Jimmanuel14-Feb-10 11:34
Jimmanuel14-Feb-10 11:34 
GeneralRe: How do I unit test this? Pin
Member 448708315-Feb-10 6:48
Member 448708315-Feb-10 6:48 
GeneralRe: How do I unit test this? Pin
Jimmanuel15-Feb-10 8:46
Jimmanuel15-Feb-10 8:46 
QuestionCrash inside InitializeComponent() Pin
SimpleData14-Feb-10 0:24
SimpleData14-Feb-10 0:24 
AnswerRe: Crash inside InitializeComponent() Pin
Abhinav S14-Feb-10 0:30
Abhinav S14-Feb-10 0:30 
GeneralRe: Crash inside InitializeComponent() Pin
SimpleData14-Feb-10 0:34
SimpleData14-Feb-10 0:34 
GeneralRe: Crash inside InitializeComponent() Pin
Abhinav S14-Feb-10 0:47
Abhinav S14-Feb-10 0:47 
GeneralRe: Crash inside InitializeComponent() Pin
SimpleData14-Feb-10 1:42
SimpleData14-Feb-10 1:42 
AnswerRe: Crash inside InitializeComponent() Pin
Luc Pattyn14-Feb-10 0:52
sitebuilderLuc Pattyn14-Feb-10 0:52 
GeneralRe: Crash inside InitializeComponent() Pin
SimpleData14-Feb-10 1:42
SimpleData14-Feb-10 1:42 
QuestionMy .net application stops suddenly , want to know why ? Pin
Dr.DigiTaL13-Feb-10 21:51
Dr.DigiTaL13-Feb-10 21:51 
AnswerRe: My .net application stops suddenly , want to know why ? Pin
Abhinav S13-Feb-10 22:13
Abhinav S13-Feb-10 22:13 
Questionconvert image Pin
reza kia13-Feb-10 20:41
professionalreza kia13-Feb-10 20:41 
AnswerRe: convert image Pin
dan!sh 13-Feb-10 20:51
professional dan!sh 13-Feb-10 20:51 
GeneralRe: convert image Pin
reza kia14-Feb-10 1:34
professionalreza kia14-Feb-10 1:34 
GeneralRe: convert image Pin
dan!sh 14-Feb-10 3:59
professional dan!sh 14-Feb-10 3:59 

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.