Reported by Liwoj
(http://groups.google.com/group/mbunituser/browse_thread/thread/b132279808c
0d7ac)
Hi
Gallio v3.1.313 on x32
Copy paste last example (for MbUnit v3) and run tests.
Test fails with following exception:
An exception occurred while getting data items for test
'Mediaresearch.Framework.UnitTestUtils.NHibernateSamples.UnitTest/
TypeFixtureExample'.
System.NullReferenceException: Object reference not set to an
instance of an object.
c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Framework
\Pattern\FixtureMemberInvoker.cs(144,0): at
Gallio.Framework.Pattern.FixtureMemberInvoker`1.<>c__DisplayClass2.<TryGetM
emberAsMethod>b__0
(Object[] args)
c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Framework
\Pattern\FixtureMemberInvoker.cs(113,0): at
Gallio.Framework.Pattern.FixtureMemberInvoker`1.InvokeImpl
(FixtureMemberInvokerTargets targets, Object[] args)
c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Framework
\Pattern\FixtureMemberInvoker.cs(79,0): at
Gallio.Framework.Pattern.FixtureMemberInvoker`1.Invoke()
c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Framework\Data
\FactoryDataSet.cs(82,0): at
Gallio.Framework.Data.FactoryDataSet.<GetItemsImpl>d__0.MoveNext()
c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Framework\Data
\ConcatenationMergeStrategy.cs(42,0): at
Gallio.Framework.Data.ConcatenationMergeStrategy.<Merge>d__0.MoveNext
()
c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Framework\Data
\CombinatorialJoinStrategy.cs(56,0): at
Gallio.Framework.Data.CombinatorialJoinStrategy.<Join>d__0.MoveNext()
c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Framework\Data
\JoinedDataSet.cs(148,0): at
Gallio.Framework.Data.JoinedDataSet.<GetItemsImpl>d__0.MoveNext()
c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Framework\Data
\DataBindingContext.cs(188,0): at
Gallio.Framework.Data.DataBindingContext.<GetItems>d__0.MoveNext()
Same result using TDD and Icarus.
Works great if i move Factory attribute to method and add needed
parameter to that method.
But its not what i want because my test contains more than one test
method and i dont wanna repeat it on every one of them...
Any suggestion ?
Original issue reported on code.google.com by Yann.Tre...@gmail.com on 10 Oct 2009 at 7:04
Original issue reported on code.google.com by
Yann.Tre...@gmail.com
on 10 Oct 2009 at 7:04