Actions
Task #2221
openFace: unit test coverage for specifying signing identity/certificate in prefix registration
Status:
New
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
3.00 h
Tags:
Description
Add unit testing for registerPrefix
and unregisterPrefix
overloads where signing identity / certificate is specified.
Updated by Junxiao Shi about 10 years ago
- Blocked by Task #1947: Add more unit tests for Face::[register/unregister]Prefix methods added
Updated by Joao Pereira over 9 years ago
For this issue there already are 2 tests:
- RegisterUnregisterPrefix - That will Register using no signature and the unregister
- RegisterUnregisterPrefixFail - That will Register using no signature
I propose to add the following tests
- RegisterUnregisterPrefixUsingSignature - That will Register using a signature and the unregister
- RegisterUnregisterPrefixFailUsingSignature - That will Register using a signature
- RegisterUnregisterPrefixUsingName - That will Register using a name and the unregister
- RegisterUnregisterPrefixFailUsingName - That will Register using a name
I have questions:
- Is there a way to retrieve all the prefix that have been registered to look into the options of them to check the correct value is set?
- Is there any special reason for not using a Mock library to Mock the tests to have more control over the tests?
Updated by Junxiao Shi over 9 years ago
- Blocked by Task #2932: Face: simplify prefix registration APIs with SigningInfo added
Updated by Davide Pesavento almost 6 years ago
- Subject changed from Face: unit test coverage for specifying signing identity / certificate in prefix registration to Face: unit test coverage for specifying signing identity/certificate in prefix registration
Actions