Lines Matching full:cancel
38 // Cancel().
40 // - After Cancel(), Run() completes but has no effect.
41 TEST(CancelableCallbackTest, Cancel) { in TEST() argument
53 cancelable.Cancel(); in TEST()
58 // Cancel() called multiple times.
59 // - Cancel() cancels all copies of the wrapped callback.
60 // - Calling Cancel() more than once has no effect.
61 // - After Cancel(), callback() returns a null callback.
69 cancelable.Cancel(); in TEST()
77 // Calling Cancel() again has no effect. in TEST()
78 cancelable.Cancel(); in TEST()
104 // Cancel() called on bound closure with a RefCounted parameter.
105 // - Cancel drops wrapped callback (and, implicitly, its bound arguments).
115 // There is only one reference to |ref_counted| after the Cancel(). in TEST()
116 cancelable.Cancel(); in TEST()
156 // - Cancel() transforms the CancelableCallback into a cancelled state.
166 cancelable.Cancel(); in TEST()
186 // Cancel before running the message loop. in TEST()
187 cancelable.Cancel(); in TEST()