Ignore:
Timestamp:
08/17/12 10:23:13 (12 years ago)
Author:
sherbold
Message:
  • adapted MFC plugin to new event core
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-ui-core-test/src/test/java/de/ugoe/cs/quest/plugin/mfc/eventcore/WindowsEventTest.java

    r434 r567  
    2121                String target1 = "<window name=\"name1\" class=\"class1\" resourceId=\"id1\" isModal=\"modal1\" hwnd=\"111\"/>"; 
    2222                String target2 = "<window name=\"name1\" class=\"class1\" resourceId=\"id1\" isModal=\"modal1\" hwnd=\"111\"/>"; 
    23                 event.setTarget(target1); 
     23                event.setTarget(new MFCEventTarget(target1)); 
    2424                boolean expected = true; 
    2525                 
     
    3434                String target1 = "<window name=\"Messplatz\" class=\"#32770\" resourceId=\"0\" isModal=\"true\" hwnd=\"1770138\"/><window name=\"Messplatz im Einstellmodus\" class=\"#32770\" resourceId=\"0\" isModal=\"true\" hwnd=\"2032262\"/><window name=\"\" class=\"#32770\" resourceId=\"0\" isModal=\"false\" hwnd=\"459658\"/><window name=\"\" class=\"SysTabControl32\" resourceId=\"12320\" isModal=\"false\" hwnd=\"983734\"/>"; 
    3535                String target2 = "<window name=\"Messplatz\" class=\"#32770\" resourceId=\"0\" isModal=\"true\" hwnd=\"1770138\"/><window name=\"Messplatz im Einstellmodus\" class=\"#32770\" resourceId=\"0\" isModal=\"true\" hwnd=\"2032262\"/><window name=\"\" class=\"#32770\" resourceId=\"0\" isModal=\"false\" hwnd=\"459658\"/><window name=\"\" class=\"SysTabControl32\" resourceId=\"12320\" isModal=\"false\" hwnd=\"983734\"/>"; 
    36                 event.setTarget(target1); 
     36                event.setTarget(new MFCEventTarget(target1)); 
    3737                boolean expected = true; 
    3838                 
Note: See TracChangeset for help on using the changeset viewer.