org.abora.gold.testing
Class Tester

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.fm.support.Thunk
                    |
                    +--org.abora.gold.testing.Tester
Direct Known Subclasses:
BecomeTester, DiskTester, GrandHashTableTester, HashTableTester, HelloTester, IntegerTableTester, LogTester, PrimIndexTableTester, PrimPtrTableTester, RegionTester, ScruSetTester, SetTableTester, SetTester, ShepherdLockTester, ShuffleTester, TableEntryTester, VolumeTester, WorksTester

public class Tester
extends Thunk

Testers are for controlling the running of regression tests.
See "Regression Testing Procedures and Recommendations".


Field Summary
 
Fields inherited from class org.abora.gold.xpp.basic.Heaper
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes
 
Fields inherited from class org.abora.gold.java.AboraHeaper
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag
 
Constructor Summary
Tester()
           
 
Method Summary
 void allTestsOn(java.io.PrintWriter oo)
          A regression test is run by calling this method.
static void auditionFromMenu()
          Tester auditionFromMenu
static java.lang.String defaultRcString()
           
static void doLinkTime()
           
 void execute()
          The receiver reacts to the key and value (tested my matches:with:), execute it.
static Tester fetchTester(java.lang.String tName)
          Returns the tester whose name is 'tName'.
static Tester getTester(java.lang.String tName)
          Returns the tester whose name is 'tName'.
static Behavior publicClass()
           
static java.lang.String runTest()
           
static java.lang.String spyTest()
           
static void suppressInitTimeInherited()
           
static java.lang.String tryTest()
           
static java.lang.String tryTest(Symbol test)
           
 
Methods inherited from class org.abora.gold.fm.support.Thunk
actualHashForEqual, isEqual
 
Methods inherited from class org.abora.gold.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqual, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, linkTimeNonInherited, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, printOn, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, sendSelfTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
Methods inherited from class org.abora.gold.java.AboraHeaper
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tester

public Tester()
Method Detail

allTestsOn

public void allTestsOn(java.io.PrintWriter oo)
A regression test is run by calling this method. What the tester writes to 'oo' is
actually written to file *o.txt and compared against an approved reference
file (*r.txt) of what this tester once used to output. If they match exactly,
then the test is passed. Otherwise, someone needs to manually understand why
they're different. The diff is in file *d.txt.
It is strongly recommended (in order to avoid regression errors) that when a
tester is extended to test something new that its output also be extended with
some result of the new test. The extended test will then fail the first time. The
programmer should verify that the reason for failure is exactly that the
tester now additionally outputs the correct results of the new test, in which
case this output should be made into the new reference output and the test run
again.


execute

public void execute()
The receiver reacts to the key and value (tested my matches:with:), execute it.

Overrides:
execute in class Thunk

fetchTester

public static Tester fetchTester(java.lang.String tName)
Returns the tester whose name is 'tName'. NULL if none.


getTester

public static Tester getTester(java.lang.String tName)
Returns the tester whose name is 'tName'. BLASTs if none.


auditionFromMenu

public static void auditionFromMenu()
Tester auditionFromMenu


defaultRcString

public static java.lang.String defaultRcString()

publicClass

public static Behavior publicClass()

runTest

public static java.lang.String runTest()

spyTest

public static java.lang.String spyTest()

tryTest

public static java.lang.String tryTest()

tryTest

public static java.lang.String tryTest(Symbol test)

suppressInitTimeInherited

public static void suppressInitTimeInherited()

doLinkTime

public static void doLinkTime()


Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.