Searched refs:parameterized (Results 1 – 25 of 87) sorted by relevance
1234
56 Parameterized parameterized, in ParameterDescription() argument58 if (! Map.class.isAssignableFrom(parameterized.getType())) { in ParameterDescription()59 throw new ParameterException("@DynamicParameter " + parameterized.getName() in ParameterDescription()61 + "Map but is " + parameterized.getType().getName()); in ParameterDescription()66 init(object, parameterized, bundle, jc); in ParameterDescription()69 public ParameterDescription(Object object, Parameter annotation, Parameterized parameterized, in ParameterDescription() argument73 init(object, parameterized, bundle, jc); in ParameterDescription()120 private void init(Object object, Parameterized parameterized, ResourceBundle bundle, in init() argument123 m_parameterized = parameterized; in init()132 if (Enum.class.isAssignableFrom(parameterized.getType()) in init()[all …]
67 public void addValue(Parameterized parameterized, Object object, Object value) { in addValue() argument69 parameterized.set(object, value); in addValue()80 callPut(object, parameterized, sv.substring(0, aInd), sv.substring(aInd + 1)); in addValue()84 private void callPut(Object object, Parameterized parameterized, String key, String value) { in callPut() argument87 m = findPut(parameterized.getType()); in callPut()88 m.invoke(parameterized.get(object), key, value); in callPut()
530 for (Parameterized parameterized : parameterizeds) { in addDescription()531 WrappedParameter wp = parameterized.getWrappedParameter(); in addDescription()539 p("Found main parameter:" + parameterized); in addDescription()542 + " allowed, found:" + m_mainParameter + " and " + parameterized); in addDescription()544 m_mainParameter = parameterized; in addDescription()548 new ParameterDescription(object, p, parameterized, m_bundle, this); in addDescription()551 new ParameterDescription(object, p, parameterized, m_bundle, this); in addDescription()557 m_fields.put(parameterized, pd); in addDescription()560 if (p.required()) m_requiredFields.put(parameterized, pd); in addDescription()563 } else if (parameterized.getDelegateAnnotation() != null) { in addDescription()[all …]
10 * [Sample #6](../samples/sample6_unittest.cc) demonstrates type-parameterized tests.11 * [Sample #7](../samples/sample7_unittest.cc) teaches the basics of value-parameterized tests.12 …* [Sample #8](../samples/sample8_unittest.cc) shows using `Combine()` in value-parameterized tests.
59 Parameterized<String> parameterized in testImplicitBindingOfGenericType() local61 assertNotNull(parameterized); in testImplicitBindingOfGenericType()72 Parameterized<String> parameterized in testExplicitBindingOfGenericType() local74 assertNotNull(parameterized); in testExplicitBindingOfGenericType()
37 private void validateNoTypeParameterOnParameterizedType(ParameterizedType parameterized, in validateNoTypeParameterOnParameterizedType() argument39 for (Type each : parameterized.getActualTypeArguments()) { in validateNoTypeParameterOnParameterizedType()
18 import org.junit.runners.parameterized.BlockJUnit4ClassRunnerWithParametersFactory;19 import org.junit.runners.parameterized.ParametersRunnerFactory;20 import org.junit.runners.parameterized.TestWithParameters;
25 // Parsing parameterized classes.70 // Parsing parameterized forward declarations classes.105 // Parameterized forward declaration a class that is not parameterized.106 @class NSObject<T>; // expected-error{{forward declaration of non-parameterized class 'NSObject' ca…110 // not parameterized).123 // Parsing parameterized categories and extensions.155 // Parameterized category/extension of non-parameterized class.156 @interface NSObject<T> (Cat1) // expected-error{{category of non-parameterized class 'NSObject' can…159 @interface NSObject<T> () // expected-error{{extension of non-parameterized class 'NSObject' cannot…287 …ypeArgs13; // expected-error{{type arguments cannot be applied to non-parameterized class 'NSObjec…
35 // Macros and functions for implementing parameterized tests44 // Value-parameterized tests allow you to test your code with different47 // Here is how you use value-parameterized tests:51 // To write value-parameterized tests, first you should define a fixture63 // Then, use the TEST_P macro to define as many parameterized tests64 // for this fixture as you want. The _P suffix is for "parameterized"154 // A parameterized test fixture must be derived from testing::Test and from162 // You can inherit all the usual members for a non-parameterized test171 // This is an ordinary non-parameterized test.201 // parameterized tests. When a parameterized test case is instantiated
11 * Parameters of value-parameterized tests are now printed in the22 * Value-parameterized test fixtures can now derive from Test and100 * New feature: value-parameterized tests.114 * New feature: type-parameterized tests.
23 public void parameterized(int i) { in parameterized() method in TestMethodWithParameterTest
1 package org.junit.runners.parameterized;
35 // Macros and functions for implementing parameterized tests44 // Value-parameterized tests allow you to test your code with different47 // Here is how you use value-parameterized tests:51 // To write value-parameterized tests, first you should define a fixture61 // Then, use the TEST_P macro to define as many parameterized tests62 // for this fixture as you want. The _P suffix is for "parameterized"170 // parameterized tests. When a parameterized test case is instantiated
38 * Parameters of value-parameterized tests are now printed in the49 * Value-parameterized test fixtures can now derive from Test and127 * New feature: value-parameterized tests.141 * New feature: type-parameterized tests.