Home
last modified time | relevance | path

Searched refs:Scenario (Results 1 – 25 of 58) sorted by relevance

123

/external/caliper/caliper/src/main/java/com/google/caliper/model/
DScenario.java34 public final class Scenario { class
35 static final Scenario DEFAULT = new Scenario();
44 private Scenario() { in Scenario() method in Scenario
50 private Scenario(Builder builder) { in Scenario() method in Scenario
71 } else if (obj instanceof Scenario) { in equals()
72 Scenario that = (Scenario) obj; in equals()
137 public Scenario build() { in build()
141 return new Scenario(this); in build()
DTrial.java42 private Scenario scenario;
49 this.scenario = Scenario.DEFAULT; in Trial()
73 public Scenario scenario() { in scenario()
114 private Scenario scenario;
139 public Builder scenario(Scenario.Builder scenarioBuilder) { in scenario()
143 public Builder scenario(Scenario scenario) { in scenario()
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/bdd/
Dpretty_printing_scenarios.story1 Scenario: When printing the instantiation we should use the right amount of spaces
15 Scenario: When printing the lambda expression we should use the right indentation
35 Scenario: Printing orphan comments in empty method
61 Scenario: Printing orphan comments in empty method (issue 192)
80 Scenario: Printing orphan comments in for loop (issue 192)
101 Scenario: Printing orphan and attributed comments in for loop (issue 192)
126 Scenario: An empty Enum is printed correctly
136 Scenario: An enum without fields has no () on its members
148 Scenario: Strings with escaped newlines are parsed correctly
164 Scenario: A multi-catch is printed correctly
[all …]
Dposition_range_scenarios.story1 Scenario: a position is equal to another position at the same place
8 Scenario: a position is after another position
15 Scenario: a position is directly after another position
22 Scenario: a position is before another position
29 Scenario: a position is directly before another position
36 Scenario: a range is equal to another range
41 Scenario: a range is before a position
46 Scenario: a range is after a position
51 Scenario: a range is contained in another range
Dparsing_scenarios.story1 Scenario: Test declaration as String for constructor on parsed class
13 Scenario: Test declaration as String exclusing modifiers and throws for constructor on parsed class
25 Scenario: Test declaration as String exclusing modifiers and throws for method on parsed class
39 Scenario: Test declaration as String exclusing modifiers and throws for method on parsed class
53 Scenario: The same class source is parsed by two different compilation units and should therefore b…
81 Scenario: Two different class sources are parsed by two different compilation units and should not …
109 Scenario: Classes that only differ by comments should not be equal or have the same hashcode
137 Scenario: A class with a colon in the annoation value is parsed by the Java Parser
155 Scenario: A class with a Lambda is parsed by the Java Parser
184 Scenario: A class with parameterized Lambdas is parsed by the Java Parser
[all …]
Dmanipulation_scenarios.story1 Scenario: A Node can only ever be equal to a class that extends Node
8 Scenario: A BlockStmt can be created by a provided String
15 Scenario: A Statement can be created by a provided String
22 Scenario: Adding declarations to a TryStmt it is set as the parent of all provided declarations
30 Scenario: Creating a complete CompilationUnit
50 Scenario: Change the name of a method to be uppercase
66 Scenario: Change the name of all methods to be uppercase using a visitor
84 Scenario: Add int arguments to a method
102 Scenario: Add int arguments to all methods using a visitor
122 Scenario: Clone a compilation unit
Dcomment_parsing_scenarios.story1 Scenario: A Class With Line Comments is processed by the Comments Parser
28 Scenario: A Class With Block Comments is processed by the Comments Parser
64 Scenario: A Class With Javadoc Comments is processed by the Comments Parser
88 Scenario: A Class With Orphan Comments is processed by the Comments Parser
115 Scenario: A Class With Orphan Comments is processed by the Comments Parser
154 Scenario: A method containing two consecutive line comments is parsed correctly
169 Scenario: Comments from a file with an non-UTF-8 encoding are parsed correctly
175 Scenario: Should not recognize /*/ as a comment
188 Scenario: Should recognize /*/ inside a block comment
196 Scenario: A Class With Character Literal is processed by the Comments Parser
[all …]
Dcomment_attribution_scenarios.story1 Scenario: A Class With Line Comments is processed by the Java Parser
26 Scenario: A Class With Line Comments is processed by the Java Parser
58 Scenario: A Class With Orphan Comment in Class Declaration is parsed by the Java Parser
75 Scenario: A Class With Line Comments in Multiple Methods is parsed by the Java Parser
113 Scenario: A Class With Line Comments in Multiple Methods is parsed by the Java Parser
141 Scenario: A Class With Line Comments on Fields is parsed by the Java Parser
167 Scenario: Another Class With Line Comments on Fields is parsed by the Java Parser
188 Scenario: A Class With Mixed Comments on Fields is parsed by the Java Parser
214 Scenario: Comment with a preceding line space is an orphan
224 Scenario: Comment without a preceding line space is associated to class
[all …]
Dvisitor_scenarios.story1 Scenario: A class that is replicated using a CloneVisitor should be equal to the source
18 Scenario: A classes variable name is changed to uppercase VoidVisitorAdapter
34 Scenario: A class with a try statement is visited using by a VoidVisitorAdapter
52 Scenario: A class with a try statement is visited using by a GenericVisitorAdapter
/external/parameter-framework/upstream/test/functional-tests/
Dplan.md36 - [X] Scenario: Default logger
40 - [X] Scenario: No logger
44 - [X] Scenario: Logger should receive info and warnings
51 - [X] Scenario: Unset logger
61 - [ ] Scenario: Tuning OK
66 - [ ] Scenario: Invalid tunning
71 - [ ] Scenario: Forbiden invalid tunning
77 - [ ] Scenario: Plugin OK
82 - [X] Scenario: Wrong plugin
87 - [ ] Scenario: Wrong plugin but fallback
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_client_application.py32 class Scenario(enum.Enum): class
219 Scenario.UNARY_UNARY: _run_unary_unary,
220 Scenario.UNARY_STREAM: _run_unary_stream,
221 Scenario.STREAM_UNARY: _run_stream_unary,
222 Scenario.STREAM_STREAM: _run_stream_stream,
223 Scenario.CONCURRENT_STREAM_UNARY: _run_concurrent_stream_unary,
224 Scenario.CONCURRENT_STREAM_STREAM: _run_concurrent_stream_stream,
225 Scenario.CANCEL_UNARY_UNARY: _run_cancel_unary_unary,
226 Scenario.INFINITE_REQUEST_STREAM: _run_infinite_request_stream,
D_client_test.py55 _client_application.run, _client_application.Scenario.UNARY_UNARY,
71 _client_application.run, _client_application.Scenario.UNARY_STREAM,
86 _client_application.run, _client_application.Scenario.STREAM_UNARY,
110 _client_application.run, _client_application.Scenario.STREAM_STREAM,
134 _client_application.Scenario.CONCURRENT_STREAM_STREAM,
169 _client_application.Scenario.CANCEL_UNARY_UNARY,
185 _client_application.Scenario.CONCURRENT_STREAM_UNARY,
216 _client_application.run, _client_application.Scenario.STREAM_STREAM,
241 _client_application.run, _client_application.Scenario.UNARY_UNARY,
257 _client_application.run, _client_application.Scenario.STREAM_STREAM,
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java882 Scenario<T> starter = new Scenario<T>((Ordering) ordering, list, emptyArray);
886 private static <T> void verifyScenario(Scenario<T> scenario, int level) {
904 private static class Scenario<T> {
909 Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
980 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
983 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
987 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
995 return new Scenario<T>(scenario.ordering.nullsFirst(), newList, scenario.emptyArray);
999 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
1007 return new Scenario<T>(scenario.ordering.nullsLast(), newList, scenario.emptyArray);
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java848 Scenario<T> starter = new Scenario<T>((Ordering) ordering, list, emptyArray);
852 private static <T> void verifyScenario(Scenario<T> scenario, int level) {
870 private static class Scenario<T> {
875 Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
946 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
949 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
953 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
961 return new Scenario<T>(scenario.ordering.nullsFirst(), newList, scenario.emptyArray);
965 @Override <T> Scenario<?> mutate(Scenario<T> scenario) {
973 return new Scenario<T>(scenario.ordering.nullsLast(), newList, scenario.emptyArray);
[all …]
/external/grpc-grpc/test/cpp/qps/
Dqps_json_driver.cc78 static std::unique_ptr<ScenarioResult> RunAndReport(const Scenario& scenario, in RunAndReport()
118 static double GetCpuLoad(Scenario* scenario, double offered_load, in GetCpuLoad()
128 static double BinarySearch(Scenario* scenario, double targeted_cpu_load, in BinarySearch()
149 double targeted_cpu_load, Scenario* scenario, in SearchOfferedLoad()
214 const Scenario& scenario = scenarios.scenarios(i); in QpsDriver()
218 Scenario* scenario = scenarios.mutable_scenarios(i); in QpsDriver()
/external/autotest/server/site_tests/enterprise_CFM_ConfigurableCfmTestSanity/
Dcontrol.verifications23 scenario=Scenario(
36 Scenario(AssertUsbDevices([ATRUS], lambda devices: True),
39 Scenario(AssertUsbDevices([HUDDLY_GO], lambda devices: True)),
40 Scenario(AssertUsbDevices([ATRUS], lambda devices: True))],
Dcontrol.join_leave22 scenario=Scenario(
25 RepeatTimes(5, Scenario(
/external/autotest/server/cros/cfm/configurable_test/
Dconfigurable_cfm_test_unittest.py18 scenario=Scenario(
33 scenario=Scenario(
35 RepeatTimes(5, Scenario(
Dactions_unittest.py111 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),
132 scenario.Scenario(scenario2_action2)]
/external/ltp/testcases/kernel/fs/doio/
Drwtest153 -S) Scenario=$2
230 case $Scenario in
243 NPE=${Scenario#MPP}
252 FSIZE=${Scenario#places-}
/external/parameter-framework/upstream/tools/clientSimulator/
DpfClientSimulator.py36 from clientsimulator.scenario.Scenario import Scenario
83 Scenario(consoleLogger,
/external/autotest/server/site_tests/enterprise_CFM_LowLevelPeripheralTest/
Dcontrol.huddly_power_cycle_stress26 scenario=Scenario(
28 RepeatTimes(10, Scenario(
Dcontrol.atrus_power_cycle_stress26 scenario=Scenario(
28 RepeatTimes(10, Scenario(
Dcontrol.reboot_stress25 scenario=Scenario(
29 RepeatTimes(10, Scenario(
/external/autotest/server/site_tests/enterprise_CFM_MeetingRoomScenario/
Dcontrol.join_leave_meeting_with_bots33 scenario=Scenario(
38 Scenario(

123