Digital Authentication Framework  6.0.1.37
Classes | Typedefs | Variables
daf_testlib.h File Reference

Library of tests for DAF implementation. More...

#include "DigitalAuthenticationFramework.h"

Go to the source code of this file.

Classes

class  DATestInterface
 Interface between test library and test environment. More...
 
class  DATestLib
 Run a sequence of tests. More...
 

Typedefs

typedef unsigned int DATestId
 Test identification. More...
 

Variables

const DATestId ALL_TESTS_FIRST = 1000
 Lowest test number for all tests.
 
const DATestId GENERAL_TESTS_FIRST = 1000
 First general DAF implementation test.
 
const DATestId GENERAL_TESTS_LAST = 1999
 Last general test.
 
const DATestId SMIME_TESTS_FIRST = 2000
 First test for SMIME-capable keys.
 
const DATestId SMIME_TESTS_LAST = 2999
 Last SMIME key test.
 
const DATestId TLS_TESTS_FIRST = 3000
 First tests for TLS client-auth key.
 
const DATestId TLS_TESTS_LAST = 3999
 Last TLS key test.
 
const DATestId ALL_TESTS_LAST = 9999
 Highest test number for all tests.
 

Detailed Description

Library of tests for DAF implementation.

This library is supplied with the DAF SDK to assist developing an implementation. The test library is supplied a DASession object (and an associated DADevice), and will run tests on the keys made available through that session. Test status is reported back to the caller as tests proceed, via the DATestInterface interface.

Typedef Documentation

typedef unsigned int DATestId

Test identification.

All tests are given integer identification numbers. This allows all tests, or a restricted range of tests, to be run (see DATestLib::runTests()).