Beispiel #1
0
 def setUp(self):
     self.condition_types = create_road_condition_types([
         'Test-Type-1', 'Test-Type-2', 'Test-Type-3', 'Test-Type-4',
         'Test-Type-5'
     ])
     self.conditions = create_road_conditions([
         'Test-Condition-1', 'Test-Condition-2', 'Test-Condition-3',
         'Test-Condition-4', 'Test-Condition-5'
     ], self.condition_types)
     self.instrument_systems = create_instrument_systems(
         ['Test-Sys-1', 'Test-Sys-2', 'Test-Sys-3'])
     self.rc_action_goals = create_road_condition_action_goals(
         ['Test-Goal-1', 'Test-Goal-2', 'Test-Goal-3'])
     self.rc_actions = create_road_condition_actions(
         ['Test-RCA-1', 'Test-RCA-2', 'Test-RCA-3'], self.rc_action_goals,
         self.instrument_systems[0])
     self.rs_types = create_road_segment_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.folder_types = create_folder_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.folders = create_folders(['Test-1', 'Test-2', 'Test-3'],
                                   self.folder_types)
     self.scenarios = create_scenarios(
         ['Test-Scenario-1', 'Test-Scenario-2', 'Test-Scenario-3'],
         self.folders)
     self.road_segments = create_road_segments(
         ['Test-Segment-1', 'Test-Segment-2', 'Test-Segment-3'],
         self.scenarios, self.rs_types)
 def setUp(self):
     self.folder_types = create_folder_types(
         ['scenarios', 'Test-Type-2', 'Test-Type-3'])
     self.folders = create_folders(['Test-1', 'Test-2', 'Test-3'],
                                   self.folder_types)
     self.scenarios = create_scenarios(
         ['Test-Scenario-1', 'Test-Scenario-2', 'Test-Scenario-3'],
         self.folders)
     self.segment_types = create_road_segment_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.segments = create_road_segments(
         ['Test-Name-1', 'Test-Name-2', 'Test-Name-3'], self.scenarios,
         self.segment_types)
 def setUp(self):
     self.condition_types = create_road_condition_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.segment_types = create_road_segment_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.scenarios = create_scenarios(
         ['Test-Scenario-1', 'Test-Scenario-2', 'Test-Scenario-3'],
         [None, None, None])
     self.segments = create_road_segments(
         ['Test-Name-1', 'Test-Name-2', 'Test-Name-3'], self.scenarios,
         self.segment_types)
     self.simulations = create_simulations(
         ['Test-Simulation-1', 'Test-Simulation-2', 'Test-Simulation-3'])
     self.scenes = create_simulation_scenes(self.simulations)
     self.events = create_simulation_scene_events(self.scenes,
                                                  self.segments,
                                                  self.condition_types)
 def setUp(self):
     self.folder_types = create_folder_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.folders = create_folders(['Test-1', 'Test-2', 'Test-3'],
                                   self.folder_types)
     self.scenarios = create_scenarios(
         ['Test-Scenario-1', 'Test-Scenario-2', 'Test-Scenario-3'],
         self.folders)
     self.segment_types = create_road_segment_types(
         ['Test-Type-1', 'Test-Type-2', 'Test-Type-3'])
     self.segments = create_road_segments(
         ['Test-Name-1', 'Test-Name-2', 'Test-Name-3'], self.scenarios,
         self.segment_types)
     self.condition_types = create_road_condition_types(
         ['Test-Type-1', 'Test-Type-2'])
     self.conditions = create_road_conditions(
         ['Test-Condition-1', 'Test-Condition-2'], self.condition_types)
     self.response_plans = create_response_plans(['AND', 'AND', 'AND'],
                                                 self.segments,
                                                 self.conditions,
                                                 self.scenarios)