Add new Base32 implementation
This commit is contained in:
committed by
Janek Bevendorff
parent
85f652290b
commit
19eb6a8a60
37
tests/TestBase32.h
Normal file
37
tests/TestBase32.h
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (C) 2017 KeePassXC Team <team@keepassxc.org>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 or (at your option)
|
||||
* version 3 of the License.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef KEEPASSX_TESTBASE32_H
|
||||
#define KEEPASSX_TESTBASE32_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class Base32;
|
||||
|
||||
class TestBase32 : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private slots:
|
||||
void testEncode();
|
||||
void testDecode();
|
||||
void testAddPadding();
|
||||
void testRemovePadding();
|
||||
void testSanitizeInput();
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_TESTBASE32_H
|
||||
Reference in New Issue
Block a user