From 8ebef7ee31f973b64dce777297cba0b3cfe0f3fe Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 5 Dec 2008 16:37:29 +0000 Subject: Add support for testing FindObjects. --- doc/pkcs11-coverage.py | 3 ++- doc/pkcs11-coverage.txt | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/pkcs11-coverage.py b/doc/pkcs11-coverage.py index 2184cee..2df744c 100644 --- a/doc/pkcs11-coverage.py +++ b/doc/pkcs11-coverage.py @@ -41,7 +41,8 @@ for file in files: continue section = match - coverage[section] = [] + if section not in coverage: + coverage[section] = [] sections = coverage.keys() sections.sort() diff --git a/doc/pkcs11-coverage.txt b/doc/pkcs11-coverage.txt index e5e9847..295df9f 100644 --- a/doc/pkcs11-coverage.txt +++ b/doc/pkcs11-coverage.txt @@ -18,11 +18,40 @@ C_CloseSession - Check open session was closed - Close twice +C_CopyObject +- Not Implemented + +C_CreateObject +- Not Implemented + +C_DestroyObject +- Not Implemented + C_Finalize - With invalid argument - Normal call - Double finalize in a row +C_FindObjects +- Invalid session +- Null object count +- Retrieve count of objects, using NULL buffer +- Retrieve count of objects +- Retrieve a single object before remainder +- Retrieve remaining objects +- Extra call after retrieving all objects. +- Out of order call + +C_FindObjectsFinal +- Invalid session +- Normal call +- Extra call + +C_FindObjectsInit +- Invalid session +- Attribute count without buffer +- Double call. + C_GetFunctionList - See if returns same data as library entry point @@ -95,6 +124,10 @@ C_Initialize - Double initialize in a row C_Login +- Invalid session +- Invalid user type +- Normal login +- Login changes all session state - Login as SO not allowed with RO session - Login as SO - Login changes all session state -- cgit v1.2.3