public function install()
 {
     Utils_CommonDataCommon::new_array('Tests/RecordBrowser/Test_Commondata', array('Test0', 'Test1', 'Test2', 'Test3', 'Test4'));
     Utils_CommonDataCommon::new_array('Tests/RecordBrowser/Test_Permissions', array('none', 'partial view', 'full view', 'partial edit', 'full edit', 'delete'));
     $tr = new Tests_RecordBrowser_Recordset();
     $tr->install();
     //$ra = new RBO_RecordsetAccessor('tests_record_set');
     //$records = array();
     //$in = -1;
     //records for RB tests (full permission)
     $record = $tr->new_record($this->prepare_data(5, false, false));
     $this->update_record($record, $this->prepare_data(5, true, false));
     $record = $tr->new_record($this->prepare_data(5, false, true));
     $this->update_record($record, $this->prepare_data(5, true, true));
     //records for permissions tests
     for ($j = 0; $j < 5; $j++) {
         $record = $tr->new_record($this->prepare_data($j, false, true));
         $this->update_record($record, $this->prepare_data($j, true, true));
     }
     //setting permissions
     $this->prepare_permissions();
     return true;
 }