Eliot Miranda uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-eem.286.mcz ==================== Summary ==================== Name: CollectionsTests-eem.286 Author: eem Time: 21 December 2017, 8:44:26.564583 am UUID: 3badd38f-ad90-415b-9e0f-205a1291c253 Ancestors: CollectionsTests-nice.285 Add out-of-bounds tests to the non-byte unsigned integer array tests. =============== Diff against CollectionsTests-nice.285 =============== Item was added: + ----- Method: DoubleByteArrayTest>>testAtOutOfBounds (in category 'testing') ----- + testAtOutOfBounds + "self debug: #testAtOutOfBounds" + "Do the test more than once to make sure the jitted code is tested." + 1 to: 5 do: + [:iteration| + self + should: [(DoubleByteArray with: 0) at: 2] + raise: Error. + self + should: [(DoubleByteArray with: 0) at: -1] + raise: Error]! Item was added: + ----- Method: DoubleByteArrayTest>>testAtPutOutOfBounds (in category 'testing') ----- + testAtPutOutOfBounds + "self debug: #testAtPutOutOfBounds" + "Do the test more than once to make sure the jitted code is tested." + 1 to: 5 do: + [:iteration| + self + should: [(DoubleByteArray with: 0) at: 2 put: 1] + raise: Error. + self + should: [(DoubleByteArray with: 0) at: -1 put: 1] + raise: Error]! Item was added: + ----- Method: DoubleWordArrayTest>>testAtOutOfBounds (in category 'testing') ----- + testAtOutOfBounds + "self debug: #testAtOutOfBounds" + "Do the test more than once to make sure the jitted code is tested." + 1 to: 5 do: + [:iteration| + self + should: [(DoubleWordArray with: 0) at: 2] + raise: Error. + self + should: [(DoubleWordArray with: 0) at: -1] + raise: Error]! Item was added: + ----- Method: DoubleWordArrayTest>>testAtPutOutOfBounds (in category 'testing') ----- + testAtPutOutOfBounds + "self debug: #testAtPutOutOfBounds" + "Do the test more than once to make sure the jitted code is tested." + 1 to: 5 do: + [:iteration| + self + should: [(DoubleWordArray with: 0) at: 2 put: 1] + raise: Error. + self + should: [(DoubleWordArray with: 0) at: -1 put: 1] + raise: Error]! Item was added: + ----- Method: WordArrayTest>>testAtOutOfBounds (in category 'testing') ----- + testAtOutOfBounds + "self debug: #testAtOutOfBounds" + "Do the test more than once to make sure the jitted code is tested." + 1 to: 5 do: + [:iteration| + self + should: [(WordArray with: 0) at: 2] + raise: Error. + self + should: [(WordArray with: 0) at: -1] + raise: Error]! Item was added: + ----- Method: WordArrayTest>>testAtPutOutOfBounds (in category 'testing') ----- + testAtPutOutOfBounds + "self debug: #testAtPutOutOfBounds" + "Do the test more than once to make sure the jitted code is tested." + 1 to: 5 do: + [:iteration| + self + should: [(WordArray with: 0) at: 2 put: 1] + raise: Error. + self + should: [(WordArray with: 0) at: -1 put: 1] + raise: Error]! |
Free forum by Nabble | Edit this page |