[Gambas-user] Coming back to gb.test

Benoît Minisini g4mba5 at gmail.com
Thu May 7 08:25:20 CEST 2020


Le 07/05/2020 à 08:21, Christof Thalhofer a écrit :
> Am 07.05.20 um 07:56 schrieb Benoît Minisini:
> 
>> Are you sure that all exported classes of 'gb.test' really need to be
>> exported?
> 
> For the classes Assert and Test I am sure. This is the testing
> functionality.
> 
> AFAIK TapParser and TapPrinter have to be exported, so that other
> programs in future could use their functionality.
> 
> For the rest I am not sure, this is Tobis realm, he must decide that.
> 
> Alles Gute
> 
> Christof Thalhofer
> 
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 

If a class needs to be exported (so that the component works), but 
should not be used by the final user, I prefix the class name with an 
underscore.

Regards,

-- 
Benoît Minisini


More information about the User mailing list