Re: [lazarus] [patch] - FPCUnit GUI Test Runner

2007-05-24 Thread Dean Zobec
Graeme Geldenhuys pravi: > Hi > > Attached is a patch for FPCUnit GUI Test Runner. This patch combined > with the one I sent to FPC-Devel will prevent the GUI Test Runner to > output the XML test results to the console and the SynEdit component. > For the GUI Test Runner the SynEdit component sh

Re: [lazarus] TObjectList - Pascal question

2007-02-16 Thread Dean Zobec
Charl van Jaarsveldt pravi: > Hi all, > > This is more a freepascal question, so sorry I ask here. > > When you call TObjectList.remove(TObject), is it supposed to free the > object? Example code follows. > > TObjectList inherits from TList. TObjectList.Remove calls TList.Remove. > Nowhere do I

Re: [lazarus] keyboard/mouse script for linux

2007-02-10 Thread Dean Zobec
Vincent Snijders pravi: > Hi, > > I am trying to create some automated tests for lcl applications (see > lazarus\test). ATM these application just start and in the first > application OnIdle event write some output to the console (for example > the color of a component or the height of a scrollbar

Re: [lazarus] Gambas

2006-12-03 Thread Dean Zobec
Graeme Geldenhuys pravi: > On 12/2/06, Dean Zobec <[EMAIL PROTECTED]> wrote: >> see with an accounting program is the fact that at lower level it has to >> couple with different laws and forms of taxation, so the greatest work >> is to build a flexible system that c

Re: [lazarus] Gambas

2006-12-02 Thread Dean Zobec
Graeme Geldenhuys pravi: > On 12/2/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: >> If it's about osFinancials (the former TurboCash): >> >> I think it should be very possible to port it to lazarus. But as >> usual, time >> is probably the issue. > > I don't like TurboCash at all, and wasn't

Re: [lazarus] Lazarus Wiki site

2006-11-08 Thread Dean Zobec
Graeme Geldenhuys ha scritto: >> BTW. any progress on showing the testresults using an hierarchical >> view (as supplied >> by testsuites) in html? > > I had to do some timeslicing between work and all the opensource > projects I'm involved with... :-) > Recently I have been working on fpGUI and

Re: [Lazarus] Lazarus 0.9.18 in Ubuntu impossible rebuild gtk2

2006-09-24 Thread Dean Zobec
v.scozzaro ha scritto: > Install ubuntu from > http://sourceforge.net/project/showfiles.php?group_id=89339&package_id=204004&release_id=447674 > > is ok > > run lazarus is ok > run project is ok > select gtk2 in configure "Build Lazarus" > rebuild > this message error > > /usr/bin/ld: cannot fin

Re: [lazarus] Take the chance (was The spirit lost of Borland)

2006-09-19 Thread Dean Zobec
Graeme Geldenhuys ha scritto: >> If you want I can send you >> the relevant code and the fpcunit tests. I have just to clean it up a >> bit to remove the dependencies on other units > > Could you send me a copy as well, if you don't mind. I'd like to see > if I can't add some of those ideas into

Re: [lazarus] Take the chance (was The spirit lost of Borland)

2006-09-19 Thread Dean Zobec
Cesar Romero ha scritto: > >> >> Why not use a dual approach ? Use RTTI where appropriate, and use the >> manual >> approach where RTTI is not possible ? > > Tha was the way that I did in DePO, dual, and always something was > missed... So I feel that is better to keep all in one way... There's a

Re: [lazarus] fpcunit - patch (part 1)

2006-06-26 Thread Dean Zobec
Graeme Geldenhuys wrote: > Hi > > Attached is a patch for /components/fpcunit. The patch should be > applied from the root Lazarus directory. > > It is a combined patch (a few files have changes). > > Change: > * A new unit has been added (xmlreporter.pas). It is a XML test > listener based on

Re: [lazarus] Patch for fpcunit

2006-06-25 Thread Dean Zobec
Graeme Geldenhuys wrote: >> I'm very interested in the interface. Could that be something included >> with >> FPCUnit? > > For sure, I actually forgot to create a patch for it. Will do so > today, and email it to the mailing list. > > BTW: > Did my fpcUnit patch (dated 22nd Jun) get though to the

Re: [lazarus] maketests tool

2006-06-24 Thread Dean Zobec
Darius Blaszijk wrote: > Here's the code for a tool called maketestgui. It reads all procedures from a > sourcefile and creates a skeleton testcase file. It should still be very much > improved by adding stuff like > > - recursive searching > - setup / teardown support > - individual selection

Re: [lazarus] Patch for fpcunit

2006-06-21 Thread Dean Zobec
Burkhard Carstens wrote: > I do know about testframeworks. It's just, I am not the kind of > developer, that defines/writes the tests first then writes the > functionality ... I'm of the same opinion, I find the test first church a bit too radical. So I prefer a more general term like test driven

Re: [lazarus] Patch for fpcunit

2006-06-21 Thread Dean Zobec
Graeme Geldenhuys wrote: > Hi Darius, > > Dean based fpcUnit on JUnit not DUnit - hence the AssertXXX test > methods. Dean and I are working or improving fpcUnit's GUITestRunner > and the TextTestRunner. A little while back, I got a private patch > from Dean to add few of my requested features.

Re: [lazarus] Patch for fpcunit

2006-06-21 Thread Dean Zobec
Darius Blaszijk wrote: > Here's a patch for the guitestrunner form for fpcunit. I have added a synedit > XML highlighter and done some anchoring. Ok, good, Graeme can integrate this with his changes (his problem to solve was related to the scrolling as the issue arose in his experience with his hu

Re: [lazarus] fpcUnit doesn't execute decorated tests

2006-05-23 Thread Dean Zobec
Graeme Geldenhuys wrote: > Hi Dean, > > I wrapped our DB Connection code in a TTestSetup decendent class. I > registered the test case with: > RegisterTestDecorator(TDBConnectionSetupDecorator, TTreeviewFormTest); > > Executing the complete TTreeviewFormTest test case from the GUI Test > Runner

Re: [lazarus] JUnit and Delphi

2006-05-12 Thread Dean Zobec
Graeme Geldenhuys wrote: >> > I suppose I could make those changes again and submit a patch. >> > >> Yes, it's a good idea, please create a patch and I'll review it. > > fpcUnit relates more the FPC than Lazarus. Do you read the FPC > mailing list? I can post the patch in there, otherwise I can

Re: [lazarus] Fpcunit question

2006-05-12 Thread Dean Zobec
Joost van der Sluis wrote: >>> If I have several tests defined for a component. The component is >>> created and destroyed in the setup and teardown procedures. And then one >>> test is done. >>> >>> But now, when all tests are performed. I want to run those tests again, >>> but then with one diff

Re: [lazarus] Fpcunit question

2006-05-10 Thread Dean Zobec
Joost van der Sluis wrote: > Hi all, > > If I have several tests defined for a component. The component is > created and destroyed in the setup and teardown procedures. And then one > test is done. > > But now, when all tests are performed. I want to run those tests again, > but then with one dif

Re: [lazarus] JUnit and Delphi

2006-05-10 Thread Dean Zobec
Graeme Geldenhuys wrote: >> Yes, I've seen the tests in the tiOPF svn repository. >> I think it's a good idea to add this compatibility code to fpcunit with >> a little improvement: I would declare the CheckEquals methods as class >> methods, to be able to use them outside the TTestCase class. > >

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Mattias Gaertner wrote: > On Tue, 09 May 2006 20:14:30 +0200 > Dean Zobec <[EMAIL PROTECTED]> wrote: > >> Mattias Gaertner wrote: >> >>>> Then I'm investigating about a way to add the possibility to >>>> automatically create the stubs fo

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Mattias Gaertner wrote: >> Then I'm investigating about a way to add the possibility to >> automatically create the stubs for the tests as in Eclipse, through a >> parsing of the unit containing the classes to be tested. >> I would also like to improve the integration in Lazarus. I'm absolutely >>

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Graeme Geldenhuys wrote: >> I've already started some work to provide new features to fpcunit as >> suggested by the users. >> Ciao, Dean > > > Oh please do tell!! :-) > > Regards, > - Graeme - Mainly your suggestions Graeme, after all you are the one who makes the heaviest use of fpcunit, you

Re: [lazarus] JUnit and Delphi

2006-05-09 Thread Dean Zobec
Graeme Geldenhuys wrote: >> On fpc I used fpcunit, and I tried to use DUnit with Delphi. That works, >> but the problem is that where fpcunit uses 'assertequals(prop1,prop2)' >> dunit uses 'testequals(prop1,prop2)' >> >> So that I'm still unable to write a test only once, and test it with >> both c

Re: [lazarus] JUnit and Delphi

2006-05-08 Thread Dean Zobec
Joost van der Sluis wrote: > Hi all, > > I'm writing a DB-test-framework. And it looks very promising. > > I only wanted to make it runnable with Delphi and FPC. To obtain a good > mechanism to check for differences. It can be used for example to check > which events are fired on some actions...

Re: [lazarus] FPCUnit GUITestRunner and Lazarus IDE

2006-04-04 Thread Dean Zobec
Stephane Carre - Optima Consulting ha scritto: Hi, Not sure if I should post this here, but I'm giving it a try, anyway. Good, another FPCUnit user :) Btw, I've noticed that FPCUnit was added to the list of unit testing software on the XProgramming website: http://www.xprogramming.com/softw

Re: [lazarus] DbEditEMax - my component new dataentry component for numeric data and not

2005-10-22 Thread Dean Zobec
v.scozzaro wrote: Questo componente implementa DBEdit aggiungendo una propriet?? nell'Object Inspector ForMax di tipo stringa la sua funzione ?? uguale a format. Esempio Foramt('%8.2', [10.2]) A translation: This (attached?) component implements DBEdit adding a string property ForMax in the O

Re: [lazarus] Console GUI / Web Applications Support for Lazarus RAD

2005-09-04 Thread Dean Zobec
Michael Van Canneyt ha scritto: I'm sure you'll find some good help, 90% of applications today is web based, I beg to differ here. I haven't seen a single good web-application. Well, I didn't say they are good :) IMHO the web is a lot misused: it's a means of transportation of data, b

Re: [lazarus] Console GUI / Web Applications Support for Lazarus RAD

2005-09-04 Thread Dean Zobec
Michael Van Canneyt ha scritto: CMS is something that should sit on top of a good web-engine. First we need the web-engine. of course. But obviusly this is not a work at the core developers level. I've seen that the community is growing after the 2.0 release, so let's hope that a team in

Re: [lazarus] Console GUI / Web Applications Support for Lazarus RAD

2005-09-04 Thread Dean Zobec
Michael Van Canneyt ha scritto: I am investigating this currently. I'm working on some base HTTP/HTML components which will be incorporated in the FCL. My plan is to use this as the basis for 2 kinds of web-applications: 1. A more 'classic' cgi, like it is done in PHP, with a templating engin