On Tue, 2012-09-25 at 22:16 +0100, Henry Vermaak wrote:
> On 25 September 2012 20:57, Christo wrote:
> > Any ideas on how to define the calling convention in the import unit so
> > that it is either stdcall or cdecl depending on the target OS?
>
> I've used a macro for this in the past. E.g. :
>
Am 28.09.2012 11:42, schrieb Graeme Geldenhuys:
On 2012-09-28 10:28, michael.vancann...@wisa.be wrote:
No, it is just for the XML reader, since it uses widestrings:
Ah, so it only takes affect on the WideString type, not the String type.
I guess from the name 'widestring manager' I should hav
> > No, it is just for the XML reader, since it uses widestrings:
>
> Ah, so it only takes affect on the WideString type, not the
> String type. I guess from the name 'widestring manager' I
> should have seen that relationship. :)
>
Using cwstring does affect some ansistring functions. It come
On 2012-09-28 10:28, michael.vancann...@wisa.be wrote:
>
> No, it is just for the XML reader, since it uses widestrings:
Ah, so it only takes affect on the WideString type, not the String type.
I guess from the name 'widestring manager' I should have seen that
relationship. :)
Thanks Michael.
On 2012-09-28 10:25, Reinier Olislagers wrote:
>
> Ah, Listeners thanks. Is this listener concept something that's
> common to more xunit frameworks (junit... etc) or is it an fpcunit
> invention?
I think the idea came from DUnit, though FPCUnit was heavily based on
the JUnit design. DUnit2 a
On 25-9-2012 13:59, Reinier Olislagers wrote:
> On 25-9-2012 11:05, michael.vancanneyt-0is9kj9s...@public.gmane.org
>> Well, in the not-too-far future, I'll spend time on improving the DB
>> testsuite.
>>
>
> In that not-too-far future, you might want to have a look at the
> following patches ;)
>
On Fri, 28 Sep 2012, Reinier Olislagers wrote:
On 28-9-2012 10:43, Graeme Geldenhuys wrote:
On 2012-09-28 09:18, Reinier Olislagers wrote:
Is there existing code available for getting fpcunit test results into a
database?
No, but the Test Listener interface makes such an addition very eas
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote:
On 2012-09-28 10:01, michael.vancann...@wisa.be wrote:
I'm also not sure how using cwstring unit would affect fpGUI apps that
use UTF-8 inside AnsiString containers. (just like LCL does)
It all depends on the XML.
Sorry, I'm not very versed
On 28-9-2012 10:43, Graeme Geldenhuys wrote:
> On 2012-09-28 09:18, Reinier Olislagers wrote:
>>
>> Is there existing code available for getting fpcunit test results into a
>> database?
>
> No, but the Test Listener interface makes such an addition very easy.
>
> Simply create a TDatabaseListener
On 2012-09-28 10:01, michael.vancann...@wisa.be wrote:
>>
>> I'm also not sure how using cwstring unit would affect fpGUI apps that
>> use UTF-8 inside AnsiString containers. (just like LCL does)
>
> It all depends on the XML.
Sorry, I'm not very versed on WideString managers, so excuse if this
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote:
On 2012-09-28 09:41, michael.vancann...@wisa.be wrote:
XMLRead uses it, yes.
Umm, so how would that affect applications that normally use UTF-8
packed in AnsiString? Like fpGUI and LCL based applications.
It depends on the encoding of the XML
On 2012-09-28 09:41, michael.vancann...@wisa.be wrote:
>
> XMLRead uses it, yes.
Umm, so how would that affect applications that normally use UTF-8
packed in AnsiString? Like fpGUI and LCL based applications.
To give you the exact example.
He has XML units he would like to unit test. He can use
On 2012-09-28 09:18, Reinier Olislagers wrote:
>
> Is there existing code available for getting fpcunit test results into a
> database?
No, but the Test Listener interface makes such an addition very easy.
Simply create a TDatabaseListener that implements the ITestListener
interface. It's only 5
On Fri, 28 Sep 2012, Reinier Olislagers wrote:
Hi list,
Is there existing code available for getting fpcunit test results into a
database?
Otherwise I'm thinking of writing an XML importer that gets the test
results and imports them into a database... handy for regression
testing, I'd think.
On Fri, 28 Sep 2012, Graeme Geldenhuys wrote:
Hi,
Somebody in the fpGUI support newsgroup raised an issue when using BOM,
XMLRead units under Linux. Does the use of the DOM, XMLRead and XMLWrite
units in FCL (from FPC 2.6.0) require the use of cwstring under Linux?
XMLRead uses it, yes.
We
Hi list,
Is there existing code available for getting fpcunit test results into a
database?
Otherwise I'm thinking of writing an XML importer that gets the test
results and imports them into a database... handy for regression
testing, I'd think.
Looking at the XML, that wouldn't be too difficult.
Hi,
Somebody in the fpGUI support newsgroup raised an issue when using BOM,
XMLRead units under Linux. Does the use of the DOM, XMLRead and XMLWrite
units in FCL (from FPC 2.6.0) require the use of cwstring under Linux?
I'm using those units in the FPTest (Free Pascal Unit Testing Framework)
proj
17 matches
Mail list logo