Re: FIT and static data

Rick Mugridge <[email protected]> Wed, 16 Jun 2004 21:49:06 +1200
Newsgroups gmane.comp.programming.tools.fit.devel
Message-ID <[email protected]>
Hi Michael,

The b030915j Java version of Fit doesn't use static variables either for Counts.

Is this DLL problem an issue with using globals for communicating between
fixture objects?

Cheers, Rick

Quoting Michael Feathers <[email protected]>:

> 
> 
> I've been tinkering with the C++ Port of FIT.  It allows users to load
> DLLs containing fixtures.  Unfortunately, the static members of
> Fixture (rights, wrongs, etc) aren't updated across DLL boundaries.  I
> was thinking of making them instance variables and having doTables add
> the counts of the run tables to its own count.
> 
> Anyone have an issue with that?  Does another port have this issue?
> 
> IMHO, static mutable variables'll be the first ones against the wall
> when the revolution comes, but I'll admit to bias.
> 
> Michael Feathers
> www.objectmentor.com
> 
> 
> _______________________________________________
> Fit-dev mailing list
> [email protected]
> http://lists.freepan.org/mailman/listinfo.cgi/fit-dev
> 




-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/