Objective: {what's the purpose of the test}
- {codebase and database}
- {environment setup}
- {any tests that need to be run first}
| function FindProxyForURL(url, host){ | |
| var myip = myIpAddress(); | |
| var ipbits = myip.split("."); | |
| var myseg = parseInt(ipbits[3]); | |
| if(myseg == Math.floor(myseg/2)*2){ | |
| proxy = 'PROXY 165.225.131.153:80; PROXY 165.225.130.193:80'; | |
| } else { | |
| proxy = 'PROXY 165.225.130.193:80; PROXY 165.225.131.153:80'; | |
| } | |
| if((host == 'localhost')||(shExpMatch(host, 'localhost.*'))||(shExpMatch(host, '*.local'))||(shExpMatch(host, '*.lan'))||(host == '127.0.0.1')){ |