summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/rename_pcre_encoder_runme.py
blob: aa60e4b18d1903fce78f28646a9820034c640e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from rename_pcre_encoder import *

s = SomeWidget()
s.put_borderWidth(3)
if s.get_borderWidth() != 3:
    raise RuntimeError("Border should be 3, not %d" % (s.get_borderWidth(),))

s.put_size(4, 5)
a = AnotherWidget()
a.DoSomething()

evt = wxEVTSomeEvent()
t = xUnchangedName()

if StartINSAneAndUNSAvoryTraNSAtlanticRaNSAck() != 42:
    raise RuntimeError("Unexpected result of renamed function call")