Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/06/10 02:51:43 (14 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB/HeuristicLab.Services.OKB.DataAccess/3.3/Tests/UnitTest.cs

    r4384 r4558  
    2020#endregion
    2121
    22 using System;
    23 using System.Text;
    24 using System.Collections.Generic;
    25 using System.Linq;
    26 using System.Data.Linq;
     22using HeuristicLab.Services.OKB.DataAccess;
    2723using Microsoft.VisualStudio.TestTools.UnitTesting;
    28 using HeuristicLab.Services.OKB.DataAccess;
    2924
    3025namespace HeuristicLab.Services.OKB.DataAccess_33.Tests {
     
    8580        okb.Algorithms.DeleteAllOnSubmit(okb.Algorithms);
    8681        okb.Problems.DeleteAllOnSubmit(okb.Problems);
    87         okb.SolutionRepresentations.DeleteAllOnSubmit(okb.SolutionRepresentations);
    8882        okb.ProblemClasses.DeleteAllOnSubmit(okb.ProblemClasses);
    8983        okb.AlgorithmClasses.DeleteAllOnSubmit(okb.AlgorithmClasses);
     
    9185        AlgorithmClass ac = new AlgorithmClass() { Name = "AlgorithmClass" };
    9286        ProblemClass pc = new ProblemClass() { Name = "ProblemClass" };
    93         SolutionRepresentation sr = new SolutionRepresentation() { Name = "SolutionRepresentation" };
    9487        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 };
    9689        Experiment e = new Experiment() { Algorithm = a, Problem = p };
    9790        AlgorithmParameter ap = new AlgorithmParameter() { Name = "Param", Algorithm = a, DataTypeId = 1 };
Note: See TracChangeset for help on using the changeset viewer.