OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kTestString1
(Results
1 - 5
of
5
) sorted by null
/external/chromium/base/win/
scoped_bstr_unittest.cc
13
static const wchar_t
kTestString1
[] = L"123";
15
size_t test1_len = arraysize(
kTestString1
) - 1;
32
*ret = SysAllocString(
kTestString1
);
36
ScopedBstr b1(
kTestString1
);
38
EXPECT_EQ(test1_len * sizeof(
kTestString1
[0]), b1.ByteLength());
44
EXPECT_EQ(0, lstrcmp(b2,
kTestString1
));
47
EXPECT_EQ(0, lstrcmp(tmp,
kTestString1
));
56
EXPECT_EQ(100 / sizeof(
kTestString1
[0]), b2.Length());
57
lstrcpy(static_cast<BSTR>(b2),
kTestString1
);
59
EXPECT_EQ(100 / sizeof(
kTestString1
[0]), b2.Length())
[
all
...]
scoped_variant_unittest.cc
13
static const wchar_t
kTestString1
[] = L"Used to create BSTRs";
19
V_BSTR(ret) = ::SysAllocString(
kTestString1
);
/external/chromium_org/base/win/
scoped_bstr_unittest.cc
13
static const wchar_t
kTestString1
[] = L"123";
15
size_t test1_len = arraysize(
kTestString1
) - 1;
32
*ret = SysAllocString(
kTestString1
);
36
ScopedBstr b1(
kTestString1
);
38
EXPECT_EQ(test1_len * sizeof(
kTestString1
[0]), b1.ByteLength());
44
EXPECT_EQ(0, lstrcmp(b2,
kTestString1
));
47
EXPECT_EQ(0, lstrcmp(tmp,
kTestString1
));
56
EXPECT_EQ(100 / sizeof(
kTestString1
[0]), b2.Length());
57
lstrcpy(static_cast<BSTR>(b2),
kTestString1
);
59
EXPECT_EQ(100 / sizeof(
kTestString1
[0]), b2.Length())
[
all
...]
scoped_variant_unittest.cc
13
static const wchar_t
kTestString1
[] = L"Used to create BSTRs";
19
V_BSTR(ret) = ::SysAllocString(
kTestString1
);
/external/chromium_org/third_party/libjingle/source/talk/base/
optionsfile_unittest.cc
43
static const std::string
kTestString1
= "a string";
66
EXPECT_TRUE(store.SetStringValue(kTestOptionA,
kTestString1
));
74
EXPECT_EQ(
kTestString1
, out1);
124
EXPECT_TRUE(store.SetStringValue(kTestOptionA,
kTestString1
));
136
EXPECT_EQ(
kTestString1
, out1);
146
EXPECT_FALSE(store.SetStringValue(kOptionWithEquals,
kTestString1
));
148
EXPECT_FALSE(store.SetStringValue(kOptionWithNewline,
kTestString1
));
151
EXPECT_TRUE(store.SetStringValue(kTestOptionA,
kTestString1
));
155
EXPECT_EQ(
kTestString1
, out);
160
EXPECT_EQ(
kTestString1
, out)
[
all
...]
Completed in 55 milliseconds