chromium/ui/message_center/views/relative_time_formatter_unittest.cc

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

#include "ui/message_center/views/relative_time_formatter.h"

#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/strings/grit/ui_strings.h"


namespace message_center {

namespace {

// In Android, DateUtils.YEAR_IN_MILLIS is 364 days (52 weeks * 7 days).
constexpr base::TimeDelta kYearTimeDelta =;

std::u16string GetRelativeTime(base::TimeDelta delta) {}

base::TimeDelta GetNextUpdate(base::TimeDelta delta) {}

}  // namespace

TEST(RelativeTimeFormatterTest, Format_Future_30Sec) {}

TEST(RelativeTimeFormatterTest, Format_Past_30Sec) {}

TEST(RelativeTimeFormatterTest, Format_Future_60Sec) {}

TEST(RelativeTimeFormatterTest, Format_Past_60Sec) {}

TEST(RelativeTimeFormatterTest, Format_Future_5Min) {}

TEST(RelativeTimeFormatterTest, Format_Past_5Min) {}

TEST(RelativeTimeFormatterTest, Format_Future_60Min) {}

TEST(RelativeTimeFormatterTest, Format_Past_60Min) {}

TEST(RelativeTimeFormatterTest, Format_Future_10Hrs) {}

TEST(RelativeTimeFormatterTest, Format_Past_10Hrs) {}

TEST(RelativeTimeFormatterTest, Format_Future_24Hrs) {}

TEST(RelativeTimeFormatterTest, Format_Past_24Hrs) {}

TEST(RelativeTimeFormatterTest, Format_Future_1Year) {}

TEST(RelativeTimeFormatterTest, Format_Past_1Year) {}

TEST(RelativeTimeFormatterTest, Format_Future_10Years) {}

TEST(RelativeTimeFormatterTest, Format_Past_10Years) {}

TEST(RelativeTimeFormatterTest, Update_Future_Year) {}

TEST(RelativeTimeFormatterTest, Update_Future_Day) {}

TEST(RelativeTimeFormatterTest, Update_Future_Hour) {}

TEST(RelativeTimeFormatterTest, Update_Future_Minute) {}

TEST(RelativeTimeFormatterTest, Update_Future_Now) {}

TEST(RelativeTimeFormatterTest, Update_Past_Now) {}

TEST(RelativeTimeFormatterTest, Update_Past_Minute) {}

TEST(RelativeTimeFormatterTest, Update_Past_Hour) {}

TEST(RelativeTimeFormatterTest, Update_Past_Day) {}

TEST(RelativeTimeFormatterTest, Update_Past_Year) {}

}  // namespace message_center