Action:
|
Tests and demonstrates the blending functionality.
|
|
Filename:
|
examples/smoke_scm/blend_examples_scm.cxx
|
|
Syntax:
|
(blend:test [type | date | test-name] [dojournal])
|
|
Arg Types:
|
type
|
string
|
|
date
|
string
|
|
test-name
|
string
|
|
dojournal
|
boolean
|
|
Returns:
|
integer | boolean
|
|
Description:
|
This Scheme extension tests and demonstrates the blending functionality by running a series of examples. The optional arguments allow you to specify one of three types of testing: run a predefined set of examples by level of functionality (type); or display a previously run set of examples by date (date); or run a specific test by name.
|
|
|
The string
type defines the level of functionality to be tested. The valid strings are:
|
|
|
"fast"
|
Runs a minimum level of tests
|
|
"smoke"
|
Runs an intermediate level of tests
|
|
"all"
|
Runs all of the blend tests in the example test suite
|
|
|
Passing in a
date returns the tests run on or before the specified date.
date must be a numeric string of the format
"yyyymmdd", where
yyyy is the year,
mm is the month, and
dd is the day.
|
|
|
The string
test-name allows you to specify an individual test or level of functionality to be tested. When no arguments are defined with this command, the list of valid strings for this argument are displayed. Also, running any of the
"fast",
"smoke", or
"all" tests displays the name of the individual tests as each one is executed. The name string of an option demonstrates that particular option. The name string of an obsolete API demonstrates how it can be replaced with the newer function.
|
|
|
The
dojournal function generates the journaling file of the examples executed.
|
|
|
This Scheme extension is for test purposes only. Entities created here are temporary and cannot be retained.
|
|
Example:
|
; blend:test
|
|
; Tests the blending functionality.
|
|
; Display list of blend options.
|
|
(blend:test)
|
|
; The list of blend tests and options are displayed.
|
|
; Please pass in one of the following strings.
|
|
; To test options or functionality:
|
|
; variable_radius_blend
|
|
; chamfering
|
|
; lop_attribute
|
|
; blending_splines
|
|
; blend_entities
|
|
; To test APIs:
|
|
; api_smooth_edge_seq
|
|
; .
|
|
; .
|
|
; .
|
|
; For thorough testing pass in "all". For faster
|
|
; but less thorough testing (smoke test) pass
|
|
; in "smoke". For fast testing pass in "fast".
|
|
; Pass in a date (yyyymmdd) to run tests
|
|
; that were made prior to or on that date.
|
|
;; 0
|