Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
metrics-test.cc File Reference
#include "util/metrics.h"
#include "util/collection-metrics.h"
#include "util/memory-metrics.h"
#include <gtest/gtest.h>
#include <boost/scoped_ptr.hpp>
#include <limits>
#include "util/jni-util.h"
#include "util/thread.h"
#include "common/names.h"
Include dependency graph for metrics-test.cc:

Go to the source code of this file.

Namespaces

 impala
 This file contains type definitions that are used throughout the code base.
 

Functions

template<typename M , typename T >
void impala::AssertValue (M *metric, const T &value, const string &human_readable)
 
 impala::TEST (MetricsTest, CounterMetrics)
 
 impala::TEST (MetricsTest, GaugeMetrics)
 
 impala::TEST (MetricsTest, PropertyMetrics)
 
 impala::TEST (MetricsTest, NonFiniteValues)
 
 impala::TEST (MetricsTest, SetMetrics)
 
 impala::TEST (MetricsTest, StatsMetrics)
 
 impala::TEST (MetricsTest, MemMetric)
 
 impala::TEST (MetricsTest, JvmMetrics)
 
void impala::AssertJson (const Value &val, const string &name, const string &value, const string &description, const string &kind="", const string &units="")
 
 impala::TEST (MetricsJsonTest, Counters)
 
 impala::TEST (MetricsJsonTest, Gauges)
 
 impala::TEST (MetricsJsonTest, Properties)
 
 impala::TEST (MetricsJsonTest, SetMetrics)
 
 impala::TEST (MetricsJsonTest, StatsMetrics)
 
 impala::TEST (MetricsJsonTest, UnitsAndDescription)
 
 impala::TEST (MetricGroupTest, JsonTest)
 
int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 306 of file metrics-test.cc.

References impala::JniUtil::Init(), and impala::InitThreading().