Skip to content

Instantly share code, notes, and snippets.

@leniel
Created April 23, 2012 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leniel/2468587 to your computer and use it in GitHub Desktop.
Save leniel/2468587 to your computer and use it in GitHub Desktop.
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment