Drag[en]gine Script Module DragonScript Script API  1.0
TestRangeModel Class Reference
Inheritance diagram for TestRangeModel:

Public Member Functions

TestRangeModel new (String name)
 
void testInitValues ()
 
void testSetMaximum ()
 
void testSetMinimum ()
 
void testSetPageSize ()
 
void testSetValue ()
 
void testWrongValues ()
 

Detailed Description

Test Case for the range model

quick way to flip arguments of assertEquals in the case you switched them (NEdit) search: "(this\.assertEquals\( )([^,]*)(, )([^ ]*)( \))" replace: "this\.assertEquals\( \4, \2 \)"

Member Function Documentation

§ new()

TestRangeModel new ( String  name)

Creates a new TestRangeModel object

§ testInitValues()

void testInitValues ( )

Create default range model and test initial values.

§ testSetMaximum()

void testSetMaximum ( )

Test adjusting the maximum value.

§ testSetMinimum()

void testSetMinimum ( )

Test adjusting the minimum value.

§ testSetPageSize()

void testSetPageSize ( )

Test adjusting the page size.

§ testSetValue()

void testSetValue ( )

Test changing the value.

§ testWrongValues()

void testWrongValues ( )

Test wrong values that should be corrected.


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