ExplodeTest03.js 1.0 KB

1234567891011121314151617181920212223242526272829
  1. // Auto generated by Testing Dashboard
  2. // File : scripts/Modify/Explode/Tests/ExplodeTest03.js
  3. // Timestamp : 2016-08-22 10:06:27
  4. // Description : explode with fixed tolerance (1)
  5. include('scripts/Pro/Developer/TestingDashboard/TdbTest.js');
  6. function ExplodeTest03() {
  7. TdbTest.call(this, 'scripts/Modify/Explode/Tests/ExplodeTest03.js');
  8. }
  9. ExplodeTest03.prototype = new TdbTest();
  10. ExplodeTest03.prototype.test00 = function() {
  11. qDebug('running ExplodeTest03.test00()...');
  12. this.setUp();
  13. this.importFile('scripts/Modify/Explode/Tests/data/splines.dxf');
  14. // set tolerance:
  15. RSettings.setValue("Explode/SplineTolerance", 1.0);
  16. this.selectAll();
  17. TdbTest.clickOnWidget('MainWindow::CadToolBar::MainToolsPanel::ModifyToolsPanelButton');
  18. TdbTest.clickOnWidget('MainWindow::CadToolBar::ModifyToolsPanel::ExplodeButton');
  19. this.verifyDrawing('ExplodeTest03_000.dxf');
  20. RSettings.setValue("Explode/SplineTolerance", 0.1);
  21. this.tearDown();
  22. qDebug('finished ExplodeTest03.test00()');
  23. };