MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
test_parse.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include "json.h"
#include "json_tokener.h"

Go to the source code of this file.

Data Structures

struct  incremental_step
 

Functions

static void test_basic_parse (void)
 
static void test_verbose_parse (void)
 
static void test_incremental_parse (void)
 
int main (int argc, char **argv)
 

Variables

struct incremental_step incremental_steps []
 

Data Structure Documentation

struct incremental_step

Definition at line 162 of file test_parse.c.

Data Fields
const char * string_to_parse
int length
int char_offset
enum json_tokener_error expected_error
int reset_tokener

Function Documentation

static void test_basic_parse ( void  )
static

Definition at line 26 of file test_parse.c.

static void test_verbose_parse ( void  )
static

Definition at line 139 of file test_parse.c.

static void test_incremental_parse ( void  )
static

Definition at line 224 of file test_parse.c.

int main ( int  argc,
char **  argv 
)

Definition at line 14 of file test_parse.c.

Variable Documentation

struct incremental_step incremental_steps[]