comparison mrjunejune/test/integration_test.c @ 242:543df0fe7168

[tools] Add full HLS player support
author MrJuneJune <me@mrjunejune.com>
date Mon, 03 Aug 2026 13:14:41 -0700
parents f3084bca7317
children b8aa08503378
comparison
equal deleted inserted replaced
241:9c2eec61a152 242:543df0fe7168
389 {"/", 200, NULL, NULL, NULL, 0}, 389 {"/", 200, NULL, NULL, NULL, 0},
390 {"/resume", 200, NULL, NULL, NULL, 0}, 390 {"/resume", 200, NULL, NULL, NULL, 0},
391 {"/tools", 200, NULL, NULL, NULL, 0}, 391 {"/tools", 200, NULL, NULL, NULL, 0},
392 {"/tools/markdown_to_html", 200, NULL, NULL, NULL, 0}, 392 {"/tools/markdown_to_html", 200, NULL, NULL, NULL, 0},
393 {"/tools/file_converter", 200, NULL, NULL, NULL, 0}, 393 {"/tools/file_converter", 200, NULL, NULL, NULL, 0},
394 {"/tools/hls_player", 200, NULL, NULL, NULL, 0},
394 {"/talk", 200, NULL, NULL, NULL, 0}, 395 {"/talk", 200, NULL, NULL, NULL, 0},
395 }; 396 };
396 int num_success_tests = sizeof(success_tests) / sizeof(success_tests[0]); 397 int num_success_tests = sizeof(success_tests) / sizeof(success_tests[0]);
397 398
398 TestCase redirect_tests[] = { 399 TestCase redirect_tests[] = {
399 {"/index.html", 301, NULL, NULL, NULL, 0}, 400 {"/index.html", 301, NULL, NULL, NULL, 0},
400 {"/resume/index.html", 301, NULL, NULL, NULL, 0}, 401 {"/resume/index.html", 301, NULL, NULL, NULL, 0},
401 {"/tools/index.html", 301, NULL, NULL, NULL, 0}, 402 {"/tools/index.html", 301, NULL, NULL, NULL, 0},
402 {"/tools/markdown_to_html/index.html", 301, NULL, NULL, NULL, 0}, 403 {"/tools/markdown_to_html/index.html", 301, NULL, NULL, NULL, 0},
403 {"/tools/file_converter/index.html", 301, NULL, NULL, NULL, 0}, 404 {"/tools/file_converter/index.html", 301, NULL, NULL, NULL, 0},
405 {"/tools/hls_player/index.html", 301, NULL, NULL, NULL, 0},
404 }; 406 };
405 int num_redirect_tests = sizeof(redirect_tests) / sizeof(redirect_tests[0]); 407 int num_redirect_tests = sizeof(redirect_tests) / sizeof(redirect_tests[0]);
406 408
407 TestCase failure_tests[] = { 409 TestCase failure_tests[] = {
408 {"/nonexistent", 404, NULL, NULL, NULL, 0}, 410 {"/nonexistent", 404, NULL, NULL, NULL, 0},