Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/11 14:16:53 (13 years ago)
Author:
cneumuel
Message:

#1233

  • renamed UptimeCalendar and Appointment to Downtime
  • added service methods to delete plugins and get plugin by hash
  • made reverted TransactionManager change, made it non-static and added interface
  • moved magic numbers to application settings
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests/ExperimentManagerTests.cs

    r6433 r6452  
    4747      rhc.HiveExperiment.HiveJobs.Add(new OptimizerHiveJob(optimizer));
    4848     
    49       HiveClient.StartExperiment((Exception ex) => TestContext.WriteLine(ex.ToString()), rhc);
     49      HiveClient.StartExperiment((Exception ex) => TestContext.WriteLine(ex.ToString()), rhc, new CancellationToken());
    5050
    5151      while (rhc.HiveExperiment.ExecutionState != Core.ExecutionState.Stopped) {
    5252        Thread.Sleep(500);
    5353      }
    54 
    5554    }
    5655
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests/HeuristicLab.Clients.Hive.Tests-3.4.csproj

    r6433 r6452  
    363363    </ProjectReference>
    364364  </ItemGroup>
    365   <ItemGroup>
    366     <None Include="app.config" />
    367   </ItemGroup>
    368365  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    369366  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests/Mocks/MockServiceLocator.cs

    r5599 r6452  
    33
    44namespace HeuristicLab.Clients.Hive.Tests {
    5   public class MockServiceLocator {
     5  public class MockServiceLocator : IServiceLocator {
    66    private string username;
    77    public string Username {
     
    2828      return call(GetService());
    2929    }
     30
     31    #region IServiceLocator Members
     32
     33    public void CallHiveService(Action<IHiveService> call) {
     34      // how to do this?
     35    }
     36
     37    public T CallHiveService<T>(Func<IHiveService, T> call) {
     38      // how to do this?
     39      throw new NotImplementedException();
     40    }
     41
     42    #endregion
    3043  }
    3144}
Note: See TracChangeset for help on using the changeset viewer.