The file OEMCrypto.h was renamed to OEMCryptoDASH.h and all functions that are only needed for legacy support were removed. Change-Id: I3a7a6f8cbb3ee415b4a313416a25ed78785ecdd7
29 lines
675 B
C++
29 lines
675 B
C++
/*
|
|
* Copyright (C) 2011 Google, Inc. All Rights Reserved
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <termio.h>
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include <sys/time.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
#include <dlfcn.h>
|
|
#define LOG_TAG "WV.TestOEMCrypto"
|
|
#include <utils/Log.h>
|
|
|
|
#include "OEMCryptoDASH.h" // Unit Test 1: The header file must compile.
|
|
#include "MockOEMCrypto.h"
|
|
|
|
int main( int argc, char *argv[] )
|
|
{
|
|
ALOGD("--- Running Test OEMCrypto.\n"); // Unit Test 2: The code links.
|
|
initializeMockOEMCrypto();
|
|
|
|
ALOGD("--- Finished Running OEMCrypto.\n"); // Unit Test 2: The code links.
|
|
return(0);
|
|
}
|