This source file includes following definitions.
- TEST
#include "chrome/service/cloud_print/cloud_print_token_store.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cloud_print {
TEST(CloudPrintTokenStoreTest, Basic) {
EXPECT_EQ(NULL, CloudPrintTokenStore::current());
CloudPrintTokenStore* store = new CloudPrintTokenStore;
EXPECT_EQ(store, CloudPrintTokenStore::current());
CloudPrintTokenStore::current()->SetToken("myclientlogintoken");
EXPECT_EQ(CloudPrintTokenStore::current()->token(), "myclientlogintoken");
delete store;
EXPECT_EQ(NULL, CloudPrintTokenStore::current());
}
}