11cb0ef41Sopenharmony_ci// Flags: --expose-internals 21cb0ef41Sopenharmony_ci'use strict'; 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_cirequire('../common'); 51cb0ef41Sopenharmony_ciconst assert = require('assert'); 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ciconst { 81cb0ef41Sopenharmony_ci DTRACE_HTTP_CLIENT_REQUEST, 91cb0ef41Sopenharmony_ci DTRACE_HTTP_CLIENT_RESPONSE, 101cb0ef41Sopenharmony_ci DTRACE_HTTP_SERVER_REQUEST, 111cb0ef41Sopenharmony_ci DTRACE_HTTP_SERVER_RESPONSE, 121cb0ef41Sopenharmony_ci DTRACE_NET_SERVER_CONNECTION, 131cb0ef41Sopenharmony_ci DTRACE_NET_STREAM_END 141cb0ef41Sopenharmony_ci} = require('internal/dtrace'); 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ci// We're just testing to make sure these are always defined and 171cb0ef41Sopenharmony_ci// callable. We don't actually test their function here. 181cb0ef41Sopenharmony_ci 191cb0ef41Sopenharmony_ciassert.strictEqual(typeof DTRACE_HTTP_CLIENT_REQUEST, 'function'); 201cb0ef41Sopenharmony_ciassert.strictEqual(typeof DTRACE_HTTP_CLIENT_RESPONSE, 'function'); 211cb0ef41Sopenharmony_ciassert.strictEqual(typeof DTRACE_HTTP_SERVER_REQUEST, 'function'); 221cb0ef41Sopenharmony_ciassert.strictEqual(typeof DTRACE_HTTP_SERVER_RESPONSE, 'function'); 231cb0ef41Sopenharmony_ciassert.strictEqual(typeof DTRACE_NET_SERVER_CONNECTION, 'function'); 241cb0ef41Sopenharmony_ciassert.strictEqual(typeof DTRACE_NET_STREAM_END, 'function'); 25