[Seaside] [BUG] unit test fails:
MAToManyScalarRelationDescriptionTest>>#testCopyReference
Lukas Renggli
renggli at gmail.com
Sat Mar 24 20:09:27 UTC 2007
> I was trying to write a test for Magritte's MAStringReader. Before
> starting on that, I ran all tests in Magritte-Tests. I can provide
> more detailed info about loaded package versions upon request. (is
> there an easy way to dump a list of all currently loaded packages from
> monticello?)
This is a well known bug. I think this is nothing to worry about.
Philippe can you fix (or disable) it, it was introduced with your
introduction of MAToManyScalarRelationDescription?
Cheers,
Lukas
>
> Cheers
>
> Matthias
>
> -----
>
> 24 March 2007 8:14:23 pm
>
> VM: Win32 - a SmalltalkImage
> Image: Squeak3.9 [latest update: #7067]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Untrusted Dir C:\Program Files\Squeak\
>
> MAToManyScalarRelationDescriptionTest(TestCase)>>signalFailure:
> Receiver: MAToManyScalarRelationDescriptionTest>>#testCopyReference
> Arguments and temporary variables:
> aString: 'Assertion failed'
> Receiver's instance variables:
> testSelector: #testCopyReference
> description: a MAToManyScalarRelationDescription label: '' comment: nil
>
> MAToManyScalarRelationDescriptionTest(TestCase)>>assert:
> Receiver: MAToManyScalarRelationDescriptionTest>>#testCopyReference
> Arguments and temporary variables:
> aBooleanOrBlock: false
> Receiver's instance variables:
> testSelector: #testCopyReference
> description: a MAToManyScalarRelationDescription label: '' comment: nil
>
> MAToManyScalarRelationDescriptionTest(MAReferenceDescriptionTest)>>testCopyReference
> Receiver: MAToManyScalarRelationDescriptionTest>>#testCopyReference
> Arguments and temporary variables:
>
> Receiver's instance variables:
> testSelector: #testCopyReference
> description: a MAToManyScalarRelationDescription label: '' comment: nil
>
> MAToManyScalarRelationDescriptionTest(TestCase)>>performTest
> Receiver: MAToManyScalarRelationDescriptionTest>>#testCopyReference
> Arguments and temporary variables:
>
> Receiver's instance variables:
> testSelector: #testCopyReference
> description: a MAToManyScalarRelationDescription label: '' comment: nil
>
>
> --- The full stack ---
> MAToManyScalarRelationDescriptionTest(TestCase)>>signalFailure:
> MAToManyScalarRelationDescriptionTest(TestCase)>>assert:
> MAToManyScalarRelationDescriptionTest(MAReferenceDescriptionTest)>>testCopyReference
> MAToManyScalarRelationDescriptionTest(TestCase)>>performTest
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> [] in MAToManyScalarRelationDescriptionTest(TestCase)>>runCase {[self
> setUp. self performTest]}
> BlockContext>>ensure:
> MAToManyScalarRelationDescriptionTest(TestCase)>>runCase
> [] in MAToManyScalarRelationDescriptionTest(TestCase)>>debug {[(self
> class selector: testSelector) runCase]}
> BlockContext>>ensure:
> MAToManyScalarRelationDescriptionTest(TestCase)>>debug
> [] in TestRunner>>debugSuite: {[:each | each debug]}
> OrderedCollection>>do:
> [] in TestRunner>>basicRunSuite:do: {[aTestSuite name isEmptyOrNil
> ifTrue: [aTestSuite tests do: aBlock] ifFa...]}
> BlockContext>>ensure:
> TestRunner>>basicRunSuite:do:
> TestRunner>>debugSuite:
> TestRunner>>debug:
> TestRunner>>failedSelected:
> PluggableListMorphPlus(PluggableListMorph)>>changeModelSelection:
> PluggableListMorphPlus(PluggableListMorph)>>mouseUp:
> PluggableListMorphPlus(Morph)>>handleMouseUp:
> MouseButtonEvent>>sentTo:
> PluggableListMorphPlus(Morph)>>handleEvent:
> PluggableListMorphPlus(Morph)>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.
> ActiveEvent := anEvent. result := focusHolder han...]}
> [] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
> BlockContext>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendMouseEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor: {[:h | ActiveHand := h. h
> processEvents. capturingGesture := capturingGest...]}
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess {[[World doOneCycle. Processor
> yield. false] whileFalse. nil]}
> [] in BlockContext>>newProcess {[self value. Processor terminateActive]}
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list