Closed mabdi closed 4 years ago
code:
testCanSerializeAndDeserializeImageMetadata_amp_L3
| deserializedImage tmp_QPevCfMZNQ1 tmp_Ev28JGrkr92 tmp_SLcZhKQfpm3 |
tmp_QPevCfMZNQ1 := image description: 'An mage for testing purpose'.
tmp_Ev28JGrkr92 := image computeArchitecture.
tmp_SLcZhKQfpm3 := image
originTemplate:
(PhLRemoteTemplate
name: 'Foo test template'
url: 'https://foo.bar.org/abc/foo.zip' asZnUrl).
deserializedImage := STON fromString: image stonString
not confirmed.
tested on mac:
| imageFileRef fs image deserializedImage tmp_QPevCfMZNQ1 tmp_Ev28JGrkr92 tmp_SLcZhKQfpm3 |
fs := FileSystem memory root.
imageFileRef := fs / 'foo.image'.
imageFileRef binaryWriteStreamDo: [ :stream | (ZnEndianessReadWriteStream on: stream ) nextLittleEndianNumber: 4 put: 68021 ].
image := PhLImage location: imageFileRef.
tmp_QPevCfMZNQ1 := image description: 'An mage for testing purpose'.
tmp_Ev28JGrkr92 := image computeArchitecture.
tmp_SLcZhKQfpm3 := image
originTemplate:
(PhLRemoteTemplate
name: 'Foo test template'
url: 'https://foo.bar.org/abc/foo.zip' asZnUrl).
deserializedImage := STON fromString: image stonString
Assertions amplification error. This is not a crash.
During the run, a graphical open dialog prompts. Most probably it blocks the executions. the new test method is not created.
there's no reason to crash yet.
execution stopped in
testCanSerializeAndDeserializeImageMetadata_amp_L3