Namespaces | Defines | Functions
time_zone_lookup_test.cc File Reference
#include "absl/time/internal/cctz/include/cctz/time_zone.h"
#include <chrono>
#include <cstddef>
#include <cstdlib>
#include <future>
#include <limits>
#include <string>
#include <thread>
#include <vector>
#include "absl/time/internal/cctz/include/cctz/civil_time.h"
#include "gtest/gtest.h"
Include dependency graph for time_zone_lookup_test.cc:

Go to the source code of this file.

Namespaces

namespace  absl
namespace  absl::time_internal
namespace  absl::time_internal::cctz

Defines

#define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone)

Functions

 absl::time_internal::cctz::TEST (TimeZones, LoadZonesConcurrently)
 absl::time_internal::cctz::TEST (TimeZone, NamedTimeZones)
 absl::time_internal::cctz::TEST (TimeZone, Failures)
 absl::time_internal::cctz::TEST (TimeZone, Equality)
 absl::time_internal::cctz::TEST (StdChronoTimePoint, TimeTAlignment)
 absl::time_internal::cctz::TEST (BreakTime, TimePointResolution)
 absl::time_internal::cctz::TEST (BreakTime, LocalTimeInUTC)
 absl::time_internal::cctz::TEST (BreakTime, LocalTimeInUTCUnaligned)
 absl::time_internal::cctz::TEST (BreakTime, LocalTimePosix)
 absl::time_internal::cctz::TEST (TimeZoneImpl, LocalTimeInFixed)
 absl::time_internal::cctz::TEST (BreakTime, LocalTimeInNewYork)
 absl::time_internal::cctz::TEST (BreakTime, LocalTimeInMTV)
 absl::time_internal::cctz::TEST (BreakTime, LocalTimeInSydney)
 absl::time_internal::cctz::TEST (MakeTime, TimePointResolution)
 absl::time_internal::cctz::TEST (MakeTime, Normalization)
 absl::time_internal::cctz::TEST (MakeTime, SysSecondsLimits)
 absl::time_internal::cctz::TEST (MakeTime, LocalTimeLibC)
 absl::time_internal::cctz::TEST (NextTransition, UTC)
 absl::time_internal::cctz::TEST (PrevTransition, UTC)
 absl::time_internal::cctz::TEST (NextTransition, AmericaNewYork)
 absl::time_internal::cctz::TEST (PrevTransition, AmericaNewYork)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AmericaNewYork)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AmericaLosAngeles)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, ArizonaNoTransition)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AsiaKathmandu)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, PacificChatham)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AustraliaLordHowe)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, PacificApia)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AfricaCairo)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AfricaMonrovia)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, AmericaJamaica)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, WET)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, FixedOffsets)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, NegativeYear)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, UTC32bitLimit)
 absl::time_internal::cctz::TEST (TimeZoneEdgeCase, UTC5DigitYear)

Define Documentation

#define ExpectTime (   tp,
  tz,
  y,
  m,
  d,
  hh,
  mm,
  ss,
  off,
  isdst,
  zone 
)
Value:
do {                                                            \
    time_zone::absolute_lookup al = tz.lookup(tp);                \
    EXPECT_EQ(y, al.cs.year());                                   \
    EXPECT_EQ(m, al.cs.month());                                  \
    EXPECT_EQ(d, al.cs.day());                                    \
    EXPECT_EQ(hh, al.cs.hour());                                  \
    EXPECT_EQ(mm, al.cs.minute());                                \
    EXPECT_EQ(ss, al.cs.second());                                \
    EXPECT_EQ(off, al.offset);                                    \
    EXPECT_TRUE(isdst == al.is_dst);                              \
    /* EXPECT_STREQ(zone, al.abbr); */                            \
  } while (0)

Definition at line 643 of file time_zone_lookup_test.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16