| |
|
| java.lang.Object javax.microedition.sip.SipHeaderChecker
SipHeaderChecker | class SipHeaderChecker (Code) | | SipHeaderChecker is a class to check SipHeader functionality
|
parameters | String[][] parameters(Code) | | Extracted parameters.
|
parsedHeaderValue | String parsedHeaderValue(Code) | | Parsed header values.
|
testCases | static SipHeaderChecker[] testCases(Code) | | Array of testcases.
|
SipHeaderChecker | public SipHeaderChecker(String header, String parsedHeaderValue, String[][] parameters)(Code) | | Constructor for basic test case.
Parameters: header - the test input string Parameters: parsedHeaderValue - expected value string Parameters: parameters - expected paramaters from parsed header |
check | boolean check()(Code) | | Checks if test passed.
true if test passes |
checkName | boolean checkName(SipHeader h)(Code) | | Checks for valid name in hedaer.
Parameters: h - the header to be validated true if name is valid |
checkParameters | boolean checkParameters(SipHeader h)(Code) | | Checks for valid parameters in header.
Parameters: h - the header to be validated true if parameters are valid |
checkValue | boolean checkValue(SipHeader h)(Code) | | Checks for valid value in header.
Parameters: h - the header to be validated true if value is valid |
fixSpaces | public static String fixSpaces(String src)(Code) | | Inserts white space into string.
Parameters: src - input string to be processed expanded whitespace string |
fixString | static String fixString(String src)(Code) | | Extracts quoted strings.
Parameters: src - input string to be processed quoted string |
runTests | public static int runTests()(Code) | | Runs the set of tests.
number of failed tests |
toLongForm | public static String toLongForm(String name)(Code) | | Output to long format string.
Parameters: name - label to process formatted string |
toShortForm | public static String toShortForm(String name)(Code) | | Output from short format string.
Parameters: name - label for format string formatted string |
|
|
|