Line | |
---|
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.