コード例 #1
0
        internal void Setup(TestMetaData testMetaData)
        {
            var mockConfig         = GetMockFrameworkConfiguration();
            var backdoorMethodName = mockConfig?.GetBackDoorName(_platform);

            if (!string.IsNullOrWhiteSpace(backdoorMethodName))
            {
                _app.Invoke(backdoorMethodName, new EnvironmentArguments(testMetaData, mockConfig).ToString());
            }
        }
コード例 #2
0
        private static void SetupAppEnvironmentVariables(Type testType)
        {
            var testMetaData = new TestMetaData(testType);

            new AppEnvironmentConfiguration(App, Platform).Setup(testMetaData);
        }
コード例 #3
0
 internal EnvironmentArguments(TestMetaData testMetaData, MockFrameworkConfiguration mockDataServer)
 {
     _testMetaData   = testMetaData;
     _mockDataServer = mockDataServer;
 }