author | Claus Gittinger <cg@exept.de> |
Mon, 14 May 2018 02:21:18 +0200 | |
changeset 1048 | 582b3a028cbc |
parent 806 | 910435c127ac |
child 1118 | 1cd9e0a3805b |
permissions | -rw-r--r-- |
25 | 1 |
"{ Package: 'stx:goodies/monticello/test' }" |
2 |
||
3 |
TestResource subclass:#MCSnapshotResource |
|
4 |
instanceVariableNames:'snapshot' |
|
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
806
910435c127ac
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
25
diff
changeset
|
7 |
category:'SCM-Monticello-Tests' |
25 | 8 |
! |
9 |
||
10 |
||
11 |
!MCSnapshotResource class methodsFor:'as yet unclassified'! |
|
12 |
||
13 |
mockPackage |
|
14 |
^ (MCPackage new name: self mockPackageName) |
|
15 |
! |
|
16 |
||
17 |
mockPackageName |
|
18 |
^ MCMockPackageInfo new packageName |
|
19 |
! |
|
20 |
||
21 |
takeSnapshot |
|
22 |
^ self mockPackage snapshot |
|
23 |
! ! |
|
24 |
||
25 |
!MCSnapshotResource methodsFor:'as yet unclassified'! |
|
26 |
||
27 |
definitions |
|
28 |
^ snapshot definitions |
|
29 |
! |
|
30 |
||
31 |
setUp |
|
32 |
snapshot _ self class takeSnapshot. |
|
33 |
! |
|
34 |
||
35 |
snapshot |
|
36 |
^ snapshot |
|
37 |
! ! |
|
38 |
||
39 |
!MCSnapshotResource class methodsFor:'documentation'! |
|
40 |
||
41 |
version |
|
806
910435c127ac
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
25
diff
changeset
|
42 |
^ '$Header: /cvs/stx/stx/goodies/monticello/test/MCSnapshotResource.st,v 1.2 2013-05-29 00:00:24 vrany Exp $' |
25 | 43 |
! ! |
806
910435c127ac
Tests moved to category SCM-Monticello-Tests
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
25
diff
changeset
|
44 |