Main Page   Modules   Data Structures   File List   Data Fields   Related Pages  

code for running unit test scripts for DBusAuth
[D-BUS internal implementation details]

DBusAuth unit test scripting. More...

Functions

dbus_bool_t _dbus_auth_script_run (const DBusString *filename)
 Runs an "auth script" which is a script for testing the authentication protocol. More...


Detailed Description

DBusAuth unit test scripting.

The code in here is used for unit testing, it loads up a script that tests DBusAuth.


Function Documentation

dbus_bool_t _dbus_auth_script_run const DBusString   filename
 

Runs an "auth script" which is a script for testing the authentication protocol.

Scripts send and receive data, and then include assertions about the state of both ends of the connection after processing the data. A script succeeds if these assertions hold.

Parameters:
filename  the file containing the script to run
Returns:
TRUE if the script succeeds, FALSE otherwise

Definition at line 224 of file dbus-auth-script.c.

References DBusError::message.


Generated on Wed Jun 9 05:01:27 2004 for D-BUS by doxygen1.2.15