Bug 1856942: part 5) Factor async loading of a sheet out of `Loader::LoadSheet`....
[gecko.git] / xpcom / tests / TestArguments.cpp
blobab162d31fbd67978e8f3cf4e63475b21b89cc7a0
1 #include <string.h>
3 int main(int argc, char* argv[]) {
4 if (argc != 9) return -1;
6 if (strcmp("mozilla", argv[1]) != 0) return 1;
7 if (strcmp("firefox", argv[2]) != 0) return 2;
8 if (strcmp("thunderbird", argv[3]) != 0) return 3;
9 if (strcmp("seamonkey", argv[4]) != 0) return 4;
10 if (strcmp("foo", argv[5]) != 0) return 5;
11 if (strcmp("bar", argv[6]) != 0) return 6;
12 if (strcmp("argument with spaces", argv[7]) != 0) return 7;
13 if (strcmp(R"("argument with quotes")", argv[8]) != 0) return 8;
15 return 0;