2 // This file is automatically generated. DO NOT EDIT!
3 // To add options, see genSCTestOptions.c
5 #import <Foundation/Foundation.h>
8 extern const NSString
* const kSCTestGlobalOptionCPU
;
9 extern const NSString
* const kSCTestGlobalOptionHelp
;
10 extern const NSString
* const kSCTestGlobalOptionTime
;
11 extern const NSString
* const kSCTestGlobalOptionVerbose
;
12 extern const NSString
* const kSCTestGlobalOptionWait
;
13 extern const NSString
* const kSCTestDynamicStoreOptionDNS
;
14 extern const NSString
* const kSCTestDynamicStoreOptionIPv4
;
15 extern const NSString
* const kSCTestDynamicStoreOptionIPv6
;
16 extern const NSString
* const kSCTestDynamicStoreOptionProxies
;
17 extern const NSString
* const kSCTestPreferencesServiceList
;
18 extern const NSString
* const kSCTestPreferencesServiceOrder
;
19 extern const NSString
* const kSCTestConfigAgentDNSDomains
;
20 extern const NSString
* const kSCTestConfigAgentDNSServers
;
21 extern const NSString
* const kSCTestConfigAgentRemoveDNS
;
22 extern const NSString
* const kSCTestConfigAgentFTPProxy
;
23 extern const NSString
* const kSCTestConfigAgentGopherProxy
;
24 extern const NSString
* const kSCTestConfigAgentHTTPProxy
;
25 extern const NSString
* const kSCTestConfigAgentHTTPSProxy
;
26 extern const NSString
* const kSCTestConfigAgentProxyMatchDomain
;
27 extern const NSString
* const kSCTestConfigAgentRemoveProxy
;
28 extern const NSString
* const kSCTestConfigAgentSOCKSProxy
;
29 extern const NSString
* const kSCTestReachabilityAddress
;
30 extern const NSString
* const kSCTestReachabilityHost
;
31 extern const NSString
* const kSCTestReachabilityInterface
;
32 extern const NSString
* const kSCTestReachabilityWatch
;
33 extern const NSString
* const kSCTestUnitTestCommand
;
34 extern const NSString
* const kSCTestUnitTestListTests
;
35 extern const NSString
* const kSCTestUnitTestTestMethod
;
36 extern const NSString
* const kSCTestUnitTestTestMethodList
;
40 #define kSCTestOptionEntries \
41 {"cpu", 0, NULL, 0}, \
42 {"help", 0, NULL, 0}, \
43 {"time", 0, NULL, 0}, \
44 {"verbose", 0, NULL, 0}, \
45 {"wait", 0, NULL, 0}, \
46 {"dns", 0, NULL, 0}, \
47 {"ipv4", 0, NULL, 0}, \
48 {"ipv6", 0, NULL, 0}, \
49 {"proxies", 0, NULL, 0}, \
50 {"service_list", 0, NULL, 0}, \
51 {"service_order", 0, NULL, 0}, \
52 {"dns_domain", 1, NULL, 0}, \
53 {"dns_servers", 1, NULL, 0}, \
54 {"remove_dns", 0, NULL, 0}, \
55 {"ftp_proxy", 1, NULL, 0}, \
56 {"gopher_proxy", 1, NULL, 0}, \
57 {"http_proxy", 1, NULL, 0}, \
58 {"https_proxy", 1, NULL, 0}, \
59 {"proxy_match_domain", 1, NULL, 0}, \
60 {"remove_proxy", 0, NULL, 0}, \
61 {"socks_proxy", 1, NULL, 0}, \
62 {"address", 1, NULL, 0}, \
63 {"host", 1, NULL, 0}, \
64 {"interface", 1, NULL, 0}, \
65 {"watch", 0, NULL, 0}, \
66 {"command", 1, NULL, 0}, \
67 {"list_tests", 0, NULL, 0}, \
68 {"test_method", 1, NULL, 0}, \
69 {"test_method_list", 0, NULL, 0}, \
72 #define kSCTestOptionHelp \
73 "\n============== global options =============\n"\
74 "-cpu : Prints the CPU usage after the test completes\n"\
75 "-help : Prints this very useful help!\n"\
76 "-time : Prints the time elapsed since the test was launched\n"\
77 "-verbose : Enables verbose mode\n"\
78 "-wait : Results in a wait for 'sctest'\n"\
79 "\n============== dynamic_store options =============\n"\
80 "-dns : Prints the global DNS information from the SCDynamicStore\n"\
81 "-ipv4 : Prints the global IPv4 information from the SCDynamicStore\n"\
82 "-ipv6 : Prints the global IPv6 information from the SCDynamicStore\n"\
83 "-proxies : Prints the global Proxy information from the SCDynamicStore\n"\
84 "\n============== preferences options =============\n"\
85 "-service_list : Prints the Network Services list from the preferences\n"\
86 "-service_order : Prints the Network Service order from the preferences\n"\
87 "\n============== config_agent options =============\n"\
88 "-dns_domain : Configures the DNS Servers for certain domains. A comma-separated list of domains can be specified. Default is 'apple.com'\n"\
89 "-dns_servers : Configures the specified DNS Servers. A comma-separated list of IP Addresses can be specified\n"\
90 "-remove_dns : Remove a dns configuration, previously configured via 'sctest'\n"\
91 "-ftp_proxy : Add a proxy agent with FTP proxy. Format of the argument is 'server:port'\n"\
92 "-gopher_proxy : Add a proxy agent with Gopher proxy. Format of the argument is 'server:port'\n"\
93 "-http_proxy : Add a proxy agent with HTTP proxy. Format of the argument is 'server:port'\n"\
94 "-https_proxy : Add a proxy agent with HTTPS proxy. Format of the argument is 'server:port'\n"\
95 "-proxy_match_domain : Configures the Proxy server for certain domains. A comma-separated list of domains can be specified. Default is 'apple.com'\n"\
96 "-remove_proxy : Remove a proxy configuration, previously configured via 'sctest'\n"\
97 "-socks_proxy : Add a proxy agent with SOCKS proxy. Format of the argument is 'server:port'\n"\
98 "\n============== reachability options =============\n"\
99 "-address : Determine reachability to this address\n"\
100 "-host : Determine reachability to this host\n"\
101 "-interface : Determine reachability when scoped to this interface\n"\
102 "-watch : Watch for reachability changes\n"\
103 "\n============== unit_test options =============\n"\
104 "-command : Run a unit test for a specific command. If this option is not specified, unit-tests for all commands will be run\n"\
105 "-list_tests : List the test commands in a JSON format. This is for NPT compliance\n"\
106 "-test_method : Runs a specific unit test. List can be obtained by using the 'test_method_list' option\n"\
107 "-test_method_list : Lists all the unit tests. A specific one can be run using the 'test_method' option\n"\