Changeset 1674

Show
Ignore:
Timestamp:
03/03/10 17:16:15 (5 months ago)
Author:
thomas
Message:

added a new test browser for ullTableTool and two tests

Location:
trunk
Files:
3 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ullCorePlugin/lib/ullTestBrowser.class.php

    r1646 r1674  
    459459    return $s; 
    460460  } 
     461   
     462  public function getDgsUllTableToolList() 
     463  { 
     464    $s = new ullDomGridSelector('table.list_table > tbody', 'tr', 'td', array(), array()); 
     465     
     466    return $s; 
     467  } 
     468   
     469public function getDgsUllTableToolUllLocationList() 
     470  { 
     471    $s = new ullDomGridSelector('table.list_table > tbody', 'tr', 'td', array(),  
     472      array( 
     473        'edit_delete', 
     474        'name', 
     475        'short_name', 
     476        'city', 
     477        'country' 
     478      ) 
     479    ); 
     480     
     481    return $s; 
     482  } 
     483 
     484  public function getDgsUllTableToolUserStatusList() 
     485  { 
     486    $s = new ullDomGridSelector('table.list_table > tbody', 'tr', 'td', array(), 
     487      array( 
     488        'edit_delete',       
     489        'name_translation_en', 
     490        'is_active', 
     491        'is_absent' 
     492      ) 
     493    ); 
     494     
     495    return $s; 
     496  } 
    461497} 
    462498 
     499 
     500