public
Created

  • Download Gist
vstest.console inisolation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
C:\Program Files\Microsoft Visual Studio 11.0\VC>vstest.console "C:\Schetine\tru
nk\Schetine\bin\Schetine.Tests.dll" /inisolation
Microsoft (R) Test Execution Command Line Tool Version 11.0.50323.1
Copyright (c) Microsoft Corporation. All rights reserved.
 
Starting test execution, please wait...
Failed Create
Error Message:
Initialization method Schetine.Tests.Controllers.RealtyControllerTest.Setup t
hrew exception. System.IO.FileLoadException: System.IO.FileLoadException: Could
not load file or assembly 'Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, Pu
blicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly'
s manifest definition does not match the assembly reference. (Exception from HRE
SULT: 0x80131040).
Stack Trace:
at Raven.Munin.Database.WriteFileHeader(Stream log)
at Raven.Munin.Database.<Initialze>b__2(Stream log)
at Raven.Munin.AbstractPersistentSource.Write(Action`1 readWriteAction)
at Raven.Munin.Database.Initialze()
at Raven.Storage.Managed.TransactionalStorage.Initialize(IUuidGenerator gener
ator)
at Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configura
tion) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 152
at Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() in c:\B
uilds\raven\Raven.Client.Embedded\EmbeddableDocumentStore.cs:line 137
at Raven.Client.Document.DocumentStore.Initialize() in c:\Builds\RavenDB-Stab
le\Raven.Client.Lightweight\Document\DocumentStore.cs:line 483
at Schetine.Tests.InMemoryStoreDataStore.NewInMemoryStore()
at Schetine.Tests.Controllers.RealtyControllerTest.Setup()
 
Warning: System.ArgumentException: Delegate to an instance method cannot have nu
ll 'this'.
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 357
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 357
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
 
Warning: System.ArgumentException: Delegate to an instance method cannot have nu
ll 'this'.
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 357
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 357
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
 
Passed FacetRangeStringSpliting
Passed Log4NetRavenTest
Failed Index
Error Message:
Test method Schetine.Tests.Controllers.HomeControllerTest.Index threw excepti
on:
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
Stack Trace:
at Schetine.Controllers.HomeController.GetHighlightedRealties(Int32 count) i
n c:\Schetine\trunk\Schetine\Controllers\HomeController.cs:line 35
at Schetine.Controllers.HomeController.Index() in c:\Schetine\trunk\Schetine\
Controllers\HomeController.cs:line 16
at Schetine.Tests.Controllers.HomeControllerTest.Index()
Standard Output Messages:
 
 
Debug Trace:
log4net:ERROR Failed to find configuration section 'log4net' in the application'
s .config file. Check your .config file for the <log4net> and <configSections> e
lements. The configuration section should look like: <section name="log4net" typ
e="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
Standard Error Messages:
log4net:ERROR Failed to find configuration section 'log4net' in the applicati
on's .config file. Check your .config file for the <log4net> and <configSections
> elements. The configuration section should look like: <section name="log4net"
type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
 
Passed About
Passed Contact
Failed RealtyFacetTest
Error Message:
Initialization method Schetine.Tests.RealtyFacet.Setup threw exception. Syste
m.IO.FileLoadException: System.IO.FileLoadException: Could not load file or asse
mbly 'Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, PublicKeyToken=30ad4fe6
b2a6aeed' or one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Stack Trace:
at Raven.Munin.Database.WriteFileHeader(Stream log)
at Raven.Munin.Database.<Initialze>b__2(Stream log)
at Raven.Munin.AbstractPersistentSource.Write(Action`1 readWriteAction)
at Raven.Munin.Database.Initialze()
at Raven.Storage.Managed.TransactionalStorage.Initialize(IUuidGenerator gener
ator)
at Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configura
tion) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 152
at Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() in c:\B
uilds\raven\Raven.Client.Embedded\EmbeddableDocumentStore.cs:line 137
at Raven.Client.Document.DocumentStore.Initialize() in c:\Builds\RavenDB-Stab
le\Raven.Client.Lightweight\Document\DocumentStore.cs:line 483
at Schetine.Tests.InMemoryStoreDataStore.NewInMemoryStore()
at Schetine.Tests.RealtyFacet.Setup()
 
Failed Test_AdCreatedMessage
Error Message:
Test method Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage threw excep
tion:
System.ArgumentNullException: Value cannot be null.
Parameter name: addresses
Stack Trace:
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at Schetine.Mailers.RealtyMailer.AdCreated(Int32 realtyId) in c:\Schetine\tru
nk\Schetine\Mailers\RealtyMailer.cs:line 24
at Castle.Proxies.RealtyMailerProxy.AdCreated_callback(Int32 realtyId)
at Castle.Proxies.Invocations.RealtyMailer_AdCreated.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Moq.Proxy.CastleProxyFactory.CallContext.InvokeBase()
at Moq.Interceptor.Intercept(ICallContext invocation)
at Moq.Proxy.CastleProxyFactory.Interceptor.Intercept(IInvocation invocation)
 
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.RealtyMailerProxy.AdCreated(Int32 realtyId)
at Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage()
 
 
Total tests: 8. Passed: 4. Failed: 4. Skipped: 0.
Test Run Failed.
Test execution time: 5.5401 Seconds
vstest.console no inisolation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
C:\Program Files\Microsoft Visual Studio 11.0\VC>vstest.console "C:\Schetine\tru
nk\Schetine\bin\Schetine.Tests.dll"
Microsoft (R) Test Execution Command Line Tool Version 11.0.50323.1
Copyright (c) Microsoft Corporation. All rights reserved.
 
Starting test execution, please wait...
Failed Create
Error Message:
Initialization method Schetine.Tests.Controllers.RealtyControllerTest.Setup t
hrew exception. System.IO.FileLoadException: System.IO.FileLoadException: Could
not load file or assembly 'Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, Pu
blicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly'
s manifest definition does not match the assembly reference. (Exception from HRE
SULT: 0x80131040).
Stack Trace:
at Raven.Munin.Database.WriteFileHeader(Stream log)
at Raven.Munin.Database.<Initialze>b__2(Stream log)
at Raven.Munin.AbstractPersistentSource.Write(Action`1 readWriteAction)
at Raven.Munin.Database.Initialze()
at Raven.Storage.Managed.TransactionalStorage.Initialize(IUuidGenerator gener
ator)
at Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configura
tion) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 152
at Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() in c:\B
uilds\raven\Raven.Client.Embedded\EmbeddableDocumentStore.cs:line 137
at Raven.Client.Document.DocumentStore.Initialize() in c:\Builds\RavenDB-Stab
le\Raven.Client.Lightweight\Document\DocumentStore.cs:line 483
at Schetine.Tests.InMemoryStoreDataStore.NewInMemoryStore()
at Schetine.Tests.Controllers.RealtyControllerTest.Setup()
 
 
Unhandled Exception: System.ArgumentException: Delegate to an instance method ca
nnot have null 'this'.
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 357
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
 
Unhandled Exception: System.ArgumentException: Delegate to an instance method ca
nnot have null 'this'.
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at Raven.Database.DocumentDatabase.Dispose() in c:\Builds\raven\Raven.Databas
e\DocumentDatabase.cs:line 357
at Raven.Database.DocumentDatabase.DomainUnloadOrProcessExit(Object sender, E
ventArgs eventArgs) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 1
85
Passed FacetRangeStringSpliting
Passed Log4NetRavenTest
Failed Index
Error Message:
Test method Schetine.Tests.Controllers.HomeControllerTest.Index threw excepti
on:
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
Stack Trace:
at Schetine.Controllers.HomeController.GetHighlightedRealties(Int32 count) i
n c:\Schetine\trunk\Schetine\Controllers\HomeController.cs:line 35
at Schetine.Controllers.HomeController.Index() in c:\Schetine\trunk\Schetine\
Controllers\HomeController.cs:line 16
at Schetine.Tests.Controllers.HomeControllerTest.Index()
Standard Output Messages:
 
 
Debug Trace:
log4net:ERROR Failed to find configuration section 'log4net' in the application'
s .config file. Check your .config file for the <log4net> and <configSections> e
lements. The configuration section should look like: <section name="log4net" typ
e="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
Standard Error Messages:
log4net:ERROR Failed to find configuration section 'log4net' in the applicati
on's .config file. Check your .config file for the <log4net> and <configSections
> elements. The configuration section should look like: <section name="log4net"
type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
 
Passed About
Passed Contact
Failed RealtyFacetTest
Error Message:
Initialization method Schetine.Tests.RealtyFacet.Setup threw exception. Syste
m.IO.FileLoadException: System.IO.FileLoadException: Could not load file or asse
mbly 'Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, PublicKeyToken=30ad4fe6
b2a6aeed' or one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT: 0x80131040).
Stack Trace:
at Raven.Munin.Database.WriteFileHeader(Stream log)
at Raven.Munin.Database.<Initialze>b__2(Stream log)
at Raven.Munin.AbstractPersistentSource.Write(Action`1 readWriteAction)
at Raven.Munin.Database.Initialze()
at Raven.Storage.Managed.TransactionalStorage.Initialize(IUuidGenerator gener
ator)
at Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configura
tion) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:line 152
at Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() in c:\B
uilds\raven\Raven.Client.Embedded\EmbeddableDocumentStore.cs:line 137
at Raven.Client.Document.DocumentStore.Initialize() in c:\Builds\RavenDB-Stab
le\Raven.Client.Lightweight\Document\DocumentStore.cs:line 483
at Schetine.Tests.InMemoryStoreDataStore.NewInMemoryStore()
at Schetine.Tests.RealtyFacet.Setup()
 
Failed Test_AdCreatedMessage
Error Message:
Test method Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage threw excep
tion:
System.ArgumentNullException: Value cannot be null.
Parameter name: addresses
Stack Trace:
at System.Net.Mail.MailAddressCollection.Add(String addresses)
at Schetine.Mailers.RealtyMailer.AdCreated(Int32 realtyId) in c:\Schetine\tru
nk\Schetine\Mailers\RealtyMailer.cs:line 24
at Castle.Proxies.RealtyMailerProxy.AdCreated_callback(Int32 realtyId)
at Castle.Proxies.Invocations.RealtyMailer_AdCreated.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Moq.Proxy.CastleProxyFactory.CallContext.InvokeBase()
at Moq.Interceptor.Intercept(ICallContext invocation)
at Moq.Proxy.CastleProxyFactory.Interceptor.Intercept(IInvocation invocation)
 
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.RealtyMailerProxy.AdCreated(Int32 realtyId)
at Schetine.Tests.RealtyMailerTest.Test_AdCreatedMessage()
 
 
Total tests: 8. Passed: 4. Failed: 4. Skipped: 0.
Test Run Failed.
Test execution time: 4.3680 Seconds

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.