HomeSort by relevance Sort by last modified time
    Searched defs:given (Results 1 - 14 of 14) sorted by null

  /external/mockito/src/org/mockito/
BDDMockito.java 12 * Behavior Driven Development style of writing tests uses <b>//given //when //then</b> comments as fundamental parts of your test methods.
17 * The problem is that current stubbing api with canonical role of <b>when</b> word does not integrate nicely with <b>//given //when //then</b> comments.
18 * It's because stubbing belongs to <b>given</b> component of the test and not to the <b>when</b> component of the test.
19 * Hence {@link BDDMockito} class introduces an alias so that you stub method calls with {@link BDDMockito#given(Object)} method.
20 * Now it really nicely integrates with the <b>given</b> component of a BDD style test!
30 * //given
31 * given(seller.askForBread()).willReturn(new Bread());
43 * //given
44 * willThrow(new RuntimeException("boo")).given(mock).foo();
177 public static <T> BDDMyOngoingStubbing<T> given(T methodCall) { method in class:BDDMockito
226 <T> T given(T mock); method in interface:BDDMockito.BDDStubber
240 public <T> T given(T mock) { method in class:BDDMockito.BDDStubberImpl
    [all...]
  /external/ceres-solver/internal/ceres/
solver.cc 459 StringAppendF(&report, "%45s %21s\n", "Given", "Used");
486 string given; local
487 StringifyOrdering(linear_solver_ordering_given, &given);
492 given.c_str(),
504 string given; local
505 StringifyOrdering(inner_iteration_ordering_given, &given);
510 given.c_str(),
542 StringAppendF(&report, "%45s %21s\n", "Given", "Used");
  /external/chromium_org/components/autofill/core/browser/
contact_info.cc 80 base::string16 given; member in struct:autofill::__anon10837::NameParts
100 // Bad things have happened; just assume the whole thing is a given name.
101 parts.given = name;
105 // Only one token, assume given name.
107 parts.given = name_tokens[0];
135 // Remainder is given name.
136 parts.given = JoinString(name_tokens, base::char16(' '));
275 given_ = parts.given;
  /external/chromium_org/tools/site_compare/commands/
timeload.py 20 import operators # Functions that, given two bitmaps as input, produce namespace
compare2.py 18 import operators # Functions that, given two bitmaps as input, produce namespace
  /packages/apps/Contacts/src/com/android/contacts/editor/
PhoneticNameEditorView.java 73 String given = mValues.getPhoneticGivenName(); local
74 mPhoneticName = NameConverter.buildPhoneticName(family, middle, given);
148 String given = entry.getPhoneticGivenName(); local
151 || !TextUtils.isEmpty(given);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
NameConverter.java 51 * Converts the given structured name (provided as a map from {@link StructuredName} fields to
73 * Converts the given structured name (provided as ContentValues) into a display name string.
89 * Helper method for fetching the display name via the given URI.
110 * Converts the given display name string into a structured name (as a map from
143 * Converts the given display name string into a structured name (inserting the structured
174 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues.
178 * If this method cannot parse given phoneticName, null values will be stored.
189 String given = null; local
199 given = strings[1];
204 given = strings[2]
    [all...]
  /external/chromium_org/tools/site_compare/
site_compare.py 23 import operators # Functions that, given two bitmaps as input, produce namespace
  /packages/apps/Settings/src/com/android/settings/
Utils.java 492 final String given = getLocalProfileGivenName(context); local
493 return !TextUtils.isEmpty(given) ? given : getProfileDisplayName(context);
580 * Start a new instance of the activity, showing only the given fragment.
581 * When launched in this mode, the given preference fragment will be instantiated and fill the
633 * @return Returns an Intent that can be launched to display the given
    [all...]
  /external/qemu/disas/
arm.c 3875 long given; local
    [all...]
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar 

Completed in 600 milliseconds