/external/autotest/server/cros/cfm/configurable_test/ |
cfm_test.py | 8 def __init__(self, scenario, configuration=configuration.Configuration()): 12 @param scenario The scenario to run. 16 self.scenario = scenario 20 return ('CfmTest\n scenario: %s\n configuration: %s' 21 % (self.scenario, self.configuration))
|
configurable_cfm_test_unittest.py | 18 scenario=Scenario( 33 scenario=Scenario( 35 RepeatTimes(5, Scenario(
|
dsl.py | 12 from autotest_lib.server.cros.cfm.configurable_test.scenario import *
|
actions_unittest.py | 8 from autotest_lib.server.cros.cfm.configurable_test import scenario 111 scenarios = [scenario.Scenario(dummy_action1), 112 scenario.Scenario(dummy_action2)] 127 scenarios1 = [scenario.Scenario(scenario1_action1), 128 scenario.Scenario(scenario1_action2)] 131 scenarios2 = [scenario.Scenario(scenario2_action1) [all...] |
actions.py | 121 Repeats a scenario a number of times. 123 def __init__(self, times, scenario): 127 @param times The number of times to repeat the scenario. 128 @param scenario The scenario to repeat. 132 self.scenario = scenario 135 return 'Repeat[scenario=%s, times=%s]' % (self.scenario, self.times) 139 self.scenario.execute(context [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Trial.java | 32 * An invocation of a single scenario measured with a single instrument and the results thereof. 42 private Scenario scenario; field in class:Trial 49 this.scenario = Scenario.DEFAULT; 57 this.scenario = builder.scenario; 73 public Scenario scenario() { method in class:Trial 74 return scenario; 114 private Scenario scenario; field in class:Trial.Builder 139 public Builder scenario(Scenario.Builder scenarioBuilder) { method in class:Trial.Builder 143 public Builder scenario(Scenario scenario) { method in class:Trial.Builder [all...] |
/external/grpc-grpc/test/cpp/qps/ |
qps_json_driver.cc | 38 "JSON file containing an array of Scenario objects"); 40 "JSON string containing an array of Scenario objects"); 78 static std::unique_ptr<ScenarioResult> RunAndReport(const Scenario& scenario, 80 std::cerr << "RUNNING SCENARIO: " << scenario.name() << "\n"; 82 scenario.client_config(), scenario.num_clients(), 83 scenario.server_config(), scenario.num_servers() 214 const Scenario& scenario = scenarios.scenarios(i); local 218 Scenario* scenario = scenarios.mutable_scenarios(i); local [all...] |
json_run_localhost_scenario_gen.py | 30 all_scenarios = {scenario['name'].encode('ascii', 'ignore'): \ 31 '\'{\'scenarios\' : [' + json.dumps(scenario) + ']}\'' \ 32 for scenario in deserialized_scenarios}
|
qps_json_driver_scenario_gen.py | 30 all_scenarios = {scenario['name'].encode('ascii', 'ignore'): \ 31 '\'{\'scenarios\' : [' + json.dumps(scenario) + ']}\'' \ 32 for scenario in deserialized_scenarios}
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
_exit_scenarios.py | 165 parser.add_argument('scenario', type=str) 170 if args.scenario == UNSTARTED_SERVER: 174 elif args.scenario == RUNNING_SERVER: 180 elif args.scenario == POLL_CONNECTIVITY_NO_SERVER: 189 elif args.scenario == POLL_CONNECTIVITY: 210 method = TEST_TO_METHOD[args.scenario] 212 if args.scenario == IN_FLIGHT_UNARY_UNARY_CALL: 216 elif (args.scenario == IN_FLIGHT_UNARY_STREAM_CALL or 217 args.scenario == IN_FLIGHT_PARTIAL_UNARY_STREAM_CALL): 222 elif (args.scenario == IN_FLIGHT_STREAM_UNARY_CALL o [all...] |
/external/ltp/android/tools/ |
compare_ltp_projects.py | 62 def scan_test_suites(ltp_root, scenario): 63 ''' Find all testuites and tests run as part of given LTP scenario 67 scenario: name of the scenario (found in ltp_root/scenario_groups). E.g. "vts" 70 List of testsuite names that are run as part of given scenario (e.g. vts). 71 If scenario is not specified, return all testsuites. 80 if scenario: 81 scenarioFile = ltp_root + os.path.sep + 'scenario_groups' + os.path.sep + scenario 96 def scan_ltp(ltp_root, scenario): 101 scenario: specific scenario we want to scan. e.g. vt [all...] |
/external/grpc-grpc/tools/run_tests/performance/ |
scenario_config.py | 15 # performance scenario configuration for various languages 55 def remove_nonproto_fields(scenario): 56 """Remove special-purpose that contains some extra info about the scenario 58 scenario.pop('CATEGORIES', None) 59 scenario.pop('CLIENT_LANGUAGE', None) 60 scenario.pop('SERVER_LANGUAGE', None) 61 scenario.pop('EXCLUDED_POLL_ENGINES', None) 62 return scenario 134 """Creates a basic ping pong scenario.""" 135 scenario = [all...] |
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/ |
ScenarioResult.php | 12 * Results of a single benchmark scenario. 19 * Inputs used to run the scenario. 21 * Generated from protobuf field <code>.grpc.testing.Scenario scenario = 1;</code> 23 private $scenario = null; variable 77 * Inputs used to run the scenario. 79 * Generated from protobuf field <code>.grpc.testing.Scenario scenario = 1;</code> 80 * @return \Grpc\Testing\Scenario 84 return $this->scenario; 97 $this->scenario = $var; variable [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
OrderingTest.java | 848 Scenario<T> starter = new Scenario<T>((Ordering) ordering, list, emptyArray); 852 private static <T> void verifyScenario(Scenario<T> scenario, int level) { 853 scenario.testCompareTo(); 854 scenario.testIsOrdered(); 855 scenario.testMinAndMax(); 856 scenario.testBinarySearch(); 857 scenario.testSortedCopy(); 861 verifyScenario(alteration.mutate(scenario), level + 1) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
OrderingTest.java | 882 Scenario<T> starter = new Scenario<T>((Ordering) ordering, list, emptyArray); 886 private static <T> void verifyScenario(Scenario<T> scenario, int level) { 887 scenario.testCompareTo(); 888 scenario.testIsOrdered(); 889 scenario.testMinAndMax(); 890 scenario.testBinarySearch(); 891 scenario.testSortedCopy(); 895 verifyScenario(alteration.mutate(scenario), level + 1) [all...] |
/external/parameter-framework/upstream/tools/clientSimulator/ |
pfClientSimulator.py | 36 from clientsimulator.scenario.Scenario import Scenario 83 Scenario(consoleLogger, 89 logger.info("Scenario execution complete.") 101 parser.add_argument("-s", "--scenario", type=int, default=None, nargs='+', 107 " implicit if neither '--scenario' nor '--interactive' are " 203 if args.scenario is not None: 204 for elem in args.scenario: 206 if (args.scenario is None) or args.no_exit [all...] |
/external/libchrome/base/strings/ |
string_util_unittest.cc | 626 for (const auto& scenario : cases) { 627 string16 str = ASCIIToUTF16(scenario.str); 628 ReplaceSubstringsAfterOffset(&str, scenario.start_offset, 629 ASCIIToUTF16(scenario.find_this), 630 ASCIIToUTF16(scenario.replace_with)); 631 EXPECT_EQ(ASCIIToUTF16(scenario.expected), str); 635 for (const auto& scenario : cases) { 636 std::string str = scenario.str.as_string(); 638 ReplaceSubstringsAfterOffset(&str, scenario.start_offset, 639 scenario.find_this, scenario.replace_with) [all...] |
/external/grpc-grpc/tools/run_tests/ |
run_performance_tests.py | 104 worker_timeout, # workers get restarted after each scenario 114 """Runs one scenario using QPS driver.""" 335 Scenario = collections.namedtuple('Scenario', 'jobspec workers name') 365 Scenario( 389 'in the same scenario') 392 print('Warning: Skipping scenario %s as' % 405 print('Warning: Skipping scenario %s as' % 418 scenario = Scenario( [all...] |
/external/grpc-grpc/src/csharp/Grpc.Core/ |
CallInvoker.cs | 46 /// In server streaming scenario, client sends on request and server responds with a stream of responses. 54 /// In client streaming scenario, client sends a stream of requests and server responds with a single response. 62 /// In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses.
|
DefaultCallInvoker.cs | 61 /// In server streaming scenario, client sends on request and server responds with a stream of responses. 71 /// In client streaming scenario, client sends a stream of requests and server responds with a single response. 81 /// In duplex streaming scenario, client sends a stream of requests and server responds with a stream of responses.
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/androidTest/java/com/example/android/pdfrendererbasic/ |
PdfRendererBasicTest.java | 44 final ActivityScenario<MainActivity> scenario = ActivityScenario.launch(MainActivity.class); local 45 scenario.onActivity((activity) -> {
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ConsoleOutput.java | 22 import com.google.caliper.model.Scenario; 132 Scenario scenario = trial.scenario(); local 133 vmSpecs.add(scenario.vmSpec()); 134 benchmarkSpecs.add(scenario.benchmarkSpec());
|
/external/grpc-grpc/tools/profiling/qps/ |
qps_diff.py | 79 def _run_cmd(name, scenario, fname): 81 'qps_diff_%s/opt/qps_json_driver' % name, '--scenarios_json', scenario,
|
/external/grpc-grpc/test/core/fling/ |
client.cc | 137 } scenario; typedef in typeref:struct:__anon23346 139 static const scenario scenarios[] = { 157 scenario sc = {nullptr, nullptr, nullptr}; 175 gpr_cmdline_add_string(cl, "scenario", "Scenario", &scenario_name); 187 fprintf(stderr, "unsupported scenario '%s'. Valid are:", scenario_name);
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
ReportQpsScenarioServiceGrpc.cs | 52 /// Report results of a QPS test benchmark scenario. 88 /// Report results of a QPS test benchmark scenario. 100 /// Report results of a QPS test benchmark scenario. 110 /// Report results of a QPS test benchmark scenario. 122 /// Report results of a QPS test benchmark scenario.
|