Nile-Tests

NSByteTest
A NSByteTest is xxxxxxxxx.
Instance Variables
elementToBePut
nonEmptyStream
stream
testReadBoolean
testReadInt16
testReadInt32
testReadNextInt32
testReadNextLittleEndianNumber
testReadNextNumber
testReadNextString
testReadNextWord
testReadString
testReaduint16
testReaduint24
testReaduint32
testWriteBoolean
testWriteInt16
testWriteInt32
testWriteNextInt32Put
testWriteNextLittleEndianNumberPut
testWriteNextNumberPut
testWriteNextStringPut
testWriteNextWordPut
testWriteString
testWriteuint16
testWriteuint24
testWriteuint32
NSCollectionAdditionsTest
A NSCollectionAdditionsTest is xxxxxxxxx.
Instance Variables
allSequenceableCollections
Returns all subclasses of SequenceableCollection which can be used for Nile.
newInstanceFor:
testMakeRoomForSmallCollections
testReplaceFromToWithAddingBiggerEnough
testReplaceFromToWithAddingBiggerEnough2
testReplaceFromToWithGrowing
testReplaceFromToWithModifyingFirstIndex
testReplaceFromToWithModifyingFirstIndexAndCollectionTooSmall
testReplaceFromToWithNonSequenceable1
testReplaceFromToWithReplacing
testReplaceFromToWithWhiteSpaces
testwriteAllElementsOfStartingAtAllAppend
testwriteAllElementsOfStartingAtReplaceAndAppend
testwriteAllElementsOfStartingAtSimplyReplacing
verifyMakeRoomFor:
NSCollectionLimiterTest
A NSCollectionLimiterTest is xxxxxxxxx.
Instance Variables
createLimiter
testAt
testAtPut
testCreation
testReading
testSize
testVarious
NSCollectionStreamTest
A NSCollectionStreamTest is xxxxxxxxx.
Instance Variables
assert:match:endPosition:
deny:match:
elementToBePut
emptyStream
nonEmptyStream
stream
streamOnArray
streamOnString
streamWith:
streamingOver:
testAtEnd31
testBack41
testBackUpTo41
testBackUpToEmptyPattern41
This test represents the current behavior which is not clearly defined and could be revised.
testBackUpToPatternNotFound1
testBigArrayStays
testContents31
testContents41
testDo41
testDo42
testIsEmpty31
testIsEmpty51
testMatch41
testMatch42
testNext41
testNextDelimited41
testNextInto41
testNextInto42
testNextInto43
testNextMatchFor41
testNextPut51
testNextPut52
testNextPut53
testNextPutAll51
testNextPutAll52
testNexts41
testNexts42
testNextsPut51
testOrderedCollectionStays
Verifies that ordered collections grow whereas arrays are replaced by bigger arrays.
testOriginalContents31
originalContents is similar to contents except that it does not copy the collection
testPeek41
testPeek42
testPeekFor41
testPeekFor42
testPosition31
testPosition41
testPosition51
testReset31
testScenario41
From BlueBook
testSetPosition31
testSetToEnd31
testSetToEnd51
testSize31
testSize32
testSkip41
testSkip42
testSkipTo41
testSkipTo42
testUpTo41
testUpTo42
testUpToEnd41
NSStreamConstructorsTest
A NSStreamConstructorsTest is xxxxxxxxx.
Instance Variables
testCantCreateWithNew
testCreateBinaryReadStream
testCreateNonBinaryReadStream
testCreateReadStream
testCreateWriteStream
testStreamContents
NSStringTest
A NSStringTest is xxxxxxxxx.
Instance Variables
elementToBePut
elementsToBePut
emptyStream
newReaderOn:
newWriter
nonEmptyStream
shouldInheritSelectors
stream
testConstructor
testNextLine
testNextLine2
testNextLine3
testReadALotWithNext
testReadALotWithNexts
testSkipSeparators
testSkipSeparatorsOnEmptyString
testSkipSeparatorsOnOnlySeparators
testWritingALot
testWritingALotWithNextPut
testWritingCrs
testWritingSpaces
testWritingTabs
NSTGettablePositionableStreamTest
A NSTGettablePositionableStreamTest is xxxxxxxxx.
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
environment
environment:
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newTemplateIn:
nonEmptyStream
obsolete
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
testBack61
testSkip61
variablesAndOffsetsDo:
NSTGettableStreamTest
A NSTGettableStreamTest is xxxxxxxxx.
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
environment
environment:
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newTemplateIn:
nonEmptyStream
Must return a non-empty stream positioned at its begining.
obsolete
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
testAtEnd01
testDo01
Take care, the stream can have an infinite number of values (Random for example)
testNext01
testNextInto01
testNextMatchFor01
testNexts01
testPeek01
testPeekFor01
testSkip01
testUpToElementSatisfying01
variablesAndOffsetsDo:
NSTPositionableStreamTest
A NSTPositionableStreamTest is xxxxxxxxx.
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
environment
environment:
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newTemplateIn:
nonEmptyStream
obsolete
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
testAtEnd11
testAtStart11
testBack11
testIsEmpty11
testPosition11
testReset11
testSetPosition11
testSetToEnd11
testSize11
variablesAndOffsetsDo:
NSTPuttablePositionableStreamTest
A NSTPuttablePositionableStreamTest is xxxxxxxxx.
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
environment
environment:
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newTemplateIn:
obsolete
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
testWriteBack71
variablesAndOffsetsDo:
NSTPuttableStreamTest
A NSTPuttableStreamTest is xxxxxxxxx.
applyChangesOfNewTraitCompositionReplacing:
asClassDefinition
asClassSideNode
asNode
baseTrait
basicCategory
basicCategory:
binding
classDefinitions
classTrait
classTrait:
copy
defaultEnvironment
elementToBePut
Returns an element that can be added to the streams returned by #stream and #nonEmptyStream.
elementsToBePut
environment
environment:
fileOutOn:moveSource:toFile:
fileOutOn:moveSource:toFile:initializing:
hasClassTrait
includesBehavior:
initialize
isBaseTrait
isClassTrait
isObsolete
isValidTraitName:
name
name:
name:traitComposition:methodDict:localSelectors:organization:
named:uses:category:
named:uses:category:env:
new
newTemplateIn:
nonEmptyStream
Must return non-empty stream positioned at its begining.
obsolete
removeFromSystem
removeFromSystem:
rename:
requirements
setName:andRegisterInCategory:environment:
stream
Returns any stream.
testFlush21
testNextPutAllAppending21
testNextPutAllAppendingASet21
testNextPutAllReplacing21
testNextPutAllReplacingASet21
testNextPutAppending21
testNextPutReplacing21
variablesAndOffsetsDo: