Revize a7d16717
Přidáno uživatelem Pultak před více než 2 roky(ů)
ld_client/LDClientTests/detection/InfoFetcherTests.cs | ||
---|---|---|
8 | 8 |
namespace LDClientTests.detection; |
9 | 9 |
|
10 | 10 |
internal class InfoFetcherTests { |
11 |
private InfoFetcher _defaultFetcher; |
|
12 |
private InfoFetcher _fetcherWithoutPars; |
|
11 |
private AInfoFetcher _defaultFetcher;
|
|
12 |
private AInfoFetcher _fetcherWithoutPars;
|
|
13 | 13 |
|
14 | 14 |
|
15 | 15 |
private readonly string[] _defaultArguments = new[] { "argument 1", "argument 2" , "argument 3"}; |
... | ... | |
25 | 25 |
_mockFileUtils = new Mock<IFileUtils>(MockBehavior.Strict); |
26 | 26 |
|
27 | 27 |
|
28 |
_defaultFetcher = new InfoFetcher(DefaultMaxAttempts, 50, "info.txt", "executable.exe",
|
|
28 |
_defaultFetcher = new T32RemFetcher(DefaultMaxAttempts, 50, "info.txt", "executable.exe",
|
|
29 | 29 |
_defaultArguments, 0, 50) { |
30 | 30 |
FileUtils = _mockFileUtils.Object, |
31 | 31 |
ProcessUtils = _mockProcessUtils.Object |
32 | 32 |
}; |
33 | 33 |
|
34 | 34 |
|
35 |
_fetcherWithoutPars = new InfoFetcher(DefaultMaxAttempts, 50, "info.txt", "executable.exe",
|
|
35 |
_fetcherWithoutPars = new T32RemFetcher(DefaultMaxAttempts, 50, "info.txt", "executable.exe",
|
|
36 | 36 |
null, 0, 50) { |
37 | 37 |
FileUtils = _mockFileUtils.Object, |
38 | 38 |
ProcessUtils = _mockProcessUtils.Object |
Také k dispozici: Unified diff
re #9845 tests fix after refactoring