chromium/base/environment_unittest.cc

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/environment.h"

#include <memory>

#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"

EnvironmentTest;

namespace base {

namespace {

// PATH env variable is not set on Fuchsia by default, while PWD is not set on
// Windows.
#if BUILDFLAG(IS_FUCHSIA)
constexpr char kValidEnvironmentVariable[] = "PWD";
#else
constexpr char kValidEnvironmentVariable[] =;
#endif

}  // namespace

TEST_F(EnvironmentTest, GetVar) {}

TEST_F(EnvironmentTest, GetVarReverse) {}

TEST_F(EnvironmentTest, HasVar) {}

TEST_F(EnvironmentTest, SetVar) {}

TEST_F(EnvironmentTest, UnSetVar) {}

}  // namespace base