Lines Matching refs:info
100 let info = id->timer_info()
101 call assert_equal(id, info[0]['id'])
102 call assert_equal(1000, info[0]['time'])
103 call assert_true(info[0]['remaining'] > 500)
104 call assert_true(info[0]['remaining'] <= 1000)
105 call assert_equal(1, info[0]['repeat'])
106 call assert_equal("function('MyHandler')", string(info[0]['callback']))
109 for info in timer_info()
110 if info['id'] == id
125 let info = timer_info()
126 call assert_equal(2, len(info))
129 let info = timer_info()
130 call assert_equal(0, len(info))
138 let info = timer_info(id)
139 call assert_equal(0, info[0]['paused'])
142 let info = timer_info(id)
143 call assert_equal(1, info[0]['paused'])
148 let info = timer_info(id)
149 call assert_equal(0, info[0]['paused'])