Changeset 45cee38 in rtems-testing


Ignore:
Timestamp:
May 27, 2010, 6:11:30 PM (9 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
36cd11a
Parents:
273aec4
Message:

2010-05-27 Jennifer Averett <Jennifer.Averett@…>

Location:
covoar
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • covoar/ChangeLog

    r273aec4 r45cee38  
     12010-05-27      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        * ReportsBase.cc, ReportsBase.h, ReportsHtml.cc, ReportsHtml.h,
     4        ReportsText.cc, ReportsText.h: Added visual break between information
     5        sections in the annotated report.
     6
    172010-05-26      Joel Sherrill <joel.sherrilL@OARcorp.com>
    28
  • covoar/ReportsBase.cc

    r273aec4 r45cee38  
    202202
    203203    // Add annotations to each line where necessary
     204    AnnotatedStart( aFile );
    204205    for (itr = theInstructions->begin();
    205206         itr != theInstructions->end();
     
    237238      PutAnnotatedLine( aFile, state, line, id);
    238239    }
     240
     241    AnnotatedEnd( aFile );
    239242  }
    240243
  • covoar/ReportsBase.h

    r273aec4 r45cee38  
    272272
    273273    /*!
    274      *  This method puts any necessary footer information into
    275      *  the report then closes the file.
     274     *  This method puts any necessary a line of annotated
     275     *  data into the file.
    276276     *
    277277     *  @param[in] aFile identifies the report file name
     
    288288
    289289    /*!
     290     *  This method puts any necessary header information in
     291     *  front of an annotated section.
     292     *
     293     *  @param[in] aFile identifies the report file name
     294     */
     295     virtual void AnnotatedStart(
     296      FILE*                aFile
     297    )=0;
     298 
     299    /*!
     300     *  This method puts any necessary footer information in
     301     *  front of an annotated section.
     302     *
     303     *  @param[in] aFile identifies the report file name
     304     */
     305     virtual void AnnotatedEnd(
     306      FILE*                aFile
     307    )=0;
     308 
     309
     310    /*!
    290311     *  This method puts any necessary footer information into
    291312     *  the report then closes the file.
  • covoar/ReportsHtml.cc

    r273aec4 r45cee38  
    405405    );
    406406    return aFile;
     407  }
     408
     409  void ReportsHtml::AnnotatedStart(
     410    FILE*                aFile
     411  )
     412  {
     413    fprintf(
     414      aFile,
     415      "<hr>\n"
     416    );
     417  }
     418 
     419  void ReportsHtml::AnnotatedEnd(
     420    FILE*                aFile
     421  )
     422  {
    407423  }
    408424
  • covoar/ReportsHtml.h

    r273aec4 r45cee38  
    150150
    151151    /* Inherit documentation from base class. */
     152     virtual void AnnotatedStart(
     153      FILE*                aFile
     154    );
     155 
     156    /* Inherit documentation from base class. */
     157     virtual void AnnotatedEnd(
     158      FILE*                aFile
     159    );
     160 
     161    /* Inherit documentation from base class. */
    152162    virtual bool PutNoBranchInfo(
    153163      FILE* report
  • covoar/ReportsText.cc

    r273aec4 r45cee38  
    2020{
    2121  reportExtension_m = ".txt";
     22}
     23
     24void ReportsText::AnnotatedStart(
     25  FILE*                aFile
     26)
     27{
     28  fprintf(
     29    aFile,
     30    "========================================"
     31    "=======================================\n"
     32  );
     33}
     34 
     35void ReportsText::AnnotatedEnd(
     36  FILE*                aFile
     37)
     38{
    2239}
    2340
  • covoar/ReportsText.h

    r273aec4 r45cee38  
    6161  protected:
    6262
     63   /* Inherit documentation from base class. */
    6364    virtual void PutAnnotatedLine(
    6465      FILE*                aFile,
     
    6768      uint32_t             id
    6869    );
    69 
     70 
     71   /* Inherit documentation from base class. */
     72     virtual void AnnotatedStart(
     73      FILE*                aFile
     74    );
     75 
     76    /* Inherit documentation from base class. */
     77     virtual void AnnotatedEnd(
     78      FILE*                aFile
     79    );
     80 
     81   /* Inherit documentation from base class. */
    7082    virtual bool PutNoBranchInfo(
    7183      FILE* report
    7284    );
    7385
     86   /* Inherit documentation from base class. */
    7487    virtual bool PutBranchEntry(
    7588      FILE*                                            report,
     
    7992    );
    8093
     94   /* Inherit documentation from base class. */
    8195    virtual void putCoverageNoRange(
    8296      FILE*        report,
     
    86100    );
    87101
     102   /* Inherit documentation from base class. */
    88103    virtual bool PutCoverageLine(
    89104      FILE*                                           report,
     
    93108    );
    94109
     110   /* Inherit documentation from base class. */
    95111    virtual bool PutSizeLine(
    96112      FILE*                                           report,
     
    100116    );
    101117
     118   /* Inherit documentation from base class. */
    102119    virtual bool PutSymbolSummaryLine(
    103120      FILE*                                           report,
     
    105122      Coverage::DesiredSymbols::symbolSet_t::iterator symbol
    106123    );
    107 
    108124};
    109125
Note: See TracChangeset for help on using the changeset viewer.