Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1025


Ignore:
Timestamp:
12/18/08 14:24:16 (16 years ago)
Author:
svonolfe
Message:

Fixed deletion (#372)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs

    r995 r1025  
    138138          row.Delete();
    139139          UpdateRow(row);
     140
     141          return true;
    140142        }
    141143      }
  • trunk/sources/HeuristicLab.Hive.Server.Core/DbTestApp.cs

    r1005 r1025  
    231231
    232232    private void TestJobAdapter() {
    233       IJobAdapter jobAdapter = ServiceLocator.GetJobAdapter();
     233      IJobAdapter jobAdapter =
     234        ServiceLocator.GetJobAdapter();
     235      IClientAdapter clientAdapter =
     236        ServiceLocator.GetClientAdapter();
    234237
    235238      Job job = new Job();
     
    245248
    246249      jobAdapter.Delete(job);
     250      clientAdapter.Delete(client);
    247251
    248252      jobs = jobAdapter.GetAll();
     
    287291
    288292      Debug.Assert(allResults.Count == count - 1);
     293
     294      IJobAdapter jboAdapter =
     295        ServiceLocator.GetJobAdapter();
     296      jboAdapter.Delete(job);
     297      IClientAdapter clientAdapter =
     298        ServiceLocator.GetClientAdapter();
     299      clientAdapter.Delete(client);
    289300    }
    290301
     
    303314
    304315      TestClientGroupAdapter();
    305       transactionManager.UpdateDB(); 
     316      transactionManager.UpdateDB();   
    306317
    307318      TestJobAdapter();
     
    309320
    310321      TestJobResultsAdapter();
    311       transactionManager.UpdateDB();
     322      transactionManager.UpdateDB();     
    312323    }
    313324  }
Note: See TracChangeset for help on using the changeset viewer.