Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#1202 closed feature request (done)

Create UnitTest to check all plugin dependencies

Reported by: mkommend Owned by: swagner
Priority: highest Milestone: HeuristicLab 3.3.1
Component: Tests Version: 3.3.1
Keywords: Cc:

Description


Change History (15)

comment:1 Changed 11 years ago by gkronber

Improved unit test for contents with r4483.

comment:2 Changed 11 years ago by mkommend

  • Status changed from new to accepted

comment:3 Changed 11 years ago by mkommend

Reorganized unit tests for more plugins into own project with r4486.

comment:4 Changed 11 years ago by mkommend

Updated plugin list in PluginLoader with r4487.

comment:5 Changed 11 years ago by mkommend

Removed unused references in Algorithms.DataAnalysis and update build configuration with r4488.

comment:6 Changed 11 years ago by mkommend

Created PluginDependenciesTest and corrected all projects with r4490.

comment:7 Changed 11 years ago by mkommend

Deleted unused directory and set svn:ignore with r4491.

comment:8 Changed 11 years ago by mkommend

  • Owner changed from mkommend to swagner
  • Status changed from accepted to reviewing

comment:9 Changed 11 years ago by swagner

  • Owner changed from swagner to mkommend
  • Status changed from reviewing to assigned

I tried to run the tests on my machine, but it did not work. In all three tests a FileNotFoundException is thrown because the assembly ICSharpCode.TextEditor cannot be loaded (although it is copied into the bin\Debug folder correctly). Do I have to configure anything to run the tests?

comment:10 Changed 11 years ago by mkommend

The problem was that I startet the unit test from resharper which sets the directory from which the assemblies were loaded to a different one. The solution was to explicitly reference all needed assemblies and load the assemblies from Environment.CurrentDirectoy.

comment:11 Changed 11 years ago by mkommend

  • Status changed from assigned to accepted

Corrected the HL3.3 tests project and the unit tests with r4508.

comment:12 Changed 11 years ago by mkommend

  • Owner changed from mkommend to swagner
  • Status changed from accepted to reviewing

comment:13 Changed 11 years ago by swagner

  • Resolution set to done
  • Status changed from reviewing to closed
  • Version changed from 3.3.0 to 3.3.1

comment:14 Changed 10 years ago by swagner

  • Milestone changed from Iteration 4 to Current

Milestone Iteration 4 deleted

comment:11 Changed 10 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.