WiFiServiceImpl (Windows): Fixed wrong authentication type with WEP-PSK.
[chromium-blink-merge.git] / components / test_runner / test_common.h
blob973b85cbc21ae0aac724542849f57b7bd6e115d9
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_TEST_RUNNER_TEST_COMMON_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_COMMON_H_
8 #include <string>
10 #include "components/test_runner/test_runner_export.h"
12 namespace test_runner {
14 inline bool IsASCIIAlpha(char ch) {
15 return (ch | 0x20) >= 'a' && (ch | 0x20) <= 'z';
18 inline bool IsNotASCIIAlpha(char ch) {
19 return !IsASCIIAlpha(ch);
22 TEST_RUNNER_EXPORT std::string NormalizeLayoutTestURL(const std::string& url);
24 } // namespace test_runner
26 #endif // COMPONENTS_TEST_RUNNER_TEST_COMMON_H_