HomeSort by relevance Sort by last modified time
    Searched refs:rule (Results 101 - 125 of 1338) sorted by null

1 2 3 45 6 7 8 91011>>

  /developers/samples/android/media/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/
MainActivityTest.java 36 import android.support.test.rule.ActivityTestRule;
45 import org.junit.Rule;
53 @Rule
54 public ActivityTestRule<MainActivity> rule = new ActivityTestRule<>(MainActivity.class); field in class:MainActivityTest
66 rule.runOnUiThread(new Runnable() {
70 assertTrue(rule.getActivity().isInPictureInPictureMode());
71 final MovieView view = (MovieView) rule.getActivity().findViewById(R.id.movie);
95 rule.runOnUiThread(new Runnable() {
98 rule.getActivity()
103 rule.runOnUiThread(new Runnable()
    [all...]
  /external/iptables/
iptables-test.py 50 def delete_rule(iptables, rule, filename, lineno):
52 Removes an iptables rule
54 cmd = iptables + " -D " + rule
57 reason = "cannot delete: " + iptables + " -I " + rule
64 def run_test(iptables, rule, rule_save, res, filename, lineno):
70 :param rule: string with iptables arguments for the rule to test
71 :param rule_save: string to find the rule in the output of iptables -save
72 :param res: expected result of the rule. Valid values: "OK", "FAIL"
78 cmd = iptables + " -A " + rule
    [all...]
  /build/kati/testcase/
implicit_pattern_rule_prefix.mk 7 # GNU make 3 does not prioritize the rule with a shortest stem.
multi_implicit_output_patterns.mk 17 # GNU make 4 invokes this rule.
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
RunnerController.java 107 public void OnShowRuleResult(Rule rule) {
115 result.append("Testing result for rule: " + rule.getName());
118 for(TestCase testCase: rule.getTestCases()){
136 final Rule rule = suite.getRule(i); local
137 if(rule.getNotEmpty()) this.add(new TestGroupTreeNode(rule));
153 private Rule data
    [all...]
  /external/bison/src/
scan-code.h 62 * for the LHS symbol of the same rule.)
70 struct symbol_list *rule; member in struct:code_props
125 * - <tt>rule != NULL</tt>.
126 * - \c code is the untranslated action of the rule for which \c rule is the
128 * $2, etc referring to the values of the rule.
131 * - \c self has been overwritten to represent the specified rule action.
132 * - \c self does not claim responsibility for the memory of \c rule.
136 * - The caller frees \c rule.
139 location code_loc, struct symbol_list *rule,
    [all...]
derives.c 31 /* Linked list of rule numbers. */
35 rule *value;
38 rule ***derives;
49 rule **rp;
67 rule **q;
73 /* DELTS[RULE] -- There are NRULES rule number to attach to nterms.
75 indexed by rule numbers. */
scan-code.l 52 static void handle_action_dollar (symbol_list *rule, char *cp,
54 static void handle_action_at (symbol_list *rule, char *cp, location at_loc);
73 /* Whether in a rule or symbol action. Specifies the translation
202 handle_action_dollar (self->rule, yytext, *loc);
209 handle_action_at (self->rule, yytext, *loc);
472 _(", cannot be accessed from mid-rule action at $%d");
493 points to LHS ($$) of the current rule or midrule. */
500 parse_ref (char *cp, symbol_list *rule, int rule_length,
558 for (symbol_index = 0, l = rule; !symbol_list_null (l);
582 /* Check visibility from mid-rule actions. *
    [all...]
  /external/mockito/src/test/java/org/mockitousage/junitrule/
StrictJUnitRuleTest.java 4 import org.junit.Rule;
23 @Rule public SafeJUnitRule rule = new SafeJUnitRule(MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS)); field in class:StrictJUnitRuleTest
46 rule.expectFailure(UnnecessaryStubbingException.class);
55 rule.expectFailure(AssertionError.class, "x");
68 rule.expectFailure(PotentialStubbingProblem.class);
77 rule.expectFailure(new SafeJUnitRule.FailureAssert() {
96 " Please use 'default' or 'silent' JUnit Rule.\n" +
131 rule.expectFailure(new SafeJUnitRule.FailureAssert()
    [all...]
StubbingWarningsMultiThreadingTest.java 3 import org.junit.Rule;
21 @Rule public SafeJUnitRule rule = new SafeJUnitRule(new JUnitRule(logger, Strictness.WARN)); field in class:StubbingWarningsMultiThreadingTest
26 rule.expectSuccess(new Runnable() {
44 rule.expectSuccess(new Runnable() {
  /build/make/core/
sdk_font.mk 47 # Define a macro to create rule for addititional fonts that we want to include
51 define sdk-extra-font-rule
63 $(eval $(call sdk-extra-font-rule,NanumGothic.ttf,external/naver-fonts/NanumGothic.ttf))
64 $(eval $(call sdk-extra-font-rule,DroidSansFallback.ttf,frameworks/base/data/fonts/DroidSansFallbackFull.ttf))
66 sdk-extra-font-rule :=
  /cts/tools/selinux/
SELinuxNeverallowTestFrame.py 112 + "neverallow rule:\\n" + neverallowRule + "\\n" + errorString,
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
filter.rb 50 def memoize( rule, start_index, success )
51 super( rule, start_index, success ) if @state.backtracking > 1
54 def already_parsed_rule?( rule )
55 @state.backtracking > 1 ? super( rule ) : false
  /external/autotest/client/site_tests/security_Firewall/
security_Firewall.py 45 for rule in rules:
46 outf.write(rule + "\n")
58 rules_str = ", ".join(["'%s'" % rule for rule in rules])
  /external/mockito/src/main/java/org/mockito/junit/
MockitoJUnit.java 14 * The JUnit rule can be used instead of {@link MockitoJUnitRunner}. See {@link MockitoRule}.
21 * Creates rule instance that initiates &#064;Mocks
24 * @return the rule instance
27 public static MockitoRule rule() { method in class:MockitoJUnit
32 * Creates a rule instance that can perform lazy verifications.
35 * @return the rule instance
  /frameworks/support/compat/tests/java/android/support/v4/
BaseInstrumentationTestCase.java 20 import android.support.test.rule.ActivityTestRule;
22 import org.junit.Rule;
27 @Rule
  /frameworks/support/core-ui/tests/java/android/support/v4/
BaseInstrumentationTestCase.java 20 import android.support.test.rule.ActivityTestRule;
22 import org.junit.Rule;
27 @Rule
  /frameworks/support/design/tests/src/android/support/design/widget/
BaseInstrumentationTestCase.java 20 import android.support.test.rule.BootlegActivityTestRule;
23 import org.junit.Rule;
28 @Rule
  /developers/build/prebuilts/gradle/EmojiCompat/app/src/androidTest/java/com/example/android/emojicompat/
MainActivityTest.java 26 import android.support.test.rule.ActivityTestRule;
29 import org.junit.Rule;
37 @Rule
38 public ActivityTestRule<MainActivity> rule = new ActivityTestRule<>(MainActivity.class); field in class:MainActivityTest
51 final String text = rule.getActivity().getString(resId, MainActivity.EMOJI);
  /developers/samples/android/views/EmojiCompat/app/src/androidTest/java/com/example/android/emojicompat/
MainActivityTest.java 26 import android.support.test.rule.ActivityTestRule;
29 import org.junit.Rule;
37 @Rule
38 public ActivityTestRule<MainActivity> rule = new ActivityTestRule<>(MainActivity.class); field in class:MainActivityTest
51 final String text = rule.getActivity().getString(resId, MainActivity.EMOJI);
  /external/ImageMagick/PerlMagick/demo/
lsys.pl 66 my ($string, $repetitions, $filename, %rule) = @_;
70 # Apply the %rule to $string, $repetitions times.
73 $string =~ s/./defined ($rule{$&}) ? $rule{$&} : $&/eg;
  /external/jarjar/src/main/com/tonicsystems/jarjar/
RulesFileParser.java 55 if (type.equals("rule")) {
58 Rule rule = new Rule(); local
59 rule.setResult(parts[2]);
60 element = rule;
  /frameworks/support/transition/tests/src/android/support/transition/
TransitionManagerTest.java 44 TransitionActivity activity = rule.getActivity();
72 rule.runOnUiThread(new Runnable() {
83 rule.runOnUiThread(new Runnable() {
96 rule.runOnUiThread(new Runnable() {
113 rule.runOnUiThread(new Runnable() {
128 final ViewGroup root = rule.getActivity().getRoot();
129 rule.runOnUiThread(new Runnable() {
142 final ViewGroup root = rule.getActivity().getRoot();
148 rule.runOnUiThread(new Runnable() {
155 rule.runOnUiThread(new Runnable()
    [all...]
  /external/v8/tools/testrunner/local/
testsuite.py 171 # Remember used rules as tuples of (rule, variant), where variant is "" for
196 for rule in wildcards:
197 assert rule[-1] == '*'
198 if testname.startswith(rule[:-1]):
199 used_rules.add((rule, variant))
200 t.outcomes = t.outcomes | wildcards[rule]
203 break # "for rule in wildcards"
217 for rule in self.rules[""]:
218 if (rule, "") not in used_rules:
219 print("Unused rule: %s -> %s (variant independent)" %
    [all...]
  /build/kati/
dep.cc 30 #include "rule.h"
49 void ApplyOutputPattern(const Rule& r,
76 Entry(const Rule* r, StringPiece s)
77 : rule(r), suffix(s) {
79 const Rule* rule; member in struct:__anon1402::RuleTrie::Entry
90 void Add(StringPiece name, const Rule* rule) {
92 rules_.push_back(Entry(rule, name));
100 p.first->second->Add(name.substr(1), rule);
    [all...]

Completed in 642 milliseconds

1 2 3 45 6 7 8 91011>>