[ANN][TEST] ANSI Tests as SAR package on SqueakMap

Daniel Vainsencher danielv at netvision.net.il
Wed Mar 19 21:53:09 UTC 2003


Without expressing a strong opinion on this (since I don't yet have
one), one good thing about it would be that people could then attempt to
write their code to ANSI, for reasonable portability with other Smalltalks 
(Modulo UI)

Daniel

Alain Fischer <mailinglist.fischer at bluewin.ch> wrote:
> 
> --Boundary_(ID_9C4+4zzVEKD3Uar2xhs5hQ)
> Content-type: text/plain; charset=US-ASCII; format=flowed
> Content-transfer-encoding: 7BIT
> 
> Hi Doug,
> 
> Here is the minimal change set to load before installing ANSI Tests
> Result: 2830 run, 2404 passed, 6 failed, 420 errors
> Less sexy than with ANSI Compatibility loaded
> 
> By the way is there some interest to put ANSI Compatibility in a future
> version of Squeak 3.5, 3.6, 3.7 or higer ?
> 
> It would be nice to have a Kernel or a Developer verison that is ANSI
> 
> Alain
> 
> 
> 
> --Boundary_(ID_9C4+4zzVEKD3Uar2xhs5hQ)
> Content-type: application/text; x-mac-creator=522A6368; x-unix-mode=0644;
>  x-mac-type=54455854; name=ANSI-Tests-mini.5.cs
> Content-transfer-encoding: quoted-printable
> Content-disposition: attachment; filename=ANSI-Tests-mini.5.cs
> 
> '=46rom=20Squeak3.4=20of=201=20March=202003=20[latest=20update:=20#5170]=20=
> on=2019=20March=202003=20at=2010:25:54=20pm'!=0DMagnitude=20subclass:=20=
> #DateAndTime=0D=09instanceVariableNames:=20'localDate=20localOffsetToUTC=20=
> localTime=20localTimeZoneName=20localTimeZoneAbbrev=20'=0D=09=
> classVariableNames:=20'DaylightEndDate=20DaylightOffset=20=
> DaylightStartDate=20DaylightTimeZoneAbbrev=20DaylightTimeZoneName=20=
> DaysInMonth=20DaysToMonth=20DefaultIsStandard=20Offset=20StandardOffset=20=
> StandardTimeZoneAbbrev=20StandardTimeZoneName=20TimeZoneAbbrev=20=
> TimeZoneName=20'=0D=09poolDictionaries:=20''=0D=09category:=20=
> 'Kernel-Magnitudes'!=0DMagnitude=20subclass:=20#Duration=0D=09=
> instanceVariableNames:=20'asSeconds=20'=0D=09classVariableNames:=20=
> 'SecondsInDay=20SecondsInHour=20SecondsInMinute=20'=0D=09=
> poolDictionaries:=20''=0D=09category:=20'Kernel-Magnitudes'!=0DNumber=20=
> subclass:=20#ScaledDecimal=0D=09instanceVariableNames:=20'fraction=20=
> scale=20'=0D=09classVariableNames:=20''=0D=09poolDictionaries:=20''=0D=09=
> category:=20'Kernel-Numbers'!=0D=0D!String=20methodsFor:=20'converting'=20=
> stamp:=20'RAH=204/25/2000=2019:49'!=0DsubStrings=0D=0A=09"Answer=20an=20=
> array=20of=20the=20substrings=20that=20compose=20the=20receiver."=0D=0A=09=
> #Collectn.=0D=0A=09"Added=202000/04/08=20For=20ANSI=20<readableString>=20=
> protocol."=0D=0A=09^=20self=20substrings!=20!=0D=0D=0D!TestRunner=20=
> methodsFor:=20'constants'=20stamp:=20'AFi=2011/24/2002=2003:06'!=0Dsuite=0D=
> =20=20=20=20=20=20=20"=20^TestCase=20buildSuite"=0D=09|=20aResult=20|=0D=09=
> aResult=20:=3D=20TestSuite=20new.=0D=09self=20tests=20do:=20=0D=09=09=
> [:each=20|=0D=09=09(each=20indexOf:=20$(=20)=20>=200=0D=09=09=09ifTrue:=20=
> [aResult=20addTests:=20(TestViaMethodCall=20buildSuite:=20each)=20tests]=0D=
> =09=09=09ifFalse:=20[aResult=20addTests:=20each=20asSymbol=20=
> sunitAsClass=20suite=20tests]].=0D=09^=20aResult!=20!=0D=0D!TestRunner=20=
> methodsFor:=20'initialize'=20stamp:=20'AFi=2011/17/2002=2017:11'!=0D=
> gatherTestNames=0D=0D=09|=20theNames=20|=0D=09theNames=20_=20(TestCase=20=
> allSubclasses=20collect:=20[:each=20|=20each=20name])=20=
> asOrderedCollection.=0D=09theNames=20remove:=20#TestViaMethodCall=20=
> ifAbsent:=20[^=20theNames].=0D=09TestViaMethodCall=20addClassesTo:=20=
> theNames.=0D=09^=20theNames=20asSortedCollection=20!=20!=0D=0D=
> 
> --Boundary_(ID_9C4+4zzVEKD3Uar2xhs5hQ)
> Content-type: text/plain; charset=ISO-8859-1; format=flowed
> Content-transfer-encoding: 8BIT
> 
> 
> 
> Le Mercredi 19 mars 2003, ˆ 05:20 , Doug Way a Ècrit :
> 
> >
> > With the ANSI Compatibility package installed in Squeak, it looks like  
> > 2659 of the ANSI tests pass, and 24 fail.  (Not counting the tests  
> > already in the image.)  Not bad. ;-)
> >
> > It would be interesting to see how many of the tests pass if you don't  
> > install the ANSI Compatibility package first.  In other words, roughly  
> > how ANSI-compatible is Squeak by default?  (Unfortunately, you can't  
> > even file-in the ANSI tests without the compatibility package.)
> >
> > - Doug Way
> >
> >
> > On Tuesday, March 18, 2003, at 03:59 PM, Alain Fischer wrote:
> >
> >> Hello squeakers,
> >>
> >> I have pakaged the ANSI Tests as a SAR package on SqueakMap:
> >> http://map2.squeakfoundation.org/sm/package/d3d77bbb-00e4-481f-b38a- 
> >> 9329d813456c
> >>
> >> to install this package, youn need to install first the ANSI  
> >> Compatibility:
> >> http://map2.squeakfoundation.org/sm/package/d7011055-4446-4b8e-b6da- 
> >> e7e32d3389ec
> >>
> >> Happy tests.
> >> Alain
> >>
> >
> >
> 
> --Boundary_(ID_9C4+4zzVEKD3Uar2xhs5hQ)
> MIME-version: 1.0
> Content-type: text/plain; charset=us-ascii
> Content-transfer-encoding: 7BIT
> 
> 
> 
> --Boundary_(ID_9C4+4zzVEKD3Uar2xhs5hQ)--



More information about the Squeak-dev mailing list