Did I find the right examples for you? yes no

All Samples(79547)  |  Call(0)  |  Derive(0)  |  Import(79547)
Python unit testing framework, based on Erich Gamma's JUnit and Kent Beck's
Smalltalk testing framework.

This module contains the core framework classes that form the basis of
specific test cases and suites (TestCase, TestSuite etc.), and also a
text-based utility class for running the tests and reporting the results
 (TextTestRunner).

Simple usage:
(more...)

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/point_test.py   PySide(Download)
 
import sys
import unittest
 
from sample import Point

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/pointf_test.py   PySide(Download)
'''Test cases for PointF class'''
 
import unittest
 
from sample import PointF

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/pointerholder_test.py   PySide(Download)
 
import sys
import unittest
 
from sample import PointerHolder

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/pen_test.py   PySide(Download)
'''Test cases for <add-function> with const char* as argument'''
 
import unittest
 
from sample import Color, Pen, SampleNamespace

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/pair_test.py   PySide(Download)
 
import sys
import unittest
 
from sample import PairUser

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/ownership_transference_test.py   PySide(Download)
 
import sys
import unittest
 
from sample import ObjectType, BlackBox

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/ownership_reparenting_test.py   PySide(Download)
'''Tests for object reparenting.'''
 
import unittest
import sys
 

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/ownership_invalidate_parent_test.py   PySide(Download)
'''Tests for invalidating a parent of other objects.'''
 
import unittest
 
from sample import ObjectType, BlackBox

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/ownership_invalidate_nonpolymorphic_test.py   PySide(Download)
 
import sys
import unittest
 
from sample import Point, BlackBox

src/p/y/PySide-1.2.2/sources/shiboken/tests/samplebinding/ownership_invalidate_child_test.py   PySide(Download)
'''Tests for invalidating a C++ created child that was already on the care of a parent.'''
 
import unittest
 
from sample import ObjectType, BlackBox

Previous  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next