Passwordfile library 5.0.12
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) |
void | testBasicWriting () |
Tests writing (and reading again) using basic features. | |
void | testExtendedWriting () |
Tests writing (and reading again) using extended features. | |
The PasswordFileTests class tests the Io::PasswordFile class.
Definition at line 19 of file passwordfiletests.cpp.
|
override |
Definition at line 39 of file passwordfiletests.cpp.
|
override |
Definition at line 43 of file passwordfiletests.cpp.
void PasswordFileTests::testBasicWriting | ( | ) |
Tests writing (and reading again) using basic features.
Definition at line 153 of file passwordfiletests.cpp.
void PasswordFileTests::testExtendedWriting | ( | ) |
Tests writing (and reading again) using extended features.
Definition at line 187 of file passwordfiletests.cpp.
void PasswordFileTests::testReading | ( | ) |
Tests reading the testfiles testfile{1,2}.pwmgr.
Definition at line 50 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 ) |
Definition at line 55 of file passwordfiletests.cpp.