| 12345678910111213141516171819202122232425262728 |
- // Auto generated by Testing Dashboard
- // File : scripts/Layer/AddLayer/Tests/AddLayerTest01.js
- // Timestamp : 2015-04-22 09:56:15
- // Description :
- include('scripts/Pro/Developer/TestingDashboard/TdbTest.js');
- function AddLayerTest01() {
- TdbTest.call(this, 'scripts/Layer/AddLayer/Tests/AddLayerTest01.js');
- }
- AddLayerTest01.prototype = new TdbTest();
- AddLayerTest01.prototype.test00 = function() {
- qDebug('running AddLayerTest01.test00()...');
- this.setUp();
- this.dlgStart();
- this.dlgAppendCode('var map = new Map()');
- this.dlgAppendCode("map.put('DialogOpenedByTdb/LayerName', 'MyLayer')");
- this.dlgAppendCode("WidgetFactory.restoreState(dialog, 'DialogOpenedByTdb', undefined, false, undefined, map)");
- this.dlgEnd();
- TdbTest.clickOnWidget('MainWindow::LayerListProDock::LayerWidgetPro::Add');
- this.verifyDrawing('AddLayerTest01_000.dxf');
- this.tearDown();
- qDebug('finished AddLayerTest01.test00()');
- };
|