From a0c5104b971309fe7d7f91d9bf22467034662dcc Mon Sep 17 00:00:00 2001 From: Pablo Alvarez Lopez Date: Fri, 5 May 2017 11:32:39 +0000 Subject: [PATCH] Added netedit test volatileRecomputing\crossings.guess. Refs #3045 git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@24200 afbd958f-9f77-42d5-a016-97a22340ccf4 --- ...rently disabled) input_additionals.add.xml | 16 + .../crossings.guess/errors.netedit | 0 .../crossings.guess/input_net.con.xml | 121 +++ .../crossings.guess/input_net.edg.xml | 177 ++++ .../crossings.guess/input_net.net.xml | 586 +++++++++++ .../crossings.guess/input_net.netccfg | 15 + .../crossings.guess/input_net.nod.xml | 50 + .../crossings.guess/input_net.tll.xml | 29 + .../crossings.guess/log.netedit | 2 + .../crossings.guess/net.netedit | 955 ++++++++++++++++++ .../crossings.guess/output.netedit | 0 .../crossings.guess/test.sikuli/test.py | 42 + 12 files changed, 1993 insertions(+) create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/(Currently disabled) input_additionals.add.xml create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/errors.netedit create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.con.xml create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.edg.xml create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.net.xml create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.netccfg create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.nod.xml create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.tll.xml create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/log.netedit create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/net.netedit create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/output.netedit create mode 100644 sumo/tests/netedit/volatileRecomputing/crossings.guess/test.sikuli/test.py diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/(Currently disabled) input_additionals.add.xml b/sumo/tests/netedit/volatileRecomputing/crossings.guess/(Currently disabled) input_additionals.add.xml new file mode 100644 index 00000000000..13f7bc0c763 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/(Currently disabled) input_additionals.add.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/errors.netedit b/sumo/tests/netedit/volatileRecomputing/crossings.guess/errors.netedit new file mode 100644 index 00000000000..e69de29bb2d diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.con.xml b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.con.xml new file mode 100644 index 00000000000..bab98ac6fc5 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.con.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.edg.xml b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.edg.xml new file mode 100644 index 00000000000..5147e2f4c71 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.edg.xml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.net.xml b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.net.xml new file mode 100644 index 00000000000..31402771a2d --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.net.xml @@ -0,0 +1,586 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.netccfg b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.netccfg new file mode 100644 index 00000000000..bc35431c619 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.netccfg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.nod.xml b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.nod.xml new file mode 100644 index 00000000000..3c1d577fcc1 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.nod.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.tll.xml b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.tll.xml new file mode 100644 index 00000000000..f6f92f906e9 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/input_net.tll.xml @@ -0,0 +1,29 @@ + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/log.netedit b/sumo/tests/netedit/volatileRecomputing/crossings.guess/log.netedit new file mode 100644 index 00000000000..dc8595ebf63 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/log.netedit @@ -0,0 +1,2 @@ +Warning: Opening FXMessageBox of type 'question' +Warning: Closed FXMessageBox of type 'question' with 'Yes' diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/net.netedit b/sumo/tests/netedit/volatileRecomputing/crossings.guess/net.netedit new file mode 100644 index 00000000000..4469b708c0d --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/net.netedit @@ -0,0 +1,955 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/output.netedit b/sumo/tests/netedit/volatileRecomputing/crossings.guess/output.netedit new file mode 100644 index 00000000000..e69de29bb2d diff --git a/sumo/tests/netedit/volatileRecomputing/crossings.guess/test.sikuli/test.py b/sumo/tests/netedit/volatileRecomputing/crossings.guess/test.sikuli/test.py new file mode 100644 index 00000000000..69a788a24d0 --- /dev/null +++ b/sumo/tests/netedit/volatileRecomputing/crossings.guess/test.sikuli/test.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +""" +@file test.py +@author Pablo Alvarez Lopez +@date 2016-11-25 +@version $Id: test.py 24066 2017-04-25 17:19:15Z palcraft $ + +python script used by sikulix for testing netedit + +SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/ +Copyright (C) 2009-2017 DLR/TS, Germany + +This file is part of SUMO. +SUMO is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. +""" +# import common functions for netedit tests +import os +import sys + +testRoot = os.path.join(os.environ.get('SUMO_HOME', '.'), 'tests') +neteditTestRoot = os.path.join( + os.environ.get('TEXTTEST_HOME', testRoot), 'netedit') +sys.path.append(neteditTestRoot) +import neteditTestFunctions as netedit + +# Open netedit +neteditProcess, match = netedit.setupAndStart(neteditTestRoot, False, True, ['--crossings.guess']) + +# Recompute with volatile options +netedit.rebuildNetworkWithVolatileOptions() + +# save additionals +#netedit.saveAdditionals() + +# save newtork +netedit.saveNetwork() + +# quit netedit +netedit.quit(neteditProcess)