fix/TD-31542-remove-assert-rename
This commit is contained in:
parent
155d7548d6
commit
dc10857eec
|
@ -14,8 +14,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef TAOS_TEST_H
|
||||
#define TAOS_TEST_H
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
#include "taos_collector_registry.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_test.h"
|
||||
#include "taos_collector_t.h"
|
||||
#include "taos_log.h"
|
||||
#include "taos_map_i.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "taos_collector_registry.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_test.h"
|
||||
#include "taos_collector_registry_t.h"
|
||||
#include "taos_collector_t.h"
|
||||
#include "taos_errors.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_test.h"
|
||||
#include "taos_errors.h"
|
||||
#include "taos_log.h"
|
||||
#include "taos_metric_i.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_test.h"
|
||||
#include "taos_errors.h"
|
||||
#include "taos_log.h"
|
||||
#include "taos_metric_i.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_test.h"
|
||||
#include "taos_linked_list_i.h"
|
||||
#include "taos_linked_list_t.h"
|
||||
#include "taos_log.h"
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_errors.h"
|
||||
#include "taos_linked_list_i.h"
|
||||
#include "taos_linked_list_t.h"
|
||||
#include "taos_log.h"
|
||||
#include "taos_map_i.h"
|
||||
#include "taos_map_t.h"
|
||||
#include "taos_test.h"
|
||||
|
||||
#define TAOS_MAP_INITIAL_SIZE 32
|
||||
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_errors.h"
|
||||
#include "taos_log.h"
|
||||
#include "taos_map_i.h"
|
||||
#include "taos_metric_formatter_i.h"
|
||||
#include "taos_metric_i.h"
|
||||
#include "taos_metric_sample_i.h"
|
||||
#include "taos_test.h"
|
||||
|
||||
char *taos_metric_type_map[4] = {"counter", "gauge", "histogram", "summary"};
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_collector_t.h"
|
||||
#include "taos_linked_list_t.h"
|
||||
#include "taos_map_i.h"
|
||||
|
@ -28,7 +27,7 @@
|
|||
#include "taos_metric_sample_t.h"
|
||||
#include "taos_metric_t.h"
|
||||
#include "taos_string_builder_i.h"
|
||||
|
||||
#include "taos_test.h"
|
||||
|
||||
taos_metric_formatter_t *taos_metric_formatter_new() {
|
||||
taos_metric_formatter_t *self = (taos_metric_formatter_t *)taos_malloc(sizeof(taos_metric_formatter_t));
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "taos_metric_sample_t.h"
|
||||
#include "tjson.h"
|
||||
#include "taos_monitor_util_i.h"
|
||||
#include "taos_assert.h"
|
||||
#include "taos_test.h"
|
||||
#include "tdef.h"
|
||||
#include "taos_collector_t.h"
|
||||
#include "taos_log.h"
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_errors.h"
|
||||
#include "taos_log.h"
|
||||
#include "taos_metric_sample_i.h"
|
||||
#include "taos_metric_sample_t.h"
|
||||
#include "taos_test.h"
|
||||
|
||||
#ifdef C11_ATOMIC
|
||||
#include <stdatomic.h>
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
#include "taos_alloc.h"
|
||||
|
||||
// Private
|
||||
#include "taos_assert.h"
|
||||
#include "taos_string_builder_i.h"
|
||||
#include "taos_string_builder_t.h"
|
||||
#include "taos_test.h"
|
||||
|
||||
// The initial size of a string created via taos_string_builder
|
||||
#define TAOS_STRING_BUILDER_INIT_SIZE 32
|
||||
|
|
Loading…
Reference in New Issue