TestCenter Reference
TestSupport.NotificationCounter.NotificationCounter Class Reference

Public Member Functions

 __init__ (self, ctx, fieldName)
 reset (self)
 setField (self, ctx, fieldName)
 updateCounter (self, field)
 notifications (self)
 validNotifications (self)

Public Attributes

int counter = 0
int validCounter = 0
 fieldListener = None

Detailed Description

Definition at line 12 of file NotificationCounter.py.

Constructor & Destructor Documentation

◆ __init__()

TestSupport.NotificationCounter.NotificationCounter.__init__ ( self,
ctx,
fieldName )

Definition at line 13 of file NotificationCounter.py.

Member Function Documentation

◆ notifications()

TestSupport.NotificationCounter.NotificationCounter.notifications ( self)

Definition at line 37 of file NotificationCounter.py.

References counter.

◆ reset()

TestSupport.NotificationCounter.NotificationCounter.reset ( self)

Definition at line 20 of file NotificationCounter.py.

References counter, and validCounter.

◆ setField()

TestSupport.NotificationCounter.NotificationCounter.setField ( self,
ctx,
fieldName )

Definition at line 24 of file NotificationCounter.py.

References fieldListener, and updateCounter().

◆ updateCounter()

TestSupport.NotificationCounter.NotificationCounter.updateCounter ( self,
field )

Definition at line 32 of file NotificationCounter.py.

References counter, and validCounter.

Referenced by setField().

◆ validNotifications()

TestSupport.NotificationCounter.NotificationCounter.validNotifications ( self)

Definition at line 40 of file NotificationCounter.py.

References validCounter.

Member Data Documentation

◆ counter

int TestSupport.NotificationCounter.NotificationCounter.counter = 0

Definition at line 14 of file NotificationCounter.py.

Referenced by notifications(), reset(), and updateCounter().

◆ fieldListener

TestSupport.NotificationCounter.NotificationCounter.fieldListener = None

Definition at line 16 of file NotificationCounter.py.

Referenced by setField().

◆ validCounter

int TestSupport.NotificationCounter.NotificationCounter.validCounter = 0

Definition at line 15 of file NotificationCounter.py.

Referenced by reset(), updateCounter(), and validNotifications().


The documentation for this class was generated from the following file: