コード例 #1
0
        public void After()
        {
            chain.After(CreateAction("abc", 0));
            chain.After(CreateAction("def", 1));
            chain.After(CreateAction("ghi", 2));
            chain.Action("key", 42);

            AssertTraceEquals("key,42: abc,0", "key,42: def,1", "key,42: ghi,2");
        }
コード例 #2
0
ファイル: ActionChainTest.cs プロジェクト: citizenmatt/gallio
        public void After()
        {
            chain.After(CreateAction("abc"));
            chain.After(CreateAction("def"));
            chain.After(CreateAction("ghi"));
            chain.Action("key");

            AssertTraceEquals("key: abc", "key: def", "key: ghi");
        }