aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-30 16:57:39 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-03-30 16:57:39 +0100
commit3ec703beb55a46e6ea26012463a88ad259cef36a (patch)
treeed58a450be5e383529593cc4ca3ede01a7de56f9
parentb7453953c8f5897b1919f8cc2de5116d292984c1 (diff)
misc: Add proper categories to the MGCP Tests
-rw-r--r--callagent/Tests.st10
-rw-r--r--grammar/MGCPGrammarTest.st2
2 files changed, 10 insertions, 2 deletions
diff --git a/callagent/Tests.st b/callagent/Tests.st
index 2bb86ee..d9ce38b 100644
--- a/callagent/Tests.st
+++ b/callagent/Tests.st
@@ -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
diff --git a/grammar/MGCPGrammarTest.st b/grammar/MGCPGrammarTest.st
index 96100d8..1ac83ba 100644
--- a/grammar/MGCPGrammarTest.st
+++ b/grammar/MGCPGrammarTest.st
@@ -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'>