Skip to content

Commit 85577bf

Browse files
committed
Defined subclass test methods in superclass
1 parent 799c371 commit 85577bf

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

src/Containers-Buffer-Tests/CTAbstractBufferTest.class.st

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ CTAbstractBufferTest >> testClearBuffer [
6363
self assert: buffer availableSpace equals: 3
6464
]
6565

66+
{ #category : 'tests' }
67+
CTAbstractBufferTest >> testCopyBufferContentsOrder [
68+
^ self subclassResponsibility
69+
]
70+
6671
{ #category : 'tests' }
6772
CTAbstractBufferTest >> testDefaultBufferCreation [
6873

@@ -75,6 +80,16 @@ CTAbstractBufferTest >> testDefaultBufferCreation [
7580
self assert: testBuffer writeIndex equals: 1
7681
]
7782

83+
{ #category : 'tests' }
84+
CTAbstractBufferTest >> testDoIteration [
85+
^ self subclassResponsibility
86+
]
87+
88+
{ #category : 'tests' }
89+
CTAbstractBufferTest >> testDoIterationAfterOverwrite [
90+
^ self subclassResponsibility
91+
]
92+
7893
{ #category : 'tests' }
7994
CTAbstractBufferTest >> testEmptyBufferErrors [
8095

@@ -113,6 +128,11 @@ CTAbstractBufferTest >> testIsFull [
113128
self deny: buffer isFull
114129
]
115130

131+
{ #category : 'tests' }
132+
CTAbstractBufferTest >> testOverwriteBehavior [
133+
^ self subclassResponsibility
134+
]
135+
116136
{ #category : 'tests' }
117137
CTAbstractBufferTest >> testOverwriteBehaviorWithAvailableSpace [
118138

@@ -124,6 +144,11 @@ CTAbstractBufferTest >> testOverwriteBehaviorWithAvailableSpace [
124144
self assert: buffer size equals: 3
125145
]
126146

147+
{ #category : 'tests' }
148+
CTAbstractBufferTest >> testPeekAndPop [
149+
^ self subclassResponsibility
150+
]
151+
127152
{ #category : 'tests' }
128153
CTAbstractBufferTest >> testPopAndPushSequence [
129154

@@ -174,6 +199,21 @@ CTAbstractBufferTest >> testPushSingleElement [
174199
self assert: buffer readIndex equals: 1
175200
]
176201

202+
{ #category : 'tests' }
203+
CTAbstractBufferTest >> testReadIndexAfterPop [
204+
^ self subclassResponsibility
205+
]
206+
207+
{ #category : 'tests' }
208+
CTAbstractBufferTest >> testReadIndexBehaviorOnAdd [
209+
^ self subclassResponsibility
210+
]
211+
212+
{ #category : 'tests' }
213+
CTAbstractBufferTest >> testReadIndexBehaviorOnOverwrite [
214+
^ self subclassResponsibility
215+
]
216+
177217
{ #category : 'tests' }
178218
CTAbstractBufferTest >> testSize [
179219

@@ -185,3 +225,13 @@ CTAbstractBufferTest >> testSize [
185225
buffer pop.
186226
self assert: buffer size equals: 2
187227
]
228+
229+
{ #category : 'tests' }
230+
CTAbstractBufferTest >> testWriteIndexAfterPopAndOverwrite [
231+
^ self subclassResponsibility
232+
]
233+
234+
{ #category : 'tests' }
235+
CTAbstractBufferTest >> testWriteIndexBehavior [
236+
^ self subclassResponsibility
237+
]

0 commit comments

Comments
 (0)