Exemplo n.º 1
0
        public void TestInit()
        {
            TestUtils.ResetLINQLibrary();
            var t = new TypeHandlerCache();

            MEFUtilities.Compose(t);
        }
        public void TestBasicTakeSkip()
        {
            var t = new TypeHandlerCache();

            MEFUtilities.Compose(t);
            GeneratedCode gc = new GeneratedCode();

            gc.Add(new LINQToTTreeLib.Statements.StatementInlineBlock());
            gc.Add(new LINQToTTreeLib.Tests.TestUtils.SimpleLoop());
            var skipper = new SkipResultOperator(Expression.Constant(10));

            ProcessResultOperator(new ROTakeSkipOperators(), skipper, null, gc);
        }
 public void TestInit()
 {
     TestUtils.ResetLINQLibrary();
     var t = new TypeHandlerCache();
     MEFUtilities.Compose(t);
 }