- Timestamp:
- 06/20/11 14:16:53 (13 years ago)
- 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 47 47 rhc.HiveExperiment.HiveJobs.Add(new OptimizerHiveJob(optimizer)); 48 48 49 HiveClient.StartExperiment((Exception ex) => TestContext.WriteLine(ex.ToString()), rhc );49 HiveClient.StartExperiment((Exception ex) => TestContext.WriteLine(ex.ToString()), rhc, new CancellationToken()); 50 50 51 51 while (rhc.HiveExperiment.ExecutionState != Core.ExecutionState.Stopped) { 52 52 Thread.Sleep(500); 53 53 } 54 55 54 } 56 55 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests/HeuristicLab.Clients.Hive.Tests-3.4.csproj
r6433 r6452 363 363 </ProjectReference> 364 364 </ItemGroup> 365 <ItemGroup>366 <None Include="app.config" />367 </ItemGroup>368 365 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 369 366 <!-- 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 3 3 4 4 namespace HeuristicLab.Clients.Hive.Tests { 5 public class MockServiceLocator {5 public class MockServiceLocator : IServiceLocator { 6 6 private string username; 7 7 public string Username { … … 28 28 return call(GetService()); 29 29 } 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 30 43 } 31 44 }
Note: See TracChangeset
for help on using the changeset viewer.