53    {
"wav|ulaw",                  
"wav|ulaw"},
 
   54    {
"pcm|wav",                   
"pcm|wav"},
 
   55    {
"pcm|wav|ulaw",              
"pcm|wav"},
 
   56    {
"wav|ulaw|pcm",              
"wav|ulaw"},
 
   57    {
"wav|ulaw|pcm|alaw",         
"wav|ulaw|alaw"},
 
   58    {
"pcm|ulaw|ul|mu|ulw",        
"pcm"},
 
   59    {
"wav|ulaw|pcm|alaw|sln|raw", 
"wav|ulaw|alaw|sln"},
 
   60    {
"wav|gsm|wav49",             
"wav|gsm|wav49"},
 
   61    {
"WAV|gsm|wav49",             
"WAV|gsm"},
 
   62    {
"wav|invalid|gsm",           
"wav|gsm"},
 
   63    {
"invalid|gsm",               
"gsm"},
 
   64    {
"ulaw|gsm|invalid",          
"ulaw|gsm"},
 
   65    {
"g723|g726-40|g729|gsm|ilbc|ogg|wav|WAV|siren7|siren14|sln", 
"g723|g726-40|g729|gsm|ilbc|ogg|wav|WAV|siren7|siren14"},
 
 
   73    "this one|should|fail also", 
 
 
   84        info->name = 
"ast_format_str_reduce_test_1";
 
   85        info->category = 
"/main/file/";
 
   86        info->summary = 
"reduce format strings";
 
   87        info->description = 
"Reduce some format strings and make sure the results match what we expect.";
 
  112                    "with result '%s', but we expected it to fail\n",
 
 
Asterisk main include file. File version handling, generic pbx functions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
Generic File Format Support. Should be included by clients of the file handling routines....
char * ast_format_str_reduce(char *fmts)
Asterisk module definitions.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
#define ASTERISK_GPL_KEY
The text the key() function should return.
@ AST_MODULE_LOAD_SUCCESS
#define AST_TEST_REGISTER(cb)
#define ast_test_status_update(a, b, c...)
#define AST_TEST_UNREGISTER(cb)
#define AST_TEST_DEFINE(hdr)