LCOV - code coverage report
Current view: top level - core - qgshtmlutils.cpp (source / functions) Hit Total Coverage
Test: coverage.info.cleaned Lines: 0 7 0.0 %
Date: 2021-04-10 08:29:14 Functions: 0 0 -
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /***************************************************************************
       2                 :            :     qgshtmlutils.cpp
       3                 :            :     ---------------------
       4                 :            :     begin                : December 2017
       5                 :            :     copyright            : (C) 2017 by Etienne Trimaille
       6                 :            :     email                : etienne.trimaille at gmail dot com
       7                 :            :  ***************************************************************************
       8                 :            :  *                                                                         *
       9                 :            :  *   This program is free software; you can redistribute it and/or modify  *
      10                 :            :  *   it under the terms of the GNU General Public License as published by  *
      11                 :            :  *   the Free Software Foundation; either version 2 of the License, or     *
      12                 :            :  *   (at your option) any later version.                                   *
      13                 :            :  *                                                                         *
      14                 :            :  ***************************************************************************/
      15                 :            : #include "qgshtmlutils.h"
      16                 :            : #include <QStringList>
      17                 :            : 
      18                 :          0 : QString QgsHtmlUtils::buildBulletList( const QStringList &values )
      19                 :            : {
      20                 :          0 :   QString s( QStringLiteral( "<ul>" ) );
      21                 :            : 
      22                 :          0 :   for ( const QString &value : values )
      23                 :            :   {
      24                 :          0 :     s += QStringLiteral( "<li>%1</li>" ).arg( value );
      25                 :            :   }
      26                 :          0 :   s += QLatin1String( "</ul>" );
      27                 :            : 
      28                 :          0 :   return s;
      29                 :          0 : }

Generated by: LCOV version 1.14