Click here to Skip to main content
11,416,194 members (71,535 online)

.NET Framework

 
GeneralRe: [VB.NET 2008] How to get control on objects created at runtime Pin
steve_94966136-Dec-12 22:25
membersteve_94966136-Dec-12 22:25 
GeneralRe: [VB.NET 2008] How to get control on objects created at runtime Pin
Eddy Vluggen7-Dec-12 2:16
memberEddy Vluggen7-Dec-12 2:16 
QuestionTesting Practices Pin
Andrew Stoute5-Dec-12 5:44
memberAndrew Stoute5-Dec-12 5:44 
AnswerRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:36
memberEddy Vluggen5-Dec-12 6:36 
GeneralRe: Testing Practices Pin
Andrew Stoute5-Dec-12 6:45
memberAndrew Stoute5-Dec-12 6:45 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:53
memberEddy Vluggen5-Dec-12 6:53 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 7:29
mvpDave Kreskowiak5-Dec-12 7:29 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 7:26
mvpDave Kreskowiak5-Dec-12 7:26 
You're also testing what would happen based on the types of data that you're sending it. If, somewhere down the road, the data you're sending the method changes, you may need to document that the method can handle those changes as expected, such as sending a string of space and tab characters.

Personally, I would be checking to see if an actual string was passed in, THEN stripping the data of leading and trailing whitespace if required and then checking for an empty string. String.IsNullOrEmpty doesn't check to see if the string contains non-whitespace characters.

GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 7:34
memberEddy Vluggen5-Dec-12 7:34 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 10:55
mvpDave Kreskowiak5-Dec-12 10:55 
GeneralRe: Testing Practices Pin
Eddy Vluggen6-Dec-12 1:08
memberEddy Vluggen6-Dec-12 1:08 
QuestionHow to make a list view and gallerie view on a product page list on some e-commerce Pin
El daniel4-Dec-12 1:19
memberEl daniel4-Dec-12 1:19 
AnswerRe: How to make a list view and gallerie view on a product page list on some e-commerce Pin
Eddy Vluggen4-Dec-12 1:37
memberEddy Vluggen4-Dec-12 1:37 
Questionframework 2.0 and win98 Pin
caradri3-Dec-12 23:37
membercaradri3-Dec-12 23:37 
AnswerRe: framework 2.0 and win98 Pin
Richard MacCutchan4-Dec-12 0:01
mvpRichard MacCutchan4-Dec-12 0:01 
AnswerRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:04
memberEddy Vluggen4-Dec-12 0:04 
AnswerRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:07
protectorPete O'Hanlon4-Dec-12 0:07 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:31
memberEddy Vluggen4-Dec-12 0:31 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:38
protectorPete O'Hanlon4-Dec-12 0:38 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:43
memberEddy Vluggen4-Dec-12 0:43 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 0:41
protectorPete O'Hanlon4-Dec-12 0:41 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:25
membercaradri4-Dec-12 1:25 
GeneralRe: framework 2.0 and win98 Pin
Dave Kreskowiak4-Dec-12 5:11
mvpDave Kreskowiak4-Dec-12 5:11 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:23
membercaradri4-Dec-12 1:23 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 1:36
memberEddy Vluggen4-Dec-12 1:36 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.150427.4 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid