OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:kTestString
(Results
1 - 12
of
12
) sorted by null
/external/chromium_org/chrome/renderer/media/
chrome_webrtc_log_message_delegate_unittest.cc
14
const char
kTestString
[] = "abcdefghijklmnopqrstuvwxyz";
34
log_message_delegate->LogMessage(
kTestString
);
35
log_message_delegate->LogMessage(
kTestString
);
44
log_message_delegate->LogMessage(
kTestString
);
48
// Size is calculated as (sizeof(
kTestString
) - 1 for terminating null
50
const uint32 kExpectedSize = sizeof(
kTestString
) * 2;
53
std::string ref_output =
kTestString
;
55
ref_output.append(
kTestString
);
/external/chromium_org/sandbox/linux/tests/
scoped_temporary_file_unittest.cc
53
const char
kTestString
[] = "This is a test";
60
ASSERT_TRUE(FullWrite(temp_file_1.fd(),
kTestString
, sizeof(
kTestString
)));
62
char test_string_read[sizeof(
kTestString
)] = {0};
65
ASSERT_EQ(0, memcmp(
kTestString
, test_string_read, sizeof(
kTestString
)));
/external/chromium_org/chrome/installer/mini_installer/
mini_string_test.cc
27
static const wchar_t
kTestString
[] = L"1234567890";
39
while ((str.length() + (arraysize(
kTestString
) - 1)) <= max_chars) {
40
EXPECT_TRUE(str.append(
kTestString
));
41
compare_str.append(
kTestString
);
50
EXPECT_FALSE(str.append(
kTestString
));
/external/chromium_org/components/autofill/core/common/
save_password_progress_logger_unittest.cc
24
const char
kTestString
[] = "Message"; // Corresponds to STRING_MESSAGE.
54
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
76
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
92
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
104
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
114
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
123
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
133
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
143
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
152
EXPECT_TRUE(logger.LogsContainSubstring(
kTestString
));
[
all
...]
/external/chromium_org/base/strings/
safe_sprintf_unittest.cc
203
const char
kTestString
[] = "This is a test";
204
scoped_ptr<char[]> buf(new char[sizeof(
kTestString
)]);
205
EXPECT_EQ(static_cast<ssize_t>(sizeof(
kTestString
) - 1),
206
SafeSNPrintf(buf.get(), sizeof(
kTestString
),
kTestString
));
207
EXPECT_EQ(std::string(
kTestString
), std::string(buf.get()));
208
EXPECT_EQ(static_cast<ssize_t>(sizeof(
kTestString
) - 1),
209
SafeSNPrintf(buf.get(), sizeof(
kTestString
), "%s",
kTestString
));
210
EXPECT_EQ(std::string(
kTestString
), std::string(buf.get()))
[
all
...]
/external/chromium_org/ui/views/examples/
multiline_example.cc
130
const base::string16
kTestString
= base::WideToUTF16(L"qwerty"
135
render_text_view_->SetText(
kTestString
);
138
label_->SetText(
kTestString
);
149
textfield_->SetText(
kTestString
);
/external/lzma/CPP/7zip/UI/Console/
ExtractCallbackConsole.cpp
27
static const char *
kTestString
= "Testing ";
91
case NArchive::NExtract::NAskMode::kTest: (*OutStream) <<
kTestString
; break;
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
baseline_policy_unittest.cc
73
static const char
kTestString
[kTestTransferSize] = {'T', 'E', 'S', 'T'};
77
HANDLE_EINTR(write(write_end.get(),
kTestString
, kTestTransferSize));
82
BPF_ASSERT_EQ(0, memcmp(
kTestString
, read_buf, kTestTransferSize));
/external/chromium_org/components/policy/core/common/
configuration_policy_provider_test.cc
243
const char
kTestString
[] = "string_value";
244
base::StringValue expected_value(
kTestString
);
250
kTestString
));
/external/chromium_org/net/spdy/
hpack_encoder_test.cc
413
char
kTestString
[] = "foo\0\1\xff""boo";
415
StringPiece(
kTestString
, arraysize(
kTestString
) - 1));
/external/chromium_org/ppapi/tests/
test_post_message.cc
36
const char
kTestString
[] = "Hello world!";
210
instance_->PostMessage(pp::Var(
kTestString
));
327
ASSERT_EQ(
kTestString
, message_data_.back().AsString());
397
ASSERT_SUBTEST_SUCCESS(CheckMessageProperties(
kTestString
,
402
instance_->PostMessage(pp::Var(
kTestString
));
407
ASSERT_EQ(message_data_.back().AsString(),
kTestString
);
503
array.Set(1, pp::Var(
kTestString
));
549
dictionary.Set(pp::Var("bar"), pp::Var(
kTestString
));
597
int content_length = strlen(
kTestString
);
616
0,
kTestString
, content_length, callback.GetCallback()))
[
all
...]
/external/chromium_org/ui/gfx/
text_elider_unittest.cc
325
const base::string16
kTestString
= UTF8ToUTF16(kSurrogate + "x" + kSurrogate);
326
const float kTestStringWidth = GetStringWidthF(
kTestString
, font_list);
327
const base::char16 kSurrogateFirstChar =
kTestString
[0];
328
const base::char16 kSurrogateSecondChar =
kTestString
[1];
334
result = ElideText(
kTestString
, font_list, width, TRUNCATE);
337
result = ElideText(
kTestString
, font_list, width, ELIDE_TAIL);
340
result = ElideText(
kTestString
, font_list, width, ELIDE_MIDDLE);
343
result = ElideText(
kTestString
, font_list, width, ELIDE_HEAD);
[
all
...]
Completed in 1441 milliseconds