Ignore:
Timestamp:
12/31/12 17:06:37 (12 years ago)
Author:
fglaser
Message:
  • Removed an inconsistency in GUIElementTree: find(...) does not throw exceptions if element was not found, but instead returns null.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-events-test/src/test/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementTreeTest.java

    r1005 r1025  
    4848        public void testFindNonExisting(){ 
    4949                GUIElementTree tree = new GUIElementTree(); 
    50                 try{ 
    51                         tree.find(10l); 
    52                         fail("Exception was not thrown."); 
    53                 } 
    54                 catch(Exception e){              
    55                 } 
     50                assertEquals(tree.find(10l), null); 
    5651        } 
    5752 
Note: See TracChangeset for help on using the changeset viewer.