The Trunk: MultilingualTests-tonyg.30.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: MultilingualTests-tonyg.30.mcz

commits-2
David T. Lewis uploaded a new version of MultilingualTests to project The Trunk:
http://source.squeak.org/trunk/MultilingualTests-tonyg.30.mcz

==================== Summary ====================

Name: MultilingualTests-tonyg.30
Author: tonyg
Time: 31 January 2018, 11:17:41.508603 pm
UUID: 7e5f0b94-8866-41e8-96bd-40d33eafbd19
Ancestors: MultilingualTests-tonyg.29

An additional few invalid-UTF8 tests.

=============== Diff against MultilingualTests-tonyg.29 ===============

Item was changed:
  ----- Method: UTF8EdgeCaseTest>>testSequencesWithLastContinuationByteMissing (in category 'as yet unclassified') -----
  testSequencesWithLastContinuationByteMissing
  "Sequences with last continuation byte missing"
 
  self expectHexToFailDecoding: 'c0'. "U+0000"
  self expectHexToFailDecoding: 'e080'. "U+0000"
  self expectHexToFailDecoding: 'f08080'. "U+0000"
  self expectHexToFailDecoding: 'f8808080'. "U+0000"
  self expectHexToFailDecoding: 'fc80808080'. "U+0000"
 
  self expectHexToFailDecoding: 'df'. "U+07FF"
  self expectHexToFailDecoding: 'efbf'. "U+FFFF"
  self expectHexToFailDecoding: 'f7bfbf'. "U+1FFFFF"
  self expectHexToFailDecoding: 'fbbfbfbf'. "U+3FFFFFF"
  self expectHexToFailDecoding: 'fdbfbfbfbf'. "U+7FFFFFFF"
+
+ "Additional tests not in Kuhn's document, testing for presence of off-by-two errors:"
+
+ self expectHexToFailDecoding: 'e0'. "U+0000"
+ self expectHexToFailDecoding: 'f080'. "U+0000"
+ self expectHexToFailDecoding: 'f88080'. "U+0000"
+ self expectHexToFailDecoding: 'fc808080'. "U+0000"
+
+ self expectHexToFailDecoding: 'ef'. "U+FFFF"
+ self expectHexToFailDecoding: 'f7bf'. "U+1FFFFF"
+ self expectHexToFailDecoding: 'fbbfbf'. "U+3FFFFFF"
+ self expectHexToFailDecoding: 'fdbfbfbf'. "U+7FFFFFFF"
  !