Last change
on this file since 17616 was
11907,
checked in by jkarder, 10 years ago
|
#2211: merged r11450, r11466, r11483, r11514, r11515 and r11890 into stable
#2234: merged r11308, r11309, r11326, r11337, r11340, r11339, r11342, r11361, r11427, r11447, r11464, r11542, r11544, r11545, r11547, r11548 into stable
#2239: merged r11437, r11439 and r11472 into stable
#2262: merged r11436, r11440, r11471, r11474, r11477, r11479, r11480, r11605, r11657, r11721, r11734, r11735, r11787, r11788, r11789 and r11826 into stable
|
File size:
773 bytes
|
Rev | Line | |
---|
[11514] | 1 | using System.IO;
|
---|
| 2 | using System.Linq;
|
---|
| 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
|
---|
| 4 |
|
---|
| 5 | namespace HeuristicLab.Tests {
|
---|
| 6 | [TestClass]
|
---|
| 7 | public static class AssemblyInitializer {
|
---|
| 8 | private static string SamplesDirectory = SamplesUtils.SamplesDirectory;
|
---|
| 9 | private static string ScriptsDirectory = ScriptingUtils.ScriptsDirectory;
|
---|
| 10 |
|
---|
| 11 | [AssemblyInitialize]
|
---|
| 12 | public static void AssemblyInitialize(TestContext testContext) {
|
---|
| 13 | // load all assemblies
|
---|
| 14 | PluginLoader.Assemblies.Any();
|
---|
| 15 |
|
---|
| 16 | // create output directories for samples and scripts
|
---|
| 17 | if (!Directory.Exists(SamplesDirectory)) Directory.CreateDirectory(SamplesDirectory);
|
---|
| 18 | if (!Directory.Exists(ScriptsDirectory)) Directory.CreateDirectory(ScriptsDirectory);
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.