This article is under construction.
$.udb.benchmark.views
Contains view related objects and functions that are accessed via Web Benchmark GUI. The Web Benchmark GUI accesses the $.udb.benchmark API via these views. Every main Web benchmark dialog is constructed via these view objects, they are:
- Manage tests
- Developer info
- Edit actions and parameters
- Overview of last test runs
- Manage extensions
These views are displayed by triggering their events. The functions they contain are primarily used to construct dialogs so they are not discussed in a wider context.
dev
Description | Displays the “Developer info” dialog, intended for debugging purposes. This view is displayed whenever you press the “Developer info” button. |
Example | This example displays the “Developer info” dialog in the web UI:
|
edit
Description | Displays the “Edit test actions and parameters” dialog,. This view is displayed whenever you press the “Edit” button. |
Options |
|
Example | This example displays the “Edit test” dialog in Web Benchmark
|
extend
Description | Displays the “Manage extensions” dialog,. This view is displayed whenever you press the “Extend” button. |
Example | This example displays the “Manage extensions” dialog in Web Benchmark:
|
manage
Description | Displays the “Manage tests” dialog,. This view is displayed whenever you press the “Manage tests” button. |
Options |
Use the Use the |
Example | This example displays the “Manage tests” dialog in Web Benchmark:
|
options
Description | Contains default options of certain views as a convenience object. This object is not itself a view. |
perf
Description | Displays the “Overview of last test runs” dialog,. This view is displayed whenever you press the “Overview” button. |
Options |
Use the Use
|
Example | This example displays the “Overview of last test runs” dialog in Web Benchmark:
This example display the Details of test ID 5 , the second run and the fifth:
|
show()
Description | The function that prepares a view for displaying. All top-level view events (e.g. edit.view ) call this function to prepare a dialog without context. This function in turn calls the view specific show() function, since each view has its own .show() in order to do prepare the view specific content. The actual display is executed by using $.udb.benchmark.dialog |
Options |
|
util
Description | Contains utility functions and static fields. This object is not itself a view. |