Methods
(inner) checkArrowDrawing(posGroupKid, details, version, assert)
Check an arrow drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkDrawings(drawings, details, version, type, assert)
Check drawings.
Name | Type | Description |
---|---|---|
drawings | object | The drawing object to check. |
details | object | The drawing details. |
version | string | The state format version. |
type | string | The type of drawing. |
assert | object | The qunit assert. |
(inner) checkEllipseDrawing(posGroupKid, details, version, assert)
Check an ellipse drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkHandDrawing(posGroupKid, details, version, assert)
Check a hand drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkProtractorDrawing(posGroupKid, details, version, assert)
Check a protractor drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkRectangleDrawing(posGroupKid, details, version, assert)
Check a rectangle drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkRoiDrawing(posGroupKid, details, version, assert)
Check a roi drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkRulerDrawing(posGroupKid, details, version, ref, assert)
Check a ruler drawing.
Name | Type | Description |
---|---|---|
posGroupKid | object | The position group (only) kid. |
details | object | The drawing details. |
version | string | The state format version. |
ref | string | The reference data to compare to. |
assert | object | The qunit assert. |
(inner) checkRulerDrawings(layerKids, details, version, assert)
Check a multi slice ruler drawing.
Name | Type | Description |
---|---|---|
layerKids | object | The draw layer. |
details | object | The drawing details. |
version | string | The state format version. |
assert | object | The qunit assert. |
(inner) checkStateHeader(jsonData, version, assert)
Check state header.
Name | Type | Description |
---|---|---|
jsonData | object | The input data to check. |
version | string | The state format version. |
assert | object | The qunit assert. |
- Source
(inner) read-v01-state-ellipse()
Tests for State v0.1 containing an ellipse.
(inner) read-v01-state-line()
Tests for State v0.1 containing a line.
(inner) read-v01-state-line-multi-slice()
Tests for State v0.1 containing a multi slice ruler.
(inner) read-v01-state-protractor()
Tests for State v0.1 containing a protractor.
(inner) read-v01-state-rectangle()
Tests for State v0.1 containing a rectangle.
(inner) read-v01-state-roi()
Tests for State v0.1 containing a roi.
(inner) read-v02-state-arrow()
Tests for State v0.2 containing an arrow.
(inner) read-v02-state-ellipse()
Tests for State v0.2 containing an ellipse.
(inner) read-v02-state-hand()
Tests for State v0.2 containing a hand draw.
(inner) read-v02-state-protractor()
Tests for State v0.2 containing a protractor.
(inner) read-v02-state-rectangle()
Tests for State v0.2 containing a rectangle.
(inner) read-v02-state-roi()
Tests for State v0.2 containing a roi.
(inner) read-v02-state-ruler()
Tests for State v0.2 containing a ruler.
(inner) read-v02-state-ruler-multi-slice()
Tests for State v0.2 containing a multi slice ruler.
(inner) read-v03-state-arrow()
Tests for State v0.3 containing an arrow.
(inner) read-v03-state-ellipse()
Tests for State v0.3 containing an ellipse.
(inner) read-v03-state-hand()
Tests for State v0.3 containing a hand draw.
(inner) read-v03-state-protractor()
Tests for State v0.3 containing a protractor.
(inner) read-v03-state-rectangle()
Tests for State v0.3 containing a rectangle.
(inner) read-v03-state-roi()
Tests for State v0.3 containing a roi.
(inner) read-v03-state-ruler()
Tests for State v0.3 containing a ruler.
(inner) read-v03-state-ruler-multi-slice()
Tests for State v0.3 containing a multi slice ruler.
(inner) read-v04-state-arrow()
Tests for State v0.4 containing an arrow.
(inner) read-v04-state-ellipse()
Tests for State v0.4 containing an ellipse.
(inner) read-v04-state-hand()
Tests for State v0.4 containing a hand draw.
(inner) read-v04-state-protractor()
Tests for State v0.4 containing a protractor.
(inner) read-v04-state-rectangle()
Tests for State v0.4 containing a rectangle.
(inner) read-v04-state-roi()
Tests for State v0.4 containing a roi.
(inner) read-v04-state-ruler()
Tests for State v0.4 containing a ruler.
(inner) read-v04-state-ruler-multi-slice()
Tests for State v0.4 containing a multi slice ruler.
(inner) read-v05-state-arrow()
Tests for State v0.5 containing an arrow.
(inner) read-v05-state-ellipse()
Tests for State v0.5 containing an ellipse.
(inner) read-v05-state-hand()
Tests for State v0.5 containing a hand draw.
(inner) read-v05-state-protractor()
Tests for State v0.5 containing a protractor.
(inner) read-v05-state-rectangle()
Tests for State v0.5 containing a rectangle.
(inner) read-v05-state-roi()
Tests for State v0.5 containing a roi.
(inner) read-v05-state-ruler()
Tests for State v0.5 containing a ruler.
(inner) read-v05-state-ruler-multi-slice()
Tests for State v0.5 containing a multi slice ruler.
(inner) testState(data, version, type, assert)
Test a state file.
Name | Type | Description |
---|---|---|
data | object | The test data. |
version | string | The state format version. |
type | string | The type of drawing. |
assert | object | The qunit assert. |
- Source