1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2019 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.

use fuchsia_zircon::{Duration, DurationNum};

/// Defines a generic utility to expect calls to a FIDL message and extract their parameters.
pub mod expect;

/// Mock utilities for fuchsia.bluetooth.sys.
pub mod sys;

/// Mock utilities for fuchsia.bluetooth.gatt.
pub mod gatt;

/// Mock utilities for fuchsia.bluetooth.gatt2.
pub mod gatt2;

const TIMEOUT_SECONDS: i64 = 4 * 60;

pub fn timeout_duration() -> Duration {
    TIMEOUT_SECONDS.seconds()
}