vrakeshreddy / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Resharper 5.0 Beta Exception #608

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load ReSharper 5.0 and MbUnit 3.2.233
2. Create a TestFixture With Unit Tests
3. Reshaper Unit Test Runner reports continuing exceptions:
-- EXCEPTION #1/3 [MissingMethodException]
Message = “Method not found: 'Boolean JetBrains.Util.TextRange.IsValid()'.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.MissingMethodException
HResult = COR_E_MISSINGMETHOD=80131513
Source = Gallio.ReSharperRunner50
StackTraceString = “
  at Gallio.ReSharperRunner.Provider.GallioTestElement.GetDisposition()
     at 
Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim.ConsumerAdapter.<>c
__DisplayClass11.<.ctor>b__f(UnitTestElement element)
     at 
Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim.ConsumerAdapter.Han
dleTestDiscoveredMessage(TestDiscoveredMessage message)
     at Gallio.Common.Messaging.MessageConsumer.Handler`1.Consume(Message 
message) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Common\Messaging\MessageConsumer.cs:line 130
     at Gallio.Common.Messaging.MessageConsumer.Handler`1.Consume(Message 
message) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Common\Messaging\MessageConsumer.cs:line 134
     at Gallio.Common.Messaging.MessageConsumer.Consume(Message message) 
in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Common\Messaging\MessageConsumer.cs:line 73
     at 
Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim.ConsumerAdapter.Pub
lish(Message message)
     at Gallio.Model.Messages.TestModelSerializer.PublishTestModel
(TestModel testModel, IMessageSink messageSink) in 
c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\Messages\TestModelSerializer.cs:line 55
     at Gallio.Model.Helpers.SimpleTestDriver.GenerateTestModel
(IReflectionPolicy reflectionPolicy, IEnumerable`1 codeElements, 
IMessageSink messageSink) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\Helpers\SimpleTestDriver.cs:line 243
     at Gallio.Model.Helpers.SimpleTestDriver.DescribeImpl
(IReflectionPolicy reflectionPolicy, IList`1 codeElements, 
TestExplorationOptions testExplorationOptions, IMessageSink messageSink, 
IProgressMonitor progressMonitor) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\Helpers\SimpleTestDriver.cs:line 58
     at Gallio.Model.BaseTestDriver.Describe(IReflectionPolicy 
reflectionPolicy, IList`1 codeElements, TestExplorationOptions 
testExplorationOptions, IMessageSink messageSink, IProgressMonitor 
progressMonitor) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\BaseTestDriver.cs:line 56
     at 
Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.<>c__DisplayCla
ss17.<DescribeImpl>b__15(ITestDriver driver, IList`1 items, Int32 
driverCount) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 425
     at 
Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver
[T](MultiMap`2 testFrameworkPartitions, Func`4 func) in 
c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 525
”

--- Outer ---

--- EXCEPTION #2/3 [ModelException]
Message = “An exception occurred while invoking a test driver.”
ExceptionPath = Root.InnerException
ClassName = Gallio.Model.ModelException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_EXCEPTION=80131500
Source = Gallio
StackTraceString = “
  at 
Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.ForEachDriver
[T](MultiMap`2 testFrameworkPartitions, Func`4 func) in 
c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 531
     at 
Gallio.Model.DefaultTestFrameworkManager.FilteredTestDriver.DescribeImpl
(IReflectionPolicy reflectionPolicy, IList`1 codeElements, 
TestExplorationOptions testExplorationOptions, IMessageSink messageSink, 
IProgressMonitor progressMonitor) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\DefaultTestFrameworkManager.cs:line 421
     at Gallio.Model.BaseTestDriver.Describe(IReflectionPolicy 
reflectionPolicy, IList`1 codeElements, TestExplorationOptions 
testExplorationOptions, IMessageSink messageSink, IProgressMonitor 
progressMonitor) in c:\RelEng\Projects\MbUnit v3.2
\Work\src\Gallio\Gallio\Model\BaseTestDriver.cs:line 56
     at Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim.Describe
(IReflectionPolicy reflectionPolicy, IList`1 codeElements, ConsumerAdapter 
consumerAdapter)
     at Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim.ExploreFile
(IFile psiFile, UnitTestElementLocationConsumer consumer, 
CheckForInterrupt interrupted)
     at Gallio.ReSharperRunner.Provider.GallioTestProvider.ExploreFile
(IFile psiFile, UnitTestElementLocationConsumer consumer, 
CheckForInterrupt interrupted)
     at JetBrains.ReSharper.UnitTestFramework.UnitTestManager.Explore
(IFile file, CheckForInterrupt interrupt) in 
c:\Agent\work\cc29ccea5bf569df\src\UnitTestFramework\src\UnitTestManager.cs
:line 615
     at JetBrains.ReSharper.UnitTestExplorer.UnitTestDaemonProcess.Execute
(Action`1 commiter) in 
c:\Agent\work\cc29ccea5bf569df\src\UnitTestExplorer\src\Highlighting\UnitTe
stDaemonProcess.cs:line 27
     at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting
(DaemonProcessKind kind, Action`1 commiter) in 
c:\Agent\work\cc29ccea5bf569df\src\Daemon\src\Impl\DaemonProcessBase.cs:lin
e 172
”

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “An exception occurred while invoking a test driver.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting
(DaemonProcessKind kind, Action`1 commiter) in 
c:\Agent\work\cc29ccea5bf569df\src\Daemon\src\Impl\DaemonProcessBase.cs:lin
e 192
     at 
JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.DoHighlighting
(Boolean globalAnalysisStages) in 
c:\Agent\work\cc29ccea5bf569df\src\Daemon\src\Impl\VisibleDocumentDaemonPro
cess.cs:line 233
     at 
JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.<>c__DisplayCl
ass6.<EnqueueHighlightingJob>b__4() in 
c:\Agent\work\cc29ccea5bf569df\src\Daemon\src\Impl\VisibleDocumentDaemonPro
cess.cs:line 204
     at JetBrains.ReSharper.Daemon.Impl.DaemonThreadImpl.DaemonThreadProc
() in 
c:\Agent\work\cc29ccea5bf569df\src\Daemon\src\Impl\DaemonThreadImpl.cs:line
 125
     at JetBrains.Util.Logger.Catch(Action action) in 
c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\Logger\Logger.cs:line 
240
     at JetBrains.ReSharper.Daemon.Impl.DaemonThreadImpl.<.ctor>b__1() in 
c:\Agent\work\cc29ccea5bf569df\src\Daemon\src\Impl\DaemonThreadImpl.cs:line
 33
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()
”

What is the expected output? What do you see instead?
It appears that the IDE decorationos are missing to select unit tests to 
run from the source window.  Everything else seems to run fine.

What version of the product are you using? On what operating system?
Resharper 5.0 Dec 31 Nightly build.
MbUnit 3.2.233

Please provide any additional information below.

Original issue reported on code.google.com by smitc...@gmail.com on 7 Jan 2010 at 3:04

GoogleCodeExporter commented 9 years ago
At the moment, we only support R# 5.0 Beta build 1542.23

The R# 5.0 API is still changing rapidly from one build to another so it's hard 
to 
keep up.

Original comment by jeffbr...@google.com on 7 Jan 2010 at 10:16

GoogleCodeExporter commented 9 years ago
Issue 612 has been merged into this issue.

Original comment by jeff.br...@gmail.com on 14 Jan 2010 at 8:02

GoogleCodeExporter commented 9 years ago
Will be in the next build of Gallio v3.2.  Seems to work locally but haven't 
tested
in great detail yet.

Original comment by jeff.br...@gmail.com on 14 Jan 2010 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by jeff.br...@gmail.com on 14 Jan 2010 at 8:36