smalltalk
/
osmo-st-asn1
Archived
1
0
Fork 0

misc: Add proper categories to ease porting to Pharo

This commit is contained in:
Holger Hans Peter Freyther 2013-03-31 14:04:07 +02:00
parent 59f3d7ac47
commit 4e3227730b
1 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,8 @@
"
TestCase subclass: BERTagTest [
<category: 'OsmoASN1-Tests'>
testSimpleTag [
<category: 'test'>
self assert: (BERTag parseFrom: #(16rA1) asByteArray readStream) asTuple = #(2 true 1).
@ -43,6 +45,8 @@ TestCase subclass: BERTagTest [
]
TestCase subclass: BERLengthTest [
<category: 'OsmoASN1-Tests'>
testSimpleLengthRead [
| read |
read := BERLength parseFrom: #(10) asByteArray readStream.
@ -76,6 +80,8 @@ TestCase subclass: BERLengthTest [
]
TestCase subclass: BERTLVStreamTest [
<category: 'OsmoASN1-Tests'>
testParseLength [
| data stream value |
"I parse a simple example."
@ -124,6 +130,7 @@ TestCase subclass: BERTLVStreamTest [
]
TestCase subclass: DERTLVStreamTest [
<category: 'OsmoASN1-Tests'>
<comment: 'I test DER encoding to some degree'>
testDecodeEncodeAll [