Searched refs:klass (Results 1 - 25 of 154) sorted by relevance

1234567

/external/junit/src/org/junit/runners/
H A DAllTests.java21 public AllTests(Class<?> klass) throws Throwable { argument
22 super(klass);
H A DJUnit4.java19 public JUnit4(Class<?> klass) throws InitializationError { argument
20 super(klass);
H A DSuite.java50 private static Class<?>[] getAnnotatedClasses(Class<?> klass) throws InitializationError { argument
51 SuiteClasses annotation= klass.getAnnotation(SuiteClasses.class);
53 throw new InitializationError(String.format("class '%s' must have a SuiteClasses annotation", klass.getName()));
62 * @param klass the root class
66 public Suite(Class<?> klass, RunnerBuilder builder) throws InitializationError { argument
67 this(builder, klass, getAnnotatedClasses(klass));
84 * @param klass the root of the suite
88 protected Suite(Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { argument
89 this(new AllDefaultPossibilitiesBuilder(true), klass, suiteClasse
100 Suite(RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses) argument
111 Suite(Class<?> klass, List<Runner> runners) argument
[all...]
/external/junit/src/org/junit/experimental/runners/
H A DEnclosed.java28 public Enclosed(Class<?> klass, RunnerBuilder builder) throws Throwable { argument
29 super(builder, klass, klass.getClasses());
/external/chromium-trace/catapult/third_party/coverage/coverage/
H A Dmonkey.py26 klass = multiprocessing.process.BaseProcess
28 klass = multiprocessing.Process
30 original_bootstrap = klass._bootstrap
32 class ProcessWithCoverage(klass):
46 klass._bootstrap = ProcessWithCoverage._bootstrap
/external/vogar/src/vogar/
H A DClassAnalyzer.java23 private final Class<?> klass; field in class:ClassAnalyzer
25 public ClassAnalyzer(Class<?> klass) { argument
26 this.klass = klass;
32 Method candidate = klass.getMethod(name, parameters);
/external/mockito/src/org/mockito/internal/runners/util/
H A DTestMethodsFinder.java12 public boolean hasTestMethods(Class<?> klass) { argument
13 Method[] methods = klass.getMethods();
/external/mockito/src/org/mockito/runners/
H A DMockitoJUnit44Runner.java53 public MockitoJUnit44Runner(Class<?> klass) throws InvocationTargetException { argument
54 super(klass);
/external/junit/src/org/junit/internal/runners/
H A DSuiteMethod.java22 public SuiteMethod(Class<?> klass) throws Throwable { argument
23 super(testFromSuiteMethod(klass));
26 public static Test testFromSuiteMethod(Class<?> klass) throws Throwable { argument
30 suiteMethod= klass.getMethod("suite");
32 throw new Exception(klass.getName() + ".suite() must be static");
/external/mockito/src/org/mockito/internal/runners/
H A DRunnerFactory.java25 public RunnerImpl create(Class<?> klass) throws InvocationTargetException { argument
28 return runnerProvider.newInstance("org.mockito.internal.runners.JUnit45AndHigherRunnerImpl", klass);
30 return runnerProvider.newInstance("org.mockito.internal.runners.JUnit44RunnerImpl", klass);
33 if (!new TestMethodsFinder().hasTestMethods(klass)) {
37 "No tests found in " + klass.getSimpleName() + "\n" +
/external/vogar/src/vogar/target/
H A DMainRunnerFactory.java30 Class<?> klass, AtomicReference<String> skipPastReference,
33 if (new ClassAnalyzer(klass).hasMethod(true, void.class, "main", String[].class)) {
34 return new MainRunner(monitor, klass, args);
29 newRunner(TargetMonitor monitor, String qualification, Class<?> klass, AtomicReference<String> skipPastReference, TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, String[] args) argument
H A DRunnerFactory.java33 Runner newRunner(TargetMonitor monitor, String qualification, Class<?> klass, argument
/external/avahi/avahi-gobject/
H A Dga-service-browser.h49 #define GA_SERVICE_BROWSER_CLASS(klass) \
50 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_SERVICE_BROWSER, GaServiceBrowserClass))
53 #define IS_GA_SERVICE_BROWSER_CLASS(klass) \
54 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_SERVICE_BROWSER))
H A Dga-client.h63 #define GA_CLIENT_CLASS(klass) \
64 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_CLIENT, GaClientClass))
67 #define IS_GA_CLIENT_CLASS(klass) \
68 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_CLIENT))
H A Dga-record-browser.h50 #define GA_RECORD_BROWSER_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_RECORD_BROWSER, GaRecordBrowserClass))
54 #define IS_GA_RECORD_BROWSER_CLASS(klass) \
55 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_RECORD_BROWSER))
H A Dga-service-resolver.h50 #define GA_SERVICE_RESOLVER_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_CAST((klass), GA_TYPE_SERVICE_RESOLVER, GaServiceResolverClass))
54 #define IS_GA_SERVICE_RESOLVER_CLASS(klass) \
55 (G_TYPE_CHECK_CLASS_TYPE((klass), GA_TYPE_SERVICE_RESOLVER))
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
H A D__init__.py51 klass = Serial # 'native' implementation
68 klass = sys.modules[module_name].Serial
73 klass = Serial # 'native' implementation
75 instance = klass(None, *args, **kwargs)
/external/clang/test/CodeGenCXX/
H A Dinternal-linkage.cpp59 template <typename T> class klass { class
63 void foo () { klass<S> x; }
/external/autotest/client/virt/
H A Dinstaller_unittest.py22 klass = self.registry.get_installer(install_mode, virt_type)
23 self.assertIs(klass, CustomVirtInstaller)
33 klass = self.registry.get_installer(install_mode,
35 self.assertIs(klass, BaseVirtInstaller)
37 klass = self.registry.get_installer(install_mode,
40 self.assertIs(klass, BaseVirtInstaller)
/external/v8/tools/
H A Dgen-postmortem-metadata.py288 #define FRAME_CONST(value, klass) \
289 int v8dbg_frametype_##klass = StackFrame::value;
304 def get_base_class(klass):
305 if (klass == 'Object'):
306 return klass;
308 if (not (klass in klasses)):
311 k = klasses[klass];
329 for klass in expected_classes:
330 checktypes[klass] = True;
357 klass
[all...]
/external/vogar/src/vogar/target/junit/
H A DJUnitRunnerFactory.java39 Class<?> klass, AtomicReference<String> skipPastReference,
42 if (supports(klass)) {
43 List<VogarTest> tests = createVogarTests(klass, qualification, args);
81 boolean supports(Class<?> klass) { argument
82 return Junit3.isJunit3Test(klass) || Junit4.isJunit4Test(klass);
38 newRunner(TargetMonitor monitor, String qualification, Class<?> klass, AtomicReference<String> skipPastReference, TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, String[] args) argument
/external/harfbuzz_ng/src/
H A Dhb-font-private.hh111 hb_font_funcs_t *klass; member in struct:hb_font_t
159 hb_font_funcs_t *funcs = this->klass; \
169 return klass->get.f.font_h_extents (this, user_data,
171 klass->user_data.font_h_extents);
176 return klass->get.f.font_v_extents (this, user_data,
178 klass->user_data.font_v_extents);
191 return klass->get.f.nominal_glyph (this, user_data,
193 klass->user_data.nominal_glyph);
200 return klass->get.f.variation_glyph (this, user_data,
202 klass
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
H A Dast-builder.rb10 def self.included( klass )
11 def klass.return_scope_members
/external/junit/src/org/junit/experimental/categories/
H A DCategories.java147 public Categories(Class<?> klass, RunnerBuilder builder) argument
149 super(klass, builder);
151 filter(new CategoryFilter(getIncludedCategory(klass),
152 getExcludedCategory(klass)));
159 private Class<?> getIncludedCategory(Class<?> klass) { argument
160 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class);
164 private Class<?> getExcludedCategory(Class<?> klass) { argument
165 ExcludeCategory annotation= klass.getAnnotation(ExcludeCategory.class);
/external/autotest/client/common_lib/cros/
H A Dxmlrpc_types.py37 klass = getattr(module, serialized[TYPE_KEY])
38 constructor_args = inspect.getargspec(klass.__init__)
57 return klass(*args, **kwargs)

Completed in 930 milliseconds

1234567