LTP GCOV extension - code coverage report
Current view: directory - srv/build/pkg/ept-work/default/ept - ept-test-generated-main.cpp
Test: lcov.info
Date: 2008-08-14 Instrumented lines: 1
Code covered: 100.0 % Executed lines: 1

       1                 : #undef NDEBUG
       2                 : #include <wibble/test.h>
       3                 : #include <wibble/test-runner.h>
       4                 : void run_AptRecord_checkLookup();
       5                 : void run_AptRecord_checkLookupValue();
       6                 : void run_AptRecord_checkLookupNumeric();
       7                 : void run_AptRecord_checkShortDescription();
       8                 : void run_AptRecord_checkList();
       9                 : void run_AptRecord_nonexistent();
      10                 : RunTest run_AptRecord[] = {
      11                 :         { "checkLookup", run_AptRecord_checkLookup },
      12                 :         { "checkLookupValue", run_AptRecord_checkLookupValue },
      13                 :         { "checkLookupNumeric", run_AptRecord_checkLookupNumeric },
      14                 :         { "checkShortDescription", run_AptRecord_checkShortDescription },
      15                 :         { "checkList", run_AptRecord_checkList },
      16                 :         { "nonexistent", run_AptRecord_nonexistent },
      17                 : };
      18                 : void run_Expression__1();
      19                 : RunTest run_Expression[] = {
      20                 :         { "_1", run_Expression__1 },
      21                 : };
      22                 : void run_Textsearch_empty();
      23                 : void run_Textsearch_basicAccess();
      24                 : void run_Textsearch_queryAccess();
      25                 : void run_Textsearch_partialOrQuery();
      26                 : void run_Textsearch_docidByName();
      27                 : void run_Textsearch_values();
      28                 : RunTest run_Textsearch[] = {
      29                 :         { "empty", run_Textsearch_empty },
      30                 :         { "basicAccess", run_Textsearch_basicAccess },
      31                 :         { "queryAccess", run_Textsearch_queryAccess },
      32                 :         { "partialOrQuery", run_Textsearch_partialOrQuery },
      33                 :         { "docidByName", run_Textsearch_docidByName },
      34                 :         { "values", run_Textsearch_values },
      35                 : };
      36                 : void run_VocabularyMerger__1();
      37                 : void run_VocabularyMerger__2();
      38                 : void run_VocabularyMerger__3();
      39                 : RunTest run_VocabularyMerger[] = {
      40                 :         { "_1", run_VocabularyMerger__1 },
      41                 :         { "_2", run_VocabularyMerger__2 },
      42                 :         { "_3", run_VocabularyMerger__3 },
      43                 : };
      44                 : void run_AptAction_basic();
      45                 : void run_AptAction_revert();
      46                 : void run_AptAction_keep();
      47                 : RunTest run_AptAction[] = {
      48                 :         { "basic", run_AptAction_basic },
      49                 :         { "revert", run_AptAction_revert },
      50                 :         { "keep", run_AptAction_keep },
      51                 : };
      52                 : void run_AptPackagerecord_supportedFields();
      53                 : RunTest run_AptPackagerecord[] = {
      54                 :         { "supportedFields", run_AptPackagerecord_supportedFields },
      55                 : };
      56                 : void run_Pkgid__1();
      57                 : void run_Pkgid__2();
      58                 : RunTest run_Pkgid[] = {
      59                 :         { "_1", run_Pkgid__1 },
      60                 :         { "_2", run_Pkgid__2 },
      61                 : };
      62                 : void run_Xapian_enquire();
      63                 : void run_Xapian_listCount();
      64                 : void run_Xapian_list();
      65                 : void run_Xapian_checkQuery();
      66                 : RunTest run_Xapian[] = {
      67                 :         { "enquire", run_Xapian_enquire },
      68                 :         { "listCount", run_Xapian_listCount },
      69                 :         { "list", run_Xapian_list },
      70                 :         { "checkQuery", run_Xapian_checkQuery },
      71                 : };
      72                 : void run_AptVersion_invalid();
      73                 : void run_AptVersion_basic();
      74                 : void run_AptVersion_comparison();
      75                 : void run_AptVersion_valueCopy();
      76                 : void run_AptVersion_upstreamVersion();
      77                 : void run_AptVersion_policyComparison();
      78                 : RunTest run_AptVersion[] = {
      79                 :         { "invalid", run_AptVersion_invalid },
      80                 :         { "basic", run_AptVersion_basic },
      81                 :         { "comparison", run_AptVersion_comparison },
      82                 :         { "valueCopy", run_AptVersion_valueCopy },
      83                 :         { "upstreamVersion", run_AptVersion_upstreamVersion },
      84                 :         { "policyComparison", run_AptVersion_policyComparison },
      85                 : };
      86                 : void run_Vocabulary__1();
      87                 : void run_Vocabulary__2();
      88                 : void run_Vocabulary__3();
      89                 : void run_Vocabulary__4();
      90                 : void run_Vocabulary__5();
      91                 : void run_Vocabulary__6();
      92                 : void run_Vocabulary__7();
      93                 : void run_Vocabulary__8();
      94                 : void run_Vocabulary__9();
      95                 : void run_Vocabulary__11();
      96                 : void run_Vocabulary__12();
      97                 : void run_Vocabulary__13();
      98                 : void run_Vocabulary__14();
      99                 : void run_Vocabulary__15();
     100                 : void run_Vocabulary__16();
     101                 : void run_Vocabulary__17();
     102                 : void run_Vocabulary__18();
     103                 : void run_Vocabulary__19();
     104                 : void run_Vocabulary__21();
     105                 : RunTest run_Vocabulary[] = {
     106                 :         { "_1", run_Vocabulary__1 },
     107                 :         { "_2", run_Vocabulary__2 },
     108                 :         { "_3", run_Vocabulary__3 },
     109                 :         { "_4", run_Vocabulary__4 },
     110                 :         { "_5", run_Vocabulary__5 },
     111                 :         { "_6", run_Vocabulary__6 },
     112                 :         { "_7", run_Vocabulary__7 },
     113                 :         { "_8", run_Vocabulary__8 },
     114                 :         { "_9", run_Vocabulary__9 },
     115                 :         { "_11", run_Vocabulary__11 },
     116                 :         { "_12", run_Vocabulary__12 },
     117                 :         { "_13", run_Vocabulary__13 },
     118                 :         { "_14", run_Vocabulary__14 },
     119                 :         { "_15", run_Vocabulary__15 },
     120                 :         { "_16", run_Vocabulary__16 },
     121                 :         { "_17", run_Vocabulary__17 },
     122                 :         { "_18", run_Vocabulary__18 },
     123                 :         { "_19", run_Vocabulary__19 },
     124                 :         { "_21", run_Vocabulary__21 },
     125                 : };
     126                 : void run_CoreApt_token();
     127                 : void run_CoreApt_tokenVersion();
     128                 : void run_CoreApt_packageName();
     129                 : void run_CoreApt_packageCount();
     130                 : void run_CoreApt_packageNameList();
     131                 : void run_CoreApt_versionCount();
     132                 : void run_CoreApt_versionPackage();
     133                 : void run_CoreApt_validate();
     134                 : void run_CoreApt_packageState();
     135                 : void run_CoreApt_packageState2();
     136                 : void run_CoreApt_exists();
     137                 : void run_CoreApt_invalidate();
     138                 : RunTest run_CoreApt[] = {
     139                 :         { "token", run_CoreApt_token },
     140                 :         { "tokenVersion", run_CoreApt_tokenVersion },
     141                 :         { "packageName", run_CoreApt_packageName },
     142                 :         { "packageCount", run_CoreApt_packageCount },
     143                 :         { "packageNameList", run_CoreApt_packageNameList },
     144                 :         { "versionCount", run_CoreApt_versionCount },
     145                 :         { "versionPackage", run_CoreApt_versionPackage },
     146                 :         { "validate", run_CoreApt_validate },
     147                 :         { "packageState", run_CoreApt_packageState },
     148                 :         { "packageState2", run_CoreApt_packageState2 },
     149                 :         { "exists", run_CoreApt_exists },
     150                 :         { "invalidate", run_CoreApt_invalidate },
     151                 : };
     152                 : void run_Popcon_basicAccess();
     153                 : void run_Popcon_accessibility();
     154                 : void run_Popcon_haveScores();
     155                 : void run_Popcon_validScores();
     156                 : void run_Popcon_fallbackValues();
     157                 : RunTest run_Popcon[] = {
     158                 :         { "basicAccess", run_Popcon_basicAccess },
     159                 :         { "accessibility", run_Popcon_accessibility },
     160                 :         { "haveScores", run_Popcon_haveScores },
     161                 :         { "validScores", run_Popcon_validScores },
     162                 :         { "fallbackValues", run_Popcon_fallbackValues },
     163                 : };
     164                 : void run_Apt_iterators();
     165                 : void run_Apt_aptExists();
     166                 : void run_Apt_timestamp();
     167                 : void run_Apt_validity();
     168                 : void run_Apt_versions();
     169                 : void run_Apt_versionValidity();
     170                 : void run_Apt_rawRecord();
     171                 : void run_Apt_state();
     172                 : void run_Apt_recordIteration();
     173                 : void run_Apt_recordIteration2();
     174                 : void run_Apt_stlIteration();
     175                 : void run_Apt_stlRecordIteration();
     176                 : void run_Apt_checkUpdates();
     177                 : RunTest run_Apt[] = {
     178                 :         { "iterators", run_Apt_iterators },
     179                 :         { "aptExists", run_Apt_aptExists },
     180                 :         { "timestamp", run_Apt_timestamp },
     181                 :         { "validity", run_Apt_validity },
     182                 :         { "versions", run_Apt_versions },
     183                 :         { "versionValidity", run_Apt_versionValidity },
     184                 :         { "rawRecord", run_Apt_rawRecord },
     185                 :         { "state", run_Apt_state },
     186                 :         { "recordIteration", run_Apt_recordIteration },
     187                 :         { "recordIteration2", run_Apt_recordIteration2 },
     188                 :         { "stlIteration", run_Apt_stlIteration },
     189                 :         { "stlRecordIteration", run_Apt_stlRecordIteration },
     190                 :         { "checkUpdates", run_Apt_checkUpdates },
     191                 : };
     192                 : void run_Desktop_iteration();
     193                 : void run_Desktop_groupProperty();
     194                 : void run_Desktop_groups();
     195                 : void run_Desktop_groupList();
     196                 : void run_Desktop_emptyGroupList();
     197                 : RunTest run_Desktop[] = {
     198                 :         { "iteration", run_Desktop_iteration },
     199                 :         { "groupProperty", run_Desktop_groupProperty },
     200                 :         { "groups", run_Desktop_groups },
     201                 :         { "groupList", run_Desktop_groupList },
     202                 :         { "emptyGroupList", run_Desktop_emptyGroupList },
     203                 : };
     204                 : void run_Debtags__1();
     205                 : void run_Debtags__2();
     206                 : void run_Debtags__3();
     207                 : void run_Debtags__4();
     208                 : void run_Debtags__5();
     209                 : RunTest run_Debtags[] = {
     210                 :         { "_1", run_Debtags__1 },
     211                 :         { "_2", run_Debtags__2 },
     212                 :         { "_3", run_Debtags__3 },
     213                 :         { "_4", run_Debtags__4 },
     214                 :         { "_5", run_Debtags__5 },
     215                 : };
     216                 : void run_AptRecordparser_parsing();
     217                 : void run_AptRecordparser_fieldTuples();
     218                 : void run_AptRecordparser_fieldKeys();
     219                 : void run_AptRecordparser_fieldValues();
     220                 : void run_AptRecordparser_findByName();
     221                 : void run_AptRecordparser_indexing();
     222                 : void run_AptRecordparser_missingBehaviour();
     223                 : void run_AptRecordparser_rescan();
     224                 : void run_AptRecordparser_realLife();
     225                 : void run_AptRecordparser_bufferTermination();
     226                 : void run_AptRecordparser_bufferTermination2();
     227                 : void run_AptRecordparser_bufferTermination3();
     228                 : RunTest run_AptRecordparser[] = {
     229                 :         { "parsing", run_AptRecordparser_parsing },
     230                 :         { "fieldTuples", run_AptRecordparser_fieldTuples },
     231                 :         { "fieldKeys", run_AptRecordparser_fieldKeys },
     232                 :         { "fieldValues", run_AptRecordparser_fieldValues },
     233                 :         { "findByName", run_AptRecordparser_findByName },
     234                 :         { "indexing", run_AptRecordparser_indexing },
     235                 :         { "missingBehaviour", run_AptRecordparser_missingBehaviour },
     236                 :         { "rescan", run_AptRecordparser_rescan },
     237                 :         { "realLife", run_AptRecordparser_realLife },
     238                 :         { "bufferTermination", run_AptRecordparser_bufferTermination },
     239                 :         { "bufferTermination2", run_AptRecordparser_bufferTermination2 },
     240                 :         { "bufferTermination3", run_AptRecordparser_bufferTermination3 },
     241                 : };
     242                 : void run_PopconLocal_basicAccess();
     243                 : RunTest run_PopconLocal[] = {
     244                 :         { "basicAccess", run_PopconLocal_basicAccess },
     245                 : };
     246                 : void run_Serializer__1();
     247                 : void run_Serializer__2();
     248                 : RunTest run_Serializer[] = {
     249                 :         { "_1", run_Serializer__1 },
     250                 :         { "_2", run_Serializer__2 },
     251                 : };
     252                 : RunSuite suites[] = {
     253                 : { "AptRecord", run_AptRecord, 6 },
     254                 : { "Expression", run_Expression, 1 },
     255                 : { "Textsearch", run_Textsearch, 6 },
     256                 : { "VocabularyMerger", run_VocabularyMerger, 3 },
     257                 : { "AptAction", run_AptAction, 3 },
     258                 : { "AptPackagerecord", run_AptPackagerecord, 1 },
     259                 : { "Pkgid", run_Pkgid, 2 },
     260                 : { "Xapian", run_Xapian, 4 },
     261                 : { "AptVersion", run_AptVersion, 6 },
     262                 : { "Vocabulary", run_Vocabulary, 19 },
     263                 : { "CoreApt", run_CoreApt, 12 },
     264                 : { "Popcon", run_Popcon, 5 },
     265                 : { "Apt", run_Apt, 13 },
     266                 : { "Desktop", run_Desktop, 5 },
     267                 : { "Debtags", run_Debtags, 5 },
     268                 : { "AptRecordparser", run_AptRecordparser, 12 },
     269                 : { "PopconLocal", run_PopconLocal, 1 },
     270                 : { "Serializer", run_Serializer, 2 },
     271                 : };
     272                 : #include <wibble/test-main.h>
     273               3 : int assertFailure = 0;

Generated by: LTP GCOV extension version 1.6