Created
March 27, 2016 18:20
-
-
Save kris7t/f4ca0e2f11b3ae299ff1 to your computer and use it in GitHub Desktop.
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
[Test, WithWorkflow(@" | |
<Workflow xmlns='http://petridotnet.inf.mit.bme.hu/pdn/2016/xaml/analysis' | |
xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' | |
xmlns:system='clr-namespace:System;assembly=mscorlib' | |
xmlns:test='clr-namespace:Pdn.Workflows.Test;assembly=Pdn.Workflows.Test' | |
xmlns:tfw='clr-namespace:Pdn.Workflows.TestFramework.Activities;assembly=Pdn.Workflows.TestFramework'> | |
<Workflow.Inputs> | |
<Input Name='UserName' Type='system:String' DefaultValue='from Source'/> | |
<Input Name='Expected' Type='system:String' /> | |
</Workflow.Inputs> | |
<test:HelloAlgorithm x:Name='Greeter'/> | |
<tfw:Assert That='{Wire Greeting, SourceName=Greeter}' Is='EqualTo(Arg0)' | |
Arg0='{Wire Expected, Source={ThisWorkflow}}'/> | |
</Workflow> | |
")] | |
public void LoadSource() | |
{ | |
Workflow(expected: "Hello from Source!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment