| /* -*- Mode: C++; tab-width: 4 indent-tabs-mode: nil -*- |
| * |
| * Copyright (c) 2015 Nest Labs, Inc. |
| * All rights reserved. |
| * |
| * This document is the property of Nest. It is considered |
| * confidential and proprietary information. |
| * |
| * This document may not be reproduced or transmitted in any form, |
| * in whole or in part, without the express written permission of |
| * Nest. |
| * |
| * Description: |
| * This is the header file used to hook into gtest framework to |
| * send pinna shell command. |
| * |
| */ |
| #ifndef NLGTEST_SHELL_H |
| #define NLGTEST_SHELL_H |
| |
| #include <stdio.h> |
| #include <string.h> |
| |
| void cmd_gtest_start(int argc, char *argv[]); |
| void gtest_run_shell_cmd(char cmdline[]); |
| void gtest_nm_start(); |
| void gtest_nm_stop(); |
| |
| #define UIF_CMD_GTEST \ |
| DECLARE_UIF_CMD("gtest", 0, UIF_MAX_ARGS, 0, cmd_gtest_start, \ |
| "command to start gtest", \ |
| "gtest <flag> <value>") |
| |
| #endif |