2020-11-13 19:05:10 +03:00
|
|
|
|
namespace Xharness.TestImporter {
|
2020-03-17 01:52:41 +03:00
|
|
|
|
|
|
|
|
|
// interface that will help locate the test assemblies that are used to create the apps. This way, we can
|
|
|
|
|
// point to a specific location from which the asseblies well be referenced. The idea is to allow to download
|
|
|
|
|
// precompiled assemblies and use them, for example, download the precompiled bcl from mono.
|
|
|
|
|
public interface IAssemblyLocator {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Get the location of the assemblies to use as references. Assemblies depend on the platform targeted.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="platform">The platform whose asseblies we want to use.</param>
|
|
|
|
|
/// <returns>The root dir in which the precompiled assemblies can be found.</returns>
|
2020-04-01 22:10:13 +03:00
|
|
|
|
string GetTestingFrameworkDllPath (string assembly, Platform platform);
|
2020-03-17 01:52:41 +03:00
|
|
|
|
string GetAssembliesRootLocation (Platform platform);
|
2020-03-19 20:40:13 +03:00
|
|
|
|
string GetAssembliesLocation (Platform platform);
|
|
|
|
|
string GetHintPathForReferenceAssembly (string assembly, Platform platform);
|
2020-03-17 01:52:41 +03:00
|
|
|
|
}
|
|
|
|
|
}
|