Symbol: CPPUNIT_ASSERT_EQUAL
headers/tools/cppunit/cppunit/TestAssert.h
220
#define assertEqual(e,a) CPPUNIT_ASSERT_EQUAL(e,a)
headers/tools/cppunit/cppunit/TestAssert.h
222
#define assertLongsEqual(e,a) CPPUNIT_ASSERT_EQUAL(e,a)
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
26
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
29
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
32
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
37
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
45
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
48
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
51
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
54
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
57
CPPUNIT_ASSERT_EQUAL(
src/tests/add-ons/kernel/debugger/DemangleTest.cpp
64
CPPUNIT_ASSERT_EQUAL(BString("foo[clone .part.1.123456] [clone .constprop.777.1] "), BString(buffer));
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
45
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
46
CPPUNIT_ASSERT_EQUAL(70, actualReadBytes);
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
49
CPPUNIT_ASSERT_EQUAL(0x7b, (uint8) actualOutputBuffer[0]);
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
51
CPPUNIT_ASSERT_EQUAL(
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
74
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
75
CPPUNIT_ASSERT_EQUAL(76, actualReadBytes);
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
78
CPPUNIT_ASSERT_EQUAL(0x7b, (uint8) actualOutputBuffer[0]);
src/tests/apps/haikudepot/DataIOUtilsTest.cpp
80
CPPUNIT_ASSERT_EQUAL(
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
204
CPPUNIT_ASSERT_EQUAL(B_OK, listener->ErrorStatus());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
206
CPPUNIT_ASSERT_EQUAL(BString("haikuports"), repository->Code());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
207
CPPUNIT_ASSERT_EQUAL(BString("HaikuPorts"), repository->Name());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
208
CPPUNIT_ASSERT_EQUAL(BString("HaikuPorts is a centralized collection..."),
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
210
CPPUNIT_ASSERT_EQUAL(BString("https://example.com"), repository->InformationUrl());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
211
CPPUNIT_ASSERT_EQUAL(2, repository->CountRepositorySources());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
218
CPPUNIT_ASSERT_EQUAL(BString("haikuports_x86_64"), source0->Code());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
219
CPPUNIT_ASSERT_EQUAL(BString("haiku:hpkr:haikuports_x86_64"), source0->Identifier());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
220
CPPUNIT_ASSERT_EQUAL(BString("zing"), source0->ExtraIdentifiersItemAt(0));
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
222
CPPUNIT_ASSERT_EQUAL(BString("haikuports_x86_gcc2"), source1->Code());
src/tests/apps/haikudepot/DumpExportRepositoryJsonListenerTest.cpp
223
CPPUNIT_ASSERT_EQUAL(BString("haiku:hpkr:haikuports_x86_gcc2"), source1->Identifier());
src/tests/apps/haikudepot/JwtTokenHelperTest.cpp
100
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/apps/haikudepot/JwtTokenHelperTest.cpp
101
CPPUNIT_ASSERT_EQUAL((double) expectedValue, value);
src/tests/apps/haikudepot/JwtTokenHelperTest.cpp
41
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/apps/haikudepot/JwtTokenHelperTest.cpp
89
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/apps/haikudepot/JwtTokenHelperTest.cpp
90
CPPUNIT_ASSERT_EQUAL(BString(expectedValue), value);
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
100
CPPUNIT_ASSERT_EQUAL(BString("de__1996"), BString(language1->ID()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
101
CPPUNIT_ASSERT_EQUAL(BString("es"), BString(language2->ID()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
102
CPPUNIT_ASSERT_EQUAL(BString("fr"), BString(language3->ID()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
103
CPPUNIT_ASSERT_EQUAL(BString("zh"), BString(language4->ID()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
105
CPPUNIT_ASSERT_EQUAL(0, language0->Compare(*languageDeCh.Get()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
106
CPPUNIT_ASSERT_EQUAL(0, language1->Compare(*languageDe1996.Get()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
107
CPPUNIT_ASSERT_EQUAL(0, language2->Compare(*languageEs.Get()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
108
CPPUNIT_ASSERT_EQUAL(0, language3->Compare(*languageFr.Get()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
109
CPPUNIT_ASSERT_EQUAL(0, language4->Compare(*languageZh.Get()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
129
CPPUNIT_ASSERT_EQUAL(BString("de"), BString(defaultLanguage->Code()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
156
CPPUNIT_ASSERT_EQUAL(BString("de"), BString(defaultLanguage->Code()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
185
CPPUNIT_ASSERT_EQUAL(BString("de"), BString(defaultLanguage->Code()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
186
CPPUNIT_ASSERT_EQUAL(BString("CH"), BString(defaultLanguage->CountryCode()));
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
41
CPPUNIT_ASSERT_EQUAL(false, actual);
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
54
CPPUNIT_ASSERT_EQUAL(false, actual);
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
68
CPPUNIT_ASSERT_EQUAL(true, actual);
src/tests/apps/haikudepot/LocaleUtilsTest.cpp
99
CPPUNIT_ASSERT_EQUAL(BString("de_CH"), BString(language0->ID()));
src/tests/apps/haikudepot/StandardMetaDataJsonEventListenerTest.cpp
76
CPPUNIT_ASSERT_EQUAL(expectedStatus, listener.ErrorStatus());
src/tests/apps/haikudepot/StandardMetaDataJsonEventListenerTest.cpp
77
CPPUNIT_ASSERT_EQUAL(expectedCreateTimestamp,
src/tests/apps/haikudepot/StandardMetaDataJsonEventListenerTest.cpp
79
CPPUNIT_ASSERT_EQUAL(expectedDataModifiedTimestamp,
src/tests/apps/haikudepot/StorageUtilsTest.cpp
35
CPPUNIT_ASSERT_EQUAL(expected, output);
src/tests/apps/haikudepot/StringUtilsTest.cpp
106
CPPUNIT_ASSERT_EQUAL(expected, string);
src/tests/apps/haikudepot/StringUtilsTest.cpp
35
CPPUNIT_ASSERT_EQUAL(expected, string);
src/tests/apps/haikudepot/StringUtilsTest.cpp
49
CPPUNIT_ASSERT_EQUAL(expected, string);
src/tests/apps/haikudepot/StringUtilsTest.cpp
63
CPPUNIT_ASSERT_EQUAL(expected, string);
src/tests/apps/haikudepot/StringUtilsTest.cpp
77
CPPUNIT_ASSERT_EQUAL(expected, string);
src/tests/apps/haikudepot/StringUtilsTest.cpp
92
CPPUNIT_ASSERT_EQUAL(expected, string);
src/tests/apps/haikudepot/TarArchiveServiceTest.cpp
51
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/apps/haikudepot/TarArchiveServiceTest.cpp
52
CPPUNIT_ASSERT_EQUAL(BString("hicn/somepkg/16.png"), header.FileName());
src/tests/apps/haikudepot/TarArchiveServiceTest.cpp
53
CPPUNIT_ASSERT_EQUAL(657, header.Length());
src/tests/apps/haikudepot/TarArchiveServiceTest.cpp
54
CPPUNIT_ASSERT_EQUAL(TAR_FILE_TYPE_NORMAL, header.FileType());
src/tests/apps/mediaplayer/FileReadWriteTest.cpp
33
CPPUNIT_ASSERT_EQUAL(content, output);
src/tests/apps/mediaplayer/FileReadWriteTest.cpp
56
CPPUNIT_ASSERT_EQUAL(content, output);
src/tests/apps/mediaplayer/FileReadWriteTest.cpp
70
CPPUNIT_ASSERT_EQUAL(content, output);
src/tests/apps/mediaplayer/FileReadWriteTest.cpp
84
CPPUNIT_ASSERT_EQUAL(content, output);
src/tests/apps/mediaplayer/FileReadWriteTest.cpp
98
CPPUNIT_ASSERT_EQUAL(content, output);
src/tests/kits/interface/OutlineListViewTest.cpp
112
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(view->FullListItemAt(5), true));
src/tests/kits/interface/OutlineListViewTest.cpp
126
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(view->FullListItemAt(5), true));
src/tests/kits/interface/OutlineListViewTest.cpp
137
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(view->FullListItemAt(5), false));
src/tests/kits/interface/OutlineListViewTest.cpp
145
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(view->FullListItemAt(5), false));
src/tests/kits/interface/OutlineListViewTest.cpp
156
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(NULL, true));
src/tests/kits/interface/OutlineListViewTest.cpp
165
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(notfound, true));
src/tests/kits/interface/OutlineListViewTest.cpp
167
CPPUNIT_ASSERT_EQUAL(gCount, view->CountItemsUnder(notfound, false));
src/tests/kits/interface/OutlineListViewTest.cpp
193
CPPUNIT_ASSERT_EQUAL(count + 2, view->FullListCountItems());
src/tests/kits/interface/OutlineListViewTest.cpp
196
CPPUNIT_ASSERT_EQUAL(one, view->FullListItemAt(0));
src/tests/kits/interface/OutlineListViewTest.cpp
197
CPPUNIT_ASSERT_EQUAL(oneA, view->FullListItemAt(1));
src/tests/kits/interface/OutlineListViewTest.cpp
198
CPPUNIT_ASSERT_EQUAL(oneA0, view->FullListItemAt(2));
src/tests/kits/interface/OutlineListViewTest.cpp
199
CPPUNIT_ASSERT_EQUAL(oneA1, view->FullListItemAt(3));
src/tests/kits/interface/OutlineListViewTest.cpp
200
CPPUNIT_ASSERT_EQUAL(last, view->FullListItemAt(count));
src/tests/kits/interface/OutlineListViewTest.cpp
201
CPPUNIT_ASSERT_EQUAL(newLast, view->FullListItemAt(count + 1));
src/tests/kits/interface/OutlineListViewTest.cpp
204
CPPUNIT_ASSERT_EQUAL(0, one->OutlineLevel());
src/tests/kits/interface/OutlineListViewTest.cpp
205
CPPUNIT_ASSERT_EQUAL(1, oneA->OutlineLevel());
src/tests/kits/interface/OutlineListViewTest.cpp
206
CPPUNIT_ASSERT_EQUAL(2, oneA0->OutlineLevel());
src/tests/kits/interface/OutlineListViewTest.cpp
207
CPPUNIT_ASSERT_EQUAL(2, oneA1->OutlineLevel());
src/tests/kits/interface/OutlineListViewTest.cpp
208
CPPUNIT_ASSERT_EQUAL(0, newLast->OutlineLevel());
src/tests/kits/interface/OutlineListViewTest.cpp
261
CPPUNIT_ASSERT_EQUAL((BListItem*)NULL, view->ItemUnderAt(notfound, true, 0));
src/tests/kits/interface/OutlineListViewTest.cpp
262
CPPUNIT_ASSERT_EQUAL((BListItem*)NULL, view->ItemUnderAt(notfound, false, 0));
src/tests/kits/interface/OutlineListViewTest.cpp
47
CPPUNIT_ASSERT_EQUAL(gExpected[gIndex], item);
src/tests/kits/interface/OutlineListViewTest.cpp
66
CPPUNIT_ASSERT_EQUAL(gExpected[i], view->ItemUnderAt(superitem, oneLevelOnly, i));
src/tests/kits/interface/OutlineListViewTest.cpp
69
CPPUNIT_ASSERT_EQUAL((BListItem*)NULL, view->ItemUnderAt(superitem, oneLevelOnly, gCount));
src/tests/kits/interface/balert/AlertTest.cpp
167
CPPUNIT_ASSERT_EQUAL(ui_color(B_PANEL_BACKGROUND_COLOR),
src/tests/kits/interface/balert/AlertTest.cpp
178
CPPUNIT_ASSERT_EQUAL((BButton*)NULL, btns[i]);
src/tests/kits/interface/balert/AlertTest.cpp
196
CPPUNIT_ASSERT_EQUAL(true, btns[i]->IsDefault());
src/tests/kits/interface/balert/AlertTest.cpp
208
CPPUNIT_ASSERT_EQUAL(ui_color(B_PANEL_BACKGROUND_COLOR), textView->ViewColor());
src/tests/kits/interface/balert/AlertTest.cpp
212
CPPUNIT_ASSERT_EQUAL(false, textView->IsEditable());
src/tests/kits/interface/balert/AlertTest.cpp
216
CPPUNIT_ASSERT_EQUAL(false, textView->IsSelectable());
src/tests/kits/interface/balert/AlertTest.cpp
220
CPPUNIT_ASSERT_EQUAL(true, textView->DoesWordWrap());
src/tests/kits/interface/bmenu/MenuTest.cpp
24
CPPUNIT_ASSERT_EQUAL(312, sizeof(BMenu));
src/tests/kits/interface/bmenu/MenuTest.cpp
25
CPPUNIT_ASSERT_EQUAL(128, sizeof(BMenuItem));
src/tests/kits/interface/bmenu/MenuTest.cpp
63
CPPUNIT_ASSERT_EQUAL(6, menu->CountItems());
src/tests/kits/interface/btextcontrol/TextControlTest.cpp
13
CPPUNIT_ASSERT_EQUAL(312, sizeof(BTextControl));
src/tests/kits/interface/btextcontrol/TextControlTest.cpp
27
CPPUNIT_ASSERT_EQUAL(BString("Initial (inserted)text"), v->Text());
src/tests/kits/interface/btextview/TextViewTest.cpp
13
CPPUNIT_ASSERT_EQUAL(356, sizeof(BTextView));
src/tests/kits/interface/btextview/TextViewTest.cpp
29
CPPUNIT_ASSERT_EQUAL(BString("itial (inse"), buffer);
src/tests/kits/locale/CollatorTest.cpp
58
CPPUNIT_ASSERT_EQUAL(tests[i].sign[strength - 1], difference);
src/tests/kits/locale/CollatorTest.cpp
63
CPPUNIT_ASSERT_EQUAL(0, keydiff);
src/tests/kits/locale/DateFormatTest.cpp
108
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
109
CPPUNIT_ASSERT_EQUAL(tests[i].force12, buffer);
src/tests/kits/locale/DateFormatTest.cpp
156
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
157
CPPUNIT_ASSERT_EQUAL(BString(values[i].shortDate), output);
src/tests/kits/locale/DateFormatTest.cpp
161
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
162
CPPUNIT_ASSERT_EQUAL(BString(values[i].longDate), output);
src/tests/kits/locale/DateFormatTest.cpp
166
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
167
CPPUNIT_ASSERT_EQUAL(BString(values[i].shortTime), output);
src/tests/kits/locale/DateFormatTest.cpp
171
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
172
CPPUNIT_ASSERT_EQUAL(BString(values[i].longTime), output);
src/tests/kits/locale/DateFormatTest.cpp
176
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
177
CPPUNIT_ASSERT_EQUAL(BString(values[i].shortDateTime), output);
src/tests/kits/locale/DateFormatTest.cpp
195
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
196
CPPUNIT_ASSERT_EQUAL(BString("September 29, 2014"), output);
src/tests/kits/locale/DateFormatTest.cpp
201
CPPUNIT_ASSERT_EQUAL(B_BAD_DATA, result);
src/tests/kits/locale/DateFormatTest.cpp
215
CPPUNIT_ASSERT_EQUAL(BString("January"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
216
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
221
CPPUNIT_ASSERT_EQUAL(BString("December"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
222
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
227
CPPUNIT_ASSERT_EQUAL(BString("January"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
228
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
233
CPPUNIT_ASSERT_EQUAL(BString("December"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
234
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
239
CPPUNIT_ASSERT_EQUAL(BString("Jan"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
240
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
245
CPPUNIT_ASSERT_EQUAL(BString("Dec"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
246
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
251
CPPUNIT_ASSERT_EQUAL(BString("Jan"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
252
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
257
CPPUNIT_ASSERT_EQUAL(BString("Dec"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
258
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
263
CPPUNIT_ASSERT_EQUAL(BString("J"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
264
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
269
CPPUNIT_ASSERT_EQUAL(BString("D"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
270
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
285
CPPUNIT_ASSERT_EQUAL(BString("Monday"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
286
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
291
CPPUNIT_ASSERT_EQUAL(BString("Tuesday"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
292
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
297
CPPUNIT_ASSERT_EQUAL(BString("Monday"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
298
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
303
CPPUNIT_ASSERT_EQUAL(BString("Tuesday"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
304
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
309
CPPUNIT_ASSERT_EQUAL(BString("Mon"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
310
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
315
CPPUNIT_ASSERT_EQUAL(BString("Tue"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
316
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
321
CPPUNIT_ASSERT_EQUAL(BString("Mo"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
322
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
327
CPPUNIT_ASSERT_EQUAL(BString("Tu"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
328
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
333
CPPUNIT_ASSERT_EQUAL(BString("M"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
334
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
339
CPPUNIT_ASSERT_EQUAL(BString("T"), buffer);
src/tests/kits/locale/DateFormatTest.cpp
340
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
399
CPPUNIT_ASSERT_EQUAL(tests[i].output, date);
src/tests/kits/locale/DateFormatTest.cpp
400
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
430
CPPUNIT_ASSERT_EQUAL(tests[i].output, date);
src/tests/kits/locale/DateFormatTest.cpp
431
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
82
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
83
CPPUNIT_ASSERT_EQUAL(tests[i].expected, buffer);
src/tests/kits/locale/DateFormatTest.cpp
95
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DateFormatTest.cpp
96
CPPUNIT_ASSERT_EQUAL(tests[i].force24, buffer);
src/tests/kits/locale/DurationFormatTest.cpp
114
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
115
CPPUNIT_ASSERT_EQUAL(BString("5 hours"), buffer);
src/tests/kits/locale/DurationFormatTest.cpp
122
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
125
CPPUNIT_ASSERT_EQUAL(BString("5 hours5\xc2\xa0heures"), buffer);
src/tests/kits/locale/DurationFormatTest.cpp
34
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
60
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
61
CPPUNIT_ASSERT_EQUAL(expected, buffer);
src/tests/kits/locale/DurationFormatTest.cpp
71
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
72
CPPUNIT_ASSERT_EQUAL(expected, buffer);
src/tests/kits/locale/DurationFormatTest.cpp
81
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
82
CPPUNIT_ASSERT_EQUAL(expected, buffer);
src/tests/kits/locale/DurationFormatTest.cpp
92
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/DurationFormatTest.cpp
93
CPPUNIT_ASSERT_EQUAL(expected, buffer);
src/tests/kits/locale/LanguageTest.cpp
102
CPPUNIT_ASSERT_EQUAL(BString("French (France)"), name);
src/tests/kits/locale/LanguageTest.cpp
118
CPPUNIT_ASSERT_EQUAL(BString("français (France)"), name);
src/tests/kits/locale/LanguageTest.cpp
131
CPPUNIT_ASSERT_EQUAL(BString("fr"), language.Code());
src/tests/kits/locale/LanguageTest.cpp
34
CPPUNIT_ASSERT_EQUAL(BString("jp"), language.ID());
src/tests/kits/locale/LanguageTest.cpp
35
CPPUNIT_ASSERT_EQUAL(BString("jp"), language.Code());
src/tests/kits/locale/LanguageTest.cpp
36
CPPUNIT_ASSERT_EQUAL(BString(""), language.ScriptCode());
src/tests/kits/locale/LanguageTest.cpp
37
CPPUNIT_ASSERT_EQUAL(BString(""), language.CountryCode());
src/tests/kits/locale/LanguageTest.cpp
50
CPPUNIT_ASSERT_EQUAL(BString("fr_FR"), language.ID());
src/tests/kits/locale/LanguageTest.cpp
51
CPPUNIT_ASSERT_EQUAL(BString("fr"), language.Code());
src/tests/kits/locale/LanguageTest.cpp
52
CPPUNIT_ASSERT_EQUAL(BString(""), language.ScriptCode());
src/tests/kits/locale/LanguageTest.cpp
53
CPPUNIT_ASSERT_EQUAL(BString("FR"), language.CountryCode());
src/tests/kits/locale/LanguageTest.cpp
66
CPPUNIT_ASSERT_EQUAL(BString("sr_Latn_BA"), language.ID());
src/tests/kits/locale/LanguageTest.cpp
67
CPPUNIT_ASSERT_EQUAL(BString("sr"), language.Code());
src/tests/kits/locale/LanguageTest.cpp
68
CPPUNIT_ASSERT_EQUAL(BString("BA"), language.CountryCode());
src/tests/kits/locale/LanguageTest.cpp
69
CPPUNIT_ASSERT_EQUAL(BString("Latn"), language.ScriptCode());
src/tests/kits/locale/LanguageTest.cpp
82
CPPUNIT_ASSERT_EQUAL(BString("sr_Latn_BA"), language.ID());
src/tests/kits/locale/LanguageTest.cpp
83
CPPUNIT_ASSERT_EQUAL(BString("sr"), language.Code());
src/tests/kits/locale/LanguageTest.cpp
84
CPPUNIT_ASSERT_EQUAL(BString("BA"), language.CountryCode());
src/tests/kits/locale/LanguageTest.cpp
85
CPPUNIT_ASSERT_EQUAL(BString("Latn"), language.ScriptCode());
src/tests/kits/locale/NumberFormatTest.cpp
62
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/NumberFormatTest.cpp
63
CPPUNIT_ASSERT_EQUAL(BString(expected), output);
src/tests/kits/locale/RelativeDateTimeFormatTest.cpp
108
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/RelativeDateTimeFormatTest.cpp
109
CPPUNIT_ASSERT_EQUAL(BString(values[i].relativeDate), output);
src/tests/kits/locale/RelativeDateTimeFormatTest.cpp
46
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/StringFormatTest.cpp
88
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/locale/StringFormatTest.cpp
89
CPPUNIT_ASSERT_EQUAL(BString(tests[i].expected), output);
src/tests/kits/locale/UnicodeCharTest.cpp
152
CPPUNIT_ASSERT_EQUAL(BString(result.value), text);
src/tests/kits/locale/UnicodeCharTest.cpp
153
CPPUNIT_ASSERT_EQUAL(result.isAlpha, BUnicodeChar::IsAlpha(i));
src/tests/kits/locale/UnicodeCharTest.cpp
154
CPPUNIT_ASSERT_EQUAL(result.isAlNum, BUnicodeChar::IsAlNum(i));
src/tests/kits/locale/UnicodeCharTest.cpp
155
CPPUNIT_ASSERT_EQUAL(result.isLower, BUnicodeChar::IsLower(i));
src/tests/kits/locale/UnicodeCharTest.cpp
156
CPPUNIT_ASSERT_EQUAL(result.isUpper, BUnicodeChar::IsUpper(i));
src/tests/kits/locale/UnicodeCharTest.cpp
157
CPPUNIT_ASSERT_EQUAL(result.isDefined, BUnicodeChar::IsDefined(i));
src/tests/kits/locale/UnicodeCharTest.cpp
158
CPPUNIT_ASSERT_EQUAL(result.type, BUnicodeChar::Type(i));
src/tests/kits/locale/UnicodeCharTest.cpp
159
CPPUNIT_ASSERT_EQUAL(result.toUpper, BUnicodeChar::ToUpper(i));
src/tests/kits/locale/UnicodeCharTest.cpp
160
CPPUNIT_ASSERT_EQUAL(result.toLower, BUnicodeChar::ToLower(i));
src/tests/kits/media/AreaTest.cpp
72
CPPUNIT_ASSERT_EQUAL(0x12345678, ptrclone2[0]);
src/tests/kits/media/BufferTest.cpp
100
CPPUNIT_ASSERT_EQUAL(0, sb->Size());
src/tests/kits/media/BufferTest.cpp
101
CPPUNIT_ASSERT_EQUAL(0, sb->SizeAvailable());
src/tests/kits/media/BufferTest.cpp
102
CPPUNIT_ASSERT_EQUAL(0, sb->SizeUsed());
src/tests/kits/media/BufferTest.cpp
103
CPPUNIT_ASSERT_EQUAL(0, sb->SmallBufferSizeLimit());
src/tests/kits/media/BufferTest.cpp
40
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
43
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
44
CPPUNIT_ASSERT_EQUAL(0, count);
src/tests/kits/media/BufferTest.cpp
59
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
62
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
63
CPPUNIT_ASSERT_EQUAL(3, count);
src/tests/kits/media/BufferTest.cpp
66
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
68
CPPUNIT_ASSERT_EQUAL(1234, buffer->Size());
src/tests/kits/media/BufferTest.cpp
69
CPPUNIT_ASSERT_EQUAL(1234, buffer->SizeAvailable());
src/tests/kits/media/BufferTest.cpp
70
CPPUNIT_ASSERT_EQUAL(0, buffer->SizeUsed());
src/tests/kits/media/BufferTest.cpp
76
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
79
CPPUNIT_ASSERT_EQUAL(B_OK, s);
src/tests/kits/media/BufferTest.cpp
80
CPPUNIT_ASSERT_EQUAL(1, count);
src/tests/kits/media/BufferTest.cpp
85
CPPUNIT_ASSERT_EQUAL(1234, buffer->Size());
src/tests/kits/media/BufferTest.cpp
86
CPPUNIT_ASSERT_EQUAL(1234, buffer->SizeAvailable());
src/tests/kits/media/BufferTest.cpp
87
CPPUNIT_ASSERT_EQUAL(0, buffer->SizeUsed());
src/tests/kits/media/SizeofTest.cpp
29
CPPUNIT_ASSERT_EQUAL(264, sizeof(BBuffer));
src/tests/kits/media/SizeofTest.cpp
30
CPPUNIT_ASSERT_EQUAL(240, sizeof(BBufferConsumer));
src/tests/kits/media/SizeofTest.cpp
31
CPPUNIT_ASSERT_EQUAL(56, sizeof(BBufferGroup));
src/tests/kits/media/SizeofTest.cpp
32
CPPUNIT_ASSERT_EQUAL(244, sizeof(BBufferProducer));
src/tests/kits/media/SizeofTest.cpp
33
CPPUNIT_ASSERT_EQUAL(140, sizeof(BContinuousParameter));
src/tests/kits/media/SizeofTest.cpp
34
CPPUNIT_ASSERT_EQUAL(240, sizeof(BControllable));
src/tests/kits/media/SizeofTest.cpp
35
CPPUNIT_ASSERT_EQUAL(124, sizeof(BDiscreteParameter));
src/tests/kits/media/SizeofTest.cpp
36
CPPUNIT_ASSERT_EQUAL(236, sizeof(BFileInterface));
src/tests/kits/media/SizeofTest.cpp
37
CPPUNIT_ASSERT_EQUAL(40, sizeof(BMediaAddOn));
src/tests/kits/media/SizeofTest.cpp
38
CPPUNIT_ASSERT_EQUAL(340, sizeof(BMediaEventLooper));
src/tests/kits/media/SizeofTest.cpp
39
CPPUNIT_ASSERT_EQUAL(560, sizeof(BMediaFile));
src/tests/kits/media/SizeofTest.cpp
40
CPPUNIT_ASSERT_EQUAL(72, sizeof(BMediaFiles));
src/tests/kits/media/SizeofTest.cpp
41
CPPUNIT_ASSERT_EQUAL(128, sizeof(BMediaFormats));
src/tests/kits/media/SizeofTest.cpp
42
CPPUNIT_ASSERT_EQUAL(164, sizeof(BMediaNode));
src/tests/kits/media/SizeofTest.cpp
43
CPPUNIT_ASSERT_EQUAL(440, sizeof(BMediaRoster));
src/tests/kits/media/SizeofTest.cpp
44
CPPUNIT_ASSERT_EQUAL(68, sizeof(BMediaTheme));
src/tests/kits/media/SizeofTest.cpp
45
CPPUNIT_ASSERT_EQUAL(760, sizeof(BMediaTrack));
src/tests/kits/media/SizeofTest.cpp
46
CPPUNIT_ASSERT_EQUAL(116, sizeof(BNullParameter));
src/tests/kits/media/SizeofTest.cpp
47
CPPUNIT_ASSERT_EQUAL(84, sizeof(BParameter));
src/tests/kits/media/SizeofTest.cpp
48
CPPUNIT_ASSERT_EQUAL(52, sizeof(BParameterGroup));
src/tests/kits/media/SizeofTest.cpp
49
CPPUNIT_ASSERT_EQUAL(124, sizeof(BSound));
src/tests/kits/media/SizeofTest.cpp
50
CPPUNIT_ASSERT_EQUAL(164, sizeof(BTimeCode));
src/tests/kits/media/SizeofTest.cpp
51
CPPUNIT_ASSERT_EQUAL(72, sizeof(BParameterWeb));
src/tests/kits/media/SizeofTest.cpp
52
CPPUNIT_ASSERT_EQUAL(264, sizeof(BSmallBuffer));
src/tests/kits/media/SizeofTest.cpp
53
CPPUNIT_ASSERT_EQUAL(808, sizeof(BSoundPlayer));
src/tests/kits/media/SizeofTest.cpp
54
CPPUNIT_ASSERT_EQUAL(32, sizeof(BTimedEventQueue));
src/tests/kits/media/SizeofTest.cpp
55
CPPUNIT_ASSERT_EQUAL(236, sizeof(BTimeSource));
src/tests/kits/media/SizeofTest.cpp
56
CPPUNIT_ASSERT_EQUAL(24, sizeof(media_node));
src/tests/kits/media/SizeofTest.cpp
57
CPPUNIT_ASSERT_EQUAL(328, sizeof(media_input));
src/tests/kits/media/SizeofTest.cpp
58
CPPUNIT_ASSERT_EQUAL(328, sizeof(media_output));
src/tests/kits/media/SizeofTest.cpp
59
CPPUNIT_ASSERT_EQUAL(256, sizeof(live_node_info));
src/tests/kits/media/SizeofTest.cpp
60
CPPUNIT_ASSERT_EQUAL(372, sizeof(media_request_info));
src/tests/kits/media/SizeofTest.cpp
61
CPPUNIT_ASSERT_EQUAL(16, sizeof(media_destination));
src/tests/kits/media/SizeofTest.cpp
62
CPPUNIT_ASSERT_EQUAL(16, sizeof(media_source));
src/tests/kits/media/SizeofTest.cpp
63
CPPUNIT_ASSERT_EQUAL(200, sizeof(dormant_node_info));
src/tests/kits/media/SizeofTest.cpp
64
CPPUNIT_ASSERT_EQUAL(116, sizeof(flavor_info));
src/tests/kits/media/SizeofTest.cpp
65
CPPUNIT_ASSERT_EQUAL(320, sizeof(dormant_flavor_info));
src/tests/kits/media/SizeofTest.cpp
66
CPPUNIT_ASSERT_EQUAL(192, sizeof(media_format));
src/tests/kits/net/netservices2/ExclusiveBorrowTest.cpp
157
CPPUNIT_ASSERT_EQUAL(true, borrowDerived->IsDerived());
src/tests/kits/net/netservices2/ExclusiveBorrowTest.cpp
161
CPPUNIT_ASSERT_EQUAL(true, borrowBase->IsDerived());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
101
CPPUNIT_ASSERT_EQUAL("Connection"sv, name);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
102
CPPUNIT_ASSERT_EQUAL("close"sv, field.Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
156
CPPUNIT_ASSERT_EQUAL(5, defaultFields.CountFields());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
161
CPPUNIT_ASSERT_EQUAL(copiedFields.CountFields(), defaultFields.CountFields());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
165
CPPUNIT_ASSERT_EQUAL(defaultFields[i].Value(), copiedFields[i].Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
169
CPPUNIT_ASSERT_EQUAL(movedFields.CountFields(), defaultFields.CountFields());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
173
CPPUNIT_ASSERT_EQUAL(movedFields[i].Value(), defaultFields[i].Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
176
CPPUNIT_ASSERT_EQUAL(copiedFields.CountFields(), 0);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
188
CPPUNIT_ASSERT_EQUAL(defaultFields[2].Value(), (*it).Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
195
CPPUNIT_ASSERT_EQUAL("vfxdrm=9lpqrsvxm; Domain=haiku-os.co.uk"sv, (*it).Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
204
CPPUNIT_ASSERT_EQUAL(fields.CountFields(), defaultFields.CountFields());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
207
CPPUNIT_ASSERT_EQUAL(fields.CountFields(), 2);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
210
CPPUNIT_ASSERT_EQUAL(fields.CountFields(), 0);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
225
CPPUNIT_ASSERT_EQUAL(std::string_view(key.String()), field.Name());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
226
CPPUNIT_ASSERT_EQUAL(value, BString(field.Value().data(), field.Value().length()));
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
228
CPPUNIT_ASSERT_EQUAL(count, 4);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
240
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Get).Method(), "GET"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
241
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Head).Method(), "HEAD"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
242
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Post).Method(), "POST"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
243
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Put).Method(), "PUT"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
244
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Delete).Method(), "DELETE"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
245
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Connect).Method(), "CONNECT"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
246
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Options).Method(), "OPTIONS"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
247
CPPUNIT_ASSERT_EQUAL(BHttpMethod(BHttpMethod::Trace).Method(), "TRACE"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
254
CPPUNIT_ASSERT_EQUAL(method.Method(), "PATCH"sv);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
346
CPPUNIT_ASSERT_EQUAL(
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
348
CPPUNIT_ASSERT_EQUAL(BString("Sunday, 07-Dec-03 16:01:00 GMT"),
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
350
CPPUNIT_ASSERT_EQUAL(BString("Sun Dec 7 16:01:00 2003"),
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
499
CPPUNIT_ASSERT_EQUAL(BNetworkRequestError::HostnameError, e.Type());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
512
CPPUNIT_ASSERT_EQUAL(BNetworkRequestError::NetworkError, e.Type());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
551
CPPUNIT_ASSERT_EQUAL(field.Value(), (*expectedField).Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
555
CPPUNIT_ASSERT_EQUAL(kExpectedGetBody, receivedBody.value().String());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
572
CPPUNIT_ASSERT_EQUAL(kExpectedGetBody, bodyString);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
594
CPPUNIT_ASSERT_EQUAL(field.Value(), (*expectedField).Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
617
CPPUNIT_ASSERT_EQUAL(204, receivedStatus.code);
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
627
CPPUNIT_ASSERT_EQUAL(field.Value(), (*expectedField).Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
652
CPPUNIT_ASSERT_EQUAL(field.Value(), (*expectedField).Value());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
656
CPPUNIT_ASSERT_EQUAL(kExpectedGetBody, receivedBody.value().String());
src/tests/kits/net/netservices2/HttpProtocolTest.cpp
776
CPPUNIT_ASSERT_EQUAL(kExpectedPostBody.Length(), result.Body().text.value().Length());
src/tests/kits/net/service/CookieTest.cpp
249
CPPUNIT_ASSERT_EQUAL(
src/tests/kits/net/service/CookieTest.cpp
357
CPPUNIT_ASSERT_EQUAL(4, count);
src/tests/kits/net/service/CookieTest.cpp
385
CPPUNIT_ASSERT_EQUAL(BString("016-02"), cookie->Name());
src/tests/kits/net/service/CookieTest.cpp
388
CPPUNIT_ASSERT_EQUAL(BString("016-01"), cookie->Name());
src/tests/kits/net/service/CookieTest.cpp
394
CPPUNIT_ASSERT_EQUAL(2, count);
src/tests/kits/net/service/CookieTest.cpp
607
CPPUNIT_ASSERT_EQUAL(tests[i].url1, cookie.IsValidForUrl(url1));
src/tests/kits/net/service/CookieTest.cpp
608
CPPUNIT_ASSERT_EQUAL(tests[i].url2, cookie.IsValidForUrl(url2));
src/tests/kits/net/service/CookieTest.cpp
609
CPPUNIT_ASSERT_EQUAL(tests[i].url3, cookie.IsValidForUrl(url3));
src/tests/kits/net/service/CookieTest.cpp
610
CPPUNIT_ASSERT_EQUAL(tests[i].url4, cookie.IsValidForUrl(url4));
src/tests/kits/net/service/CookieTest.cpp
662
CPPUNIT_ASSERT_EQUAL(tests[i].shouldMatch,
src/tests/kits/net/service/CookieTest.cpp
709
CPPUNIT_ASSERT_EQUAL(tests[i].expired, cookie.ShouldDeleteNow());
src/tests/kits/net/service/CookieTest.cpp
778
CPPUNIT_ASSERT_EQUAL(BString(tests[i].expected.name), cookie.Name());
src/tests/kits/net/service/CookieTest.cpp
779
CPPUNIT_ASSERT_EQUAL(BString(tests[i].expected.value), cookie.Value());
src/tests/kits/net/service/CookieTest.cpp
78
CPPUNIT_ASSERT_EQUAL(4, count);
src/tests/kits/net/service/CookieTest.cpp
780
CPPUNIT_ASSERT_EQUAL(BString(tests[i].expected.domain),
src/tests/kits/net/service/CookieTest.cpp
782
CPPUNIT_ASSERT_EQUAL(BString(tests[i].expected.path), cookie.Path());
src/tests/kits/net/service/CookieTest.cpp
788
CPPUNIT_ASSERT_EQUAL(tests[i].expected.expire.Time_t(),
src/tests/kits/net/service/CookieTest.cpp
98
CPPUNIT_ASSERT_EQUAL(BString("1"), cookie->Value());
src/tests/kits/net/service/DataTest.cpp
167
CPPUNIT_ASSERT_EQUAL(expectedLength, buffer.BufferLength());
src/tests/kits/net/service/GeolocationTest.cpp
31
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/net/service/GeolocationTest.cpp
42
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/net/service/GeolocationTest.cpp
43
CPPUNIT_ASSERT_EQUAL(B_OK, country.InitCheck());
src/tests/kits/net/service/GeolocationTest.cpp
44
CPPUNIT_ASSERT_EQUAL(BString("AT"), BString(country.Code()));
src/tests/kits/net/service/HttpTest.cpp
108
CPPUNIT_ASSERT_EQUAL(
src/tests/kits/net/service/HttpTest.cpp
144
CPPUNIT_ASSERT_EQUAL(B_OK, request->Status());
src/tests/kits/net/service/HttpTest.cpp
148
CPPUNIT_ASSERT_EQUAL(200, result.StatusCode());
src/tests/kits/net/service/HttpTest.cpp
149
CPPUNIT_ASSERT_EQUAL(BString("OK"), result.StatusText());
src/tests/kits/net/service/HttpTest.cpp
236
CPPUNIT_ASSERT_EQUAL(B_OK, request->Status());
src/tests/kits/net/service/HttpTest.cpp
240
CPPUNIT_ASSERT_EQUAL(200, result.StatusCode());
src/tests/kits/net/service/HttpTest.cpp
241
CPPUNIT_ASSERT_EQUAL(BString("OK"), result.StatusText());
src/tests/kits/net/service/HttpTest.cpp
243
CPPUNIT_ASSERT_EQUAL(144, result.Length());
src/tests/kits/net/service/HttpTest.cpp
280
CPPUNIT_ASSERT_EQUAL(B_OK, request->Status());
src/tests/kits/net/service/HttpTest.cpp
284
CPPUNIT_ASSERT_EQUAL(204, result.StatusCode());
src/tests/kits/net/service/HttpTest.cpp
285
CPPUNIT_ASSERT_EQUAL(BString("No Content"), result.StatusText());
src/tests/kits/net/service/HttpTest.cpp
343
CPPUNIT_ASSERT_EQUAL(B_OK, request->Status());
src/tests/kits/net/service/HttpTest.cpp
347
CPPUNIT_ASSERT_EQUAL(200, response.StatusCode());
src/tests/kits/net/service/HttpTest.cpp
348
CPPUNIT_ASSERT_EQUAL(BString("OK"), response.StatusText());
src/tests/kits/net/service/HttpTest.cpp
349
CPPUNIT_ASSERT_EQUAL(169, response.Length());
src/tests/kits/net/service/HttpTest.cpp
433
CPPUNIT_ASSERT_EQUAL(
src/tests/kits/net/service/HttpTest.cpp
444
CPPUNIT_ASSERT_EQUAL(B_OK, request->Status());
src/tests/kits/net/service/HttpTest.cpp
448
CPPUNIT_ASSERT_EQUAL(200, result.StatusCode());
src/tests/kits/net/service/HttpTest.cpp
449
CPPUNIT_ASSERT_EQUAL(BString("OK"), result.StatusText());
src/tests/kits/net/service/HttpTest.cpp
450
CPPUNIT_ASSERT_EQUAL(913, result.Length());
src/tests/kits/net/service/HttpTest.cpp
547
CPPUNIT_ASSERT_EQUAL(2, cookies.size());
src/tests/kits/net/service/HttpTest.cpp
548
CPPUNIT_ASSERT_EQUAL(BString("fake_value"), cookies["fake"]);
src/tests/kits/net/service/HttpTest.cpp
549
CPPUNIT_ASSERT_EQUAL(BString("never"), cookies["stale_after"]);
src/tests/kits/net/service/HttpTest.cpp
633
CPPUNIT_ASSERT_EQUAL(B_OK, request->Status());
src/tests/kits/net/service/HttpTest.cpp
637
CPPUNIT_ASSERT_EQUAL(200, result.StatusCode());
src/tests/kits/net/service/HttpTest.cpp
638
CPPUNIT_ASSERT_EQUAL(BString("OK"), result.StatusText());
src/tests/kits/net/service/HttpTest.cpp
640
CPPUNIT_ASSERT_EQUAL(144, result.Length());
src/tests/kits/net/service/HttpTest.cpp
97
CPPUNIT_ASSERT_EQUAL(fExpectedResponseBody, fActualResponseBody);
src/tests/kits/net/service/UrlTest.cpp
109
CPPUNIT_ASSERT_EQUAL(BString("http"), url.Protocol());
src/tests/kits/net/service/UrlTest.cpp
110
CPPUNIT_ASSERT_EQUAL(BString("user"), url.UserName());
src/tests/kits/net/service/UrlTest.cpp
111
CPPUNIT_ASSERT_EQUAL(BString("password"), url.Password());
src/tests/kits/net/service/UrlTest.cpp
112
CPPUNIT_ASSERT_EQUAL(BString("user:password"), url.UserInfo());
src/tests/kits/net/service/UrlTest.cpp
113
CPPUNIT_ASSERT_EQUAL(BString("example.com"), url.Host());
src/tests/kits/net/service/UrlTest.cpp
114
CPPUNIT_ASSERT_EQUAL(BString("user:password@example.com:8080"),
src/tests/kits/net/service/UrlTest.cpp
116
CPPUNIT_ASSERT_EQUAL(8080, url.Port());
src/tests/kits/net/service/UrlTest.cpp
117
CPPUNIT_ASSERT_EQUAL(BString("/path"), url.Path());
src/tests/kits/net/service/UrlTest.cpp
118
CPPUNIT_ASSERT_EQUAL(BString("query=value"), url.Request());
src/tests/kits/net/service/UrlTest.cpp
119
CPPUNIT_ASSERT_EQUAL(BString("fragment"), url.Fragment());
src/tests/kits/net/service/UrlTest.cpp
120
CPPUNIT_ASSERT_EQUAL(BString(
src/tests/kits/net/service/UrlTest.cpp
152
CPPUNIT_ASSERT_EQUAL(BString("www.example.com"), url2.Host());
src/tests/kits/net/service/UrlTest.cpp
153
CPPUNIT_ASSERT_EQUAL(BString("http://www.example.com"), url2.UrlString());
src/tests/kits/net/service/UrlTest.cpp
154
CPPUNIT_ASSERT_EQUAL(BString("example.com"), url1.Host());
src/tests/kits/net/service/UrlTest.cpp
155
CPPUNIT_ASSERT_EQUAL(BString("http://example.com"), url1.UrlString());
src/tests/kits/net/service/UrlTest.cpp
220
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].url),
src/tests/kits/net/service/UrlTest.cpp
222
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.protocol),
src/tests/kits/net/service/UrlTest.cpp
224
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.userName),
src/tests/kits/net/service/UrlTest.cpp
226
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.password),
src/tests/kits/net/service/UrlTest.cpp
228
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.host),
src/tests/kits/net/service/UrlTest.cpp
230
CPPUNIT_ASSERT_EQUAL(kTestExplode[testIndex].expected.port,
src/tests/kits/net/service/UrlTest.cpp
232
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.path),
src/tests/kits/net/service/UrlTest.cpp
234
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.request),
src/tests/kits/net/service/UrlTest.cpp
236
CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.fragment),
src/tests/kits/net/service/UrlTest.cpp
247
CPPUNIT_ASSERT_EQUAL(BString("lol"), test.Path());
src/tests/kits/net/service/UrlTest.cpp
248
CPPUNIT_ASSERT_EQUAL(BString("lol"), test.UrlString());
src/tests/kits/net/service/UrlTest.cpp
58
CPPUNIT_ASSERT_EQUAL(BString(kTestLength[testIndex]),
src/tests/kits/net/service/UrlTest.cpp
603
CPPUNIT_ASSERT_EQUAL(B_OK, success);
src/tests/kits/net/service/UrlTest.cpp
604
CPPUNIT_ASSERT_EQUAL(url.UrlString(), idn.UrlString());
src/tests/kits/shared/CalendarViewTest.cpp
44
CPPUNIT_ASSERT_EQUAL(2004, view->Year());
src/tests/kits/shared/CalendarViewTest.cpp
45
CPPUNIT_ASSERT_EQUAL(2, view->Month());
src/tests/kits/shared/CalendarViewTest.cpp
46
CPPUNIT_ASSERT_EQUAL(29, view->Day());
src/tests/kits/shared/CalendarViewTest.cpp
51
CPPUNIT_ASSERT_EQUAL(2008, view->Year());
src/tests/kits/shared/CalendarViewTest.cpp
52
CPPUNIT_ASSERT_EQUAL(2, view->Month());
src/tests/kits/shared/CalendarViewTest.cpp
53
CPPUNIT_ASSERT_EQUAL(29, view->Day());
src/tests/kits/shared/CalendarViewTest.cpp
58
CPPUNIT_ASSERT_EQUAL(2014, view->Year());
src/tests/kits/shared/CalendarViewTest.cpp
59
CPPUNIT_ASSERT_EQUAL(2, view->Month());
src/tests/kits/shared/CalendarViewTest.cpp
60
CPPUNIT_ASSERT_EQUAL(28, view->Day());
src/tests/kits/shared/CalendarViewTest.cpp
64
CPPUNIT_ASSERT_EQUAL(2014, view->Year());
src/tests/kits/shared/CalendarViewTest.cpp
65
CPPUNIT_ASSERT_EQUAL(8, view->Month());
src/tests/kits/shared/CalendarViewTest.cpp
66
CPPUNIT_ASSERT_EQUAL(31, view->Day());
src/tests/kits/shared/CalendarViewTest.cpp
71
CPPUNIT_ASSERT_EQUAL(2014, view->Year());
src/tests/kits/shared/CalendarViewTest.cpp
72
CPPUNIT_ASSERT_EQUAL(2, view->Month());
src/tests/kits/shared/CalendarViewTest.cpp
73
CPPUNIT_ASSERT_EQUAL(28, view->Day());
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
106
CPPUNIT_ASSERT_EQUAL(B_OK, settings.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
107
CPPUNIT_ASSERT_EQUAL(10, message.CountNames(B_BOOL_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
108
CPPUNIT_ASSERT_EQUAL(2, message.CountNames(B_INT32_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
109
CPPUNIT_ASSERT_EQUAL(2, message.CountNames(B_STRING_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
110
CPPUNIT_ASSERT_EQUAL(14, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
130
CPPUNIT_ASSERT_EQUAL(42, message.GetInt32("int32", 0));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
131
CPPUNIT_ASSERT_EQUAL(-42, message.GetInt32("negative_int32", 0));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
132
CPPUNIT_ASSERT_EQUAL(false, message.HasInt32("empty_int32"));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
135
CPPUNIT_ASSERT_EQUAL(BString("Hey"), BString(message.GetString("string")));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
136
CPPUNIT_ASSERT_EQUAL(BString("This is but a test"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
138
CPPUNIT_ASSERT_EQUAL(false, message.HasString("empty_string"));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
157
CPPUNIT_ASSERT_EQUAL(B_OK, settingsA.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
159
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("message", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
161
CPPUNIT_ASSERT_EQUAL(1, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
165
CPPUNIT_ASSERT_EQUAL(B_OK, settingsB.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
166
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("message", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
167
CPPUNIT_ASSERT_EQUAL(1, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
170
CPPUNIT_ASSERT_EQUAL(B_OK, settingsC.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
191
CPPUNIT_ASSERT_EQUAL(B_OK, settingsA.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
193
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("message", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
195
CPPUNIT_ASSERT_EQUAL(BString("first"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
199
CPPUNIT_ASSERT_EQUAL(B_OK, settingsB.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
200
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("message", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
201
CPPUNIT_ASSERT_EQUAL(false, subMessage.HasBool("bool"));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
202
CPPUNIT_ASSERT_EQUAL(BString("second"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
226
CPPUNIT_ASSERT_EQUAL(B_OK, settingsC.ToMessage(kTemplateC, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
227
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("message", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
228
CPPUNIT_ASSERT_EQUAL(false, subMessage.HasBool("bool"));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
229
CPPUNIT_ASSERT_EQUAL(BString("other"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
270
CPPUNIT_ASSERT_EQUAL(B_OK, settings.ToMessage(kTemplate, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
271
CPPUNIT_ASSERT_EQUAL(42, message.GetInt32("test", 0, 0));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
272
CPPUNIT_ASSERT_EQUAL(43, message.GetInt32("test", 1, 0));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
273
CPPUNIT_ASSERT_EQUAL(1, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
290
CPPUNIT_ASSERT_EQUAL(B_OK, settingsA.ToMessage(kTemplateA, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
291
CPPUNIT_ASSERT_EQUAL(42, message.GetInt32("test", 0, 0));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
292
CPPUNIT_ASSERT_EQUAL(43, message.GetInt32("test", 1, 0));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
293
CPPUNIT_ASSERT_EQUAL(3, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
294
CPPUNIT_ASSERT_EQUAL(BString("is"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
296
CPPUNIT_ASSERT_EQUAL(BString("a"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
309
CPPUNIT_ASSERT_EQUAL(B_OK, settingsB.ToMessage(kTemplateB, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
310
CPPUNIT_ASSERT_EQUAL(1, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
312
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("it", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
313
CPPUNIT_ASSERT_EQUAL(BString("just"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
315
CPPUNIT_ASSERT_EQUAL(BString("works"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
317
CPPUNIT_ASSERT_EQUAL(1, subMessage.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
322
CPPUNIT_ASSERT_EQUAL(B_OK, settingsC.ToMessage(kTemplateB, message));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
323
CPPUNIT_ASSERT_EQUAL(1, message.CountNames(B_ANY_TYPE));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
324
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("it", &subMessage));
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
325
CPPUNIT_ASSERT_EQUAL(BString("works"),
src/tests/kits/shared/DriverSettingsMessageAdapterTest.cpp
327
CPPUNIT_ASSERT_EQUAL(1, subMessage.CountNames(B_ANY_TYPE));
src/tests/kits/shared/JsonEndToEndTest.cpp
116
CPPUNIT_ASSERT_EQUAL(B_OK, listener->ErrorStatus());
src/tests/kits/shared/JsonEndToEndTest.cpp
226
CPPUNIT_ASSERT_EQUAL(B_BAD_DATA, listener->ErrorStatus());
src/tests/kits/shared/JsonEndToEndTest.cpp
80
CPPUNIT_ASSERT_EQUAL(B_OK, listener->Error());
src/tests/kits/shared/JsonEndToEndTest.cpp
81
CPPUNIT_ASSERT_EQUAL(inputData->Checksum(), listener->Checksum());
src/tests/kits/shared/JsonEndToEndTest.cpp
96
CPPUNIT_ASSERT_EQUAL(B_OK, listener->Error());
src/tests/kits/shared/JsonEndToEndTest.cpp
97
CPPUNIT_ASSERT_EQUAL(inputData->Checksum(), listener->Checksum());
src/tests/kits/shared/JsonErrorHandlingTest.cpp
262
CPPUNIT_ASSERT_EQUAL(expectedStatus, listener->ErrorStatus());
src/tests/kits/shared/JsonErrorHandlingTest.cpp
263
CPPUNIT_ASSERT_EQUAL(line, listener->GetErrorLine());
src/tests/kits/shared/JsonTextWriterTest.cpp
116
CPPUNIT_ASSERT_EQUAL(B_OK,
src/tests/kits/shared/JsonTextWriterTest.cpp
126
CPPUNIT_ASSERT_EQUAL(BString(expectedOut),
src/tests/kits/shared/JsonTextWriterTest.cpp
139
CPPUNIT_ASSERT_EQUAL(B_OK,
src/tests/kits/shared/JsonTextWriterTest.cpp
149
CPPUNIT_ASSERT_EQUAL(BString(expectedOut),
src/tests/kits/shared/JsonTextWriterTest.cpp
162
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteFalse());
src/tests/kits/shared/JsonTextWriterTest.cpp
171
CPPUNIT_ASSERT_EQUAL(BString(expectedOut),
src/tests/kits/shared/JsonTextWriterTest.cpp
184
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString(input));
src/tests/kits/shared/JsonTextWriterTest.cpp
193
CPPUNIT_ASSERT_EQUAL(BString(expectedOut),
src/tests/kits/shared/JsonTextWriterTest.cpp
41
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteArrayStart());
src/tests/kits/shared/JsonTextWriterTest.cpp
42
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("1234"));
src/tests/kits/shared/JsonTextWriterTest.cpp
43
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteInteger(4567));
src/tests/kits/shared/JsonTextWriterTest.cpp
44
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteArrayStart());
src/tests/kits/shared/JsonTextWriterTest.cpp
45
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("A"));
src/tests/kits/shared/JsonTextWriterTest.cpp
46
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("b"));
src/tests/kits/shared/JsonTextWriterTest.cpp
47
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("C\xc3\xa9zanne"));
src/tests/kits/shared/JsonTextWriterTest.cpp
48
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteArrayEnd());
src/tests/kits/shared/JsonTextWriterTest.cpp
49
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteArrayEnd());
src/tests/kits/shared/JsonTextWriterTest.cpp
58
CPPUNIT_ASSERT_EQUAL(BString(JSON_SAMPLE_ARRAY_A_EXPECTED_OUT),
src/tests/kits/shared/JsonTextWriterTest.cpp
70
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteObjectStart());
src/tests/kits/shared/JsonTextWriterTest.cpp
71
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteObjectName("weather"));
src/tests/kits/shared/JsonTextWriterTest.cpp
72
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("raining"));
src/tests/kits/shared/JsonTextWriterTest.cpp
73
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteObjectName("humidity"));
src/tests/kits/shared/JsonTextWriterTest.cpp
74
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("too-high"));
src/tests/kits/shared/JsonTextWriterTest.cpp
75
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteObjectName("daysOfWeek"));
src/tests/kits/shared/JsonTextWriterTest.cpp
76
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteArrayStart());
src/tests/kits/shared/JsonTextWriterTest.cpp
77
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("MON"));
src/tests/kits/shared/JsonTextWriterTest.cpp
78
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("TUE"));
src/tests/kits/shared/JsonTextWriterTest.cpp
79
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("WED"));
src/tests/kits/shared/JsonTextWriterTest.cpp
80
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("THR"));
src/tests/kits/shared/JsonTextWriterTest.cpp
81
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteString("FRI"));
src/tests/kits/shared/JsonTextWriterTest.cpp
82
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteArrayEnd());
src/tests/kits/shared/JsonTextWriterTest.cpp
83
CPPUNIT_ASSERT_EQUAL(B_OK, writer.WriteObjectEnd());
src/tests/kits/shared/JsonTextWriterTest.cpp
92
CPPUNIT_ASSERT_EQUAL(BString(JSON_SAMPLE_OBJECT_A_EXPECTED_OUT),
src/tests/kits/shared/JsonToMessageTest.cpp
111
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindString("weather", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
112
CPPUNIT_ASSERT_EQUAL(BString("raining"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
114
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindString("humidity", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
115
CPPUNIT_ASSERT_EQUAL(BString("too-high"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
117
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("daysOfWeek", &subMessage));
src/tests/kits/shared/JsonToMessageTest.cpp
119
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindString("0", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
120
CPPUNIT_ASSERT_EQUAL(BString("MON"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
122
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindString("1", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
123
CPPUNIT_ASSERT_EQUAL(BString("TUE"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
125
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindString("2", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
126
CPPUNIT_ASSERT_EQUAL(BString("WED"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
128
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindString("3", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
129
CPPUNIT_ASSERT_EQUAL(BString("THR"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
131
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindString("4", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
132
CPPUNIT_ASSERT_EQUAL(BString("FRI"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
161
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindBool("testTrue", &boolValue));
src/tests/kits/shared/JsonToMessageTest.cpp
162
CPPUNIT_ASSERT_EQUAL(true, boolValue);
src/tests/kits/shared/JsonToMessageTest.cpp
164
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindBool("testFalse", &boolValue));
src/tests/kits/shared/JsonToMessageTest.cpp
165
CPPUNIT_ASSERT_EQUAL(false, boolValue);
src/tests/kits/shared/JsonToMessageTest.cpp
167
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindPointer("testNull", &ptrValue));
src/tests/kits/shared/JsonToMessageTest.cpp
168
CPPUNIT_ASSERT_EQUAL(0, (addr_t)ptrValue);
src/tests/kits/shared/JsonToMessageTest.cpp
183
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindString("key", &stringValue));
src/tests/kits/shared/JsonToMessageTest.cpp
184
CPPUNIT_ASSERT_EQUAL(BString("value"), stringValue);
src/tests/kits/shared/JsonToMessageTest.cpp
198
CPPUNIT_ASSERT_EQUAL(B_BAD_DATA, result);
src/tests/kits/shared/JsonToMessageTest.cpp
212
CPPUNIT_ASSERT_EQUAL(B_BAD_DATA, result);
src/tests/kits/shared/JsonToMessageTest.cpp
231
CPPUNIT_ASSERT_EQUAL(B_OK, result);
src/tests/kits/shared/JsonToMessageTest.cpp
245
CPPUNIT_ASSERT_EQUAL(expectedModifyTimestampDouble, modifyTimestampDouble);
src/tests/kits/shared/KeymapTest.cpp
108
CPPUNIT_ASSERT_EQUAL(*mapChars, numBytes);
src/tests/kits/shared/LRUCacheTest.cpp
103
CPPUNIT_ASSERT_EQUAL(1, map.Size());
src/tests/kits/shared/LRUCacheTest.cpp
104
CPPUNIT_ASSERT_EQUAL(BString(""), resultOcean);
src/tests/kits/shared/LRUCacheTest.cpp
105
CPPUNIT_ASSERT_EQUAL(BString("Taupo"), resultLake);
src/tests/kits/shared/LRUCacheTest.cpp
106
CPPUNIT_ASSERT_EQUAL(BString("Tirau"), map.Get(HashString("Town")));
src/tests/kits/shared/LRUCacheTest.cpp
107
CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("Lake")));
src/tests/kits/shared/LRUCacheTest.cpp
108
CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("Ocean")));
src/tests/kits/shared/LRUCacheTest.cpp
50
CPPUNIT_ASSERT_EQUAL(5, map.Size());
src/tests/kits/shared/LRUCacheTest.cpp
52
CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("a")));
src/tests/kits/shared/LRUCacheTest.cpp
53
CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("u")));
src/tests/kits/shared/LRUCacheTest.cpp
55
CPPUNIT_ASSERT_EQUAL(BString("zz"), map.Get(HashString("z")));
src/tests/kits/shared/LRUCacheTest.cpp
56
CPPUNIT_ASSERT_EQUAL(BString("yy"), map.Get(HashString("y")));
src/tests/kits/shared/LRUCacheTest.cpp
57
CPPUNIT_ASSERT_EQUAL(BString("xx"), map.Get(HashString("x")));
src/tests/kits/shared/LRUCacheTest.cpp
58
CPPUNIT_ASSERT_EQUAL(BString("ww"), map.Get(HashString("w")));
src/tests/kits/shared/LRUCacheTest.cpp
59
CPPUNIT_ASSERT_EQUAL(BString("vv"), map.Get(HashString("v")));
src/tests/kits/shared/LRUCacheTest.cpp
81
CPPUNIT_ASSERT_EQUAL(3, map.Size());
src/tests/kits/shared/LRUCacheTest.cpp
82
CPPUNIT_ASSERT_EQUAL(BString(""), map.Get(HashString("Yellow")));
src/tests/kits/shared/LRUCacheTest.cpp
83
CPPUNIT_ASSERT_EQUAL(BString("Rot"), map.Get(HashString("Red")));
src/tests/kits/shared/LRUCacheTest.cpp
84
CPPUNIT_ASSERT_EQUAL(BString("Gruen"), map.Get(HashString("Green")));
src/tests/kits/shared/LRUCacheTest.cpp
85
CPPUNIT_ASSERT_EQUAL(BString("Lila"), map.Get(HashString("Purple")));
src/tests/kits/storage/DirectoryTest.cpp
148
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
194
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
237
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
263
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
310
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_ENTRY_NOT_FOUND);
src/tests/kits/storage/DirectoryTest.cpp
318
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
374
CPPUNIT_ASSERT_EQUAL(dir.SetTo(existingFile), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
375
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
384
CPPUNIT_ASSERT_EQUAL(dir.SetTo(fileDirname), B_ENTRY_NOT_FOUND);
src/tests/kits/storage/DirectoryTest.cpp
385
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_ENTRY_NOT_FOUND);
src/tests/kits/storage/DirectoryTest.cpp
418
CPPUNIT_ASSERT_EQUAL(dir.SetTo(&entry), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
419
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
458
CPPUNIT_ASSERT_EQUAL(dir.SetTo(&ref), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
459
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
481
CPPUNIT_ASSERT_EQUAL(dir.SetTo(&nref), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
482
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
528
CPPUNIT_ASSERT_EQUAL(dir.SetTo(&pathDir, ""), B_ENTRY_NOT_FOUND);
src/tests/kits/storage/DirectoryTest.cpp
529
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_ENTRY_NOT_FOUND);
src/tests/kits/storage/DirectoryTest.cpp
536
CPPUNIT_ASSERT_EQUAL(dir.SetTo(&pathDir, existingRelFile),
src/tests/kits/storage/DirectoryTest.cpp
538
CPPUNIT_ASSERT_EQUAL(dir.InitCheck(), B_NOT_A_DIRECTORY);
src/tests/kits/storage/DirectoryTest.cpp
616
CPPUNIT_ASSERT_EQUAL(dir.IsRootDirectory(), true);
src/tests/kits/storage/DirectoryTest.cpp
649
CPPUNIT_ASSERT_EQUAL(normalizedExistingPath.InitCheck(), B_OK);
src/tests/kits/storage/DirectoryTest.cpp
652
CPPUNIT_ASSERT_EQUAL(normalizedExistingSubPath.InitCheck(), B_OK);
src/tests/kits/storage/DirectoryTest.cpp
655
CPPUNIT_ASSERT_EQUAL(normalizedDirLinkPath.InitCheck(), B_OK);
src/tests/kits/storage/DirectoryTest.cpp
658
CPPUNIT_ASSERT_EQUAL(normalizedBadLinkPath.InitCheck(), B_OK);
src/tests/kits/storage/DirectoryTest.cpp
661
CPPUNIT_ASSERT_EQUAL(normalizedCyclicLink1.InitCheck(), B_OK);
src/tests/kits/storage/FileTest.cpp
567
CPPUNIT_ASSERT_EQUAL(file.SetSize(100), B_BAD_VALUE);
src/tests/kits/storage/FileTest.cpp
569
CPPUNIT_ASSERT_EQUAL(size, 0);
src/tests/kits/storage/FileTest.cpp
576
CPPUNIT_ASSERT_EQUAL(size, 0);
src/tests/kits/storage/NodeTest.cpp
743
CPPUNIT_ASSERT_EQUAL(
src/tests/kits/storage/NodeTest.cpp
747
CPPUNIT_ASSERT_EQUAL(
src/tests/kits/storage/NodeTest.cpp
751
CPPUNIT_ASSERT_EQUAL(node.RemoveAttr(tooLongAttrName), B_NAME_TOO_LONG);
src/tests/kits/storage/NodeTest.cpp
814
CPPUNIT_ASSERT_EQUAL(node.RenameAttr(attr1, attr2), B_NOT_SUPPORTED);
src/tests/kits/storage/SymLinkTest.cpp
561
CPPUNIT_ASSERT_EQUAL('/', smallBuffer[0]);
src/tests/kits/storage/SymLinkTest.cpp
562
CPPUNIT_ASSERT_EQUAL('\0', smallBuffer[1]);
src/tests/kits/storage/SymLinkTest.cpp
569
CPPUNIT_ASSERT_EQUAL('\0', buffer[17]);
src/tests/kits/storage/SymLinkTest.cpp
570
CPPUNIT_ASSERT_EQUAL(strcmp(buffer, "/tmp/existing-dir"), 0);
src/tests/kits/support/ArchivableTest.cpp
114
CPPUNIT_ASSERT_EQUAL(B_ERROR, archive.Perform(0, NULL));
src/tests/kits/support/ArchivableTest.cpp
120
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, archive.Archive(NULL, false));
src/tests/kits/support/ArchivableTest.cpp
127
CPPUNIT_ASSERT_EQUAL(B_OK, archive.Archive(&storage, false));
src/tests/kits/support/ArchivableTest.cpp
129
CPPUNIT_ASSERT_EQUAL(B_OK, storage.FindString("class", &name));
src/tests/kits/support/ArchivableTest.cpp
130
CPPUNIT_ASSERT_EQUAL(0, strcmp(name, "BArchivable"));
src/tests/kits/support/ArchivableTest.cpp
136
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, archive.Archive(NULL, true));
src/tests/kits/support/ArchivableTest.cpp
143
CPPUNIT_ASSERT_EQUAL(B_OK, archive.Archive(&storage, true));
src/tests/kits/support/ArchivableTest.cpp
145
CPPUNIT_ASSERT_EQUAL(B_OK, storage.FindString("class", &name));
src/tests/kits/support/ArchivableTest.cpp
146
CPPUNIT_ASSERT_EQUAL(0, strcmp(name, "BArchivable"));
src/tests/kits/support/ArchivableTest.cpp
370
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
371
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, errno);
src/tests/kits/support/ArchivableTest.cpp
381
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
382
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
393
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
394
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
406
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
407
CPPUNIT_ASSERT_EQUAL(B_LAUNCH_FAILED_APP_NOT_FOUND, errno);
src/tests/kits/support/ArchivableTest.cpp
421
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, errno);
src/tests/kits/support/ArchivableTest.cpp
432
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
433
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
446
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
447
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
460
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
461
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, errno);
src/tests/kits/support/ArchivableTest.cpp
473
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
474
CPPUNIT_ASSERT_EQUAL(B_LAUNCH_FAILED_APP_NOT_FOUND, errno);
src/tests/kits/support/ArchivableTest.cpp
488
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
489
CPPUNIT_ASSERT_EQUAL(B_LAUNCH_FAILED_APP_NOT_FOUND, errno);
src/tests/kits/support/ArchivableTest.cpp
503
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
504
CPPUNIT_ASSERT_EQUAL(B_LAUNCH_FAILED_APP_NOT_FOUND, errno);
src/tests/kits/support/ArchivableTest.cpp
516
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
517
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
531
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, id);
src/tests/kits/support/ArchivableTest.cpp
532
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
548
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ArchivableTest.cpp
619
CPPUNIT_ASSERT_EQUAL(false, validate_instantiation(NULL, NULL));
src/tests/kits/support/ArchivableTest.cpp
620
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, errno);
src/tests/kits/support/ArchivableTest.cpp
627
CPPUNIT_ASSERT_EQUAL(false, validate_instantiation(&archive, NULL));
src/tests/kits/support/ArchivableTest.cpp
628
CPPUNIT_ASSERT_EQUAL(B_MISMATCHED_VALUES, errno);
src/tests/kits/support/ArchivableTest.cpp
634
CPPUNIT_ASSERT_EQUAL(false, validate_instantiation(NULL, "FooBar"));
src/tests/kits/support/ArchivableTest.cpp
635
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, errno);
src/tests/kits/support/ArchivableTest.cpp
642
CPPUNIT_ASSERT_EQUAL(false, validate_instantiation(&archive, "FooBar"));
src/tests/kits/support/ArchivableTest.cpp
643
CPPUNIT_ASSERT_EQUAL(B_MISMATCHED_VALUES, errno);
src/tests/kits/support/ArchivableTest.cpp
651
CPPUNIT_ASSERT_EQUAL(false, validate_instantiation(&archive, "BarFoo"));
src/tests/kits/support/ArchivableTest.cpp
652
CPPUNIT_ASSERT_EQUAL(B_MISMATCHED_VALUES, errno);
src/tests/kits/support/ArchivableTest.cpp
660
CPPUNIT_ASSERT_EQUAL(true, validate_instantiation(&archive, "FooBar"));
src/tests/kits/support/ArchivableTest.cpp
661
CPPUNIT_ASSERT_EQUAL(B_OK, errno);
src/tests/kits/support/ByteOrderTest.cpp
100
CPPUNIT_ASSERT_EQUAL(expected, __swap_int32(input));
src/tests/kits/support/ByteOrderTest.cpp
107
CPPUNIT_ASSERT_EQUAL(expected, __swap_int32(input));
src/tests/kits/support/ByteOrderTest.cpp
113
CPPUNIT_ASSERT_EQUAL(input, __swap_int64(input));
src/tests/kits/support/ByteOrderTest.cpp
120
CPPUNIT_ASSERT_EQUAL(expected, __swap_int64(input));
src/tests/kits/support/ByteOrderTest.cpp
127
CPPUNIT_ASSERT_EQUAL(expected, __swap_int64(input));
src/tests/kits/support/ByteOrderTest.cpp
134
CPPUNIT_ASSERT_EQUAL(expected, __swap_int64(input));
src/tests/kits/support/ByteOrderTest.cpp
149
CPPUNIT_ASSERT_EQUAL(kNumber, __swap_float(__swap_float(kNumber)));
src/tests/kits/support/ByteOrderTest.cpp
150
CPPUNIT_ASSERT_EQUAL(expectedNaN, dataNaN); // NaN == NaN as floats returns false
src/tests/kits/support/ByteOrderTest.cpp
151
CPPUNIT_ASSERT_EQUAL(kInfinity, __swap_float(__swap_float(kInfinity)));
src/tests/kits/support/ByteOrderTest.cpp
166
CPPUNIT_ASSERT_EQUAL(kNumber, __swap_double(__swap_double(kNumber)));
src/tests/kits/support/ByteOrderTest.cpp
167
CPPUNIT_ASSERT_EQUAL(expectedNaN, dataNaN); // NaN == NaN as floats returns false
src/tests/kits/support/ByteOrderTest.cpp
168
CPPUNIT_ASSERT_EQUAL(kInfinity, __swap_double(__swap_double(kInfinity)));
src/tests/kits/support/ByteOrderTest.cpp
174
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, swap_data(B_STRING_TYPE, str, 4, B_SWAP_ALWAYS));
src/tests/kits/support/ByteOrderTest.cpp
180
CPPUNIT_ASSERT_EQUAL(B_OK, swap_data(B_INT32_TYPE, &num32, 0, B_SWAP_ALWAYS));
src/tests/kits/support/ByteOrderTest.cpp
185
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, swap_data(B_INT32_TYPE, NULL, 4, B_SWAP_ALWAYS));
src/tests/kits/support/ByteOrderTest.cpp
191
CPPUNIT_ASSERT_EQUAL(B_OK, swap_data(B_INT32_TYPE, NULL, 4, B_SWAP_HOST_TO_LENDIAN));
src/tests/kits/support/ByteOrderTest.cpp
193
CPPUNIT_ASSERT_EQUAL(B_OK, swap_data(B_INT32_TYPE, NULL, 4, B_SWAP_HOST_TO_BENDIAN));
src/tests/kits/support/ByteOrderTest.cpp
204
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
206
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
211
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
214
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
216
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
221
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
227
CPPUNIT_ASSERT_EQUAL(0, memcmp(target, source, sizeof(source))); \
src/tests/kits/support/ByteOrderTest.cpp
255
#define IS_SWAPPED(x) CPPUNIT_ASSERT_EQUAL(true, is_type_swapped(x))
src/tests/kits/support/ByteOrderTest.cpp
256
#define NOT_SWAPPED(x) CPPUNIT_ASSERT_EQUAL(false, is_type_swapped(x))
src/tests/kits/support/ByteOrderTest.cpp
59
CPPUNIT_ASSERT_EQUAL(input, __swap_int16(input));
src/tests/kits/support/ByteOrderTest.cpp
66
CPPUNIT_ASSERT_EQUAL(expected, __swap_int16(input));
src/tests/kits/support/ByteOrderTest.cpp
73
CPPUNIT_ASSERT_EQUAL(expected, __swap_int16(input));
src/tests/kits/support/ByteOrderTest.cpp
80
CPPUNIT_ASSERT_EQUAL(expected, __swap_int16(input));
src/tests/kits/support/ByteOrderTest.cpp
86
CPPUNIT_ASSERT_EQUAL(input, __swap_int32(input));
src/tests/kits/support/ByteOrderTest.cpp
93
CPPUNIT_ASSERT_EQUAL(expected, __swap_int32(input));
src/tests/kits/support/DateTimeTest.cpp
28
CPPUNIT_ASSERT_EQUAL(59, dateTime.Time().Second());
src/tests/kits/support/DateTimeTest.cpp
29
CPPUNIT_ASSERT_EQUAL(59, dateTime.Time().Minute());
src/tests/kits/support/DateTimeTest.cpp
30
CPPUNIT_ASSERT_EQUAL(23, dateTime.Time().Hour());
src/tests/kits/support/DateTimeTest.cpp
31
CPPUNIT_ASSERT_EQUAL(31, dateTime.Date().Day());
src/tests/kits/support/DateTimeTest.cpp
32
CPPUNIT_ASSERT_EQUAL(12, dateTime.Date().Month());
src/tests/kits/support/DateTimeTest.cpp
33
CPPUNIT_ASSERT_EQUAL(1969, dateTime.Date().Year());
src/tests/kits/support/MallocIOTest.cpp
102
CPPUNIT_ASSERT_EQUAL((off_t)-5, err);
src/tests/kits/support/MallocIOTest.cpp
108
CPPUNIT_ASSERT_EQUAL((off_t)5, err);
src/tests/kits/support/MallocIOTest.cpp
114
CPPUNIT_ASSERT_EQUAL((off_t)-20, err);
src/tests/kits/support/MallocIOTest.cpp
121
CPPUNIT_ASSERT_EQUAL((ssize_t)7, err);
src/tests/kits/support/MallocIOTest.cpp
128
CPPUNIT_ASSERT_EQUAL((ssize_t)4, err);
src/tests/kits/support/MallocIOTest.cpp
135
CPPUNIT_ASSERT_EQUAL((ssize_t)256, err);
src/tests/kits/support/MallocIOTest.cpp
40
CPPUNIT_ASSERT_EQUAL((size_t)0, bufLen);
src/tests/kits/support/MallocIOTest.cpp
48
CPPUNIT_ASSERT_EQUAL((size_t)10, bufLen);
src/tests/kits/support/MallocIOTest.cpp
49
CPPUNIT_ASSERT_EQUAL((ssize_t)10, size);
src/tests/kits/support/MallocIOTest.cpp
56
CPPUNIT_ASSERT_EQUAL((size_t)0, bufLen);
src/tests/kits/support/MallocIOTest.cpp
57
CPPUNIT_ASSERT_EQUAL(B_OK, error);
src/tests/kits/support/MallocIOTest.cpp
65
CPPUNIT_ASSERT_EQUAL((size_t)200, bufLen);
src/tests/kits/support/MallocIOTest.cpp
66
CPPUNIT_ASSERT_EQUAL(B_OK, error);
src/tests/kits/support/MallocIOTest.cpp
67
CPPUNIT_ASSERT_EQUAL((off_t)200, offset);
src/tests/kits/support/MallocIOTest.cpp
76
CPPUNIT_ASSERT_EQUAL((size_t)100, bufLen);
src/tests/kits/support/MallocIOTest.cpp
77
CPPUNIT_ASSERT_EQUAL(offset, fMem.Position());
src/tests/kits/support/MallocIOTest.cpp
78
CPPUNIT_ASSERT_EQUAL(B_OK, error);
src/tests/kits/support/MallocIOTest.cpp
84
CPPUNIT_ASSERT_EQUAL((off_t)3, err);
src/tests/kits/support/MallocIOTest.cpp
90
CPPUNIT_ASSERT_EQUAL((off_t)3, err);
src/tests/kits/support/MallocIOTest.cpp
96
CPPUNIT_ASSERT_EQUAL((off_t)0, err);
src/tests/kits/support/MemoryIOTest.cpp
104
CPPUNIT_ASSERT_EQUAL((ssize_t)0, err);
src/tests/kits/support/MemoryIOTest.cpp
105
CPPUNIT_ASSERT_EQUAL(pos, fMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
112
CPPUNIT_ASSERT_EQUAL((ssize_t)0, err);
src/tests/kits/support/MemoryIOTest.cpp
113
CPPUNIT_ASSERT_EQUAL(pos, fMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
119
CPPUNIT_ASSERT_EQUAL((off_t)3, err);
src/tests/kits/support/MemoryIOTest.cpp
125
CPPUNIT_ASSERT_EQUAL((off_t)3, err);
src/tests/kits/support/MemoryIOTest.cpp
131
CPPUNIT_ASSERT_EQUAL((off_t)fBufferSize, err);
src/tests/kits/support/MemoryIOTest.cpp
137
CPPUNIT_ASSERT_EQUAL((off_t)fBufferSize - 5, err);
src/tests/kits/support/MemoryIOTest.cpp
143
CPPUNIT_ASSERT_EQUAL((off_t)fBufferSize + 5, err);
src/tests/kits/support/MemoryIOTest.cpp
150
CPPUNIT_ASSERT_EQUAL(B_OK, err);
src/tests/kits/support/MemoryIOTest.cpp
151
CPPUNIT_ASSERT_EQUAL((off_t)5, mem.Seek(0, SEEK_END));
src/tests/kits/support/MemoryIOTest.cpp
154
CPPUNIT_ASSERT_EQUAL((ssize_t)0, size);
src/tests/kits/support/MemoryIOTest.cpp
161
CPPUNIT_ASSERT_EQUAL(B_OK, err);
src/tests/kits/support/MemoryIOTest.cpp
162
CPPUNIT_ASSERT_EQUAL((off_t)10, mem.Seek(0, SEEK_END));
src/tests/kits/support/MemoryIOTest.cpp
165
CPPUNIT_ASSERT_EQUAL((ssize_t)5, size);
src/tests/kits/support/MemoryIOTest.cpp
172
CPPUNIT_ASSERT_EQUAL(B_ERROR, err);
src/tests/kits/support/MemoryIOTest.cpp
180
CPPUNIT_ASSERT_EQUAL((ssize_t)7, err);
src/tests/kits/support/MemoryIOTest.cpp
182
CPPUNIT_ASSERT_EQUAL(pos + err, fMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
190
CPPUNIT_ASSERT_EQUAL((ssize_t)2, err);
src/tests/kits/support/MemoryIOTest.cpp
192
CPPUNIT_ASSERT_EQUAL(pos, fMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
200
CPPUNIT_ASSERT_EQUAL((ssize_t)1, err);
src/tests/kits/support/MemoryIOTest.cpp
202
CPPUNIT_ASSERT_EQUAL(pos, fMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
210
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, err);
src/tests/kits/support/MemoryIOTest.cpp
211
CPPUNIT_ASSERT_EQUAL(pos, fMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
67
CPPUNIT_ASSERT_EQUAL(B_NOT_ALLOWED, err);
src/tests/kits/support/MemoryIOTest.cpp
75
CPPUNIT_ASSERT_EQUAL(B_NOT_ALLOWED, err);
src/tests/kits/support/MemoryIOTest.cpp
76
CPPUNIT_ASSERT_EQUAL(pos, fReadOnlyMem->Position());
src/tests/kits/support/MemoryIOTest.cpp
82
CPPUNIT_ASSERT_EQUAL(B_NOT_ALLOWED, err);
src/tests/kits/support/MemoryIOTest.cpp
88
CPPUNIT_ASSERT_EQUAL(B_NOT_ALLOWED, err);
src/tests/kits/support/MemoryIOTest.cpp
95
CPPUNIT_ASSERT_EQUAL((ssize_t)10, err);
src/tests/kits/support/MemoryIOTest.cpp
97
CPPUNIT_ASSERT_EQUAL(pos + err, fMem->Position());
src/tests/kits/support/PointerListTest.cpp
239
CPPUNIT_ASSERT_EQUAL(10, newInstances);
src/tests/kits/support/PointerListTest.cpp
244
CPPUNIT_ASSERT_EQUAL(10, deletedInstances);
src/tests/kits/support/PointerListTest.cpp
257
CPPUNIT_ASSERT_EQUAL(10, Item::GetNumberOfInstances() - numberOfInstances);
src/tests/kits/support/PointerListTest.cpp
260
CPPUNIT_ASSERT_EQUAL(10, Item::GetNumberOfInstances() - numberOfInstances);
src/tests/kits/support/PointerListTest.cpp
263
CPPUNIT_ASSERT_EQUAL(0, Item::GetNumberOfInstances() - numberOfInstances);
src/tests/kits/support/PointerListTest.cpp
266
CPPUNIT_ASSERT_EQUAL(0, Item::GetNumberOfInstances() - numberOfInstances);
src/tests/kits/support/PointerListTest.cpp
298
CPPUNIT_ASSERT_EQUAL(item, (Item*)clone.ItemAt(lastItem));
src/tests/kits/support/PointerListTest.cpp
344
CPPUNIT_ASSERT_EQUAL((int32)10, list.CountItems());
src/tests/kits/support/PointerListTest.cpp
348
CPPUNIT_ASSERT_EQUAL(list.CountItems(), clone.CountItems());
src/tests/kits/support/PointerListTest.cpp
428
CPPUNIT_ASSERT_EQUAL(index, searchIndex);
src/tests/kits/support/PointerListTest.cpp
431
CPPUNIT_ASSERT_EQUAL(index, searchIndex);
src/tests/kits/support/PointerListTest.cpp
434
CPPUNIT_ASSERT_EQUAL(index, searchIndex);
src/tests/kits/support/PointerListTest.cpp
438
CPPUNIT_ASSERT_EQUAL(-1, searchIndex);
src/tests/kits/support/PointerListTest.cpp
442
CPPUNIT_ASSERT_EQUAL(-(list.CountItems() + 1), searchIndex);
src/tests/kits/support/PointerListTest.cpp
450
CPPUNIT_ASSERT_EQUAL(-1, IndexOf(list, 3));
src/tests/kits/support/PointerListTest.cpp
453
CPPUNIT_ASSERT_EQUAL(-3, index);
src/tests/kits/support/StopWatchTest.cpp
112
CPPUNIT_ASSERT_EQUAL((bigtime_t)0, lapTime);
src/tests/kits/support/StopWatchTest.cpp
74
CPPUNIT_ASSERT_EQUAL(t1, t2);
src/tests/kits/support/StringAccessTest.cpp
100
CPPUNIT_ASSERT_EQUAL(0, strcmp(ptrstr, "a string"));
src/tests/kits/support/StringAccessTest.cpp
103
CPPUNIT_ASSERT_EQUAL(0, strcmp(ptrstr, "a string to be locked"));
src/tests/kits/support/StringAccessTest.cpp
110
CPPUNIT_ASSERT_EQUAL(0, strcmp(ptr, "some text"));
src/tests/kits/support/StringAccessTest.cpp
112
CPPUNIT_ASSERT_EQUAL(0, strcmp(locked2.String(), "some"));
src/tests/kits/support/StringAccessTest.cpp
113
CPPUNIT_ASSERT_EQUAL(4, locked2.Length());
src/tests/kits/support/StringAccessTest.cpp
120
CPPUNIT_ASSERT_EQUAL(0, strcmp(ptr, ""));
src/tests/kits/support/StringAccessTest.cpp
123
CPPUNIT_ASSERT_EQUAL(0, strcmp(emptylocked.String(), "pippo"));
src/tests/kits/support/StringAccessTest.cpp
132
CPPUNIT_ASSERT_EQUAL(0, strcmp(crashesR5.String(), ""));
src/tests/kits/support/StringAccessTest.cpp
37
CPPUNIT_ASSERT_EQUAL('A', string[0]);
src/tests/kits/support/StringAccessTest.cpp
38
CPPUNIT_ASSERT_EQUAL(' ', string[1]);
src/tests/kits/support/StringAccessTest.cpp
45
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "a simple string"));
src/tests/kits/support/StringAccessTest.cpp
51
CPPUNIT_ASSERT_EQUAL(0, string.ByteAt(-10));
src/tests/kits/support/StringAccessTest.cpp
52
CPPUNIT_ASSERT_EQUAL(0, string.ByteAt(200));
src/tests/kits/support/StringAccessTest.cpp
53
CPPUNIT_ASSERT_EQUAL(' ', string.ByteAt(1));
src/tests/kits/support/StringAccessTest.cpp
54
CPPUNIT_ASSERT_EQUAL('e', string.ByteAt(7));
src/tests/kits/support/StringAccessTest.cpp
60
CPPUNIT_ASSERT_EQUAL(10, string.CountChars());
src/tests/kits/support/StringAccessTest.cpp
61
CPPUNIT_ASSERT_EQUAL(strlen(string.String()), (unsigned)string.Length());
src/tests/kits/support/StringAccessTest.cpp
67
CPPUNIT_ASSERT_EQUAL(4, string2.CountChars());
src/tests/kits/support/StringAccessTest.cpp
68
CPPUNIT_ASSERT_EQUAL(strlen(string2.String()), (unsigned)string2.Length());
src/tests/kits/support/StringAccessTest.cpp
77
CPPUNIT_ASSERT_EQUAL(2, string3.CountChars());
src/tests/kits/support/StringAccessTest.cpp
78
CPPUNIT_ASSERT_EQUAL(strlen(string3.String()), (unsigned)string3.Length());
src/tests/kits/support/StringAccessTest.cpp
84
CPPUNIT_ASSERT_EQUAL(0, strcmp(empty.String(), ""));
src/tests/kits/support/StringAccessTest.cpp
85
CPPUNIT_ASSERT_EQUAL(0, empty.Length());
src/tests/kits/support/StringAccessTest.cpp
86
CPPUNIT_ASSERT_EQUAL(0, empty.CountChars());
src/tests/kits/support/StringAccessTest.cpp
93
CPPUNIT_ASSERT_EQUAL(31, invalid.CountChars());
src/tests/kits/support/StringAppendTest.cpp
100
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "Base"));
src/tests/kits/support/StringAppendTest.cpp
108
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BASEAP"));
src/tests/kits/support/StringAppendTest.cpp
115
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BaseAPPENDED"));
src/tests/kits/support/StringAppendTest.cpp
116
CPPUNIT_ASSERT_EQUAL(strlen("BaseAPPENDED"), (unsigned)str1.Length());
src/tests/kits/support/StringAppendTest.cpp
124
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BLABLA"));
src/tests/kits/support/StringAppendTest.cpp
131
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BaseCCCCC"));
src/tests/kits/support/StringAppendTest.cpp
148
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "Base"));
src/tests/kits/support/StringAppendTest.cpp
156
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "Basesome more text"));
src/tests/kits/support/StringAppendTest.cpp
41
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BASEAPPENDED"));
src/tests/kits/support/StringAppendTest.cpp
48
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BaseAPPENDED"));
src/tests/kits/support/StringAppendTest.cpp
55
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "APPENDEDTONOTHING"));
src/tests/kits/support/StringAppendTest.cpp
63
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "Base"));
src/tests/kits/support/StringAppendTest.cpp
70
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BaseC"));
src/tests/kits/support/StringAppendTest.cpp
78
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BASEAPPENDED"));
src/tests/kits/support/StringAppendTest.cpp
85
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "BaseAPPENDED"));
src/tests/kits/support/StringAppendTest.cpp
92
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "APPENDEDTONOTHING"));
src/tests/kits/support/StringAssignTest.cpp
106
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), ""));
src/tests/kits/support/StringAssignTest.cpp
113
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "ABC"));
src/tests/kits/support/StringAssignTest.cpp
121
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "Something"));
src/tests/kits/support/StringAssignTest.cpp
122
CPPUNIT_ASSERT_EQUAL(0, strcmp(string2.String(), ""));
src/tests/kits/support/StringAssignTest.cpp
130
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "So"));
src/tests/kits/support/StringAssignTest.cpp
131
CPPUNIT_ASSERT_EQUAL(2, str.Length());
src/tests/kits/support/StringAssignTest.cpp
132
CPPUNIT_ASSERT_EQUAL(0, strcmp(newstring.String(), ""));
src/tests/kits/support/StringAssignTest.cpp
149
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "dummy"));
src/tests/kits/support/StringAssignTest.cpp
157
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "some more text"));
src/tests/kits/support/StringAssignTest.cpp
42
CPPUNIT_ASSERT_EQUAL(string2, string);
src/tests/kits/support/StringAssignTest.cpp
43
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "Something"));
src/tests/kits/support/StringAssignTest.cpp
50
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "Something Else"));
src/tests/kits/support/StringAssignTest.cpp
59
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "Something movable"));
src/tests/kits/support/StringAssignTest.cpp
60
CPPUNIT_ASSERT_EQUAL(0, strcmp(movableString.String(), ""));
src/tests/kits/support/StringAssignTest.cpp
69
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), ""));
src/tests/kits/support/StringAssignTest.cpp
77
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), ""));
src/tests/kits/support/StringAssignTest.cpp
84
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "BLA"));
src/tests/kits/support/StringAssignTest.cpp
92
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), string.String()));
src/tests/kits/support/StringAssignTest.cpp
99
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "CCCCCCCCCC"));
src/tests/kits/support/StringCaseTest.cpp
32
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "This is a sentence"));
src/tests/kits/support/StringCaseTest.cpp
39
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "134this is a sentence"));
src/tests/kits/support/StringCaseTest.cpp
46
CPPUNIT_ASSERT_EQUAL(BString(""), string);
src/tests/kits/support/StringCaseTest.cpp
53
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "1a2b3c4d5e6f7g"));
src/tests/kits/support/StringCaseTest.cpp
60
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), ""));
src/tests/kits/support/StringCaseTest.cpp
67
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "1A2B3C4D5E6F7G"));
src/tests/kits/support/StringCaseTest.cpp
74
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), ""));
src/tests/kits/support/StringCaseTest.cpp
81
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "Each Word 3Will_Be >Capitalized"));
src/tests/kits/support/StringCaseTest.cpp
88
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), ""));
src/tests/kits/support/StringConstructionTest.cpp
31
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), ""));
src/tests/kits/support/StringConstructionTest.cpp
32
CPPUNIT_ASSERT_EQUAL(0, string.Length());
src/tests/kits/support/StringConstructionTest.cpp
39
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), str));
src/tests/kits/support/StringConstructionTest.cpp
40
CPPUNIT_ASSERT_EQUAL((unsigned)strlen(str), string.Length());
src/tests/kits/support/StringConstructionTest.cpp
46
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), ""));
src/tests/kits/support/StringConstructionTest.cpp
47
CPPUNIT_ASSERT_EQUAL(0, string.Length());
src/tests/kits/support/StringConstructionTest.cpp
54
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), anotherString.String()));
src/tests/kits/support/StringConstructionTest.cpp
55
CPPUNIT_ASSERT_EQUAL(anotherString.Length(), string.Length());
src/tests/kits/support/StringConstructionTest.cpp
63
CPPUNIT_ASSERT_EQUAL(0, strncmp(string.String(), str, 5));
src/tests/kits/support/StringConstructionTest.cpp
64
CPPUNIT_ASSERT_EQUAL(5, string.Length());
src/tests/kits/support/StringConstructionTest.cpp
73
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), str));
src/tests/kits/support/StringConstructionTest.cpp
74
CPPUNIT_ASSERT_EQUAL((unsigned)strlen(str), string.Length());
src/tests/kits/support/StringConstructionTest.cpp
75
CPPUNIT_ASSERT_EQUAL(0, strcmp(movableString.String(), ""));
src/tests/kits/support/StringConstructionTest.cpp
76
CPPUNIT_ASSERT_EQUAL(0, movableString.Length());
src/tests/kits/support/StringConstructionTest.cpp
84
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), str));
src/tests/kits/support/StringConstructionTest.cpp
85
CPPUNIT_ASSERT_EQUAL((unsigned)strlen(str), string.Length());
src/tests/kits/support/StringEscapeTest.cpp
101
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "newstring"));
src/tests/kits/support/StringEscapeTest.cpp
108
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "/a/nh/g/bhhgy/fgtuhjkb/"));
src/tests/kits/support/StringEscapeTest.cpp
116
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringEscapeTest.cpp
123
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringEscapeTest.cpp
38
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "/ab/cde/fghi"));
src/tests/kits/support/StringEscapeTest.cpp
45
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringEscapeTest.cpp
52
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "abcdefghi"));
src/tests/kits/support/StringEscapeTest.cpp
59
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "n0ew0str0ing"));
src/tests/kits/support/StringEscapeTest.cpp
66
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "n0ew0str0ing"));
src/tests/kits/support/StringEscapeTest.cpp
73
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "anhgbhhgyfgtuhjkb"));
src/tests/kits/support/StringEscapeTest.cpp
80
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringEscapeTest.cpp
87
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "/a/nh/g/bhhgy/fgtuhjkb/"));
src/tests/kits/support/StringEscapeTest.cpp
94
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "newstring"));
src/tests/kits/support/StringFormatAppendTest.cpp
101
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "1145267987"));
src/tests/kits/support/StringFormatAppendTest.cpp
108
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "112456"));
src/tests/kits/support/StringFormatAppendTest.cpp
115
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "-112475"));
src/tests/kits/support/StringFormatAppendTest.cpp
122
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "34.54"));
src/tests/kits/support/StringFormatAppendTest.cpp
129
CPPUNIT_ASSERT_EQUAL(0, strcmp(s.String(), "This is a test sentence"));
src/tests/kits/support/StringFormatAppendTest.cpp
37
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "some text"));
src/tests/kits/support/StringFormatAppendTest.cpp
45
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "some text"));
src/tests/kits/support/StringFormatAppendTest.cpp
52
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "string"));
src/tests/kits/support/StringFormatAppendTest.cpp
59
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "level 42"));
src/tests/kits/support/StringFormatAppendTest.cpp
66
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "error -1"));
src/tests/kits/support/StringFormatAppendTest.cpp
73
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "number 296"));
src/tests/kits/support/StringFormatAppendTest.cpp
80
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "102456"));
src/tests/kits/support/StringFormatAppendTest.cpp
87
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "112456"));
src/tests/kits/support/StringFormatAppendTest.cpp
94
CPPUNIT_ASSERT_EQUAL(0, strcmp(string.String(), "-112475"));
src/tests/kits/support/StringInsertTest.cpp
105
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "PPPstring"));
src/tests/kits/support/StringInsertTest.cpp
113
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "INSERTEDstring"));
src/tests/kits/support/StringInsertTest.cpp
120
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "string"));
src/tests/kits/support/StringInsertTest.cpp
128
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "NSERTED"));
src/tests/kits/support/StringInsertTest.cpp
136
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "stINring"));
src/tests/kits/support/StringInsertTest.cpp
144
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "stRTEDring"));
src/tests/kits/support/StringInsertTest.cpp
40
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "StrINSERTEDing"));
src/tests/kits/support/StringInsertTest.cpp
47
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "NSERTED"));
src/tests/kits/support/StringInsertTest.cpp
54
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "stINring"));
src/tests/kits/support/StringInsertTest.cpp
62
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "String"));
src/tests/kits/support/StringInsertTest.cpp
69
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), ""));
src/tests/kits/support/StringInsertTest.cpp
76
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "string"));
src/tests/kits/support/StringInsertTest.cpp
84
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "stINSERTEDring"));
src/tests/kits/support/StringInsertTest.cpp
91
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "stRTEDring"));
src/tests/kits/support/StringInsertTest.cpp
98
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "strPPPPPing"));
src/tests/kits/support/StringPrependTest.cpp
32
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "PREPENDEDa String"));
src/tests/kits/support/StringPrependTest.cpp
39
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "PREPENDString"));
src/tests/kits/support/StringPrependTest.cpp
46
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "String"));
src/tests/kits/support/StringPrependTest.cpp
53
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "PREString"));
src/tests/kits/support/StringPrependTest.cpp
61
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "PREPString"));
src/tests/kits/support/StringPrependTest.cpp
68
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "ccccaString"));
src/tests/kits/support/StringPrependTest.cpp
75
CPPUNIT_ASSERT_EQUAL(0, strcmp(str1.String(), "PREPENDED"));
src/tests/kits/support/StringRemoveTest.cpp
103
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringRemoveTest.cpp
110
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "a String"));
src/tests/kits/support/StringRemoveTest.cpp
117
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "a St"));
src/tests/kits/support/StringRemoveTest.cpp
124
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "ing"));
src/tests/kits/support/StringRemoveTest.cpp
132
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), " second first"));
src/tests/kits/support/StringRemoveTest.cpp
140
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
148
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second "));
src/tests/kits/support/StringRemoveTest.cpp
156
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
164
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), " second "));
src/tests/kits/support/StringRemoveTest.cpp
172
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
179
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), " second first"));
src/tests/kits/support/StringRemoveTest.cpp
186
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
193
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
200
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second "));
src/tests/kits/support/StringRemoveTest.cpp
207
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
214
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), " second "));
src/tests/kits/support/StringRemoveTest.cpp
221
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "first second first"));
src/tests/kits/support/StringRemoveTest.cpp
228
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "asentencewithnumbersinit"));
src/tests/kits/support/StringRemoveTest.cpp
235
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "a string"));
src/tests/kits/support/StringRemoveTest.cpp
243
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "in"));
src/tests/kits/support/StringRemoveTest.cpp
244
CPPUNIT_ASSERT_EQUAL(0, strcmp(string2.String(), "strg"));
src/tests/kits/support/StringRemoveTest.cpp
252
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "string"));
src/tests/kits/support/StringRemoveTest.cpp
253
CPPUNIT_ASSERT_EQUAL(0, strcmp(string2.String(), ""));
src/tests/kits/support/StringRemoveTest.cpp
262
CPPUNIT_ASSERT_EQUAL(0, strcmp(dest, "e "));
src/tests/kits/support/StringRemoveTest.cpp
263
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "somtext"));
src/tests/kits/support/StringRemoveTest.cpp
272
CPPUNIT_ASSERT_EQUAL(0, strcmp(dest, "some text"));
src/tests/kits/support/StringRemoveTest.cpp
273
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringRemoveTest.cpp
54
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "This is a long"));
src/tests/kits/support/StringRemoveTest.cpp
55
CPPUNIT_ASSERT_EQUAL(14, string1.Length());
src/tests/kits/support/StringRemoveTest.cpp
62
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "This is a long"));
src/tests/kits/support/StringRemoveTest.cpp
63
CPPUNIT_ASSERT_EQUAL(14, string1.Length());
src/tests/kits/support/StringRemoveTest.cpp
72
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringRemoveTest.cpp
73
CPPUNIT_ASSERT_EQUAL(0, string1.Length());
src/tests/kits/support/StringRemoveTest.cpp
80
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "This is a long string"));
src/tests/kits/support/StringRemoveTest.cpp
81
CPPUNIT_ASSERT_EQUAL(21, string1.Length());
src/tests/kits/support/StringRemoveTest.cpp
88
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), ""));
src/tests/kits/support/StringRemoveTest.cpp
89
CPPUNIT_ASSERT_EQUAL(0, string1.Length());
src/tests/kits/support/StringRemoveTest.cpp
96
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "a ring"));
src/tests/kits/support/StringReplaceTest.cpp
103
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
110
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "iesi siring"));
src/tests/kits/support/StringReplaceTest.cpp
117
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
124
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
131
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "tesi siring"));
src/tests/kits/support/StringReplaceTest.cpp
138
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she tellt tea thells on the sea shore"));
src/tests/kits/support/StringReplaceTest.cpp
145
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the sea shore"));
src/tests/kits/support/StringReplaceTest.cpp
152
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), ""));
src/tests/kits/support/StringReplaceTest.cpp
159
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells the shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
166
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
173
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "Error moving \"\""));
src/tests/kits/support/StringReplaceTest.cpp
180
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the theshore"));
src/tests/kits/support/StringReplaceTest.cpp
187
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
194
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the shore"));
src/tests/kits/support/StringReplaceTest.cpp
201
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "abcc abcc abcc"));
src/tests/kits/support/StringReplaceTest.cpp
208
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "abc abc abc"));
src/tests/kits/support/StringReplaceTest.cpp
215
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), " "));
src/tests/kits/support/StringReplaceTest.cpp
222
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
229
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the theshore"));
src/tests/kits/support/StringReplaceTest.cpp
236
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
243
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "best string"));
src/tests/kits/support/StringReplaceTest.cpp
250
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
257
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test swring"));
src/tests/kits/support/StringReplaceTest.cpp
264
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
271
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "iESi siring"));
src/tests/kits/support/StringReplaceTest.cpp
278
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "TEST sTring"));
src/tests/kits/support/StringReplaceTest.cpp
285
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
292
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "TESi siring"));
src/tests/kits/support/StringReplaceTest.cpp
299
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "She tellt tea thells on the sea shore"));
src/tests/kits/support/StringReplaceTest.cpp
306
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "She sells sea shells on the sea shore"));
src/tests/kits/support/StringReplaceTest.cpp
313
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), ""));
src/tests/kits/support/StringReplaceTest.cpp
320
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells the shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
327
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
334
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
341
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the theshore"));
src/tests/kits/support/StringReplaceTest.cpp
348
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
355
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the shore"));
src/tests/kits/support/StringReplaceTest.cpp
362
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "abcc abcc abcc"));
src/tests/kits/support/StringReplaceTest.cpp
369
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells sea shells on the seashore"));
src/tests/kits/support/StringReplaceTest.cpp
376
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "she sells SeA shells on the theshore"));
src/tests/kits/support/StringReplaceTest.cpp
383
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "c c c"));
src/tests/kits/support/StringReplaceTest.cpp
390
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "xxc xxc xxc"));
src/tests/kits/support/StringReplaceTest.cpp
397
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "ccccccccccccccc"));
src/tests/kits/support/StringReplaceTest.cpp
404
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "abcabcabcbababc"));
src/tests/kits/support/StringReplaceTest.cpp
411
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), ""));
src/tests/kits/support/StringReplaceTest.cpp
418
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "dabcda dabcda dabcda"));
src/tests/kits/support/StringReplaceTest.cpp
425
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "bc bc bc"));
src/tests/kits/support/StringReplaceTest.cpp
436
CPPUNIT_ASSERT_EQUAL(sz, str.Length());
src/tests/kits/support/StringReplaceTest.cpp
447
CPPUNIT_ASSERT_EQUAL(0, str.Length());
src/tests/kits/support/StringReplaceTest.cpp
458
CPPUNIT_ASSERT_EQUAL(sz, str.Length());
src/tests/kits/support/StringReplaceTest.cpp
469
CPPUNIT_ASSERT_EQUAL(sz / 2, str.Length());
src/tests/kits/support/StringReplaceTest.cpp
480
CPPUNIT_ASSERT_EQUAL(0, str.Length());
src/tests/kits/support/StringReplaceTest.cpp
82
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "best string"));
src/tests/kits/support/StringReplaceTest.cpp
89
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test string"));
src/tests/kits/support/StringReplaceTest.cpp
96
CPPUNIT_ASSERT_EQUAL(0, strcmp(str.String(), "test swring"));
src/tests/kits/support/StringSearchTest.cpp
124
CPPUNIT_ASSERT_EQUAL(2, string1.FindFirst(string2));
src/tests/kits/support/StringSearchTest.cpp
131
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst(string2));
src/tests/kits/support/StringSearchTest.cpp
137
CPPUNIT_ASSERT_EQUAL(2, string1.FindFirst("st"));
src/tests/kits/support/StringSearchTest.cpp
143
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst("some text"));
src/tests/kits/support/StringSearchTest.cpp
150
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.FindFirst((char*)NULL));
src/tests/kits/support/StringSearchTest.cpp
158
CPPUNIT_ASSERT_EQUAL(8, string1.FindFirst(string2, 5));
src/tests/kits/support/StringSearchTest.cpp
165
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst(string2, 200));
src/tests/kits/support/StringSearchTest.cpp
172
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst(string2, -10));
src/tests/kits/support/StringSearchTest.cpp
178
CPPUNIT_ASSERT_EQUAL(4, string1.FindFirst("abc", 2));
src/tests/kits/support/StringSearchTest.cpp
184
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst("abc", 200));
src/tests/kits/support/StringSearchTest.cpp
190
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst("abc", -10));
src/tests/kits/support/StringSearchTest.cpp
197
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.FindFirst((char*)NULL, 3));
src/tests/kits/support/StringSearchTest.cpp
204
CPPUNIT_ASSERT_EQUAL(2, string1.FindFirst('c'));
src/tests/kits/support/StringSearchTest.cpp
210
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst('e'));
src/tests/kits/support/StringSearchTest.cpp
216
CPPUNIT_ASSERT_EQUAL(5, string1.FindFirst("b", 3));
src/tests/kits/support/StringSearchTest.cpp
222
CPPUNIT_ASSERT_EQUAL(5, string1.FindFirst('a', 3));
src/tests/kits/support/StringSearchTest.cpp
230
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst('e', 185));
src/tests/kits/support/StringSearchTest.cpp
236
CPPUNIT_ASSERT_EQUAL(8, string1.FindFirst('d', 8));
src/tests/kits/support/StringSearchTest.cpp
242
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst('e', 8));
src/tests/kits/support/StringSearchTest.cpp
248
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindFirst("a", 9));
src/tests/kits/support/StringSearchTest.cpp
276
CPPUNIT_ASSERT_EQUAL(16, string1.FindLast(string2));
src/tests/kits/support/StringSearchTest.cpp
283
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast(string2));
src/tests/kits/support/StringSearchTest.cpp
290
CPPUNIT_ASSERT_EQUAL(16, string1.FindLast("st"));
src/tests/kits/support/StringSearchTest.cpp
296
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast("some text"));
src/tests/kits/support/StringSearchTest.cpp
303
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.FindLast((char*)NULL));
src/tests/kits/support/StringSearchTest.cpp
311
CPPUNIT_ASSERT_EQUAL(3, string1.FindLast(string2, 7));
src/tests/kits/support/StringSearchTest.cpp
318
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast(string2, -10));
src/tests/kits/support/StringSearchTest.cpp
325
CPPUNIT_ASSERT_EQUAL(4, string1.FindLast("abc", 9));
src/tests/kits/support/StringSearchTest.cpp
331
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast("abc", -10));
src/tests/kits/support/StringSearchTest.cpp
338
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.FindLast((char*)NULL, 3));
src/tests/kits/support/StringSearchTest.cpp
345
CPPUNIT_ASSERT_EQUAL(7, string1.FindLast('c'));
src/tests/kits/support/StringSearchTest.cpp
351
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast('e'));
src/tests/kits/support/StringSearchTest.cpp
357
CPPUNIT_ASSERT_EQUAL(1, string1.FindLast("b", 5));
src/tests/kits/support/StringSearchTest.cpp
363
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast('e', 3));
src/tests/kits/support/StringSearchTest.cpp
369
CPPUNIT_ASSERT_EQUAL(6, string1.FindLast('b', 6));
src/tests/kits/support/StringSearchTest.cpp
375
CPPUNIT_ASSERT_EQUAL(1, string1.FindLast('b', 5));
src/tests/kits/support/StringSearchTest.cpp
381
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.FindLast("a", 0));
src/tests/kits/support/StringSearchTest.cpp
388
CPPUNIT_ASSERT_EQUAL(2, string1.IFindFirst(string2));
src/tests/kits/support/StringSearchTest.cpp
395
CPPUNIT_ASSERT_EQUAL(2, string1.IFindFirst(string2));
src/tests/kits/support/StringSearchTest.cpp
402
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindFirst(string2));
src/tests/kits/support/StringSearchTest.cpp
409
CPPUNIT_ASSERT_EQUAL(0, string1.IFindFirst(string2));
src/tests/kits/support/StringSearchTest.cpp
415
CPPUNIT_ASSERT_EQUAL(2, string1.IFindFirst("st"));
src/tests/kits/support/StringSearchTest.cpp
421
CPPUNIT_ASSERT_EQUAL(2, string1.IFindFirst("st"));
src/tests/kits/support/StringSearchTest.cpp
427
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindFirst("some text"));
src/tests/kits/support/StringSearchTest.cpp
434
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.IFindFirst((char*)NULL));
src/tests/kits/support/StringSearchTest.cpp
442
CPPUNIT_ASSERT_EQUAL(8, string1.IFindFirst(string2, 5));
src/tests/kits/support/StringSearchTest.cpp
449
CPPUNIT_ASSERT_EQUAL(8, string1.IFindFirst(string2, 5));
src/tests/kits/support/StringSearchTest.cpp
456
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindFirst(string2, 200));
src/tests/kits/support/StringSearchTest.cpp
463
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindFirst(string2, -10));
src/tests/kits/support/StringSearchTest.cpp
469
CPPUNIT_ASSERT_EQUAL(4, string1.IFindFirst("abc", 2));
src/tests/kits/support/StringSearchTest.cpp
475
CPPUNIT_ASSERT_EQUAL(4, string1.IFindFirst("abc", 2));
src/tests/kits/support/StringSearchTest.cpp
481
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindFirst("abc", 200));
src/tests/kits/support/StringSearchTest.cpp
487
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindFirst("abc", -10));
src/tests/kits/support/StringSearchTest.cpp
513
CPPUNIT_ASSERT_EQUAL(16, string1.IFindLast(string2));
src/tests/kits/support/StringSearchTest.cpp
520
CPPUNIT_ASSERT_EQUAL(16, string1.IFindLast(string2));
src/tests/kits/support/StringSearchTest.cpp
534
CPPUNIT_ASSERT_EQUAL(0, string1.EndsWith(string2));
src/tests/kits/support/StringSearchTest.cpp
546
CPPUNIT_ASSERT_EQUAL(0, string1.EndsWith("least"));
src/tests/kits/support/StringSearchTest.cpp
558
CPPUNIT_ASSERT_EQUAL(0, string1.EndsWith("sT", 2));
src/tests/kits/support/StringSearchTest.cpp
604
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindLast(string2));
src/tests/kits/support/StringSearchTest.cpp
610
CPPUNIT_ASSERT_EQUAL(16, string1.IFindLast("st"));
src/tests/kits/support/StringSearchTest.cpp
616
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindLast("some text"));
src/tests/kits/support/StringSearchTest.cpp
623
CPPUNIT_ASSERT_EQUAL(16, string1.IFindLast("ST"));
src/tests/kits/support/StringSearchTest.cpp
629
CPPUNIT_ASSERT_EQUAL(B_BAD_VALUE, string1.IFindLast((char*)NULL));
src/tests/kits/support/StringSearchTest.cpp
635
CPPUNIT_ASSERT_EQUAL(4, string1.IFindLast("aBc", 9));
src/tests/kits/support/StringSearchTest.cpp
643
CPPUNIT_ASSERT_EQUAL(3, string1.IFindLast(string2, 7));
src/tests/kits/support/StringSearchTest.cpp
650
CPPUNIT_ASSERT_EQUAL(3, string1.IFindLast(string2, 7));
src/tests/kits/support/StringSearchTest.cpp
657
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindLast(string2, -10));
src/tests/kits/support/StringSearchTest.cpp
663
CPPUNIT_ASSERT_EQUAL(4, string1.IFindLast("abc", 9));
src/tests/kits/support/StringSearchTest.cpp
669
CPPUNIT_ASSERT_EQUAL(B_ERROR, string1.IFindLast("abc", -10));
src/tests/kits/support/StringSearchTest.cpp
675
CPPUNIT_ASSERT_EQUAL(0, string1.IFindLast("abc", 4));
src/tests/kits/support/StringSplitTest.cpp
29
CPPUNIT_ASSERT_EQUAL(2, stringList1.CountStrings());
src/tests/kits/support/StringSplitTest.cpp
37
CPPUNIT_ASSERT_EQUAL(2, stringList2.CountStrings());
src/tests/kits/support/StringSplitTest.cpp
45
CPPUNIT_ASSERT_EQUAL(2, stringList3.CountStrings());
src/tests/kits/support/StringSplitTest.cpp
53
CPPUNIT_ASSERT_EQUAL(3, stringList4.CountStrings());
src/tests/kits/support/StringSubCopyTest.cpp
26
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "thing"));
src/tests/kits/support/StringSubCopyTest.cpp
35
CPPUNIT_ASSERT_EQUAL(0, strcmp(tmp, "ABC"));
src/tests/kits/support/StringSubCopyTest.cpp
36
CPPUNIT_ASSERT_EQUAL(0, strcmp(string1.String(), "ABC"));
src/tests/kits/support/StringUTF8Test.cpp
102
CPPUNIT_ASSERT_EQUAL(6, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
103
CPPUNIT_ASSERT_EQUAL(3, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
104
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "ööä", 6));
src/tests/kits/support/StringUTF8Test.cpp
111
CPPUNIT_ASSERT_EQUAL(12, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
112
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
113
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "ö" B_UTF8_ELLIPSIS B_UTF8_ELLIPSIS "öä", 12));
src/tests/kits/support/StringUTF8Test.cpp
120
CPPUNIT_ASSERT_EQUAL(17, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
121
CPPUNIT_ASSERT_EQUAL(8, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
122
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "ää+ö" B_UTF8_ELLIPSIS B_UTF8_ELLIPSIS "öä", 17));
src/tests/kits/support/StringUTF8Test.cpp
136
CPPUNIT_ASSERT_EQUAL(6, string.CountBytes(2, 3));
src/tests/kits/support/StringUTF8Test.cpp
35
CPPUNIT_ASSERT_EQUAL(8, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
36
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
37
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "ü-ä-ö", 8));
src/tests/kits/support/StringUTF8Test.cpp
44
CPPUNIT_ASSERT_EQUAL(10, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
45
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
46
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), B_UTF8_ELLIPSIS "-ä-" B_UTF8_ELLIPSIS, 10));
src/tests/kits/support/StringUTF8Test.cpp
54
CPPUNIT_ASSERT_EQUAL(7, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
55
CPPUNIT_ASSERT_EQUAL(4, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
56
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), B_UTF8_ELLIPSIS "-ä-", 7));
src/tests/kits/support/StringUTF8Test.cpp
57
CPPUNIT_ASSERT_EQUAL(3, ellipsis.Length());
src/tests/kits/support/StringUTF8Test.cpp
58
CPPUNIT_ASSERT_EQUAL(1, ellipsis.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
59
CPPUNIT_ASSERT_EQUAL(0, memcmp(ellipsis.String(), B_UTF8_ELLIPSIS, 3));
src/tests/kits/support/StringUTF8Test.cpp
66
CPPUNIT_ASSERT_EQUAL(2, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
67
CPPUNIT_ASSERT_EQUAL(1, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
68
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "ä", 2));
src/tests/kits/support/StringUTF8Test.cpp
75
CPPUNIT_ASSERT_EQUAL(11, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
76
CPPUNIT_ASSERT_EQUAL(5, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
77
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "öäü" B_UTF8_ELLIPSIS "ö", 11));
src/tests/kits/support/StringUTF8Test.cpp
84
CPPUNIT_ASSERT_EQUAL(9, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
85
CPPUNIT_ASSERT_EQUAL(4, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
86
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "öäü" B_UTF8_ELLIPSIS, 9));
src/tests/kits/support/StringUTF8Test.cpp
93
CPPUNIT_ASSERT_EQUAL(13, string.Length());
src/tests/kits/support/StringUTF8Test.cpp
94
CPPUNIT_ASSERT_EQUAL(6, string.CountChars());
src/tests/kits/support/StringUTF8Test.cpp
95
CPPUNIT_ASSERT_EQUAL(0, memcmp(string.String(), "öäü" B_UTF8_ELLIPSIS "öä", 13));
src/tests/servers/launch/ConditionsTest.cpp
49
CPPUNIT_ASSERT_EQUAL(B_OK, parser.Parse(input, jobs));
src/tests/servers/launch/ConditionsTest.cpp
52
CPPUNIT_ASSERT_EQUAL(B_OK, jobs.FindMessage("job", 0, &job));
src/tests/servers/launch/ConditionsTest.cpp
53
CPPUNIT_ASSERT_EQUAL(2, (int)job.CountNames(B_ANY_TYPE));
src/tests/servers/launch/ConditionsTest.cpp
54
CPPUNIT_ASSERT_EQUAL(BString("A"), BString(job.GetString("name")));
src/tests/servers/launch/ConditionsTest.cpp
57
CPPUNIT_ASSERT_EQUAL(B_OK, job.FindMessage("if", &message));
src/tests/servers/launch/SettingsParserTest.cpp
102
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("safemode", &subMessage));
src/tests/servers/launch/SettingsParserTest.cpp
105
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("file_exists",
src/tests/servers/launch/SettingsParserTest.cpp
107
CPPUNIT_ASSERT_EQUAL(BString("one"),
src/tests/servers/launch/SettingsParserTest.cpp
109
CPPUNIT_ASSERT_EQUAL(1, (int)subMessage.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
115
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if safemode\n", message));
src/tests/servers/launch/SettingsParserTest.cpp
116
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
119
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("safemode", &args));
src/tests/servers/launch/SettingsParserTest.cpp
126
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if not safemode\n", message));
src/tests/servers/launch/SettingsParserTest.cpp
127
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
130
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("not",
src/tests/servers/launch/SettingsParserTest.cpp
134
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindMessage("safemode", &args));
src/tests/servers/launch/SettingsParserTest.cpp
141
CPPUNIT_ASSERT_EQUAL(B_OK,
src/tests/servers/launch/SettingsParserTest.cpp
143
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
146
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("file_exists", &args));
src/tests/servers/launch/SettingsParserTest.cpp
147
CPPUNIT_ASSERT_EQUAL(BString("one"),
src/tests/servers/launch/SettingsParserTest.cpp
149
CPPUNIT_ASSERT_EQUAL(1, (int)args.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
155
CPPUNIT_ASSERT_EQUAL(B_OK,
src/tests/servers/launch/SettingsParserTest.cpp
157
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
160
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("not",
src/tests/servers/launch/SettingsParserTest.cpp
164
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindMessage("file_exists", &args));
src/tests/servers/launch/SettingsParserTest.cpp
165
CPPUNIT_ASSERT_EQUAL(BString("one"),
src/tests/servers/launch/SettingsParserTest.cpp
167
CPPUNIT_ASSERT_EQUAL(1, (int)args.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
173
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if {\n"
src/tests/servers/launch/SettingsParserTest.cpp
178
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("not",
src/tests/servers/launch/SettingsParserTest.cpp
180
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
183
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindMessage("safemode", &args));
src/tests/servers/launch/SettingsParserTest.cpp
184
CPPUNIT_ASSERT_EQUAL(1, (int)subMessage.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
191
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if {\n"
src/tests/servers/launch/SettingsParserTest.cpp
196
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("not",
src/tests/servers/launch/SettingsParserTest.cpp
200
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindMessage("file_exists", &args));
src/tests/servers/launch/SettingsParserTest.cpp
201
CPPUNIT_ASSERT_EQUAL(BString("one"),
src/tests/servers/launch/SettingsParserTest.cpp
203
CPPUNIT_ASSERT_EQUAL(BString("two"),
src/tests/servers/launch/SettingsParserTest.cpp
205
CPPUNIT_ASSERT_EQUAL(1, (int)args.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
206
CPPUNIT_ASSERT_EQUAL(2, (int)_ArrayCount(args, "args"));
src/tests/servers/launch/SettingsParserTest.cpp
212
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if {\n"
src/tests/servers/launch/SettingsParserTest.cpp
219
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("not", &subMessage));
src/tests/servers/launch/SettingsParserTest.cpp
222
CPPUNIT_ASSERT_EQUAL(B_OK, subMessage.FindMessage("safemode", &args));
src/tests/servers/launch/SettingsParserTest.cpp
229
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseEvent("on {\n"
src/tests/servers/launch/SettingsParserTest.cpp
237
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseEvent("on {\n"
src/tests/servers/launch/SettingsParserTest.cpp
241
CPPUNIT_ASSERT_EQUAL(2, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
244
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("demand", &subMessage));
src/tests/servers/launch/SettingsParserTest.cpp
247
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("file_created",
src/tests/servers/launch/SettingsParserTest.cpp
249
CPPUNIT_ASSERT_EQUAL(BString("one"),
src/tests/servers/launch/SettingsParserTest.cpp
251
CPPUNIT_ASSERT_EQUAL(1, (int)subMessage.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
257
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseEvent("on demand\n", message));
src/tests/servers/launch/SettingsParserTest.cpp
258
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
261
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("demand", &args));
src/tests/servers/launch/SettingsParserTest.cpp
268
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseEvent("on file_created one\n", message));
src/tests/servers/launch/SettingsParserTest.cpp
269
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
272
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("file_created", &args));
src/tests/servers/launch/SettingsParserTest.cpp
273
CPPUNIT_ASSERT_EQUAL(BString("one"),
src/tests/servers/launch/SettingsParserTest.cpp
275
CPPUNIT_ASSERT_EQUAL(1, (int)args.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
281
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseName("env", "env {\n"
src/tests/servers/launch/SettingsParserTest.cpp
285
CPPUNIT_ASSERT_EQUAL(2, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
287
CPPUNIT_ASSERT_EQUAL(BString("SetupEnvironment"),
src/tests/servers/launch/SettingsParserTest.cpp
289
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(message, "from_script"));
src/tests/servers/launch/SettingsParserTest.cpp
291
CPPUNIT_ASSERT_EQUAL(BString("well,"),
src/tests/servers/launch/SettingsParserTest.cpp
293
CPPUNIT_ASSERT_EQUAL(BString("yes"),
src/tests/servers/launch/SettingsParserTest.cpp
295
CPPUNIT_ASSERT_EQUAL(2, (int)_ArrayCount(message, "TEST"));
src/tests/servers/launch/SettingsParserTest.cpp
301
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseName("env", "env SetupEnvironment\n",
src/tests/servers/launch/SettingsParserTest.cpp
303
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
305
CPPUNIT_ASSERT_EQUAL(BString("SetupEnvironment"),
src/tests/servers/launch/SettingsParserTest.cpp
307
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(message, "from_script"));
src/tests/servers/launch/SettingsParserTest.cpp
314
CPPUNIT_ASSERT_EQUAL(B_OK, parser.Parse("run me", jobs));
src/tests/servers/launch/SettingsParserTest.cpp
315
CPPUNIT_ASSERT_EQUAL(1, (int)jobs.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
318
CPPUNIT_ASSERT_EQUAL(B_OK, jobs.FindMessage("run", &message));
src/tests/servers/launch/SettingsParserTest.cpp
319
CPPUNIT_ASSERT_EQUAL(BString("me"),
src/tests/servers/launch/SettingsParserTest.cpp
321
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(message, "target"));
src/tests/servers/launch/SettingsParserTest.cpp
322
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
333
CPPUNIT_ASSERT_EQUAL(B_OK, status);
src/tests/servers/launch/SettingsParserTest.cpp
334
CPPUNIT_ASSERT_EQUAL(1, (int)jobs.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
337
CPPUNIT_ASSERT_EQUAL(B_OK, jobs.FindMessage("run", &message));
src/tests/servers/launch/SettingsParserTest.cpp
338
CPPUNIT_ASSERT_EQUAL(BString("me"),
src/tests/servers/launch/SettingsParserTest.cpp
340
CPPUNIT_ASSERT_EQUAL(BString("you"),
src/tests/servers/launch/SettingsParserTest.cpp
342
CPPUNIT_ASSERT_EQUAL(2, (int)_ArrayCount(message, "target"));
src/tests/servers/launch/SettingsParserTest.cpp
343
CPPUNIT_ASSERT_EQUAL(1, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
355
CPPUNIT_ASSERT_EQUAL(B_OK, status);
src/tests/servers/launch/SettingsParserTest.cpp
358
CPPUNIT_ASSERT_EQUAL(B_OK, jobs.FindMessage("run", &message));
src/tests/servers/launch/SettingsParserTest.cpp
359
CPPUNIT_ASSERT_EQUAL(3, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
362
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("then", &then));
src/tests/servers/launch/SettingsParserTest.cpp
363
CPPUNIT_ASSERT_EQUAL(BString("this"),
src/tests/servers/launch/SettingsParserTest.cpp
365
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(then, "target"));
src/tests/servers/launch/SettingsParserTest.cpp
366
CPPUNIT_ASSERT_EQUAL(1, (int)then.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
369
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("else", &otherwise));
src/tests/servers/launch/SettingsParserTest.cpp
370
CPPUNIT_ASSERT_EQUAL(BString("that"),
src/tests/servers/launch/SettingsParserTest.cpp
372
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(otherwise, "target"));
src/tests/servers/launch/SettingsParserTest.cpp
373
CPPUNIT_ASSERT_EQUAL(1, (int)otherwise.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
391
CPPUNIT_ASSERT_EQUAL(B_OK, status);
src/tests/servers/launch/SettingsParserTest.cpp
394
CPPUNIT_ASSERT_EQUAL(B_OK, jobs.FindMessage("run", &message));
src/tests/servers/launch/SettingsParserTest.cpp
395
CPPUNIT_ASSERT_EQUAL(3, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
398
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("then", &then));
src/tests/servers/launch/SettingsParserTest.cpp
399
CPPUNIT_ASSERT_EQUAL(BString("this"),
src/tests/servers/launch/SettingsParserTest.cpp
401
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(then, "target"));
src/tests/servers/launch/SettingsParserTest.cpp
402
CPPUNIT_ASSERT_EQUAL(1, (int)then.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
405
CPPUNIT_ASSERT_EQUAL(B_OK, message.FindMessage("else", &otherwise));
src/tests/servers/launch/SettingsParserTest.cpp
406
CPPUNIT_ASSERT_EQUAL(BString("that"),
src/tests/servers/launch/SettingsParserTest.cpp
408
CPPUNIT_ASSERT_EQUAL(1, (int)_ArrayCount(otherwise, "target"));
src/tests/servers/launch/SettingsParserTest.cpp
409
CPPUNIT_ASSERT_EQUAL(1, (int)otherwise.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
68
CPPUNIT_ASSERT_EQUAL(2, (int)job.CountNames(B_ANY_TYPE));
src/tests/servers/launch/SettingsParserTest.cpp
69
CPPUNIT_ASSERT_EQUAL(BString("A"), BString(job.GetString("name")));
src/tests/servers/launch/SettingsParserTest.cpp
87
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if {\n"
src/tests/servers/launch/SettingsParserTest.cpp
95
CPPUNIT_ASSERT_EQUAL(B_OK, _ParseCondition("if {\n"
src/tests/servers/launch/SettingsParserTest.cpp
99
CPPUNIT_ASSERT_EQUAL(2, (int)message.CountNames(B_ANY_TYPE));
src/tests/servers/launch/UtilityTest.cpp
24
CPPUNIT_ASSERT_EQUAL(BString("/boot/home/test"),
src/tests/servers/launch/UtilityTest.cpp
26
CPPUNIT_ASSERT_EQUAL(BString("/boot/home/test"),
src/tests/servers/launch/UtilityTest.cpp
28
CPPUNIT_ASSERT_EQUAL(BString("--/boot/home--"),
src/tests/servers/launch/UtilityTest.cpp
30
CPPUNIT_ASSERT_EQUAL(BString("$(HOME)/test"),
src/tests/servers/launch/UtilityTest.cpp
32
CPPUNIT_ASSERT_EQUAL(BString("/boot/home/test"),
src/tests/servers/launch/UtilityTest.cpp
34
CPPUNIT_ASSERT_EQUAL(BString("~baron/test"),
src/tests/servers/launch/UtilityTest.cpp
36
CPPUNIT_ASSERT_EQUAL(BString("/~/test"),
src/tests/system/kernel/disk_device_manager/KPartitionTest.cpp
112
CPPUNIT_ASSERT_EQUAL(status, B_OK);
src/tests/system/kernel/disk_device_manager/KPartitionTest.cpp
126
CPPUNIT_ASSERT_EQUAL(status, B_OK);
src/tests/system/kernel/disk_device_manager/KPartitionTest.cpp
57
CPPUNIT_ASSERT_EQUAL(status, B_BAD_VALUE);
src/tests/system/kernel/disk_device_manager/KPartitionTest.cpp
70
CPPUNIT_ASSERT_EQUAL(status, B_OK);
src/tests/system/kernel/disk_device_manager/KPartitionTest.cpp
84
CPPUNIT_ASSERT_EQUAL(status, B_OK);
src/tests/system/kernel/disk_device_manager/KPartitionTest.cpp
98
CPPUNIT_ASSERT_EQUAL(status, B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
100
CPPUNIT_ASSERT_EQUAL(table.Clear(false), NULL);
src/tests/system/kernel/util/OpenHashTableTest.cpp
101
CPPUNIT_ASSERT_EQUAL(table.CountElements(), 0);
src/tests/system/kernel/util/OpenHashTableTest.cpp
102
CPPUNIT_ASSERT_EQUAL(table.Lookup(2), NULL);
src/tests/system/kernel/util/OpenHashTableTest.cpp
103
CPPUNIT_ASSERT_EQUAL(table.GetIterator().HasNext(), false);
src/tests/system/kernel/util/OpenHashTableTest.cpp
113
CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
117
CPPUNIT_ASSERT_EQUAL(table.Insert(entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
120
CPPUNIT_ASSERT_EQUAL(table.CountElements(), kEntryCount);
src/tests/system/kernel/util/OpenHashTableTest.cpp
126
CPPUNIT_ASSERT_EQUAL(table.CountElements(), 0);
src/tests/system/kernel/util/OpenHashTableTest.cpp
127
CPPUNIT_ASSERT_EQUAL(table.Lookup(2), NULL);
src/tests/system/kernel/util/OpenHashTableTest.cpp
128
CPPUNIT_ASSERT_EQUAL(table.GetIterator().HasNext(), false);
src/tests/system/kernel/util/OpenHashTableTest.cpp
139
CPPUNIT_ASSERT_EQUAL(items_returned, kEntryCount);
src/tests/system/kernel/util/OpenHashTableTest.cpp
151
CPPUNIT_ASSERT_EQUAL(table.Init(1), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
153
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry1), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
154
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry2), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
155
CPPUNIT_ASSERT_EQUAL(table.CountElements(), 2);
src/tests/system/kernel/util/OpenHashTableTest.cpp
163
CPPUNIT_ASSERT_EQUAL(table.Init(0), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
165
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
166
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
170
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
175
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
178
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
186
CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
188
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
196
CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
208
CPPUNIT_ASSERT_EQUAL(table.Init(kEntryCount * 2), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
213
CPPUNIT_ASSERT_EQUAL(table.Insert(entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
221
CPPUNIT_ASSERT_EQUAL(0, map & (1 << entry->Value()));
src/tests/system/kernel/util/OpenHashTableTest.cpp
225
CPPUNIT_ASSERT_EQUAL(map, (1 << kEntryCount) - 1);
src/tests/system/kernel/util/OpenHashTableTest.cpp
226
CPPUNIT_ASSERT_EQUAL(kEntryCount, table.CountElements());
src/tests/system/kernel/util/OpenHashTableTest.cpp
234
CPPUNIT_ASSERT_EQUAL(table.Init(0), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
236
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
237
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
245
CPPUNIT_ASSERT_EQUAL(table.Init(0), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
247
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
248
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
251
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), NULL);
src/tests/system/kernel/util/OpenHashTableTest.cpp
261
CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
272
CPPUNIT_ASSERT_EQUAL(table.CountElements(), 2);
src/tests/system/kernel/util/OpenHashTableTest.cpp
273
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry1);
src/tests/system/kernel/util/OpenHashTableTest.cpp
274
CPPUNIT_ASSERT_EQUAL(table.Lookup(456), &entry2);
src/tests/system/kernel/util/OpenHashTableTest.cpp
275
CPPUNIT_ASSERT_EQUAL(table.Lookup(789), NULL);
src/tests/system/kernel/util/OpenHashTableTest.cpp
283
CPPUNIT_ASSERT_EQUAL(table.Init(0), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
285
CPPUNIT_ASSERT_EQUAL(table.Insert(&entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
286
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), &entry);
src/tests/system/kernel/util/OpenHashTableTest.cpp
289
CPPUNIT_ASSERT_EQUAL(table.Lookup(123), NULL);
src/tests/system/kernel/util/OpenHashTableTest.cpp
302
CPPUNIT_ASSERT_EQUAL(table.Init(8), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
307
CPPUNIT_ASSERT_EQUAL(table.Insert(entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
316
CPPUNIT_ASSERT_EQUAL(0, map & (1 << entry->Value()));
src/tests/system/kernel/util/OpenHashTableTest.cpp
320
CPPUNIT_ASSERT_EQUAL(map, (1 << kEntryCount) - 1);
src/tests/system/kernel/util/OpenHashTableTest.cpp
321
CPPUNIT_ASSERT_EQUAL(kEntryCount, table.CountElements());
src/tests/system/kernel/util/OpenHashTableTest.cpp
79
CPPUNIT_ASSERT_EQUAL(table.Init(0), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
89
CPPUNIT_ASSERT_EQUAL(table.Init(), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
94
CPPUNIT_ASSERT_EQUAL(table.Insert(entry), B_OK);
src/tests/system/kernel/util/OpenHashTableTest.cpp
97
CPPUNIT_ASSERT_EQUAL(table.CountElements(), kEntryCount);
src/tests/system/network/posixnet/SocketTests.cpp
38
CPPUNIT_ASSERT_EQUAL(connect_result, -1);
src/tests/system/network/posixnet/SocketTests.cpp
47
CPPUNIT_ASSERT_EQUAL(connect_result, -1);