Sleeping Wombat GUI  0.100
swGUI
Functions | Variables
TestRegistration.cpp File Reference
#include "swCommonLib/External/Catch/catch.hpp"
#include "swGUI/Core/Controls/UIElement.h"
#include "swGUI/Core/System/Events/IEventArgs.h"
#include "Classes/TestUIElementClass.h"

Functions

void CleanCounters ()
 
void ValidationDelegate (UIElement *sender, ValidationEventArgs *e)
 
void ValidationDelegate2 (UIElement *sender, ValidationEventArgs *e)
 
void ValidationDelegate3 (UIElement *sender, ValidationEventArgs *e)
 
void ValidationDelegate4 (UIElement *sender, ValidationEventArgs *e)
 
 TEST_CASE ("Raising direct events")
 
 TEST_CASE ("Adding/removing delegates")
 

Variables

int validationDelegateCounter = 0
 
int valid1Counter = 0
 
int valid2Counter = 0
 
int valid3Counter = 0
 
int valid4Counter = 0
 

Function Documentation

void CleanCounters ( )
TEST_CASE ( "Raising direct events"  )
TEST_CASE ( "Adding/removing delegates"  )
void ValidationDelegate ( UIElement sender,
ValidationEventArgs e 
)
void ValidationDelegate2 ( UIElement sender,
ValidationEventArgs e 
)
void ValidationDelegate3 ( UIElement sender,
ValidationEventArgs e 
)
void ValidationDelegate4 ( UIElement sender,
ValidationEventArgs e 
)

Variable Documentation

int valid1Counter = 0
int valid2Counter = 0
int valid3Counter = 0
int valid4Counter = 0
int validationDelegateCounter = 0