/
TKTWorkerMemoryLeakTests.class.st
42 lines (33 loc) · 1.17 KB
/
TKTWorkerMemoryLeakTests.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Class {
#name : #TKTWorkerMemoryLeakTests,
#superclass : #TKTMemoryLeakTests,
#category : #'TaskIt-Tests-Kernel'
}
{ #category : #'tests-worker' }
TKTWorkerMemoryLeakTests >> testWorkerInstancesAreCollectedAfterStartingAndStoppingWorker [
self trackInstancesOf: TKTWorker during: [ TKTWorker new start stop ]
]
{ #category : #'tests-worker' }
TKTWorkerMemoryLeakTests >> testWorkerInstancesAreCollectedAfterStartingAndStoppingWorkerPool [
self
trackInstancesOf: TKTWorker
during: [ TKTWorkerPool new start stop ]
]
{ #category : #'tests-workerpool' }
TKTWorkerMemoryLeakTests >> testWorkerPoolInstancesAreCollectedAfterStartingAndStoppingWorker [
self
trackInstancesOf: TKTWorkerPool
during: [ TKTWorkerPool new start stop ]
]
{ #category : #'tests-workerprocess' }
TKTWorkerMemoryLeakTests >> testWorkerProcessInstancesAreCollectedAfterStartingAndStoppingWorker [
self
trackInstancesOf: TKTWorkerProcess
during: [ TKTWorker new start stop ]
]
{ #category : #'tests-workerprocess' }
TKTWorkerMemoryLeakTests >> testWorkerProcessInstancesAreCollectedAfterStartingAndStoppingWorkerPool [
self
trackInstancesOf: TKTWorkerProcess
during: [ TKTWorkerPool new start stop ]
]