Changeset 12694 for branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Tests/HeuristicLab.Problems.VehicleRouting-3.4
- Timestamp:
- 07/09/15 13:07:30 (9 years ago)
- Location:
- branches/HeuristicLab.Problems.Orienteering
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Tests/HeuristicLab.Problems.VehicleRouting-3.4/VRPInstancesTest.cs
r11289 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using System.Text; 26 26 using HeuristicLab.Problems.Instances; 27 using HeuristicLab.Tests;28 27 using Microsoft.VisualStudio.TestTools.UnitTesting; 29 28 … … 31 30 [TestClass] 32 31 public class VRPInstancesTest { 33 [ClassInitialize]34 public static void MyClassInitialize(TestContext testContext) {35 PluginLoader.Assemblies.Any();36 }37 38 32 [TestMethod] 39 33 [TestCategory("Problems.VehicleRouting")] … … 48 42 foreach (var provider in providers) { 49 43 IEnumerable<IDataDescriptor> instances = ((dynamic)provider).GetDataDescriptors(); 50 Assert.IsTrue(instances.Any(), "No instances could be found.");44 Assert.IsTrue(instances.Any(), string.Format("No instances could be found in {0}.", provider.Name)); 51 45 52 46 foreach (var instance in instances) { … … 55 49 ((dynamic)vrp).Load(((dynamic)provider).LoadData(instance)); 56 50 } catch (Exception exc) { 57 failedInstances.AppendLine(instance + ": " + exc.Message);51 failedInstances.AppendLine(instance.Name + ": " + exc.Message); 58 52 } 59 53 }
Note: See TracChangeset
for help on using the changeset viewer.