Export media_cas_packager_sdk

This commit is contained in:
Fang Yu
2018-10-01 14:59:29 -07:00
parent 5bdf48b400
commit ba0d63e2c1
110 changed files with 14079 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 Google LLC.
//
// This software is licensed under the terms defined in the Widevine Master
// License Agreement. For a copy of this agreement, please contact
// widevine-licensing@google.com.
////////////////////////////////////////////////////////////////////////////////
#include "util/random/global_id.h"
#include "glog/logging.h"
#include "testing/gunit.h"
namespace widevine {
namespace util {
namespace random {
TEST(GlobalIDTest, NewGlobalID) {
uint64_t id = NewGlobalID();
LOG(INFO) << "NewGlobalID " << id;
EXPECT_EQ(id + 1, NewGlobalID());
EXPECT_EQ(id + 2, NewGlobalID());
}
} // namespace random
} // namespace util
} // namespace widevine