You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
448 B
C
20 lines
448 B
C
#include "test.h"
|
|
#include "test/crypto.h"
|
|
#include "ffdb/test.h"
|
|
#include "model/fetch.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
void built_in_test()
|
|
{
|
|
if( !ffdb_test() ) { printf( "[FAIL] ffdb_test\n" ); }
|
|
if( !test_crypto() ) { printf( "[FAIL] test_crypto\n" ); }
|
|
|
|
/*
|
|
printf( "\n\nTesting remote fetch\n" );
|
|
const char* target = "https://example.com/note/1";
|
|
if( !pull_remote_file( "/tmp/test.json", target ) ) { printf( "[FAIL] signed fetch\n" ); }
|
|
*/
|
|
}
|
|
|