LCOV - code coverage report
Current view: top level - core - awsanonymouscredentials.cpp (source / functions) Hit Total Coverage
Test: libqtaws 0.1.0 Lines: 8 8 100.0 %
Date: 2015-06-16 07:50:35 Functions: 4 4 100.0 %

          Line data    Source code
       1             : /*
       2             :     Copyright 2013-2015 Paul Colby
       3             : 
       4             :     This file is part of libqtaws.
       5             : 
       6             :     Libqtaws is free software: you can redistribute it and/or modify
       7             :     it under the terms of the GNU Lesser General Public License as published by
       8             :     the Free Software Foundation, either version 3 of the License, or
       9             :     (at your option) any later version.
      10             : 
      11             :     Libqtaws is distributed in the hope that it will be useful,
      12             :     but WITHOUT ANY WARRANTY; without even the implied warranty of
      13             :     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14             :     GNU Lesser General Public License for more details.
      15             : 
      16             :     You should have received a copy of the GNU Lesser General Public License
      17             :     along with libqtaws.  If not, see <http://www.gnu.org/licenses/>.
      18             : */
      19             : 
      20             : #include "awsanonymouscredentials.h"
      21             : 
      22             : QTAWS_BEGIN_NAMESPACE
      23             : 
      24             : /**
      25             :  * @class  AwsAnonymousCredentials
      26             :  *
      27             :  * @brief  Basic implementation of AwsAbstractCredentials that allows use of "anonymous" credentials.
      28             :  */
      29             : 
      30             : /**
      31             :  * @brief  Constructs a new AwsAnonymousCredentials object.
      32             :  *
      33             :  * Constructs a new AwsAnonymousCredentials object, with no credentials at all.
      34             :  *
      35             :  * @param  parent  The constructed object's optional parent.
      36             :  */
      37           9 : AwsAnonymousCredentials::AwsAnonymousCredentials(QObject * const parent) : AwsAbstractCredentials(parent)
      38             : {
      39           9 : }
      40             : 
      41           5 : QString AwsAnonymousCredentials::accessKeyId() const
      42             : {
      43           5 :     return QString();
      44             : }
      45             : 
      46           5 : QString AwsAnonymousCredentials::secretKey() const
      47             : {
      48           5 :     return QString();
      49             : }
      50             : 
      51           1 : QString AwsAnonymousCredentials::token() const
      52             : {
      53           1 :     return QString();
      54             : }
      55             : 
      56             : QTAWS_END_NAMESPACE

Generated by: LCOV version 1.11