Home
last modified time | relevance | path

Searched refs:lenient (Results 1 – 25 of 170) sorted by relevance

1234567

/external/mockito/src/test/java/org/mockitousage/strictness/
DStrictnessPerStubbingTest.java25 import static org.mockito.Mockito.lenient;
45 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
62 lenient().doReturn("2").doReturn("3") in doReturn_syntax()
76 lenient().doReturn("2", "3") in doReturn_varargs_syntax()
90 lenient() in doThrow_syntax()
116 lenient() in doThrow_vararg_syntax()
141 lenient() in doThrow_instance_vararg_syntax()
176 lenient().doCallRealMethod().when(mock).increment(1); in doCallRealMethod_syntax()
189 lenient().doNothing().when(spy).scream("1"); in doNothing_syntax()
206 lenient().doAnswer(AdditionalAnswers.returnsFirstArg()).when(mock).simpleMethod("1"); in doAnswer_syntax()
[all …]
DStrictnessPerStubbingWithRunnerTest.java17 import static org.mockito.Mockito.lenient;
29 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
49 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
DStrictnessWithRulesTest.java19 import static org.mockito.Mockito.lenient;
31 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
51 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
DStrictnessWhenRuleStrictnessIsUpdatedTest.java19 import static org.mockito.Mockito.lenient;
44 final IMethods lenientMock = mock(IMethods.class, withSettings().lenient()); in strictness_per_mock()
64 lenient().when(mock.simpleMethod(1)).thenReturn("1"); in strictness_per_stubbing()
/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java40 protected boolean lenient; field in CreationSettings
59 this.lenient = copy.lenient; in CreationSettings()
161 return lenient; in isLenient()
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp645 DateFormat::setLenient(UBool lenient) in setLenient() argument
648 fCalendar->setLenient(lenient); in setLenient()
651 setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, lenient, status); in setLenient()
652 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, lenient, status); in setLenient()
660 UBool lenient = TRUE; in isLenient() local
662 lenient = fCalendar->isLenient(); in isLenient()
665 return lenient in isLenient()
671 DateFormat::setCalendarLenient(UBool lenient) in setCalendarLenient() argument
674 fCalendar->setLenient(lenient); in setCalendarLenient()
Drbnf.cpp693 , lenient(FALSE) in RuleBasedNumberFormat()
718 , lenient(FALSE) in RuleBasedNumberFormat()
743 , lenient(FALSE) in RuleBasedNumberFormat()
767 , lenient(FALSE) in RuleBasedNumberFormat()
792 , lenient(FALSE) in RuleBasedNumberFormat()
814 , lenient(FALSE) in RuleBasedNumberFormat()
881 , lenient(FALSE) in RuleBasedNumberFormat()
904 lenient = rhs.lenient; in operator =()
946 lenient == rhs.lenient && in operator ==()
1435 lenient = enabled; in setLenient()
[all …]
/external/mockito/src/test/java/org/mockitousage/internal/junit/
DUnusedStubbingsFinderTest.java19 import static org.mockito.Mockito.lenient;
93 lenient().when(mock2.simpleMethod(3)).thenReturn("3"); in unused_and_lenient_stubbings()
111 lenient().when(mock2.differentMethod()).thenReturn("4"); //will not be included in results in some_unused_stubbings_by_location()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1643 public void setLenient(boolean lenient) in setLenient() argument
1645 calendar.setLenient(lenient); in setLenient()
1646 setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, lenient); in setLenient()
1647 setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, lenient); in setLenient()
1671 public void setCalendarLenient(boolean lenient) in setCalendarLenient() argument
1673 calendar.setLenient(lenient); in setCalendarLenient()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java1525 public void setLenient(boolean lenient) in setLenient() argument
1527 calendar.setLenient(lenient); in setLenient()
1528 setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_NUMERIC, lenient); in setLenient()
1529 setBooleanAttribute(BooleanAttribute.PARSE_ALLOW_WHITESPACE, lenient); in setLenient()
1551 public void setCalendarLenient(boolean lenient) in setCalendarLenient() argument
1553 calendar.setLenient(lenient); in setCalendarLenient()
/external/tensorflow/tensorflow/python/kernel_tests/
Dscalar_test.py38 lenient = []
53 for version in strict + lenient:
/external/icu/icu4c/source/data/locales/
Dku.txt444 lenient{
450 lenient{
463 lenient{
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatDataDrivenTest.java278 int lenient = tuple.lenient == null ? 1 : tuple.lenient.intValue();
279 fmt.setParseStrict(lenient == 0);
749 if (tuple.lenient != null) { in propertiesFromTuple()
750 properties.setParseMode(tuple.lenient == 0 ? ParseMode.STRICT : ParseMode.LENIENT); in propertiesFromTuple()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatDataDrivenTest.java275 int lenient = tuple.lenient == null ? 1 : tuple.lenient.intValue();
276 fmt.setParseStrict(lenient == 0);
746 if (tuple.lenient != null) { in propertiesFromTuple()
747 properties.setParseMode(tuple.lenient == 0 ? ParseMode.STRICT : ParseMode.LENIENT); in propertiesFromTuple()
/external/icu/icu4c/source/samples/uciter8/
Dreadme.txt14 If you wish to use the lenient-UTF/CESU-8 UCharIterator in a context outside of
27 uit_len8.h Header file with the prototoype for the lenient-UTF/CESU-8 UCharIterator
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h1107 UBool lenient; variable
1123 return lenient; in isLenient()
Ddatefmt.h688 virtual void setLenient(UBool lenient);
707 virtual void setCalendarLenient(UBool lenient);
/external/icu/icu4c/source/data/rbnf/
Den.txt30 "%%lenient-parse:",
39 "%%lenient-parse:",
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java230 public MockSettings lenient() { in lenient() method in MockSettingsImpl
231 this.lenient = true; in lenient()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCalendarTest.java416 boolean lenient = cal.isLenient(); in testSetLenient()
417 cal.setLenient(!lenient); in testSetLenient()
418 assertFalse(lenient == cal.isLenient()); in testSetLenient()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCalendarICU.java248 public void setLenient(boolean lenient) { in setLenient() argument
249 fIcuCal.setLenient(lenient); in setLenient()
/external/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt763 // H requires prefix and suffix for lenient parsing, but C doesn't
766 // S is successful at parsing this as -5347.25 in lenient mode
849 set lenient 0
905 set lenient 0
916 set lenient 0
1333 set lenient 0
1417 set lenient 1
1440 set lenient 1
1483 pattern lenient parse output breaks
1523 lenient parse output breaks
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dnumberformattestspecification.txt763 // H requires prefix and suffix for lenient parsing, but C doesn't
766 // S is successful at parsing this as -5347.25 in lenient mode
849 set lenient 0
905 set lenient 0
916 set lenient 0
1333 set lenient 0
1417 set lenient 1
1440 set lenient 1
1483 pattern lenient parse output breaks
1523 lenient parse output breaks
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt763 // H requires prefix and suffix for lenient parsing, but C doesn't
766 // S is successful at parsing this as -5347.25 in lenient mode
849 set lenient 0
905 set lenient 0
916 set lenient 0
1333 set lenient 0
1417 set lenient 1
1440 set lenient 1
1483 pattern lenient parse output breaks
1523 lenient parse output breaks
[all …]
/external/mockito/src/main/java/org/mockito/
DMockSettings.java335 MockSettings lenient(); in lenient() method

1234567