mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Add unit tests skeleton for the time profiler
This commit adds a test crate for the time profiler to `tests/unit/profile`. The only unit test contained in this crate is a smoke test that the time profiler thread can be created and destroyed. It serves as a place for adding new tests in the future.
This commit is contained in:
parent
64b0dafde8
commit
35a5d6da15
5 changed files with 51 additions and 0 deletions
9
tests/unit/profile/lib.rs
Normal file
9
tests/unit/profile/lib.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
extern crate profile;
|
||||
extern crate profile_traits;
|
||||
|
||||
#[cfg(test)]
|
||||
mod time;
|
Loading…
Add table
Add a link
Reference in a new issue