Searched refs:categories (Results 1 - 25 of 109) sorted by relevance

12345

/external/junit/src/main/java/org/junit/experimental/categories/
H A DExcludeCategories.java1 package org.junit.experimental.categories;
7 import org.junit.experimental.categories.Categories.CategoryFilter;
11 * {@link org.junit.runner.FilterFactory} to exclude categories.
14 * given categories.
18 * --filter=org.junit.experimental.categories.ExcludeCategories=pkg.of.Cat1,pkg.of.Cat2
29 * not categorized with any of the specified categories.
31 * @param categories Category classes.
34 protected Filter createFilter(List<Class<?>> categories) { argument
35 return new ExcludesAny(categories);
39 public ExcludesAny(List<Class<?>> categories) { argument
43 ExcludesAny(Set<Class<?>> categories) argument
[all...]
H A DIncludeCategories.java1 package org.junit.experimental.categories;
7 import org.junit.experimental.categories.Categories.CategoryFilter;
11 * {@link org.junit.runner.FilterFactory} to include categories.
14 * given categories.
18 * --filter=org.junit.experimental.categories.IncludeCategories=pkg.of.Cat1,pkg.of.Cat2
29 * categorized with any of the specified categories.
31 * @param categories Category classes.
34 protected Filter createFilter(List<Class<?>> categories) { argument
35 return new IncludesAny(categories);
39 public IncludesAny(List<Class<?>> categories) { argument
43 IncludesAny(Set<Class<?>> categories) argument
[all...]
H A DCategoryFilterFactory.java1 package org.junit.experimental.categories;
16 * Creates a {@link org.junit.experimental.categories.Categories.CategoryFilter} given a
30 * Creates a {@link org.junit.experimental.categories.Categories.CategoryFilter} given an array of classes.
32 * @param categories Category classes.
34 protected abstract Filter createFilter(List<Class<?>> categories); argument
36 private List<Class<?>> parseCategories(String categories) throws ClassNotFoundException { argument
39 for (String category : categories.split(",")) {
H A DCategories.java1 package org.junit.experimental.categories;
68 * Example to run multiple categories:
86 * Determines the tests to run that are annotated with categories specified in
92 * If <tt>true</tt>, runs tests annotated with <em>any</em> of the categories in
93 * {@link IncludeCategory#value()}. Otherwise, runs tests only if annotated with <em>all</em> of the categories.
101 * Determines the tests which do not run if they are annotated with categories specified in the
107 * If <tt>true</tt>, the tests annotated with <em>any</em> of the categories in {@link ExcludeCategory#value()}
108 * do not run. Otherwise, the tests do not run if and only if annotated with <em>all</em> categories.
119 public static CategoryFilter include(boolean matchAny, Class<?>... categories) { argument
120 if (hasNull(categories)) {
130 include(Class<?>.... categories) argument
134 exclude(boolean matchAny, Class<?>... categories) argument
145 exclude(Class<?>.... categories) argument
265 private static Set<Class<?>> categories(Description description) { method in class:Categories.CategoryFilter
[all...]
H A DCategory.java1 package org.junit.experimental.categories;
10 * Marks a test class or test method as belonging to one or more categories of tests.
/external/clang/lib/StaticAnalyzer/Core/
H A DCommonBugCategories.cpp1 //=--- CommonBugCategories.cpp - Provides common issue categories -*- C++ -*-=//
13 namespace clang { namespace ento { namespace categories { namespace in namespace:clang::ento
/external/chromium-trace/catapult/systrace/profile_chrome/
H A Dchrome_tracing_agent_unittest.py23 categories = \
27 self.assertEquals(len(categories), 2)
28 self.assertTrue(categories[0])
29 self.assertTrue(categories[1])
41 categories = '*'
46 agent.StartAgentTracing(chrome_tracing_agent.ChromeConfig(categories, None,
H A Dperf_tracing_agent_unittest.py18 categories = \
20 assert 'cycles' in ' '.join(categories)
29 categories = 'cycles'
33 agent.StartAgentTracing(perf_tracing_agent.PerfConfig(categories,
H A Dchrome_tracing_agent.py68 start_extras = {'categories': ','.join(self._categories)}
160 chrome_opts.add_option('-c', '--categories', help='Select Chrome tracing '
161 'categories with comma-delimited wildcards, '
163 'Chrome\'s default categories. Chrome tracing can be '
164 'disabled with "--categories=\'\'". Use "list" to '
165 'see the available categories.',
171 help='Enable enough trace categories for '
174 help='Enable enough trace categories for '
176 chrome_opts.add_option('--trace-gpu', help='Enable extra trace categories '
178 chrome_opts.add_option('--trace-flow', help='Enable extra trace categories '
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DCommonBugCategories.h1 //=--- CommonBugCategories.h - Provides common issue categories -*- C++ -*-===//
16 namespace categories { namespace in namespace:clang::ento
H A DBugType.h66 : BugType(check, name, categories::LogicError), desc(description) {}
70 : BugType(checker, name, categories::LogicError), desc(description) {}
73 : BugType(checker, name, categories::LogicError), desc(name) {}
/external/mesa3d/src/mapi/glapi/gen/
H A Dgl_procs.py132 categories = {}
137 if not categories.has_key(cat):
138 categories[cat] = []
141 categories[cat].append(proto)
142 if categories:
146 keys = categories.keys()
150 print "\n".join(categories[key])
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
H A DIntentFilterData.java8 private final List<String> categories; field in class:IntentFilterData
16 public IntentFilterData(List<String> actions, List<String> categories) { argument
18 this.categories = new ArrayList<>(categories);
32 return categories;
/external/tensorflow/tensorflow/compiler/xla/
H A Dmetric_table_report.cc99 // Create the categories using a category_text -> category map.
107 // Move the categories to a vector.
108 std::vector<Category> categories; local
109 categories.reserve(category_map.size());
111 categories.push_back(std::move(key_value_pair.second));
112 categories.back().category_text = key_value_pair.first;
115 // Sort the categories.
119 std::sort(categories.begin(), categories.end(), metric_sum_greater);
121 return categories;
135 const std::vector<Category> categories = MakeCategories(&entries_); local
[all...]
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
H A Datrace_agent.py28 # If a custom list of categories is not specified, traces will include
29 # these categories (if available on the device).
32 # The command to list trace categories.
45 """List the possible trace event categories.
54 categories = devutils.RunShellCommand(
60 categories = [c for c in categories if not re.match(r'^\s*rs\s*-', c)]
62 print '\n'.join(categories)
64 print '\nNOTE: more categories may be available with adb root\n'
68 """Gets the list of atrace categories availabl
[all...]
H A Dftrace_agent_unittest.py57 # check for no available categories
81 options, categories = run_systrace.parse_options(systrace_cmd)
86 agent.StartAgentTracing(options, categories)
116 options, categories = run_systrace.parse_options(systrace_cmd)
117 options.ftrace_categories = categories
135 options, categories = run_systrace.parse_options(systrace_cmd)
138 agent._config.atrace_categories = categories
H A Dftrace_agent.py113 options.add_option('--ftrace-categories', dest='ftrace_categories',
114 help='Select ftrace categories with a comma-delimited '
115 'list, e.g. --ftrace-categories=cat1,cat2,cat3')
131 categories: The trace categories to capture.
145 def _fix_categories(self, categories):
147 Applies the default category (sched) if there are no categories
148 in the list and removes unavailable categories from the list.
150 categories: List of categories
[all...]
H A Datrace_agent_unittest.py74 '--atrace-categories=gfx,input,view'])
88 options, categories = run_systrace.parse_options(SYSTRACE_CMD)
89 options.atrace_categories = categories
90 tracer_args = atrace_agent._construct_atrace_args(options, categories)
/external/chromium-trace/catapult/systrace/systrace/
H A Drun_systrace.py60 A tuple containing the options structure and a list of categories to
69 parser.add_option('-l', '--list-categories', dest='list_categories',
71 help='list the available categories and exit')
81 options, categories = parser.parse_args(argv[1:])
99 return (options, categories)
142 options, categories = parse_options(arguments)
144 # Override --atrace-categories and --ftrace-categories flags if command-line
145 # categories are provided.
146 if categories
[all...]
/external/linux-kselftest/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py9 """ Sort the master test list into categories. """
24 """ Discover all unique test categories present in the test case file. """
38 """ Show all categories that are present in a test case file. """
39 categories = set(map(lambda x: x['category'], testlist))
40 print("Available categories:")
41 print(", ".join(str(s) for s in categories))
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowIntent.java37 private final Set<String> categories = new HashSet<String>(); field in class:ShadowIntent
63 categories.addAll(other.categories);
108 categories.add(category);
114 categories.remove(category);
119 return categories.contains(category);
124 return categories;
441 if (!other.categories.isEmpty()
442 && (categories.isEmpty() || (flags & FILL_IN_CATEGORIES) != 0)) {
443 categories
[all...]
/external/libchrome/base/trace_event/
H A Dtrace_config_category_filter.cc51 // Ignore empty categories.
67 // Excluded categories start with '-'.
106 // Do a second pass to check for explicitly disabled categories
116 // remaining categories of category_group_name is not present in the
128 // One of the categories present in category_group_name is not present in
135 // we consider this category group enabled, as long as it had categories
192 StringList categories(included_categories_);
193 categories.insert(categories.end(), disabled_categories_.begin(),
195 AddCategoriesToDict(categories, kIncludedCategoriesPara
250 AddCategoriesToDict( const StringList& categories, const char* param, DictionaryValue* dict) const argument
[all...]
/external/v8/tools/
H A Deval_gc_nvp.py197 categories = [ Category(key, deepcopy(histogram), args.csv, percentiles)
205 for category in categories:
208 # Filter out empty categories.
209 categories = [x for x in categories if not x.empty()]
212 categories = sorted(categories, key=make_key_func(args.rank), reverse=True)
214 for category in categories:
/external/libmojo/third_party/jinja2/
H A D_stringdefs.py99 categories = {} variable
113 categories.setdefault(cat, []).append(c)
118 for cat in sorted(categories):
119 val = u''.join(categories[cat])
129 f.write('cats = %r\n\n' % sorted(categories.keys()))
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSizeofPointer.cpp69 categories::LogicError,

Completed in 917 milliseconds

12345