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",
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
#define AST_TEST_REGISTER(cb)
Generic File Format Support. Should be included by clients of the file handling routines. File service providers should instead include mod_format.h.
#define ast_test_status_update(a, b, c...)
#define ast_strdupa(s)
duplicate a string in memory from the stack
char * ast_format_str_reduce(char *fmts)
#define AST_TEST_UNREGISTER(cb)
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.