comparison mrjunejune/test/integration_test.c @ 259:667156fcd3e3

Add dev-only cyberpunk JRPG page
author MrJuneJune <me@mrjunejune.com>
date Wed, 05 Aug 2026 09:19:41 -0700
parents b8aa08503378
children 1f9877b637e9
comparison
equal deleted inserted replaced
258:60a876c4587a 259:667156fcd3e3
410 410
411 TestCase failure_tests[] = { 411 TestCase failure_tests[] = {
412 {"/nonexistent", 404, NULL, NULL, NULL, 0}, 412 {"/nonexistent", 404, NULL, NULL, NULL, 0},
413 {"/does/not/exist", 404, NULL, NULL, NULL, 0}, 413 {"/does/not/exist", 404, NULL, NULL, NULL, 0},
414 {"/missing.html", 404, NULL, NULL, NULL, 0}, 414 {"/missing.html", 404, NULL, NULL, NULL, 0},
415 {"/jrpg", 404, NULL, NULL, NULL, 0},
416 {"/jrpg/index.html", 404, NULL, NULL, NULL, 0},
415 }; 417 };
416 int num_failure_tests = sizeof(failure_tests) / sizeof(failure_tests[0]); 418 int num_failure_tests = sizeof(failure_tests) / sizeof(failure_tests[0]);
417 419
418 for (int i = 0; i < num_success_tests; i++) 420 for (int i = 0; i < num_success_tests; i++)
419 init_test_case(&success_tests[i]); 421 init_test_case(&success_tests[i]);