ctypes.test
index
/usr/local/lib/python2.5/ctypes/test/__init__.py
Module Docs

 
Package Contents
       
runtests
test_anon
test_array_in_pointer
test_arrays
test_as_parameter
test_bitfields
test_buffers
test_byteswap
test_callbacks
test_cast
test_cfuncs
test_checkretval
test_errcheck
test_find
test_funcptr
test_functions
test_incomplete
test_init
test_integers
test_internals
test_keeprefs
test_libc
test_loading
test_macholib
test_memfunctions
test_numbers
test_objects
test_parameters
test_pointers
test_prototypes
test_python_api
test_random_things
test_refcounts
test_repr
test_returnfuncptrs
test_simplesubclasses
test_sizes
test_slicing
test_stringptr
test_strings
test_struct_fields
test_structures
test_unaligned_structures
test_unicode
test_values
test_varsize_struct
test_win32

 
Classes
       
BasicTestRunner
exceptions.Exception(exceptions.BaseException)
ResourceDenied
unittest.TextTestRunner(__builtin__.object)
TestRunner

 
class BasicTestRunner
     Methods defined here:
run(self, test)

 
class ResourceDenied(exceptions.Exception)
    Test skipped because it requested a disallowed resource.
 
This is raised when a test calls requires() for a resource that
has not be enabled.  Resources are defined by test modules.
 
 
Method resolution order:
ResourceDenied
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object at 0x8125440>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message
exception message

 
class TestRunner(unittest.TextTestRunner)
    
Method resolution order:
TestRunner
unittest.TextTestRunner
__builtin__.object

Methods defined here:
run(self, test, skipped)
Run the given test case or test suite.

Methods inherited from unittest.TextTestRunner:
__init__(self, stream=<open file '<stderr>', mode 'w' at 0xb75b90b0>, descriptions=1, verbosity=1)

Data descriptors inherited from unittest.TextTestRunner:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
find_package_modules(package, mask)
get_tests(package, mask, verbosity)
Return a list of skipped test modules, and a list of test cases.
is_resource_enabled(resource)
Test whether a resource is enabled.
 
If the caller's module is __main__ then automatically return True.
main(*packages)
requires(resource, msg=None)
Raise ResourceDenied if the specified resource is not available.
 
If the caller's module is __main__ then automatically return True.
run_tests(package, mask, verbosity, search_leaks)
test_with_refcounts(runner, verbosity, testcase)
Run testcase several times, tracking reference counts.
usage()

 
Data
        use_resources = []