blob: 887a6aee943c3a2ca622e68fd4fa422aec21c413 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// +build !build_with_native_toolchain
package main
import (
"context"
"fidl/fidl/test/after"
)
type client_after struct {
addMethod *after.AddMethodWithCtxInterface
removeMethod *after.RemoveMethodWithCtxInterface
addEvent *after.AddEventWithCtxInterface
removeEvent *after.RemoveEventWithCtxInterface
}
func (c client_after) callAllMethodsExpectAllEvents() {
c.addMethod.ExistingMethod(context.Background())
c.removeMethod.ExistingMethod(context.Background())
c.addMethod.NewMethod(context.Background())
_ = c.addEvent.ExpectNewEvent(context.Background())
}