Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
test.h File Reference
#include "nsISupports.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  NS_NO_VTABLE
 Private interface implemented by the nsXFormsUtilityService in XForms extension. More...
protocol  NS_NO_VTABLE
 Private interface implemented by the nsXFormsUtilityService in XForms extension. More...
protocol  NS_NO_VTABLE
 Private interface implemented by the nsXFormsUtilityService in XForms extension. More...
protocol  NS_NO_VTABLE
 Private interface implemented by the nsXFormsUtilityService in XForms extension. More...

Defines

#define NS_NO_VTABLE
#define TESTCALLBACK_IID_STR   "75d2225d-0a67-4dbc-91de-78319594cce8"
#define TESTCALLBACK_IID
#define NS_DECL_TESTCALLBACK   NS_IMETHOD Call(void);
#define NS_FORWARD_TESTCALLBACK(_to)   NS_IMETHOD Call(void) { return _to Call(); }
#define NS_FORWARD_SAFE_TESTCALLBACK(_to)   NS_IMETHOD Call(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Call(); }
#define TEST_IID_STR   "1afbcf6a-e23f-4e12-b191-4c0a76cd9cec"
#define TEST_IID
#define NS_DECL_TEST
#define NS_FORWARD_TEST(_to)
#define NS_FORWARD_SAFE_TEST(_to)
#define TESTSTRING_IID_STR   "5a1f21a2-8aa3-4147-a808-1e1a422dcb76"
#define TESTSTRING_IID
#define NS_DECL_TESTSTRING   NS_IMETHOD Say(const char *sayIt);
#define NS_FORWARD_TESTSTRING(_to)   NS_IMETHOD Say(const char *sayIt) { return _to Say(sayIt); }
#define NS_FORWARD_SAFE_TESTSTRING(_to)   NS_IMETHOD Say(const char *sayIt) { return !_to ? NS_ERROR_NULL_POINTER : _to->Say(sayIt); }
#define TESTINT_IID_STR   "5a1f21a2-8aa3-4147-a808-1e1a422dcb77"
#define TESTINT_IID
#define NS_DECL_TESTINT   NS_IMETHOD Add(PRInt32 a, PRInt32 b);
#define NS_FORWARD_TESTINT(_to)   NS_IMETHOD Add(PRInt32 a, PRInt32 b) { return _to Add(a, b); }
#define NS_FORWARD_SAFE_TESTINT(_to)   NS_IMETHOD Add(PRInt32 a, PRInt32 b) { return !_to ? NS_ERROR_NULL_POINTER : _to->Add(a, b); }

Define Documentation

Value:
NS_IMETHOD Say(const char *sayIt); \
  NS_IMETHOD Shout(const char *shoutIt); \
  NS_IMETHOD Poke(const char *with); \
  NS_IMETHOD Add(PRInt32 a, PRInt32 b, PRInt32 *_retval); \
  NS_IMETHOD Peek(char **_retval); \
  NS_IMETHOD Callback(testCallback *cb); \
  NS_IMETHOD GetIntProp(PRInt32 *aIntProp); \
  NS_IMETHOD SetIntProp(PRInt32 aIntProp); \
  NS_IMETHOD GetRoIntProp(PRInt32 *aRoIntProp);

Definition at line 125 of file test.h.

Definition at line 36 of file test.h.

Definition at line 329 of file test.h.

#define NS_DECL_TESTSTRING   NS_IMETHOD Say(const char *sayIt);

Definition at line 262 of file test.h.

Value:
NS_IMETHOD Say(const char *sayIt) { return !_to ? NS_ERROR_NULL_POINTER : _to->Say(sayIt); } \
  NS_IMETHOD Shout(const char *shoutIt) { return !_to ? NS_ERROR_NULL_POINTER : _to->Shout(shoutIt); } \
  NS_IMETHOD Poke(const char *with) { return !_to ? NS_ERROR_NULL_POINTER : _to->Poke(with); } \
  NS_IMETHOD Add(PRInt32 a, PRInt32 b, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Add(a, b, _retval); } \
  NS_IMETHOD Peek(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Peek(_retval); } \
  NS_IMETHOD Callback(testCallback *cb) { return !_to ? NS_ERROR_NULL_POINTER : _to->Callback(cb); } \
  NS_IMETHOD GetIntProp(PRInt32 *aIntProp) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntProp(aIntProp); } \
  NS_IMETHOD SetIntProp(PRInt32 aIntProp) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIntProp(aIntProp); } \
  NS_IMETHOD GetRoIntProp(PRInt32 *aRoIntProp) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRoIntProp(aRoIntProp); }

Definition at line 149 of file test.h.

#define NS_FORWARD_SAFE_TESTCALLBACK (   _to)    NS_IMETHOD Call(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Call(); }

Definition at line 44 of file test.h.

#define NS_FORWARD_SAFE_TESTINT (   _to)    NS_IMETHOD Add(PRInt32 a, PRInt32 b) { return !_to ? NS_ERROR_NULL_POINTER : _to->Add(a, b); }

Definition at line 337 of file test.h.

#define NS_FORWARD_SAFE_TESTSTRING (   _to)    NS_IMETHOD Say(const char *sayIt) { return !_to ? NS_ERROR_NULL_POINTER : _to->Say(sayIt); }

Definition at line 270 of file test.h.

#define NS_FORWARD_TEST (   _to)
Value:
NS_IMETHOD Say(const char *sayIt) { return _to Say(sayIt); } \
  NS_IMETHOD Shout(const char *shoutIt) { return _to Shout(shoutIt); } \
  NS_IMETHOD Poke(const char *with) { return _to Poke(with); } \
  NS_IMETHOD Add(PRInt32 a, PRInt32 b, PRInt32 *_retval) { return _to Add(a, b, _retval); } \
  NS_IMETHOD Peek(char **_retval) { return _to Peek(_retval); } \
  NS_IMETHOD Callback(testCallback *cb) { return _to Callback(cb); } \
  NS_IMETHOD GetIntProp(PRInt32 *aIntProp) { return _to GetIntProp(aIntProp); } \
  NS_IMETHOD SetIntProp(PRInt32 aIntProp) { return _to SetIntProp(aIntProp); } \
  NS_IMETHOD GetRoIntProp(PRInt32 *aRoIntProp) { return _to GetRoIntProp(aRoIntProp); }

Definition at line 137 of file test.h.

#define NS_FORWARD_TESTCALLBACK (   _to)    NS_IMETHOD Call(void) { return _to Call(); }

Definition at line 40 of file test.h.

#define NS_FORWARD_TESTINT (   _to)    NS_IMETHOD Add(PRInt32 a, PRInt32 b) { return _to Add(a, b); }

Definition at line 333 of file test.h.

#define NS_FORWARD_TESTSTRING (   _to)    NS_IMETHOD Say(const char *sayIt) { return _to Say(sayIt); }

Definition at line 266 of file test.h.

Definition at line 15 of file test.h.

Value:
{0x1afbcf6a, 0xe23f, 0x4e12, \
    { 0xb1, 0x91, 0x4c, 0x0a, 0x76, 0xcd, 0x9c, 0xec }}

Definition at line 88 of file test.h.

#define TEST_IID_STR   "1afbcf6a-e23f-4e12-b191-4c0a76cd9cec"

Definition at line 86 of file test.h.

Value:
{0x75d2225d, 0x0a67, 0x4dbc, \
    { 0x91, 0xde, 0x78, 0x31, 0x95, 0x94, 0xcc, 0xe8 }}

Definition at line 21 of file test.h.

#define TESTCALLBACK_IID_STR   "75d2225d-0a67-4dbc-91de-78319594cce8"

Definition at line 19 of file test.h.

Value:
{0x5a1f21a2, 0x8aa3, 0x4147, \
    { 0xa8, 0x08, 0x1e, 0x1a, 0x42, 0x2d, 0xcb, 0x77 }}

Definition at line 314 of file test.h.

#define TESTINT_IID_STR   "5a1f21a2-8aa3-4147-a808-1e1a422dcb77"

Definition at line 312 of file test.h.

Value:
{0x5a1f21a2, 0x8aa3, 0x4147, \
    { 0xa8, 0x08, 0x1e, 0x1a, 0x42, 0x2d, 0xcb, 0x76 }}

Definition at line 247 of file test.h.

#define TESTSTRING_IID_STR   "5a1f21a2-8aa3-4147-a808-1e1a422dcb76"

Definition at line 245 of file test.h.