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.<TryGetMemberAsMethod>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 ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mbunituser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to