Changeset 4558 for branches/OKB/HeuristicLab.Services.OKB.DataAccess
- Timestamp:
- 10/06/10 02:51:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB/HeuristicLab.Services.OKB.DataAccess/3.3/Tests/UnitTest.cs
r4384 r4558 20 20 #endregion 21 21 22 using System; 23 using System.Text; 24 using System.Collections.Generic; 25 using System.Linq; 26 using System.Data.Linq; 22 using HeuristicLab.Services.OKB.DataAccess; 27 23 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 using HeuristicLab.Services.OKB.DataAccess;29 24 30 25 namespace HeuristicLab.Services.OKB.DataAccess_33.Tests { … … 85 80 okb.Algorithms.DeleteAllOnSubmit(okb.Algorithms); 86 81 okb.Problems.DeleteAllOnSubmit(okb.Problems); 87 okb.SolutionRepresentations.DeleteAllOnSubmit(okb.SolutionRepresentations);88 82 okb.ProblemClasses.DeleteAllOnSubmit(okb.ProblemClasses); 89 83 okb.AlgorithmClasses.DeleteAllOnSubmit(okb.AlgorithmClasses); … … 91 85 AlgorithmClass ac = new AlgorithmClass() { Name = "AlgorithmClass" }; 92 86 ProblemClass pc = new ProblemClass() { Name = "ProblemClass" }; 93 SolutionRepresentation sr = new SolutionRepresentation() { Name = "SolutionRepresentation" };94 87 Algorithm a = new Algorithm() { Name = "Alg", AlgorithmClass = ac, PlatformId = 1 }; 95 Problem p = new Problem() { Name = "Prb", ProblemClass = pc, SolutionRepresentation = sr,PlatformId = 1 };88 Problem p = new Problem() { Name = "Prb", ProblemClass = pc, PlatformId = 1 }; 96 89 Experiment e = new Experiment() { Algorithm = a, Problem = p }; 97 90 AlgorithmParameter ap = new AlgorithmParameter() { Name = "Param", Algorithm = a, DataTypeId = 1 };
Note: See TracChangeset
for help on using the changeset viewer.