GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

GATStatus_tests.c File Reference

Source file for minimal GATStatus tests. More...

#include <stdio.h>
#include <memory.h>
#include "GAT.h"
#include "GATErrors.h"
#include "GATStatus.h"
#include "GATMemoryStream.h"
#include "GATTestUtils.h"

Include dependency graph for GATStatus_tests.c:

Include dependency graph

Go to the source code of this file.

Functions

GATStatus create_status (int code, char const *message, char const *filename, GATuint32 lineno)
void print_status (GATContext context, GATStatus status, int level)
int main (void)

Variables

const char * rcsid = "$Header: /export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/test/internal/GATStatus_tests.c,v 1.21 2004/04/28 10:55:19 hartmutkaiser Exp $"


Detailed Description

Source file for minimal GATStatus tests.

Date:
Tue Sep 30 2003
Version:
Header:
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/test/internal/GATStatus_tests.c,v 1.21 2004/04/28 10:55:19 hartmutkaiser Exp

Copyright (C) Hartmut Kaiser This file is part of the GAT Engine. Contributed by Hartmut Kaiser <hartmutkaiser [at] t-online [dot] de>.

Use, modification and distribution is subject to the Gridlab Software License. (See accompanying file GLlicense.txt or copy at http://www.gridlab.org/GLlicense.txt)

Definition in file GATStatus_tests.c.


Function Documentation

GATStatus create_status int    code,
char const *    message,
char const *    filename,
GATuint32    lineno
[static]
 

Definition at line 30 of file GATStatus_tests.c.

References filename, GAT_TEST, GAT_TEST_START, GAT_TEST_STOP, GATStatus_Create(), GATStatus_SetStatusCode(), and GATuint32.

Referenced by main().

void print_status GATContext    context,
GATStatus    status,
int    level
[static]
 

Definition at line 46 of file GATStatus_tests.c.

References GAT_SUCCESS, GAT_TEST_START, GAT_TEST_STOP, GAT_TEST_TRACE, GATList_String_Begin(), GATList_String_End(), GATList_String_Get(), GATList_String_Next(), GATResult, GATStatus_GetChildren(), GATStatus_GetMessages(), GATStatus_GetParent(), and GATStatus_GetStatusCode().

Referenced by main().

int main void   
 

Definition at line 93 of file GATStatus_tests.c.

References create_status(), GAT_DUPLICATE_ADAPTOR, GAT_FAIL, GAT_MEMORYFAILURE, GAT_SUCCEEDED, GAT_SUCCESS, GAT_TEST, GAT_TEST_FINISH, GAT_TEST_INIT, GAT_TEST_START, GAT_TEST_STOP, GAT_TEST_SUITE, GAT_TEST_TRACE, GATBool, GATContext_Create(), GATContext_Destroy(), GATContext_GetType(), GATFalse, GATMemoryStream, GATMemoryStream_Create(), GATMemoryStream_Destroy(), GATMemoryStream_GetBuffer(), GATMemoryStream_Seek(), GATOrigin_Set, GATResult, GATSerialisable_DeSerialise(), GATSerialisable_Serialise(), GATStatus_AddChild(), GATStatus_AddMessage(), GATStatus_Clone(), GATStatus_DeSerialise(), GATStatus_Destroy(), GATStatus_Equals(), GATStatus_Serialise(), GATTrue, GATType_GATContext, GATuint32, and print_status().


Variable Documentation

const char* rcsid = "$Header: /export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/test/internal/GATStatus_tests.c,v 1.21 2004/04/28 10:55:19 hartmutkaiser Exp $" [static]
 

Definition at line 17 of file GATStatus_tests.c.