MCDictionaryRepositoryTest.st
author Claus Gittinger <cg@exept.de>
Sun, 26 Aug 2018 14:41:59 +0200
changeset 1051 793db72fde39
parent 387 fec7bb3efee9
permissions -rw-r--r--
#FEATURE by cg class: MCFtpRepository class definition added: #asRepositorySpecFor: #directory #host #isRemote #koRemote #loadAllFileNames comment/format in: #readStreamForFileNamed:do: changed: #description class: MCFtpRepository class added: #basicFromUrl: #documentation #fillInTheBlankRequest #morphicConfigure #urlSchemes

"{ Package: 'stx:goodies/monticello' }"

MCRepositoryTest subclass:#MCDictionaryRepositoryTest
	instanceVariableNames:'dict'
	classVariableNames:''
	poolDictionaries:''
	category:'Monticello-Tests'
!


!MCDictionaryRepositoryTest methodsFor:'as yet unclassified'!

addVersion: aVersion
	dict at: aVersion info put: aVersion
!

deleteNode: aNode
	dict removeKey: aNode
!

dictionary
	^ dict ifNil: [dict := Dictionary new]
!

setUp
	repository :=  MCDictionaryRepository new dictionary: self dictionary
! !

!MCDictionaryRepositoryTest class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCDictionaryRepositoryTest.st,v 1.1 2011-08-20 12:33:24 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCDictionaryRepositoryTest.st,v 1.1 2011-08-20 12:33:24 cg Exp $'
!

version_SVN
    ^ '§Id: MCDictionaryRepositoryTest.st 5 2010-08-29 07:30:29Z vranyj1 §'
! !