@@ -0,0 +1,2127 @@
+package task;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.mwdb.KNode;%0Aimport org.mwdb.KTask;%0Aimport org.mwdb.KTaskAction;%0Aimport org.mwdb.KTaskContext;%0A%0Apublic class ActionSelectTest extends AbstractActionTest %7B%0A%0A    @Test%0A    public void test() %7B%0A        graph.newTask()%0A                .fromIndexAll(%22nodes%22)%0A                .select(new KTask.KTaskSelect() %7B%0A                    @Override%0A                    public boolean select(KNode node) %7B%0A                        return node.att(%22name%22).equals(%22root%22);%0A                    %7D%0A                %7D)%0A                .then(new KTaskAction() %7B%0A                    @Override%0A                    public void eval(KTaskContext context) %7B%0A                        Assert.assertEquals(((KNode%5B%5D) context.getPreviousResult())%5B0%5D.att(%22name%22), %22root%22);%0A                    %7D%0A                %7D)%0A                .execute();%0A    %7D%0A%0A    @Test%0A    public void test2() %7B%0A        graph.newTask()%0A                .fromIndexAll(%22nodes%22)%0A                .select(new KTask.KTaskSelect() %7B%0A                    @Override%0A                    public boolean select(KNode node) %7B%0A                        return false;%0A                    %7D%0A                %7D)%0A                .then(new KTaskAction() %7B%0A                    @Override%0A                    public void eval(KTaskContext context) %7B%0A                        Assert.assertEquals(((KNode%5B%5D) context.getPreviousResult()).length, 0);%0A                    %7D%0A                %7D)%0A                .execute();%0A    %7D%0A%0A    @Test%0A    public void test3() %7B%0A        graph.newTask()%0A                .fromIndexAll(%22nodes%22)%0A                .select(new KTask.KTaskSelect() %7B%0A                    @Override%0A                    public boolean select(KNode node) %7B%0A                        return true;%0A                    %7D%0A                %7D)%0A                .then(new KTaskAction() %7B%0A                    @Override%0A                    public void eval(KTaskContext context) %7B%0A                        Assert.assertEquals(((KNode%5B%5D) context.getPreviousResult()).length, 3);%0A                    %7D%0A                %7D)%0A                .execute();%0A    %7D%0A%0A%0A%0A%7D%0A

add test for select task