Q7

Remove redundant mappings of widgets to model

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.5
  • Fix Version/s: 1.1.6
  • Component/s: Runtime
  • Labels:
    None

Description

I have just clicked on an element in the table, but deep inside tesla a lot of actions has been performed, including mapping all properties of Shell to EMF model via reflection:
SWTWidgetLocator.getShell() (SWTWidgetLocator.java:1023) calls SWTUIElement.getModel(). Probably we should have some property like "not yet mapped" and call it only when it is necessary.

Activity

Hide
komaz added a comment - 26/Jan/12 7:58 PM

Does the same thing happens during replay? If yes, it is interesting how many time we can save on big test suites

Show
komaz added a comment - 26/Jan/12 7:58 PM Does the same thing happens during replay? If yes, it is interesting how many time we can save on big test suites
Hide
komaz added a comment - 27/Jan/12 11:04 AM

Fixed, now advanced properties are calculated only when user expands "Advanced properties" node in assertion window

Show
komaz added a comment - 27/Jan/12 11:04 AM Fixed, now advanced properties are calculated only when user expands "Advanced properties" node in assertion window

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    26/Jan/12 7:57 PM
    Updated:
    27/Jan/12 11:04 AM
    Resolved:
    27/Jan/12 11:04 AM