Mercurial
comparison mrjunejune/test/integration_test.c @ 122:96628cf126a0
[MrJuneJune] Websocket blog.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 08 Jan 2026 06:45:51 -0800 |
| parents | 092afa595764 |
| children | e7899c93da77 |
comparison
equal
deleted
inserted
replaced
| 121:7b1719fa918c | 122:96628cf126a0 |
|---|---|
| 8 #include <assert.h> | 8 #include <assert.h> |
| 9 | 9 |
| 10 #define TEST_PORT "6969" | 10 #define TEST_PORT "6969" |
| 11 #define TEST_HOST "127.0.0.1" | 11 #define TEST_HOST "127.0.0.1" |
| 12 #define MAX_RESPONSE_SIZE (1024 * 1024) | 12 #define MAX_RESPONSE_SIZE (1024 * 1024) |
| 13 #define SNAPSHOT_DIR "mrjunejune/test/snapshots" | 13 #ifndef SNAPSHOT_DIR |
| 14 // TODO: Make it as current directory /snapshots... | |
| 15 #define SNAPSHOT_DIR "mrjunejune/test/snapshots" | |
| 16 #endif | |
| 14 | 17 |
| 15 // Test case structure | 18 // Test case structure |
| 16 typedef struct { | 19 typedef struct { |
| 17 const char *path; | 20 const char *path; |
| 18 int expected_status; | 21 int expected_status; |