Tests for IBM® Gauge widgets
The test files included in ibm_gauge/tests/widget are examples of using the Gauge widgets. There are five
test files included. They are described below.
- ibmAnalogGaugeWidgetTest.html - This test case shows the usage of the AnalogGauge widget. The
widget is created in markup, but all ranges, indicators, and labels are created programmatically
in JavaScriptTM.
- ibmAnalogGaugeWidgetTestDeclarative.html - This test case displays the exact same page as the
page above, however all components (the gauge itself, ranges, indicators, labels) are all created
declaratively (in HTML markup). No JavaScript is used in creating the same Gauge that is created in
ibmAnalogGaugeWidgetTest.html file.
- ibmBarGraphWidgetTest.html - This test case shows the usage of the BarGraph widget. The
widget is created in markup, but all ranges, indicators, and labels are created programmatically
in JavaScript.
- ibmBarGraphWidgetTestDeclarative.html - This test case displays the exact same page as the
page above, however all components (the gauge itself, ranges, indicators, labels) are all created
declaratively (in HTML markup). No JavaScript is used in creating the same Gauge as above.
- ibmCombinedGaugeWidgetTest.html - This test case shows both the AnalogGauge and BarGraph widgets
on the same page with a selection of Dijit widgets in both the tundra and noir themes. This is
to demonstrate how the Gauge widgets can be styled to match a particular theme.