hmemcpy / AgentMulder

** THIS PLUGIN IS NO LONGER MAINTAINED. PLEASE FOLLOW ERNICOMMUNITY FOR UPDATES **
https://github.com/ERNICommunity/AgentMulder
MIT License
151 stars 33 forks source link

Test execution issues #88

Open DeadlyEmbrace opened 8 years ago

DeadlyEmbrace commented 8 years ago

When I try to run the unit tests I get the following exception:

TearDown : JetBrains.TestFramework.Utils.TestLoggerListener+TestWrapperException : 29 exceptions were thrown.
#01: Could not bind the component argument descriptor on JetBrains.ReSharper.UnitTestProvider.nUnit.NUnitServiceProvider. Exception has been thrown by the target of an invocation. Cannot serve Settings Store Entry UseNUnit3 of type UseNUnit3 with property type UseNUnit3. The property type parameter must be of exactly the same type as the Settings Store entry. Parameter name: TValue Actual value was JetBrains.ReSharper.UnitTestRunner.nUnit.UseNUnit3.

--- EXCEPTION #1/4 [ArgumentOutOfRangeException]
Message = “Cannot serve Settings Store Entry UseNUnit3 of type UseNUnit3 with property type UseNUnit3. The property type parameter must be of exactly the same type as the Settings Store entry.”
ExceptionPath = Root.InnerException.InnerException.InnerException
ClassName = System.ArgumentOutOfRangeException
Data.SettingsEntryClassType = “JetBrains.ReSharper.UnitTestProvider.nUnit.NUnitProviderSettings, JetBrains.ReSharper.UnitTestProvider.nUnit, Version=104.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
Data.EntryLocalName = UseNUnit3
Data.EntryValueClrType = “JetBrains.ReSharper.UnitTestRunner.nUnit.UseNUnit3, JetBrains.ReSharper.UnitTestRunner.nUnit, Version=104.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
Data.PropertyTypeParameterType = “JetBrains.ReSharper.UnitTestRunner.nUnit.UseNUnit3, JetBrains.ReSharper.UnitTestRunner.nUnit, Version=104.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = JetBrains.Platform.Shell
ParamName = TValue
ActualValue.Data = JetBrains.ReSharper.UnitTestRunner.nUnit.UseNUnit3
ActualValue.UnityType = 4
ActualValue.AssemblyName = “JetBrains.ReSharper.UnitTestRunner.nUnit, Version=104.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
StackTraceString = “
  at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.ValuePropertiesSupport.ValuePropertiesSupportThread.ValueProperty`1..ctor(LifetimeDefinition lifetimeDefinition, SettingsScalarEntry entry, IDictionary`2 keyIndices, KeyPathComponents sStorageKey, ValuePropertiesSupportThread owner, ILogger logger)
     at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.ValuePropertiesSupport.ValuePropertiesSupportThread.<>c__DisplayClass63`1.<GetValueProperty_Create>b__61(LifetimeDefinition definition, Lifetime lifetime)
     at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger)
     at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.ValuePropertiesSupport.ValuePropertiesSupportThread.GetValueProperty_Create[TValue](SettingsScalarEntry entry, IDictionary`2 keyIndices, KeyPathComponents sStorageKey)
     at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.ValuePropertiesSupport.ValuePropertiesSupportThread.<>c__DisplayClass5d`1.<GetValueProperty>b__5a()
     at JetBrains.Util.BinarySearchUtil.GetOrCreateValue[TKey,TValue](IList`1 list, TKey key, Func`2 FGetKeyOfItem, Func`1 FCreateIfMissing)
     at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.ValuePropertiesSupport.ValuePropertiesSupportThread.GetValueProperty[TValue](Lifetime lifetime, SettingsScalarEntry entry, IDictionary`2 keyIndices)
     at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.ValuePropertiesSupport.GetValueProperty[TValue](Lifetime lifetime, SettingsScalarEntry entry, IDictionary`2 keyIndices)
     at JetBrains.Application.Settings.Store.Implementation.ContextBoundSettingsStoreLive.JetBrains.Application.Settings.IContextBoundSettingsStoreLive.GetValueProperty[TValue](Lifetime lifetime, SettingsScalarEntry entry, IDictionary`2 keyIndices)
     at JetBrains.Application.Settings.SettingsStoreEx.GetValueProperty[TKeyClass,TEntryMemberType](IContextBoundSettingsStoreLive thіs, Lifetime lifetime, Expression`1 lambdaexpression, IDictionary`2 keyIndices)
     at JetBrains.ReSharper.UnitTestProvider.nUnit.VersionsSupport.RunnerVersionDetector..ctor(Lifetime lifetime, ISolution solution, CustomNUnitChecker checker, ISettingsStore settingsStore, IShellLocks locks, ChangeManager changeManager)
”
...

--TearDown
   at JetBrains.Util.Tests.ThrowsAccumulatedLoggerExceptions.ThrowLoggedExceptions()
   at JetBrains.TestFramework.BaseTest.StopCollectingExceptions()
   at JetBrains.TestFramework.BaseTestNoShell.TearDown()
   at JetBrains.TestFramework.BaseTest.TearDown()

Any ideas on how to fix this?