Page Speed Optimization Libraries
1.13.35.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
pagespeed
kernel
util
nonce_generator_test_base.h
Go to the documentation of this file.
1
// Copyright 2013 Google Inc. All Rights Reserved.
14
16
17
#ifndef PAGESPEED_KERNEL_UTIL_NONCE_GENERATOR_TEST_BASE_H_
18
#define PAGESPEED_KERNEL_UTIL_NONCE_GENERATOR_TEST_BASE_H_
19
20
#include "
pagespeed/kernel/base/basictypes.h
"
21
#include "
pagespeed/kernel/base/gtest.h
"
22
#include "
pagespeed/kernel/base/scoped_ptr.h
"
23
#include "
pagespeed/kernel/util/nonce_generator.h
"
24
25
namespace
net_instaweb {
26
28
extern
const
int
kNumIterations
;
29
extern
const
int
kSmallNumIterations;
30
31
class
NonceGeneratorTestBase
:
public
testing::Test {
32
protected
:
33
NonceGeneratorTestBase
() { }
34
~
NonceGeneratorTestBase
();
35
36
void
DuplicateFreedom();
37
void
DifferentNonOverlap();
38
void
AllBitsUsed();
39
40
scoped_ptr<NonceGenerator>
main_generator_;
41
scoped_ptr<NonceGenerator>
other_generator_;
42
43
private
:
44
45
};
46
47
}
48
49
#endif
gtest.h
net_instaweb::kNumIterations
const int kNumIterations
Number of iterations of nonce generation to check in tests.
net_instaweb::scoped_ptr
Definition:
scoped_ptr.h:30
nonce_generator.h
net_instaweb::NonceGeneratorTestBase
Definition:
nonce_generator_test_base.h:31
scoped_ptr.h
basictypes.h
Generated on Fri Nov 3 2017 20:10:41 for Page Speed Optimization Libraries by
1.8.6