File: authenticatedialogmock.h

package info (click to toggle)
nitrokey-authenticator 1.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 728 kB
  • sloc: cpp: 2,883; xml: 43; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef AUTHENTICATIONDIALOGMOCK_H
#define AUTHENTICATIONDIALOGMOCK_H

#include <gmock/gmock.h>

#include "authenticatedialog.h"

class AuthenticateDialogMock : public AuthenticateDialog
{
public:
    AuthenticateDialogMock(AuthenticateDialog::Type type)
        : AuthenticateDialog(type) {}

    MOCK_METHOD(int, exec, (), (override));
    MOCK_METHOD(QString, pin, (), (const, override));
};

#endif // AUTHENTICATIONDIALOGMOCK_H