aboutsummaryrefslogtreecommitdiff
path: root/unittest/test2.cc
Commit message (Collapse)AuthorAge
* Rename #define: s/STICK10/NKPRO and s/STICK20/NKSTORAGEpr_60Elie Tournier2017-05-25
| | | | Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
* Rename devices: s/Stick10/Device_NKPro and s/Stick20/Device_NKStorageElie Tournier2017-05-25
| | | | Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
* Rename functions: s/stick10/NKPro and s/stick20/NKStorageElie Tournier2017-05-25
| | | | Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
* Rename files: s/stick10/NKPro and s/stick20/NKStorageElie Tournier2017-05-25
| | | | Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
* Use CMake instead of MakeSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests fixedSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Decrease debug log output in c++ testsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Tests: skip long and dangerous testsSzczepan Zalega2016-11-26
| | | | | | remove hidden volume test from general test Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Tests refactoring - replace magic values with constantsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Make packet variables' names more clearSzczepan Zalega2016-11-26
| | | | | | | | General fixes Remove default values from hidden volume setup command rename password -> pin Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support getting SD card occupancy and testSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support for changing firmware update password and testSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test multiple hidden volumes with different passwords and locationsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support for setting hidden volume and test for itSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test command ids correctness and getting device statusSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Handle FillSDCardWithRandomChars command and test itSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: check device status. Use automatic disconnection.Szczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: another commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: check more commandsSzczepan Zalega2016-11-26
| | | | | | Add delay after each command by default. Check EnableHiddenEncryptedPartition more than once. Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: reduced code bloatSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Test: let device rest after enabling encrypted partitionSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests update (2) - wait before lockSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests updateSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* C++ tests for Storage commandsSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Migrate commands to new formatSzczepan Zalega2016-11-26
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>