Changeset 465 in tmcsimulator for trunk/src/python/unifiedlogger


Ignore:
Timestamp:
07/26/2019 05:12:05 AM (7 years ago)
Author:
jdalbey
Message:

Coordinator.java: Update writeToCAD to sort comments by timestamp instead of incident number. Also add a unit test for this. Fixes #175.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/wing_project.wpr

    r462 r465  
    183183                       'toolbox-percent': 1.0, 
    184184                       'toolbox-tree-sel': ''})], 
    185         'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('logging_service.py'), 
    186         {'attrib-starts': [('getSimTime|0|', 
    187                             7)], 
    188          'code-line': '       print "Error loading json for elapsed time"\n', 
    189          'first-line': 0L, 
     185        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('activitylog_watcher.py'), 
     186        {'attrib-starts': [], 
     187         'code-line': '# Local main for unit testing\n', 
     188         'first-line': 48L, 
    190189         'folded-linenos': [], 
    191          'sel-line': 14L, 
    192          'sel-line-start': 410L, 
    193          'selection_end': 460L, 
    194          'selection_start': 460L, 
     190         'sel-line': 50L, 
     191         'sel-line-start': 1431L, 
     192         'selection_end': 1460L, 
     193         'selection_start': 1460L, 
    195194         'zoom': 0L}, 
    196         1563914714.187541], 
    197         [loc('cad_watcher.py'), 
    198          {'attrib-starts': [('isFull|0|', 
    199                              16)], 
    200           'code-line': '\n', 
    201           'first-line': 18L, 
    202           'folded-linenos': [], 
    203           'sel-line': 18L, 
    204           'sel-line-start': 559L, 
    205           'selection_end': 559L, 
    206           'selection_start': 559L, 
    207           'zoom': 0L}, 
    208          1563914983.485065], 
    209         [loc('activitylog_watcher.py'), 
    210          {'attrib-starts': [], 
    211           'code-line': '# Local main for unit testing\n', 
    212           'first-line': 48L, 
    213           'folded-linenos': [], 
    214           'sel-line': 50L, 
    215           'sel-line-start': 1431L, 
    216           'selection_end': 1460L, 
    217           'selection_start': 1460L, 
    218           'zoom': 0L}, 
    219          1563915276.741928], 
     195        1563915276.741928], 
    220196        [loc('../../../../../../../../usr/lib/python2.7/ConfigParser.py'), 
    221197         {'attrib-starts': [('ConfigParser|0|', 
     
    422398          'selection_start': 565L, 
    423399          'zoom': 0L}, 
    424          1563916220.372856]], 
     400         1563916220.372856], 
     401        [loc('activitylog_watcher.py'), 
     402         {'attrib-starts': [('getLogEntries|0|', 
     403                             42)], 
     404          'code-line': '    resultList = []\n', 
     405          'first-line': 40L, 
     406          'folded-linenos': [], 
     407          'sel-line': 48L, 
     408          'sel-line-start': 1422L, 
     409          'selection_end': 1422L, 
     410          'selection_start': 1422L, 
     411          'zoom': 0L}, 
     412         1564099965.745285], 
     413        [loc('cad_watcher.py'), 
     414         {'attrib-starts': [('isFull|0|', 
     415                             16)], 
     416          'code-line': '\n', 
     417          'first-line': 3L, 
     418          'folded-linenos': [], 
     419          'sel-line': 18L, 
     420          'sel-line-start': 559L, 
     421          'selection_end': 559L, 
     422          'selection_start': 559L, 
     423          'zoom': 0L}, 
     424         1564102192.752733]], 
    425425        20), 
    426         'current-loc': loc('activitylog_watcher.py'), 
     426        'current-loc': loc('__main__.py'), 
    427427        'editor-state-list': [(loc('activitylog_watcher.py'), 
    428428                               {'attrib-starts': [('getLogEntries|0|', 
     
    440440        16)], 
    441441                                'code-line': '\n', 
    442                                 'first-line': 18L, 
     442                                'first-line': 3L, 
    443443                                'folded-linenos': [], 
    444444                                'sel-line': 18L, 
     
    500500         loc('__main__.py')]), 
    501501                               'open_files': [u'../../../config/logging_service.cfg', 
    502         u'__main__.py', 
    503         u'cad_watcher.py', 
    504502        u'cms_watcher.py', 
    505503        u'logging_service.py', 
    506         u'activitylog_watcher.py']}, 
     504        u'activitylog_watcher.py', 
     505        u'cad_watcher.py', 
     506        u'__main__.py']}, 
    507507        'saved_notebook_display': None, 
    508508        'split_percents': {0: 0.5}, 
     
    519519                 'traversal_pos': ((0, 
    520520                                    4), 
    521                                    1563917662.000223), 
     521                                   1564102198.163837), 
    522522                 'user_data': {}}, 
    523523        'window-alloc': (29, 
     
    525525                         1197, 
    526526                         722)}]} 
    527 guimgr.recent-documents = [loc('activitylog_watcher.py'), 
     527guimgr.recent-documents = [loc('__main__.py'), 
     528                           loc('cad_watcher.py'), 
     529                           loc('activitylog_watcher.py'), 
    528530                           loc('logging_service.py'), 
    529531                           loc('cms_watcher.py'), 
    530                            loc('__main__.py'), 
    531                            loc('cad_watcher.py'), 
    532532                           loc('../../../config/logging_service.cfg')] 
    533533guimgr.visual-state = {loc('get_app_properties.py'): {'attrib-starts': [], 
Note: See TracChangeset for help on using the changeset viewer.