This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Utilities = { | |
| asArray: function (obj) { | |
| var result = []; | |
| for (var key in obj) { | |
| var node = { key: key, value: obj[key] }; | |
| result.push(node); | |
| } | |
| return result; | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace NServiceBus.Windsor.InMemory | |
| { | |
| using NServiceBus; | |
| /* | |
| This class configures this endpoint as a Server. More information about how to configure the NServiceBus host | |
| can be found here: http://particular.net/articles/the-nservicebus-host | |
| */ | |
| public class EndpointConfig : IConfigureThisEndpoint, AsA_Server, IWantCustomInitialization | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Raven.Abstractions.Data; | |
| using Raven.Tests.Helpers; | |
| using System; | |
| using Xunit; | |
| namespace ClassLibrary1 | |
| { | |
| public class SomeTest : RavenTestBase | |
| { | |
| [Fact] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //duplicate guid id | |
| //you get three documents created under the proper collections, but you can't include by just the Guid, even with the generic type specified | |
| public class MailingListIncludeTest : RavenTestBase | |
| { | |
| [Test] | |
| public void Test() | |
| { | |
| using (var store = NewDocumentStore()) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [TestFixture] | |
| public class TransformerDictionaryOrderTests : RavenTestBase | |
| { | |
| [Test] | |
| public void CanOrderADictionary() | |
| { | |
| using (var store = NewDocumentStore()) | |
| { | |
| new FooTransformer().Execute(store); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [TestFixture] | |
| public class TransformerQueryInputTests : RavenTestBase | |
| { | |
| [Test] | |
| public void CanCastQueryInput() | |
| { | |
| using (var store = NewDocumentStore()) | |
| { | |
| new FooTransformer().Execute(store); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Test.ObjectBuilder.Autofac | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using Autofac; | |
| using Autofac.Builder; | |
| using Autofac.Core; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Raven.Client.Indexes; | |
| using Raven.Tests.Helpers; | |
| using Xunit; | |
| namespace RavenTests | |
| { | |
| public class MailingListPug : RavenTestBase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Raven.Client; | |
| using Raven.Client.Linq; | |
| using Raven.Imports.Newtonsoft.Json; | |
| using Raven.Tests.Helpers; | |
| using Xunit; | |
| namespace RavenTests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Linq; | |
| using Raven.Tests.Helpers; | |
| using Xunit; | |
| namespace RavenTests | |
| { | |
| public class AggressiveCachingTests : RavenTestBase | |
| { | |
| //Passes |