view src/main/java/christie/test/Remote/RemotePutTest.java @ 33:e7bf1506810c

change test code
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Thu, 15 Feb 2018 19:08:55 +0900
parents 307ac87ddcf7
children 7b405f622c5c
line wrap: on
line source

package christie.test.Remote;

import christie.annotation.Peek;
import christie.annotation.Take;
import christie.codegear.CodeGear;
import christie.codegear.CodeGearManager;

public class RemotePutTest extends CodeGear {

    @Take
    public int count;

    @Peek
    public int cgmID;

    @Override
    protected void run(CodeGearManager cgm) {
        if (count != 10){
            System.out.println(cgmID + " : " + count);
            cgm.setup(new RemotePutTest());
            getDGM("remote").put("count", count + 1);
            //getDGM("remote").put("cgmID", cgm.cgmID);
        }
    }

}