HomeSort by relevance Sort by last modified time
    Searched refs:Behaviour (Results 1 - 5 of 5) sorted by null

  /external/littlemock/src/com/google/testing/littlemock/
Behaviour.java 24 public interface Behaviour {
25 /** Attaches the given behaviour to the next method call of this mock. */
LittleMock.java 85 * desired behaviour.</li>
113 /** Generates a {@link Behaviour} suitable for void methods. */
114 public static Behaviour doNothing() { return doReturn(null); }
116 /** Generates a {@link Behaviour} that returns the given result. */
117 public static <T> Behaviour doReturn(final T result) {
127 * Gets a {@link Behaviour} that will execute the given {@link Callable} and return its result.
129 public static <T> Behaviour doAnswer(final Callable<T> callable) {
138 /** Returns a {@link Behaviour} that throws the given {@link Throwable}. */
139 public static <T extends Throwable> Behaviour doThrow(final T exception) {
490 /** Implementation of {@link Behaviour}. *
    [all...]
  /frameworks/base/tests/TtsTests/src/com/android/speech/tts/
TextToSpeechTests.java 26 import com.google.testing.littlemock.Behaviour;
209 public interface CountDownBehaviour extends Behaviour {
211 Behaviour andReturn(Object result);
228 public Behaviour andReturn(final Object result) {
229 return new Behaviour() {
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
RewriteRuleXxxxStreamFixture.cs 92 #region Empty Behaviour
187 #region Behaviour with Elements
  /external/llvm/lib/Analysis/IPA/
GlobalsModRef.cpp 389 // Try to get mod/ref behaviour from function attributes.
459 ModRefBehavior Behaviour = AliasAnalysis::getModRefBehavior(Callee);
460 FunctionEffect |= (Behaviour & ModRef);

Completed in 362 milliseconds