This is just the second project I've integrated TypeMock with but I'm seeing my Nant task hang just after completion of my one test. I'm running version 3.6.1.0 and here is the nant script that is failing:
<loadtasks assembly="ToolsTypeMock.NETTypeMock.NAntBuild.dll" />
<typemockstart/>
<exec verbose="${IsVerboseEnabled}" program="${nunit.executable}" commandline="CorporateTypeMockTests.nunit /xml:binResults.Corillian.Corporate.PegasusTypeMock.xml ${test.nunit.flags}"/>
<typemockstop/>
CorporateTypeMockTests is currently a project with one dll with one test which the nant output interestingly shows success.
NANT Output:
[exec]
[loadtasks] Scanning assembly "TypeMock.NAntBuild" for extensions.
[exec] ***** CorporateBanking.Test.TypeMockTests.CCExecutive.AccountBalance
AlertPlugin_BadConfiguration1
[exec]
[exec] Tests run: 1, Failures: 0, Not run: 0, Time: 8.750 seconds
[exec]
[exec]
However at this point the script hangs indefinatly, when running with set TMOCK_VERBOSE=1 here is the last call:
PreCompiled:System.Text.RegularExpressions.CachedCodeEntry instance bool NoReferences()
System.Text.RegularExpressions.CachedCodeEntry instance bool NoReferences()
Sig: 20 00 02
IL_0 = ldarg.0
IL_1 = ldstr 0x7000E50E
IL_2 = ldstr 0x7000E61C
IL_3 = ldnull
IL_4 = call 0x0A00043C
IL_5 = brfalse.s 0x30
IL_6 = ldarg.0
IL_7 = ldstr 0x7000E50E
IL_8 = ldstr 0x7000E61C
IL_9 = ldnull
IL_10 = call 0x0A000440
IL_11 = dup
IL_12 = ldstr 0x7000E50E
IL_13 = ldstr 0x7000E61C
IL_14 = call 0x0A00043F
IL_15 = isinst 0x01000129
IL_16 = brtrue.s 0x07
IL_17 = unbox 0x010000A2
IL_18 = ldind.i1
IL_19 = ret
IL_20 = pop
Thin Header - too small (size=11,insersion=67) converting to Fat
Thanks for any help you could provide!
A.J. Supinski