Click here to Skip to main content
15,922,650 members
Home / Discussions / WPF
   

WPF

 
QuestionTDD - Messenger, Testing Help Request... Pin
_Maxxx_27-Jan-11 15:27
professional_Maxxx_27-Jan-11 15:27 
AnswerRe: TDD - Messenger, Testing Help Request... Pin
Pete O'Hanlon27-Jan-11 22:41
mvePete O'Hanlon27-Jan-11 22:41 
You're right. You don't test the private method - you test the code that calls the private method. The easiest way, as you have identified, is to send the message and see what the effect is. Your test doesn't have to be complicated at all.

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: TDD - Messenger, Testing Help Request... Pin
_Maxxx_30-Jan-11 22:27
professional_Maxxx_30-Jan-11 22:27 
GeneralRe: TDD - Messenger, Testing Help Request... Pin
Pete O'Hanlon31-Jan-11 10:41
mvePete O'Hanlon31-Jan-11 10:41 
QuestionHow to sort list view by clicking column header? [modified] Pin
Tesic Goran27-Jan-11 1:02
professionalTesic Goran27-Jan-11 1:02 
AnswerRe: How to sort list view by clicking column header? Pin
Richard MacCutchan27-Jan-11 2:00
mveRichard MacCutchan27-Jan-11 2:00 
GeneralRe: How to sort list view by clicking column header? Pin
Tesic Goran27-Jan-11 2:32
professionalTesic Goran27-Jan-11 2:32 
GeneralRe: How to sort list view by clicking column header? Pin
Richard MacCutchan27-Jan-11 3:10
mveRichard MacCutchan27-Jan-11 3:10 
GeneralRe: How to sort list view by clicking column header? Pin
Tesic Goran27-Jan-11 3:41
professionalTesic Goran27-Jan-11 3:41 
GeneralRe: How to sort list view by clicking column header? Pin
Richard MacCutchan27-Jan-11 3:55
mveRichard MacCutchan27-Jan-11 3:55 
AnswerRe: How to sort list view by clicking column header? Pin
dasblinkenlight27-Jan-11 3:57
dasblinkenlight27-Jan-11 3:57 
AnswerRe: How to sort list view by clicking column header? Pin
beeritger27-Jan-11 14:10
beeritger27-Jan-11 14:10 
GeneralRe: How to sort list view by clicking column header? Pin
Tesic Goran27-Jan-11 21:19
professionalTesic Goran27-Jan-11 21:19 
Questionpdf to xaml wrapper Pin
BoySetsFire26-Jan-11 3:45
BoySetsFire26-Jan-11 3:45 
AnswerRe: pdf to xaml wrapper Pin
Jason McBurney27-Jan-11 7:32
Jason McBurney27-Jan-11 7:32 
QuestionSilverlight DataGrid throwing error Pin
Santhosh Sebastian Mattathil24-Jan-11 21:48
Santhosh Sebastian Mattathil24-Jan-11 21:48 
AnswerRe: Silverlight DataGrid throwing error Pin
Pete O'Hanlon24-Jan-11 21:55
mvePete O'Hanlon24-Jan-11 21:55 
GeneralRe: Silverlight DataGrid throwing error Pin
Santhosh Sebastian Mattathil24-Jan-11 22:01
Santhosh Sebastian Mattathil24-Jan-11 22:01 
GeneralRe: Silverlight DataGrid throwing error Pin
Pete O'Hanlon24-Jan-11 22:09
mvePete O'Hanlon24-Jan-11 22:09 
GeneralRe: Silverlight DataGrid throwing error Pin
Santhosh Sebastian Mattathil24-Jan-11 22:12
Santhosh Sebastian Mattathil24-Jan-11 22:12 
GeneralRe: Silverlight DataGrid throwing error Pin
Pete O'Hanlon24-Jan-11 23:46
mvePete O'Hanlon24-Jan-11 23:46 
AnswerRe: Silverlight DataGrid throwing error Pin
Abhinav S25-Jan-11 18:27
Abhinav S25-Jan-11 18:27 
AnswerRe: Silverlight DataGrid throwing error Pin
Ibrahim.Poonawala1-Feb-11 4:35
Ibrahim.Poonawala1-Feb-11 4:35 
GeneralRe: Silverlight DataGrid throwing error Pin
Pete O'Hanlon1-Feb-11 4:36
mvePete O'Hanlon1-Feb-11 4:36 
QuestionSilverlight with Ruby on Rails? An unholy union? Pin
RB@Emphasys23-Jan-11 20:18
RB@Emphasys23-Jan-11 20:18 

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.