|
|
|
@ -123,6 +123,7 @@ static void StorageTestFree(void *x)
|
|
|
|
|
|
|
|
|
|
|
|
static int HostStorageTest01(void)
|
|
|
|
static int HostStorageTest01(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
StorageCleanup();
|
|
|
|
StorageInit();
|
|
|
|
StorageInit();
|
|
|
|
|
|
|
|
|
|
|
|
HostStorageId id1 = HostStorageRegister("test", 8, StorageTestAlloc, StorageTestFree);
|
|
|
|
HostStorageId id1 = HostStorageRegister("test", 8, StorageTestAlloc, StorageTestFree);
|
|
|
|
@ -203,6 +204,7 @@ error:
|
|
|
|
|
|
|
|
|
|
|
|
static int HostStorageTest02(void)
|
|
|
|
static int HostStorageTest02(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
StorageCleanup();
|
|
|
|
StorageInit();
|
|
|
|
StorageInit();
|
|
|
|
|
|
|
|
|
|
|
|
HostStorageId id1 = HostStorageRegister("test", sizeof(void *), NULL, StorageTestFree);
|
|
|
|
HostStorageId id1 = HostStorageRegister("test", sizeof(void *), NULL, StorageTestFree);
|
|
|
|
@ -253,6 +255,7 @@ error:
|
|
|
|
|
|
|
|
|
|
|
|
static int HostStorageTest03(void)
|
|
|
|
static int HostStorageTest03(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
StorageCleanup();
|
|
|
|
StorageInit();
|
|
|
|
StorageInit();
|
|
|
|
|
|
|
|
|
|
|
|
HostStorageId id1 = HostStorageRegister("test1", sizeof(void *), NULL, StorageTestFree);
|
|
|
|
HostStorageId id1 = HostStorageRegister("test1", sizeof(void *), NULL, StorageTestFree);
|
|
|
|
|