blob: d4f3586aa96a645fa8d0d96b7c9a2c72a2eecc18 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/updater/win/net/network.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/scoped_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace updater {
TEST(UpdaterTestNetwork, NetworkFetcherWinHTTPFactory) {
base::test::TaskEnvironment task_environment(
base::test::TaskEnvironment::MainThreadType::UI);
auto fetcher = base::MakeRefCounted<NetworkFetcherFactory>()->Create();
EXPECT_NE(nullptr, fetcher.get());
}
} // namespace updater