Re: [fpc-pascal] data driven fpc unit tests

2006-08-18 Thread Vincent Snijders
Dean Zobec wrote: Vincent Snijders pravi: Hi, Suppose I have a component TMyDataProcessor with the following declaration: type TMyDataProcessor = class function process(const s: string) : string; end; Now I want to test it with different strings, but instead of hard coding them I put t

Re: [fpc-pascal] data driven fpc unit tests

2006-08-18 Thread Dean Zobec
Vincent Snijders pravi: > Hi, > > Suppose I have a component TMyDataProcessor with the following declaration: > > type > TMyDataProcessor = class > function process(const s: string) : string; > end; > > Now I want to test it with different strings, but instead of hard coding > them I pu

[fpc-pascal] data driven fpc unit tests

2006-08-18 Thread Vincent Snijders
Hi, Suppose I have a component TMyDataProcessor with the following declaration: type TMyDataProcessor = class function process(const s: string) : string; end; Now I want to test it with different strings, but instead of hard coding them I put them in a inifile, so I can easily extend