function setup()

in spec/files/file_manager_spec.ts [83:113]


    function setup(osType: string): void {
      ostype = osType;
      arch = 'x64';
      existingFiles = [
        selenium.prefix() + '2.51.0' + selenium.executableSuffix(),
        selenium.prefix() + '2.52.0' + selenium.executableSuffix()
      ];
      chrome.ostype = ostype;
      chrome.osarch = arch;
      existingFiles.push(chrome.prefix() + '2.20' + chrome.suffix());
      existingFiles.push(chrome.prefix() + '2.20' + chrome.executableSuffix());
      existingFiles.push(chrome.prefix() + '2.21' + chrome.suffix());
      existingFiles.push(chrome.prefix() + '2.21' + chrome.executableSuffix());
      existingFiles.push(android.prefix() + '24.1.0' + android.suffix());
      existingFiles.push(android.prefix() + '24.1.0' + android.executableSuffix());
      existingFiles.push(android.prefix() + '24.1.1' + android.suffix());
      existingFiles.push(android.prefix() + '24.1.1' + android.executableSuffix());
      existingFiles.push(appium.prefix() + '1.6.0' + appium.suffix());
      if (ostype == 'Windows_NT') {
        ie.ostype = ostype;
        ie.osarch = arch;
        existingFiles.push(ie.prefix() + '_Win32_2.51.0' + ie.suffix());
        existingFiles.push(ie.prefix() + '_Win32_2.51.0' + ie.executableSuffix());
        existingFiles.push(ie.prefix() + '_x64_2.51.0' + ie.suffix());
        existingFiles.push(ie.prefix() + '_x64_2.51.0' + ie.executableSuffix());
        existingFiles.push(ie.prefix() + '_Win32_2.52.0' + ie.suffix());
        existingFiles.push(ie.prefix() + '_Win32_2.52.0' + ie.executableSuffix());
        existingFiles.push(ie.prefix() + '_x64_2.52.0' + ie.suffix());
        existingFiles.push(ie.prefix() + '_x64_2.52.0' + ie.executableSuffix());
      }
    }