/external/littlemock/src/com/google/testing/littlemock/ |
H A D | Behaviour.java | 26 public <T> T when(T mock); method in interface:Behaviour
|
/external/mockito/src/org/mockito/stubbing/ |
H A D | Stubber.java | 10 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
14 * doThrow(new RuntimeException()).when(mockedList).clear();
20 * Also useful when stubbing consecutive calls:
25 * .when(mock).someVoidMethod();
45 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
50 * .when(mockedList).clear();
72 <T> T when(T mock);
method in interface:Stubber 79 * .when(mock).someVoidMethod();
83 * @param toBeThrown to be thrown when the stubbed method is called
93 * .when(moc [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
H A D | website.py | 40 :ivar error_key: The object key name to use when a 4xx class error 41 occurs. This key identifies the page that is returned when 46 no other values are considered when configuring the website 51 and redirects that apply when the conditions are met. 122 :ivar protocol: Protocol to use (http, https) when redirecting requests. 180 rule = RoutingRule.when(key_prefix='foo/').then_redirect('example.com') 212 def when(cls, key_prefix=None, http_error_code=None): member in class:RoutingRule 228 :ivar key_prefix: The object key name prefix when the redirect is applied. 234 :ivar http_error_code: The HTTP error code when the redirect is applied. In
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/client/ |
H A D | guestbook.py | 39 when = messages.IntegerField(2) variable in class:Note
|
/external/mockito/src/org/mockito/internal/stubbing/ |
H A D | StubberImpl.java | 22 public <T> T when(T mock) {
method in class:StubberImpl
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowMessage.java | 17 private long when; field in class:ShadowMessage 115 return when; 118 public void setWhen(long when) { argument 119 this.when = when;
|
H A D | ShadowNotification.java | 23 public void __constructor__(int icon, CharSequence tickerText, long when) { argument 26 realNotification.when = when;
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/server/ |
H A D | guestbook.py | 82 when = messages.IntegerField(2) variable in class:Note 107 if request.when is not None: 108 when = datetime.datetime.utcfromtimestamp(request.when) 112 when = datetime.datetime.now() 113 note = Greeting(content=request.text, date=when) 122 when = datetime.datetime.utcfromtimestamp( 124 query.filter('date <=', when) 129 when = int(time.mktime(note_model.date.utctimetuple())) 131 when [all...] |
/external/compiler-rt/lib/asan/ |
H A D | asan_mac.cc | 175 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, argument 184 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt, 207 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue, 238 dispatch_time_t when, dispatch_queue_t queue, void(^work)(void)) { 241 REAL(dispatch_after)(when, queue, asan_block); 237 INTERCEPTOR(void, dispatch_after, dispatch_time_t when, dispatch_queue_t queue, void(^work)(void)) argument
|
/external/dhcpcd-6.8.2/ |
H A D | eloop.h | 57 struct timespec when; member in struct:eloop_timeout
|
H A D | eloop.c | 260 const struct timespec *when, void (*callback)(void *), void *arg) 266 timespecadd(&now, when, &w); 294 t->when = w; 302 if (timespeccmp(&t->when, &tt->when, <)) { 312 eloop_q_timeout_add_sec(struct eloop_ctx *ctx, int queue, time_t when, argument 317 tv.tv_sec = when; 548 if (timespeccmp(&now, &t->when, >)) { 554 timespecsub(&t->when, &now, &ts); 259 eloop_q_timeout_add_tv(struct eloop_ctx *ctx, int queue, const struct timespec *when, void (*callback)(void *), void *arg) argument
|
/external/icu/icu4c/source/samples/date/ |
H A D | date.c | 47 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status); 76 UDate when; local 160 /* get the 'when' (or now) */ 161 when = getWhen(millis, seconds, format, style, parse, tz, &status); 167 date(when, tz, style, format, &status); 240 date(UDate when, argument 255 printf("%.0f\n", when); 258 printf("%.3f\n", when/1000.0); 268 len = udat_format(fmt, when, 0, len, 0, status); 273 udat_format(fmt, when, 296 UDate when=0; local [all...] |
/external/mockito/src/org/mockito/internal/ |
H A D | MockitoCore.java | 74 public <T> OngoingStubbing<T> when(T methodCall) {
method in class:MockitoCore
|
/external/owasp/sanitizer/empiricism/ |
H A D | html-containment.js | 268 function when(f, var_args) { function
|
/external/guice/lib/build/ |
H A D | jsr305.jar | ... .Annotation {
public abstract javax.annotation.meta.When when () }
javax/annotation/Detainted.class Detainted.java package ... |
/external/owasp/sanitizer/distrib/lib/ |
H A D | jsr305.jar | ... .Annotation {
public abstract javax.annotation.meta.When when () }
javax/annotation/Detainted.class Detainted.java package ... |
/external/owasp/sanitizer/lib/jsr305/ |
H A D | jsr305.jar | ... .Annotation {
public abstract javax.annotation.meta.When when () }
javax/annotation/Detainted.class Detainted.java package ... |
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | jsr305.jar | ... .Annotation {
public abstract javax.annotation.meta.When when () }
javax/annotation/Detainted.class Detainted.java package ... |
H A D | annotations.jar | ... edu.umd.cs.findbugs.annotations.When value () }
edu/umd/cs/findbugs/annotations/PossiblyNull.class PossiblyNull ... |
/external/vogar/lib/ |
H A D | jsr305.jar | ... .Annotation {
public abstract javax.annotation.meta.When when () }
javax/annotation/Nonnegative.class Nonnegative.java package ... |
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
H A D | SquaringDrawable.java | 130 public void scheduleSelf(Runnable what, long when) { argument 131 super.scheduleSelf(what, when); 132 wrapped.scheduleSelf(what, when);
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | derb.cpp | 44 static void reportError(const char *pname, UErrorCode *status, const char *when); 134 fprintf(stderr, "%s: Error: don't specify an encoding (-e) when writing to stdout (-c).\n", pname); 639 static void reportError(const char *pname, UErrorCode *status, const char *when) { argument 640 u_fprintf(ustderr, "%s: error %d while %s: %s\n", pname, *status, when, u_errorName(*status));
|
/external/mockito/src/org/mockito/ |
H A D | Mockito.java | 101 * when(mockedList.get(0)).thenReturn("first");
102 * when(mockedList.get(1)).thenThrow(new RuntimeException());
131 * <li> Last stubbing is more important - when you stubbed the same method with
134 * e.g. when stubbing exactly the same method calls or sometimes when argument matchers are used, etc.</li>
143 * Sometimes, when extra flexibility is required then you might use argument matchers:
147 * when(mockedList.get(anyInt())).thenReturn("element");
150 * when(mockedList.contains(argThat(isValid()))).thenReturn("element");
239 * doThrow(new RuntimeException()).when(mockedList).clear();
335 * <code>verifyNoMoreInteractions()</code> is a handy assertion from the interaction testing toolkit. Use it only when i 1442 public static <T> OngoingStubbing<T> when(T methodCall) { method in class:Mockito [all...] |
/external/zlib/src/examples/ |
H A D | gun.c | 54 1.2.4) is on the same file, when gun is linked with zlib 1.2.2. Also the 520 struct utimbuf when; local 533 when.actime = was.st_atime; 534 when.modtime = was.st_mtime; 535 (void)utime(to, &when);
|
/external/libunwind/include/ |
H A D | libunwind-dynamic.h | 35 when a program registers a dynamically generated procedure, it uses 88 int32_t when; /* when does it take effect? */ member in struct:unw_dyn_op 179 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \ 180 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst))) 182 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \ 183 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \ 186 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \ 187 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \ 190 #define _U_dyn_op_add(op, qp, when, re [all...] |