Fix include paths

pull/5764/head
Craig Tiller 9 years ago
parent ca5acf819d
commit 1206423aa2
  1. 10
      test/core/internal_api_canaries/iomgr.c
  2. 6
      test/core/internal_api_canaries/support.c
  3. 17
      test/core/internal_api_canaries/transport.c

@ -31,11 +31,11 @@
*
*/
#include "src/core/iomgr/iomgr.h"
#include "src/core/iomgr/closure.h"
#include "src/core/iomgr/endpoint.h"
#include "src/core/iomgr/exec_ctx.h"
#include "src/core/iomgr/executor.h"
#include "src/core/lib/iomgr/iomgr.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/executor.h"
/*******************************************************************************
* NOTE: If this test fails to compile, then the api changes are likely to cause

@ -39,9 +39,9 @@
* This test is NOT expected to be run directly.
******************************************************************************/
#include "src/core/support/env.h"
#include "src/core/support/load_file.h"
#include "src/core/support/tmpfile.h"
#include "src/core/lib/support/env.h"
#include "src/core/lib/support/load_file.h"
#include "src/core/lib/support/tmpfile.h"
static void test_code(void) {
/* env.h */

@ -39,17 +39,20 @@
* This test is NOT expected to be run directly.
******************************************************************************/
#include "src/core/transport/transport.h"
#include "src/core/transport/transport_impl.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/lib/transport/transport_impl.h"
static void test_code(void) {
/* transport_impl.h */
grpc_transport transport;
grpc_transport_vtable vtable = {
12345, grpc_transport_init_stream, grpc_transport_set_pollset,
grpc_transport_perform_stream_op, grpc_transport_perform_op,
grpc_transport_destroy_stream, grpc_transport_destroy,
grpc_transport_get_peer};
grpc_transport_vtable vtable = {12345,
grpc_transport_init_stream,
grpc_transport_set_pollset,
grpc_transport_perform_stream_op,
grpc_transport_perform_op,
grpc_transport_destroy_stream,
grpc_transport_destroy,
grpc_transport_get_peer};
transport.vtable = &vtable;
/* transport.h */

Loading…
Cancel
Save