A brief file description. More...
#include "libts.h"
#include "Regex.h"
Go to the source code of this file.
Data Structures | |
struct | RegressionTest |
Defines | |
#define | REGRESSION_TEST_PASSED 1 |
#define | REGRESSION_TEST_INPROGRESS 0 |
#define | REGRESSION_TEST_FAILED -1 |
#define | REGRESSION_TEST_NOT_RUN -2 |
#define | REGRESSION_TEST_NONE 0 |
#define | REGRESSION_TEST_QUICK 1 |
#define | REGRESSION_TEST_NIGHTLY 2 |
#define | REGRESSION_TEST_EXTENDED 3 |
#define | REGRESSION_TEST_FATAL 4 |
#define | REGRESSION_OPT_EXCLUSIVE (1 << 0) |
#define | REGRESSION_TEST(_f) |
#define | EXCLUSIVE_REGRESSION_TEST(_f) |
#define | SignalError(_buf, _already) |
Typedefs | |
typedef void | TestFunction (RegressionTest *t, int type, int *status) |
Functions | |
int | rprintf (RegressionTest *t, const char *format,...) |
int | rperf (RegressionTest *t, const char *tag, double val) |
char * | regression_status_string (int status) |
Variables | |
int | regression_level |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file Regression.h.
#define EXCLUSIVE_REGRESSION_TEST | ( | _f | ) |
void RegressionTest_##_f(RegressionTest * t, int atype, int *pstatus); \ RegressionTest regressionTest_##_f(#_f,&RegressionTest_##_f, REGRESSION_OPT_EXCLUSIVE);\ void RegressionTest_##_f
Definition at line 93 of file Regression.h.
#define REGRESSION_OPT_EXCLUSIVE (1 << 0) |
Definition at line 62 of file Regression.h.
Referenced by RegressionTest::RegressionTest().
#define REGRESSION_TEST | ( | _f | ) |
void RegressionTest_##_f(RegressionTest * t, int atype, int *pstatus); \ RegressionTest regressionTest_##_f(#_f,&RegressionTest_##_f, 0);\ void RegressionTest_##_f
Definition at line 88 of file Regression.h.
#define REGRESSION_TEST_EXTENDED 3 |
Definition at line 57 of file Regression.h.
Referenced by cache_disk_replacement_stability().
#define REGRESSION_TEST_FAILED -1 |
Definition at line 50 of file Regression.h.
Referenced by altinfo_hook_handler(), cache_hook_handler(), Cache_vol(), RegressionTest::check_status(), CacheTestSM::complete(), cont_test_handler(), HdrTest::go(), log_test_handler(), mytest_handler(), ReRegressionSM::run(), RegressionTest::run(), RegressionTest::run_some(), SDK_API_TSContMutexGet(), SDK_API_TSIOBufferCopy(), SDK_API_TSIOBufferCreate(), SDK_API_TSIOBufferProduce(), SDK_API_TSIOBufferReaderClone(), SDK_API_TSIOBufferReaderConsume(), SDK_API_TSIOBufferStart(), RegressionSM::set_status(), ssn_handler(), and transform_hook_handler().
#define REGRESSION_TEST_FATAL 4 |
Definition at line 59 of file Regression.h.
#define REGRESSION_TEST_INPROGRESS 0 |
Definition at line 49 of file Regression.h.
Referenced by RegressionTest::check_status(), regression_status_string(), RegressionSM::RegressionSM(), RegressionTest::run_some(), RegressionSM::set_status(), and start_test().
#define REGRESSION_TEST_NIGHTLY 2 |
Definition at line 56 of file Regression.h.
#define REGRESSION_TEST_NONE 0 |
Definition at line 54 of file Regression.h.
#define REGRESSION_TEST_NOT_RUN -2 |
Definition at line 51 of file Regression.h.
Referenced by RegressionSM::regression_sm_waiting(), regression_status_string(), RegressionSM::run(), RegressionTest::run_some(), RegressionSM::set_status(), and start_test().
#define REGRESSION_TEST_PASSED 1 |
Definition at line 48 of file Regression.h.
Referenced by altinfo_hook_handler(), cache_hook_handler(), RegressionTest::check_status(), CacheTestSM::complete(), cont_test_handler(), HdrTest::go(), log_test_handler(), RegressionCont::mainEvent(), mytest_handler(), PARENTSELECTION(), regression_status_string(), ReRegressionSM::run(), SDK_API_DEBUG_NAME_LOOKUPS(), SDK_API_ENCODING(), SDK_API_TSContMutexGet(), SDK_API_TSIOBufferCopy(), SDK_API_TSIOBufferCreate(), SDK_API_TSIOBufferProduce(), SDK_API_TSIOBufferReaderClone(), SDK_API_TSIOBufferReaderConsume(), SDK_API_TSIOBufferStart(), RegressionSM::set_status(), ssn_handler(), and transform_hook_handler().
#define REGRESSION_TEST_QUICK 1 |
Definition at line 55 of file Regression.h.
#define SignalError | ( | _buf, | ||
_already | ||||
) |
{ \ if(_already == false) pmgmt->signalManager(MGMT_SIGNAL_CONFIG_ERROR, _buf); \ _already = true; \ Warning("%s", _buf); \ } \
Definition at line 104 of file Regression.h.
Referenced by ControlMatcher< Data, Result >::BuildTableFromString(), ParentRecord::DefaultInit(), and remap_parse_config_bti().
typedef void TestFunction(RegressionTest *t, int type, int *status) |
Definition at line 66 of file Regression.h.
char* regression_status_string | ( | int | status | ) |
Definition at line 44 of file Regression.cc.
References REGRESSION_TEST_INPROGRESS, REGRESSION_TEST_NOT_RUN, and REGRESSION_TEST_PASSED.
Referenced by RegressionTest::check_status(), RegressionCont::mainEvent(), RegressionTest::run_some(), and start_test().
int rperf | ( | RegressionTest * | t, | |
const char * | tag, | |||
double | val | |||
) |
Definition at line 196 of file Regression.cc.
References RegressionTest::name.
Referenced by Regression().
int rprintf | ( | RegressionTest * | t, | |
const char * | format, | |||
... | ||||
) |
Definition at line 178 of file Regression.cc.
References RegressionTest::name.
Referenced by cache(), Cache_dir(), cache_disk_replacement_stability(), CCFailHistoryTestCont::check_history(), Congestion_HashTable(), create_config(), execute_and_verify(), HttpTransact_is_request_valid(), LogObjectManager_Transfer(), CCCongestionDBTestCont::mainEvent(), NetVCTest::record_error(), Regression(), and ReRegressionSM::run().
int regression_level |
Definition at line 40 of file Regression.cc.
Referenced by run_RegressionTest(), and start_test().