[Mono-list] Regression tests: we need contributors.
Patrick Kalkman
kalkman@cistron.nl
Mon, 12 May 2003 16:17:39 +0200 (CEST)
------=_20030512161739_58822
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
I would like to help writing tests.
I have included a testcase for the class UTF7Encoding in System.Text.
Could someone check the file and if correct enter it in CVS ?
Thank you,
Patrick Kalkman
> Hello everyone!
>
> Although our class libraries are moving along very quickly, we need
> volunteers to help continue the development of class library unit tests.
>
> If you do this, you get to use the fancy Nunit-Gtk# tool, which is
> really nice (Screenshot attached). Notice how System.Text has only
> tests for two classes!
>
> It is also the best way of learning C# and the .NET API
>
> Migue
------=_20030512161739_58822
Content-Type: application/octet-stream; name="UTF7Encoding.cs"
Content-Disposition: attachment; filename="UTF7Encoding.cs"
Content-Transfer-Encoding: base64
Ly8gVVRGN0VuY29kaW5nVGVzdC5jcyAtIE5Vbml0IFRlc3QgQ2FzZXMgZm9yIFN5c3RlbS5UZXh0
LlVURjdFbmNvZGluZw0KLy8NCi8vIFBhdHJpY2sgS2Fsa21hbiAga2Fsa21hbkBjaXN0cm9uLm5s
DQovLw0KLy8gKEMpIDIwMDMgUGF0cmljayBLYWxrbWFuDQovLyANCnVzaW5nIE5Vbml0LkZyYW1l
d29yazsNCnVzaW5nIFN5c3RlbTsNCnVzaW5nIFN5c3RlbS5UZXh0Ow0KDQpuYW1lc3BhY2UgTW9u
b1Rlc3RzLlN5c3RlbS5UZXh0DQp7DQoNCiAgICAgICAgW1Rlc3RGaXh0dXJlXQ0KICAgICAgICBw
dWJsaWMgY2xhc3MgVVRGN0VuY29kaW5nVGVzdCANCiAgICAgICAgew0KICAgICAgICANCiAgICAg
ICAgICAgICAgICBVVEY3RW5jb2RpbmcgdXRmN2VuYzsJDQogICAgICAgICAgICAgICAgDQogICAg
ICAgICAgICAgICAgW1NldFVwXQ0KICAgICAgICAgICAgICAgIHB1YmxpYyB2b2lkIEdldFJlYWR5
KCkge30NCiAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICBbVGVhckRvd25dDQogICAg
ICAgICAgICAgICAgcHVibGljIHZvaWQgQ2xlYW4oKSB7fQ0KICAgICAgICAgICAgICAgIA0KICAg
ICAgICAgICAgICAgIFtUZXN0XQ0KICAgICAgICAgICAgICAgIHB1YmxpYyB2b2lkIFRlc3REaXJl
Y3RseUVuY29kZWQxKCkgDQogICAgICAgICAgICAgICAgew0KICAgICAgICAgICAgICAgICAgICAg
ICAgLy8gVW5pY29kZSBjaGFyYWN0ZXJzIGEteiwgQS1aLCAwLTkgYW5kICcoKV8uLzo/IGFyZSBk
aXJlY3RseSBlbmNvZGVkLg0KICAgICAgICAgICAgICAgICAgICAgICAgc3RyaW5nIFVuaUNvZGVT
dHJpbmcgPSAiXHUwMDYxXHUwMDdBXHUwMDQxXHUwMDVBXHUwMDMwXHUwMDM5XHUwMDI3XHUwMDNG
IjsNCiAgICAgICAgICAgICAgICAgICAgICAgIGJ5dGVbXSBVdGY3Qnl0ZXMgPSBudWxsOw0KICAg
ICAgICAgICAgICAgICAgICAgICAgdXRmN2VuYyA9IG5ldyBVVEY3RW5jb2RpbmcgKCk7DQogICAg
ICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgIFV0ZjdCeXRlcyA9
IHV0ZjdlbmMuR2V0Qnl0ZXMgKFVuaUNvZGVTdHJpbmcpOw0KICAgICAgICAgICAgICAgICAgICAg
ICAgDQogICAgICAgICAgICAgICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRG
NyAjMSIsIFV0ZjdCeXRlcyBbMF0sIDB4NjEpOw0KICAgICAgICAgICAgICAgICAgICAgICAgQXNz
ZXJ0aW9uLkFzc2VydEVxdWFscyAoIlVURjcgIzIiLCBVdGY3Qnl0ZXMgWzFdLCAweDdBKTsNCiAg
ICAgICAgICAgICAgICAgICAgICAgIEFzc2VydGlvbi5Bc3NlcnRFcXVhbHMgKCJVVEY3ICMzIiwg
VXRmN0J5dGVzIFsyXSwgMHg0MSk7DQogICAgICAgICAgICAgICAgICAgICAgICBBc3NlcnRpb24u
QXNzZXJ0RXF1YWxzICgiVVRGNyAjNCIsIFV0ZjdCeXRlcyBbM10sIDB4NUEpOw0KICAgICAgICAg
ICAgICAgICAgICAgICAgQXNzZXJ0aW9uLkFzc2VydEVxdWFscyAoIlVURjcgIzUiLCBVdGY3Qnl0
ZXMgWzRdLCAweDMwKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIEFzc2VydGlvbi5Bc3NlcnRF
cXVhbHMgKCJVVEY3ICM2IiwgVXRmN0J5dGVzIFs1XSwgMHgzOSk7DQogICAgICAgICAgICAgICAg
ICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGNyAjNyIsIFV0ZjdCeXRlcyBbNl0s
IDB4MjcpOw0KICAgICAgICAgICAgICAgICAgICAgICAgQXNzZXJ0aW9uLkFzc2VydEVxdWFscyAo
IlVURjcgIzgiLCBVdGY3Qnl0ZXMgWzddLCAweDNGKTsNCiAgICAgICAgICAgICAgICB9DQogICAg
ICAgIA0KICAgICAgICAgICAgICAgIFtUZXN0XQ0KICAgICAgICAgICAgICAgIHB1YmxpYyB2b2lk
IFRlc3REaXJlY3RseUVuY29kZWQyKCkNCiAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAg
ICAgICAgICAgICAvLyBVbmljb2RlIGNoYXJhY3RlcnMgYS16LCBBLVosIDAtOSBhbmQgJygpXy4v
Oj8gYXJlIGRpcmVjdGx5IGVuY29kZWQuDQogICAgICAgICAgICAgICAgICAgICAgICBzdHJpbmcg
VW5pQ29kZVN0cmluZyA9ICJcdTAwNjFcdTAwN0FcdTAwNDFcdTAwNUFcdTAwMzBcdTAwMzlcdTAw
MjdcdTAwM0YiOw0KICAgICAgICAgICAgICAgICAgICAgICAgYnl0ZVtdIFV0ZjdCeXRlcyA9IG5l
dyBieXRlIFs4XTsNCiAgICAgICAgICAgICAgICAgICAgICAgIGludCBMZW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gICAgICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgi
VVRGNyAjOCIsIFV0ZjdCeXRlcyBbN10sIDB4M0YpOw0KICAgICAgICAgICAgICAgICAgICAgICAg
QXNzZXJ0aW9uLkFzc2VydEVxdWFscyAoIlVURjcgIzciLCBVdGY3Qnl0ZXMgWzZdLCAweDI3KTsN
CiAgICAgICAgICAgICAgICAgICAgICAgIEFzc2VydGlvbi5Bc3NlcnRFcXVhbHMgKCJVVEY3ICM4
IiwgVXRmN0J5dGVzIFs3XSwgMHgzRik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICANCiAg
ICAgICAgICAgICAgICBbVGVzdF0NCiAgICAgICAgICAgICAgICBwdWJsaWMgdm9pZCBUZXN0RW5j
b2RlT3B0aW9uYWxFbmNvZGVkKCkNCiAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAg
ICAgICAgICBzdHJpbmcgVW5pQ29kZVN0cmluZyA9ICJcdTAwMjFcdTAwMjZcdTAwMkFcdTAwM0Ii
Ow0KICAgICAgICAgICAgICAgICAgICAgICAgYnl0ZVtdIFV0ZjdCeXRlcyA9IG51bGw7DQogICAg
ICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgIC8vT3B0aW9uYWwg
Q2hhcmFjdGVycyBhcmUgYWxsb3dlZC4JDQogICAgICAgICAgICAgICAgICAgICAgICB1dGY3ZW5j
ID0gbmV3IFVURjdFbmNvZGluZyAodHJ1ZSk7IA0KICAgICAgICAgICAgICAgICAgICAgICAgVXRm
N0J5dGVzID0gdXRmN2VuYy5HZXRCeXRlcyAoVW5pQ29kZVN0cmluZyk7DQogICAgICAgICAgICAg
ICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgIEFzc2VydGlvbi5Bc3NlcnRFcXVh
bHMgKCJVVEY3ICMxIiwgVXRmN0J5dGVzIFswXSwgMHgyMSk7DQogICAgICAgICAgICAgICAgICAg
ICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGNyAjMiIsIFV0ZjdCeXRlcyBbMV0sIDB4
MjYpOw0KICAgICAgICAgICAgICAgICAgICAgICAgQXNzZXJ0aW9uLkFzc2VydEVxdWFscyAoIlVU
RjcgIzMiLCBVdGY3Qnl0ZXMgWzJdLCAweDJBKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIEFz
c2VydGlvbi5Bc3NlcnRFcXVhbHMgKCJVVEY3ICM0IiwgVXRmN0J5dGVzIFszXSwgMHgzQik7DQog
ICAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgIC8vT3B0aW9u
YWwgY2hhcmFjdGVycyBhcmUgbm90IGFsbG93ZWQuDQogICAgICAgICAgICAgICAgICAgICAgICB1
dGY3ZW5jID0gbmV3IFVURjdFbmNvZGluZyAoZmFsc2UpOw0KICAgICAgICAgICAgICAgICAgICAg
ICAgVXRmN0J5dGVzID0gdXRmN2VuYy5HZXRCeXRlcyAoVW5pQ29kZVN0cmluZyk7DQogICAgICAg
ICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgIEFzc2VydGlvbi5Bc3Nl
cnRFcXVhbHMgKCJVVEY3ICM1IiwgVXRmN0J5dGVzIFswXSwgMHgyQik7DQogICAgICAgICAgICAg
ICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGNyAjNiIsIFV0ZjdCeXRlcyBb
MV0sIDB4NDEpOw0KICAgICAgICAgICAgICAgICAgICAgICAgQXNzZXJ0aW9uLkFzc2VydEVxdWFs
cyAoIlVURjcgIzciLCBVdGY3Qnl0ZXMgWzJdLCAweDQzKTsNCiAgICAgICAgICAgICAgICAgICAg
ICAgIEFzc2VydGlvbi5Bc3NlcnRFcXVhbHMgKCJVVEY3ICM4IiwgVXRmN0J5dGVzIFszXSwgMHg0
NSk7DQogICAgICAgICAgICAgICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRG
NyAjNiIsIFV0ZjdCeXRlcyBbMV0sIDB4NDEpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAg
DQogICAgICAgICAgICAgICAgW1Rlc3RdDQogICAgICAgICAgICAgICAgcHVibGljIHZvaWQgVGVz
dEVuY29kZVVuaWNvZGVTaGlmdGVkMSgpDQogICAgICAgICAgICAgICAgew0KICAgICAgICAgICAg
ICAgICAgICAgICAgc3RyaW5nIFVuaUNvZGVTdHJpbmcgPSAiXHUwMDQxXHUyMjYyXHUwMzkxXHUw
MDJFIjsNCiAgICAgICAgICAgICAgICAgICAgICAgIGJ5dGVbXSBVdGY3Qnl0ZXMgPSBudWxsOw0K
ICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAgICB1dGY3ZW5j
ID0gbmV3IFVURjdFbmNvZGluZygpOw0KICAgICAgICAgICAgICAgICAgICAgICAgVXRmN0J5dGVz
ID0gdXRmN2VuYy5HZXRCeXRlcyAoVW5pQ29kZVN0cmluZyk7DQogICAgICAgICAgICAgICAgICAg
ICAgICANCiAgICAgICAgICAgICAgICAgICAgICAgIC8vIkE8Tk9UIElERU5USUNBTCBUTz48QUxQ
SEE+LiIgaXMgZW5jb2RlZCBhcyBBK0ltSURrUS0uIHNlZSBSRkMgMTY0Mg0KICAgICAgICAgICAg
ICAgICAgICAgICAgQXNzZXJ0aW9uLkFzc2VydEVxdWFscyAoIlVURjcgIzEiLCBVdGY3Qnl0ZXMg
WzBdLCAweDQxKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIEFzc2VydGlvbi5Bc3NlcnRFcXVh
bHMgKCJVVEY3ICMyIiwgVXRmN0J5dGVzIFsxXSwgMHgyQik7DQogICAgICAgICAgICAgICAgICAg
ICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGNyAjMyIsIFV0ZjdCeXRlcyBbMl0sIDB4
NDkpOw0KICAgICAgICAgICAgICAgICAgICAgICAgQXNzZXJ0a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XMpOw0KICAgICAgICAgICAgICAgICAgICAgICAgLy9BK0ltSURrUS0uIGlzIGRlY29k
ZWQgYXMgIkE8Tk9UIElERU5USUNBTCBUTz48QUxQSEE+LiIgc2VlIFJGQyAxNjQyDQogICAgICAg
ICAgICAgICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGICMxIiwgVW5pQ29k
ZUNoYXJzIFswXSwgVW5pQ29kZVN0cmluZy5Ub0NoYXJBcnJheSgpIFswXSk7DQogICAgICAgICAg
ICAgICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGICMyIiwgVW5pQ29kZUNo
YXJzIFsxXSwgVW5pQ29kZVN0cmluZy5Ub0NoYXJBcnJheSgpIFsxXSk7DQogICAgICAgICAgICAg
ICAgICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGICMzIiwgVW5pQ29kZUNoYXJz
IFsyXSwgVW5pQ29kZVN0cmluZy5Ub0NoYXJBcnJheSgpIFsyXSk7DQogICAgICAgICAgICAgICAg
ICAgICAgICBBc3NlcnRpb24uQXNzZXJ0RXF1YWxzICgiVVRGICM0IiwgVW5pQ29kZUNoYXJzIFsz
XSwgVW5pQ29kZVN0cmluZy5Ub0NoYXJBcnJheSgpIFszXSk7DQogICAgICAgICAgICAgICAgfQ0K
ICAgICAgICANCiAgICAgICAgICAgICAgICBbVGVzdF0NCiAgICAgICAgICAgICAgICBwdWJsaWMg
dm9pZCBUZXN0TWF4Q2hhckNvdW50KCkNCiAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAg
ICAgICAgICAgICB1dGY3ZW5jID0gbmV3IFVURjdFbmNvZGluZyAoKTsNCiAgICAgICAgICAgICAg
ICAgICAgICAgIEFzc2VydGlvbi5Bc3NlcnRFcXVhbHMgKCJVVEYgIzEiLCB1dGY3ZW5jLkdldE1h
eENoYXJDb3VudCg1MCksIDUwKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgIA0KICAgICAg
ICAgICAgICAgIFtUZXN0XQ0KICAgICAgICAgICAgICAgIHB1YmxpYyB2b2lkIFRlc3RNYXhCeXRl
Q291bnQoKQ0KICAgICAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHV0Zjdl
bmMgPSBuZXcgVVRGN0VuY29kaW5nICgpOw0KICAgICAgICAgICAgICAgICAgICAgICAgQXNzZXJ0
aW9uLkFzc2VydEVxdWFscyAoIlVURiAjMSIsIHV0ZjdlbmMuR2V0TWF4Qnl0ZUNvdW50KDUwKSwg
MTM2KTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgIH0NCn0NCg0KDQoNCg==
------=_20030512161739_58822--