Public Member Functions | Private Attributes | List of all members
grpc::testing::WeightedRandomTestSelector Class Reference

#include <stress_interop_client.h>

Public Member Functions

TestCaseType GetNextTest () const
 
 WeightedRandomTestSelector (const vector< pair< TestCaseType, int >> &tests)
 

Private Attributes

const vector< pair< TestCaseType, int > > tests_
 
int total_weight_
 

Detailed Description

Definition at line 77 of file stress_interop_client.h.

Constructor & Destructor Documentation

◆ WeightedRandomTestSelector()

grpc::testing::WeightedRandomTestSelector::WeightedRandomTestSelector ( const vector< pair< TestCaseType, int >> &  tests)
explicit

Definition at line 37 of file stress_interop_client.cc.

Member Function Documentation

◆ GetNextTest()

TestCaseType grpc::testing::WeightedRandomTestSelector::GetNextTest ( ) const

Definition at line 48 of file stress_interop_client.cc.

Member Data Documentation

◆ tests_

const vector<pair<TestCaseType, int> > grpc::testing::WeightedRandomTestSelector::tests_
private

Definition at line 88 of file stress_interop_client.h.

◆ total_weight_

int grpc::testing::WeightedRandomTestSelector::total_weight_
private

Definition at line 89 of file stress_interop_client.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:34