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
<?xml version="1.0" encoding="utf-8" ?> | |
<service> | |
<Name>MyService</Name> | |
<DisplayName>My First Bottle Service</DisplayName> | |
<Description>Does something cool</Description> | |
</service> |
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 installation_plan_for_package_with_existing_dependencies_with_floating_updates | |
{ | |
private InstallationPlan thePlan; | |
[SetUp] | |
public void SetUp() | |
{ | |
thePlan = InstallationScenario.For("FubuMVC.Json", scenario => | |
{ |
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
public class LinkInjector | |
{ | |
private readonly IContainer _container; | |
public LinkInjector(IContainer container) | |
{ | |
_container = container; | |
} | |
public void Inject(Type type, object model) |
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
public class OurWindowsPrincipalHandler : IWindowsPrincipalHandler | |
{ | |
private readonly ITransaction _transaction; | |
public OurWindowsPrincipalHandler(ITransaction transaction) | |
{ | |
_transaction = transaction; | |
} | |
public bool Authenticated(IPrincipal principal) |
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
public class CaseSnapshotFlattener : ICaseSnapshotFlattener | |
{ | |
private readonly IProjectionRunner _runner; | |
public CaseSnapshotFlattener(IProjectionRunner runner) | |
{ | |
_runner = runner; | |
} | |
public IDictionary<string, object> ToJson(CaseSnapshot model) |
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
[13:24:05][Execute storyteller_ci] src/packages/Serenity.0.9.8.125/tools/SerenityRunner.exe storyteller src/FubuMVC.Validation.StoryTeller/validation.xml artifacts/Storyteller.html -b Phantom | |
[13:24:05][Execute storyteller_ci] Using browser Phantom | |
[13:24:05][Execute storyteller_ci] Writing results to C:\BuildAgent\work\df725bf3df5ceacf\artifacts\results | |
[13:24:05][Execute storyteller_ci] Loading Project at src/FubuMVC.Validation.StoryTeller/validation.xml | |
[13:24:05][Execute storyteller_ci] Running Project Validation | |
[13:24:11][Execute storyteller_ci] PhantomJS is launching GhostDriver... | |
[13:24:11][Execute storyteller_ci] Ghost Driver running on port 50577 | |
[13:25:11][Execute storyteller_ci] Asynchronous Sessions cleanup phase starting NOW | |
[13:25:30][Execute storyteller_ci] ========================================================================================================= | |
[13:25:30][Execute storyteller_ci] Acceptance Tests: 0 of 0 passed. 0 failed |
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
<fubu-localization> | |
<string key="ValidationKeys:Required">{field} is a required field. This is a custom message</string> | |
</fubu-localization> |
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 IntegrationTestExample | |
{ | |
// You'll want the FubuMVC.Katana package for this | |
private EmbeddedFubuMvcServer theServer; | |
[SetUp] | |
public void SetUp() | |
{ | |
theServer = new MyApplication().RunEmbedded(); |
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
(function($, continuations) { | |
var activateFormsPolicy = { | |
matches: function(continuation) { | |
return continuation.isHtml() && continuation.options.activateForms; | |
}, | |
execute: function (continuation) { | |
var element = continuation.options.element; | |
var content = $(continuation.response.responseText); | |
element.append(content); |
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
<use namespace="FubuCore" /> | |
<use namespace="FubuMVC.Core.Assets" /> | |
<use namespace="FubuMVC.Core.UI" /> | |
<use namespace="System.Linq" /> |