|
Passwordfile library 5.2.0
C++ library to read/write passwords from/to encrypted files
|
The PasswordFileTests class tests the Io::PasswordFile class. More...
Public Member Functions | |
| void | setUp () override |
| void | tearDown () override |
| void | testReading () |
| Tests reading the testfiles testfile{1,2}.pwmgr. | |
| void | testReading (const string &context, const string &testfile1path, const string &testfile1password, const string &testfile2, const string &testfile2password, bool testfile2Mod, bool extendedHeaderMod, bool withHMAC=false) |
| void | testBasicWriting () |
| Tests writing (and reading again) using basic features. | |
| void | testExtendedWriting () |
| Tests writing (and reading again) using extended features. | |
| void | testAuthTagVerification () |
The PasswordFileTests class tests the Io::PasswordFile class.
Definition at line 19 of file passwordfiletests.cpp.
|
override |
Definition at line 41 of file passwordfiletests.cpp.
|
override |
Definition at line 45 of file passwordfiletests.cpp.
| void PasswordFileTests::testAuthTagVerification | ( | ) |
Definition at line 247 of file passwordfiletests.cpp.
| void PasswordFileTests::testBasicWriting | ( | ) |
Tests writing (and reading again) using basic features.
Definition at line 161 of file passwordfiletests.cpp.
| void PasswordFileTests::testExtendedWriting | ( | ) |
Tests writing (and reading again) using extended features.
Definition at line 195 of file passwordfiletests.cpp.
| void PasswordFileTests::testReading | ( | ) |
Tests reading the testfiles testfile{1,2}.pwmgr.
Definition at line 52 of file passwordfiletests.cpp.
| void PasswordFileTests::testReading | ( | const string & | context, |
| const string & | testfile1path, | ||
| const string & | testfile1password, | ||
| const string & | testfile2, | ||
| const string & | testfile2password, | ||
| bool | testfile2Mod, | ||
| bool | extendedHeaderMod, | ||
| bool | withHMAC = false ) |
Definition at line 57 of file passwordfiletests.cpp.