Home
last modified time | relevance | path

Searched refs:ParameterSet (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/base/test/android/junit/src/org/chromium/base/test/params/
DExampleParameterizedTest.java29 private static List<ParameterSet> sClassParams =
30 Arrays.asList(new ParameterSet().value("hello", "world").name("HelloWorld"),
31 new ParameterSet().value("Xxxx", "Yyyy").name("XxxxYyyy"),
32 new ParameterSet().value("aa", "yy").name("AaYy"));
35 private static List<ParameterSet> sMethodParamA =
36 Arrays.asList(new ParameterSet().value(1, 2).name("OneTwo"),
37 new ParameterSet().value(2, 3).name("TwoThree"),
38 new ParameterSet().value(3, 4).name("ThreeFour"));
41 public List<ParameterSet> getParameters() { in getParameters()
47 private static List<ParameterSet> sMethodParamB =
[all …]
DParameterizedRunnerTest.java26 static List<ParameterSet> sClassParams = new ArrayList<>();
51 public List<ParameterSet> mClassParams = new ArrayList<>();
60 private static List<ParameterSet> sParamA = new ArrayList<>();
63 private static List<ParameterSet> sParamB = new ArrayList<>();
68 List<ParameterSet> paramList = new ArrayList<>(); in testEmptyParameterSet()
69 paramList.add(new ParameterSet()); in testEmptyParameterSet()
75 List<ParameterSet> paramList = new ArrayList<>(); in testUnequalWidthParameterSetList()
76 paramList.add(new ParameterSet().value(1, 2)); in testUnequalWidthParameterSetList()
77 paramList.add(new ParameterSet().value(3, 4, 5)); in testUnequalWidthParameterSetList()
83 List<ParameterSet> paramList = new ArrayList<>(); in testUnequalWidthParameterSetListWithNull()
[all …]
DParameterizedTestNameTest.java32 static List<ParameterSet> sAllName = Arrays.asList(
33 new ParameterSet().value("hello").name("Hello"),
34 new ParameterSet().value("world").name("World")
46 static List<ParameterSet> sAllName = Arrays.asList(
47 new ParameterSet().value("hello"),
48 new ParameterSet().value("world")
61 public Iterable<ParameterSet> getParameters() { in getParameters()
63 new ParameterSet().value("hello").name("Hello"), in getParameters()
64 new ParameterSet().value("world").name("World") in getParameters()
71 public Iterable<ParameterSet> getParameters() { in getParameters()
[all …]
DParameterizedRunnerDelegateFactoryTest.java64 public Iterable<ParameterSet> getParameters() { in getParameters()
66 new ParameterSet().value("a").name("testWithValue_a"), in getParameters()
67 new ParameterSet().value("b").name("testWithValue_b") in getParameters()
79 public Iterable<ParameterSet> getParameters() { in getParameters()
81 new ParameterSet().value(1).name("testWithValue_1"), in getParameters()
82 new ParameterSet().value(2).name("testWithValue_2"), in getParameters()
83 new ParameterSet().value(3).name("testWithValue_3") in getParameters()
DParameterizedRunnerDelegateCommonTest.java24 private static Object createTest(TestClass testClass, ParameterSet classParameterSet) in createTest()
61 ParameterSet pSet = new ParameterSet().value(1, 2, 3); in testCreateTestWithIncorrectArguments()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/params/
DParameterizedRunner.java129 List<ParameterSet> classParameterSetList; in createRunners()
143 for (ParameterSet classParameterSet : classParameterSetList) { in createRunners()
154 private static List<ParameterSet> getParameterSetList(FrameworkField field, TestClass testClass) in getParameterSetList()
169 List<ParameterSet> result = (List<ParameterSet>) field.get(testClass.getJavaClass()); in getParameterSetList()
173 static void validateWidth(Iterable<ParameterSet> parameterSetList) { in validateWidth()
175 for (ParameterSet set : parameterSetList) { in validateWidth()
DParameterizedRunnerDelegateFactory.java31 ParameterSet classParameterSet, Class<T> parameterizedRunnerDelegateClass) in createRunner()
64 Iterable<ParameterSet> parameterSets = in generateUnmodifiableFrameworkMethodList()
90 private static Iterable<ParameterSet> getParameters(Class<? extends ParameterProvider> clazz) { in getParameters()
107 FrameworkMethod baseMethod, Iterable<ParameterSet> parameterSetList, String suffix) { in createParameterizedMethods()
110 for (ParameterSet set : parameterSetList) { in createParameterizedMethods()
DParameterSet.java37 public class ParameterSet { class
41 public ParameterSet() {} in ParameterSet() method in ParameterSet
43 public ParameterSet value(Object firstArg, Object... objects) { in value()
53 public ParameterSet name(String name) { in name()
DParameterizedFrameworkMethod.java20 private ParameterSet mParameterSet;
24 Method method, ParameterSet parameterSet, String classParameterSetName) { in ParameterizedFrameworkMethod()
91 public ParameterSet getParameterSet() { in getParameterSet()
DParameterizedRunnerDelegateCommon.java21 private final ParameterSet mClassParameterSet;
24 public ParameterizedRunnerDelegateCommon(TestClass testClass, ParameterSet classParameterSet, in ParameterizedRunnerDelegateCommon()
DParameterProvider.java11 public interface ParameterProvider { Iterable<ParameterSet> getParameters(); } in getParameters()
DMethodParamRule.java27 ParameterSet parameters = ((ParameterizedFrameworkMethod) method).getParameterSet(); in apply()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DParameterSet.java36 public final class ParameterSet { class
37 public static ParameterSet create(Class<?> theClass, Class<? extends Annotation> annotationClass) in create()
49 return new ParameterSet(parametersBuilder.build()); in create()
54 private ParameterSet(ImmutableMap<String, Parameter> map) { in ParameterSet() method in ParameterSet
DBenchmarkClass.java52 private final ParameterSet userParameters;
72 this.userParameters = ParameterSet.create(theClass, Param.class); in BenchmarkClass()
85 public ParameterSet userParameters() { in userParameters()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DAndroidVideoDecoderInstrumentationTest.java27 import org.chromium.base.test.params.ParameterSet;
38 @ClassParameter private static List<ParameterSet> CLASS_PARAMS = new ArrayList<>();
41 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
44 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
47 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
50 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
DHardwareVideoEncoderTest.java33 import org.chromium.base.test.params.ParameterSet;
44 @ClassParameter private static List<ParameterSet> CLASS_PARAMS = new ArrayList<>();
47 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
50 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
53 CLASS_PARAMS.add(new ParameterSet() in CLASS_PARAMS.add()
DVideoFrameBufferTest.java30 import org.chromium.base.test.params.ParameterSet;
50 @ClassParameter private static List<ParameterSet> CLASS_PARAMS = new ArrayList<>();
55 CLASS_PARAMS.add(new ParameterSet().value(bufferType.name()).name(bufferType.name())); in CLASS_PARAMS.add()