18 #include "../app-layer-htp-file.h"
19 #include "../util-unittest.h"
26 static int AppLayerHtpFileParseContentRangeTest01 (
void)
29 bstr * rawvalue = bstr_dup_c(
"bytes 12-25/100");
43 static int AppLayerHtpFileParseContentRangeTest02 (
void)
46 bstr * rawvalue = bstr_dup_c(
"bytes 15335424-27514354/");
57 static int AppLayerHtpFileParseContentRangeTest03 (
void)
60 bstr * rawvalue = bstr_dup_c(
"bytes 15335424-");
72 static int AppLayerHtpFileParseContentRangeTest04 (
void)
75 bstr * rawvalue = bstr_dup_c(
"bytes 24-42/*");
88 UtRegisterTest(
"AppLayerHtpFileParseContentRangeTest01", AppLayerHtpFileParseContentRangeTest01);
89 UtRegisterTest(
"AppLayerHtpFileParseContentRangeTest02", AppLayerHtpFileParseContentRangeTest02);
90 UtRegisterTest(
"AppLayerHtpFileParseContentRangeTest03", AppLayerHtpFileParseContentRangeTest03);
91 UtRegisterTest(
"AppLayerHtpFileParseContentRangeTest04", AppLayerHtpFileParseContentRangeTest04);