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

misc: Add proper categories to the MGCP Tests

This commit is contained in:
Holger Hans Peter Freyther 2013-03-30 16:57:39 +01:00
parent b7453953c8
commit 3ec703beb5
2 changed files with 10 additions and 2 deletions

View File

@ -18,6 +18,7 @@
TestCase subclass: MGCPCommandTest [
| trunk callagent |
<category: 'OsmoMGCP-Callagent-Tests'>
callagent [
^ callagent ifNil: [
@ -146,6 +147,7 @@ TestCase subclass: MGCPCommandTest [
MGCPCallAgent subclass: MGCPMockNoTransmitAgent [
| send |
<category: 'OsmoMGCP-Callagent-Tests'>
MGCPMockNoTransmitAgent class >> new [
^ super new
@ -169,6 +171,7 @@ MGCPCallAgent subclass: MGCPMockNoTransmitAgent [
MGCPMockNoTransmitAgent subclass: MGCPTransmitSecond [
| drop |
<category: 'OsmoMGCP-Callagent-Tests'>
initialize [
drop := true.
@ -185,12 +188,15 @@ MGCPMockNoTransmitAgent subclass: MGCPTransmitSecond [
]
MGCPTransaction subclass: MGCPShortTransaction [
<category: 'OsmoMGCP-Callagent-Tests'>
MGCPShortTransaction class >> retransmitTime [ ^ 1 ]
MGCPShortTransaction class >> expireTime [ ^ 6 ]
]
TestCase subclass: MGCPTransactionTest [
| trunk callagent dropAgent |
<category: 'OsmoMGCP-Callagent-Tests'>
timeoutCallagent [
^ callagent ifNil: [
@ -268,6 +274,8 @@ TestCase subclass: MGCPTransactionTest [
]
TestCase subclass: MGCPEndpointAllocTest [
<category: 'OsmoMGCP-Callagent-Tests'>
testStateTransition [
| trunk endp |
@ -342,7 +350,7 @@ TestCase subclass: MGCPEndpointAllocTest [
]
PP.PPCompositeParserTest subclass: MGCPParserTest [
<category: 'parsing tests'>
<category: 'OsmoMGCP-Callagent-Tests'>
parserClass [
^MGCPParser

View File

@ -20,7 +20,7 @@ PackageLoader fileInPackage: 'PetitParserTests'.
PP.PPCompositeParserTest subclass: MGCPGrammarTest [
<comment: 'I test some parts of the grammar'>
<category: 'MGCP-Tests'>
<category: 'OsmoMGCP-Core-Tests'>
MGCPGrammarTest class >> packageNamesUnderTest [
<category: 'accessing'>