예제 #1
0
        public static void ResetToDefaults()
        {
            Reflector = new FullFrameworkReflector();
#if NET47 || NETCOREAPP2_1 || NETCOREAPP3_0
            ConfigurationStore = new ConfigurationStoreExceptionInterceptor(new AppSettingsConfigurationStore());
#else
            ConfigurationStore = new NullConfigurationStore();
#endif
            ThrowException = TestFrameworkProvider.Throw;
        }
예제 #2
0
        public static void ResetToDefaults()
        {
#if NETSTANDARD1_3
            Reflector          = new NullReflector();
            ConfigurationStore = new NullConfigurationStore();
#elif NETSTANDARD1_6
            Reflector          = new NetStandardReflector();
            ConfigurationStore = new NullConfigurationStore();
#else
            Reflector          = new FullFrameworkReflector();
            ConfigurationStore = new AppSettingsConfigurationStore();
#endif

            ThrowException = TestFrameworkProvider.Throw;
        }
 public static void ResetToDefaults()
 {
     Reflector          = new NetStandardReflector();
     ConfigurationStore = new NullConfigurationStore();
     ThrowException     = TestFrameworkProvider.Throw;
 }