aboutsummaryrefslogtreecommitdiffstats
path: root/unit/suite/stub.test
blob: cde0aeb43b5ce9392b36fea53de164b0ab7d1d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[title]
# Here should come a one line definition of the test suite
Stub suite file

[pac]
# Either a pac code is entered here...

[servers]
# ... or manual proxy servers are here

[excludes]
# If so, optional exlusion rules can be written here

[domains]
# List of domains are here

[config]
# Result of the configuration: VALID or INVALID

[tests]
# Pairs of lines: the input (url and host), and the output
# output is the one given by pacrunner_proxy_lookup()
# If this output must be NULL, you will have to write DIRECT.
# For instance:
# http://test.com test.com
# DIRECT

# In case of a PAC file, returning a proxy result it should be:
# http://test.com test.com
# PROXY thetestproxy.com

# If testing malformed url, the output will always be DIRECT