Home
last modified time | relevance | path

Searched refs:assertThrows (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/frameworks/base/core/tests/timetests/src/android/app/time/
DDetectorStatusTypesTest.java25 import static org.junit.Assert.assertThrows;
49 assertThrows(IllegalArgumentException.class, in testRequireValidDetectionAlgorithmStatus()
52 assertThrows(IllegalArgumentException.class, in testRequireValidDetectionAlgorithmStatus()
65 assertThrows(IllegalArgumentException.class, in testFormatAndParseDetectionAlgorithmStatus()
68 assertThrows(IllegalArgumentException.class, in testFormatAndParseDetectionAlgorithmStatus()
71 assertThrows(IllegalArgumentException.class, in testFormatAndParseDetectionAlgorithmStatus()
73 assertThrows(IllegalArgumentException.class, in testFormatAndParseDetectionAlgorithmStatus()
75 assertThrows(IllegalArgumentException.class, in testFormatAndParseDetectionAlgorithmStatus()
86 assertThrows(IllegalArgumentException.class, in testRequireValidDetectorStatus()
88 assertThrows(IllegalArgumentException.class, in testRequireValidDetectorStatus()
[all …]
DLocationTimeZoneAlgorithmStatusTest.java38 import static org.junit.Assert.assertThrows;
71 assertThrows(IllegalArgumentException.class, in testConstructorValidation()
79 assertThrows(IllegalArgumentException.class, in testConstructorValidation()
87 assertThrows(IllegalArgumentException.class, in testConstructorValidation()
96 assertThrows(IllegalArgumentException.class, in testConstructorValidation()
103 assertThrows(IllegalArgumentException.class, in testConstructorValidation()
176 assertThrows(IllegalArgumentException.class, in testRequireValidProviderStatus()
179 assertThrows(IllegalArgumentException.class, in testRequireValidProviderStatus()
192 assertThrows(IllegalArgumentException.class, in testFormatAndParseProviderStatus()
195 assertThrows(IllegalArgumentException.class, in testFormatAndParseProviderStatus()
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/build/
DUnboundedSdkLevelTest.java21 import static org.junit.Assert.assertThrows;
52 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("R")); in testFinalizedSdk_S()
53 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("S")); in testFinalizedSdk_S()
58 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("")); in testFinalizedSdk_S()
59 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("current")); in testFinalizedSdk_S()
65 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("R")); in testFinalizedSdk_S()
66 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("S")); in testFinalizedSdk_S()
71 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("")); in testFinalizedSdk_S()
72 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("current")); in testFinalizedSdk_S()
89 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("")); in testNonFinalizedSdk_Sv2()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSimPhonebookContractTest.java19 import static org.testng.Assert.assertThrows;
31 assertThrows(IllegalArgumentException.class, () -> in getContentUri_invalidEfType_throwsIllegalArgumentException()
34 assertThrows(IllegalArgumentException.class, () -> in getContentUri_invalidEfType_throwsIllegalArgumentException()
37 assertThrows(IllegalArgumentException.class, () -> in getContentUri_invalidEfType_throwsIllegalArgumentException()
45 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidEfType_throwsIllegalArgumentException()
48 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidEfType_throwsIllegalArgumentException()
51 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidEfType_throwsIllegalArgumentException()
59 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidRecordIndex_throwsIllegalArgumentException()
63 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidRecordIndex_throwsIllegalArgumentException()
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DInputMethodSubtypeHandleTest.java23 import static org.junit.Assert.assertThrows;
57 assertThrows(NullPointerException.class, () -> InputMethodSubtypeHandle.of(null)); in testCreateFromRawHandle()
58 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of("")); in testCreateFromRawHandle()
61 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
64 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
66 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
68 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
70 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
72 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
74 assertThrows(InvalidParameterException.class, () -> InputMethodSubtypeHandle.of( in testCreateFromRawHandle()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DWorkDurationUnitTest.java19 import static org.junit.Assert.assertThrows;
57 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
60 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
63 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
66 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
69 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
72 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
75 assertThrows(IllegalArgumentException.class, () -> { in testWorkDurationSetters_IllegalArgument()
DPerformanceHintManagerTest.java22 import static org.junit.Assert.assertThrows;
80 assertThrows(NullPointerException.class, () -> { in testCreateHintSession_noTids()
84 assertThrows(IllegalArgumentException.class, () -> { in testCreateHintSession_noTids()
116 assertThrows(IllegalArgumentException.class, () -> { in testUpdateTargetWorkDurationWithNegativeDuration()
136 assertThrows(IllegalArgumentException.class, () -> { in testReportActualWorkDurationWithIllegalArgument()
154 assertThrows(IllegalArgumentException.class, () -> { in testSendHintWithNegativeHint()
170 assertThrows(IllegalArgumentException.class, () -> { in testSetThreads_emptyTids()
179 assertThrows(SecurityException.class, () -> { in testSetThreads_invalidTids()
245 assertThrows(IllegalArgumentException.class, () -> { in testReportActualWorkDurationWithWorkDurationClass_IllegalArgument()
248 assertThrows(IllegalArgumentException.class, () -> { in testReportActualWorkDurationWithWorkDurationClass_IllegalArgument()
[all …]
DParcelTest.java23 import static org.junit.Assert.assertThrows;
205 assertThrows(IllegalArgumentException.class, in testCompareDataInRange_whenLimitOutOfBounds_throws()
207 assertThrows(IllegalArgumentException.class, in testCompareDataInRange_whenLimitOutOfBounds_throws()
209 assertThrows(IllegalArgumentException.class, in testCompareDataInRange_whenLimitOutOfBounds_throws()
211 assertThrows(IllegalArgumentException.class, in testCompareDataInRange_whenLimitOutOfBounds_throws()
213 assertThrows(IllegalArgumentException.class, in testCompareDataInRange_whenLimitOutOfBounds_throws()
247 assertThrows(IllegalArgumentException.class, () -> Parcel.compareData(pA, iA, pB, iB, -1)); in testCompareDataInRange_whenNegativeLength_throws()
262 assertThrows(IllegalArgumentException.class, () -> Parcel.compareData(pA, -1, pB, iB, 0)); in testCompareDataInRange_whenNegativeOffset_throws()
263 assertThrows(IllegalArgumentException.class, () -> Parcel.compareData(pA, 0, pB, -1, 0)); in testCompareDataInRange_whenNegativeOffset_throws()
279 assertThrows(BadParcelableException.class, () ->p.createBooleanArray()); in testAllocationsOverLimit_whenOverLimit_throws()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/testing/
DAssertTest.java19 import static com.android.server.wm.testing.Assert.assertThrows;
35 assertThrows(TestException.class, () -> { in assertThrows_runsRunnable()
45 assertThrows(TestException.class, () -> { in assertThrows_failsIfNothingThrown()
52 assertThrows(TestException.class, () -> { in assertThrows_failsIfWrongExceptionThrown()
59 assertThrows(TestException.class, () -> { in assertThrows_succeedsIfGivenExceptionThrown()
66 assertThrows(RuntimeException.class, () -> { in assertThrows_succeedsIfSubExceptionThrown()
74 assertThrows(TestException.class, () -> { in assertThrows_rethrowsUnexpectedErrors()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DEapAkaChallengeTest.java21 import static org.testng.Assert.assertThrows;
139 assertThrows( in parseEapAkaChallengeRequest_withoutRand()
149 assertThrows( in parseEapAkaChallengeRequest_withoutAutn()
159 assertThrows( in parseEapAkaChallengeRequest_withoutRandAndAutn()
169 assertThrows( in parseEapAkaChallengeRequest_withCodeResponse()
179 assertThrows( in parseEapAkaChallengeRequest_withWrongLength()
189 assertThrows( in parseEapAkaChallengeRequest_withEapType99()
199 assertThrows( in parseEapAkaChallengeRequest_withSubType99()
209 assertThrows( in parseEapAkaChallengeRequest_withLengthOverData()
219 assertThrows( in parseEapAkaChallengeRequest_withRandLength16()
[all …]
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DCommandOptionsTest.kt21 import org.junit.Assert.assertThrows
53 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in noCommand()
62 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in invalidCommand()
99 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noViewerConfigFile()
156 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noProtoLogClass()
171 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noProtoLogGroupClass()
186 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noProtoLogGroupJar()
202 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noOutJar()
218 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noJavaInput()
234 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_invalidProtoLogClass()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityInterceptorCallbackRegistryTest.java24 import static org.junit.Assert.assertThrows;
59 assertThrows( in registerActivityInterceptorCallbackFailIfNotSystemId()
68 assertThrows( in registerActivityInterceptorCallbackFailIfIdNotInRange()
74 assertThrows( in registerActivityInterceptorCallbackFailIfIdNotInRange()
83 assertThrows( in registerActivityInterceptorCallbackFailIfCallbackIsNull()
105 assertThrows( in unregisterActivityInterceptorCallbackFailIfNotSystemId()
113 assertThrows( in unRegisterActivityInterceptorCallbackFailIfIdNotInRange()
121 assertThrows( in unregisterActivityInterceptorCallbackFailIfNotRegistered()
DCompatScaleProviderTest.java20 import static org.junit.Assert.assertThrows;
63 assertThrows( in registerCompatScaleProviderWithInvalidId()
74 assertThrows( in registerCompatScaleProviderFailIfCallbackIsNull()
90 assertThrows( in registerCompatScaleProviderFailIfIdIsAlreadyRegistered()
117 assertThrows( in unregisterCompatScaleProviderFailIfIdNotRegistered()
129 assertThrows( in unregisterCompatScaleProviderFailIfIdNotInRange()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTransactionManagerTest.java30 import static org.junit.Assert.assertThrows;
78 assertThrows(IllegalStateException.class, mTransactionManager::startNewTransaction); in testStartNewTransaction()
120 assertThrows(IllegalStateException.class, mTransactionManager::getCurrentTransactionRecord); in testGetCurrentTransactionRecord()
130 assertThrows(IllegalStateException.class, mTransactionManager::getCurrentTransactionRecord); in testGetCurrentTransactionRecord()
139 assertThrows(IllegalStateException.class, mTransactionManager::getCurrentTransactionRecord); in testGetCurrentTransactionRecord()
187 assertThrows(IllegalStateException.class, in testApply()
189 assertThrows(IllegalStateException.class, in testApply()
191 assertThrows(IllegalStateException.class, in testApply()
202 assertThrows(IllegalStateException.class, in testAbort()
204 assertThrows(IllegalStateException.class, in testAbort()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecConfigTest.java26 import static org.testng.Assert.assertThrows;
198 assertThrows(IllegalArgumentException.class, in isStringValueType_InvalidSetting()
212 assertThrows(IllegalArgumentException.class, in isIntValueType_InvalidSetting()
226 assertThrows(IllegalArgumentException.class, in getAllowedStringValues_InvalidSetting()
233 assertThrows(IllegalArgumentException.class, in getAllowedStringValues_InvalidValueType()
263 assertThrows(IllegalArgumentException.class, in getAllowedIntValues_InvalidSetting()
270 assertThrows(IllegalArgumentException.class, in getAllowedIntValues_InvalidValueType()
296 assertThrows(IllegalArgumentException.class, in getDefaultStringValue_InvalidSetting()
303 assertThrows(IllegalArgumentException.class, in getDefaultStringValue_InvalidValueType()
338 assertThrows(RuntimeException.class, in getDefaultStringValue_NoDefault()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DHexDumpTest.java47 assertThrows( in testNullByteArray()
137 assertThrows( in testHexStringToByteArray_null()
146 assertThrows( in testHexStringToByteArray_invalidCharacters()
149 assertThrows( in testHexStringToByteArray_invalidCharacters()
152 assertThrows( in testHexStringToByteArray_invalidCharacters()
161 assertThrows( in testHexStringToByteArray_oddLength()
164 assertThrows( in testHexStringToByteArray_oddLength()
167 assertThrows( in testHexStringToByteArray_oddLength()
178 private static void assertThrows(Class<? extends RuntimeException> clazz, Runnable runnable) { in assertThrows() method in HexDumpTest
/frameworks/base/tests/Input/src/android/hardware/input/
DVirtualTouchEventTest.java21 import static org.testng.Assert.assertThrows;
33 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder().build()); in touchEvent_emptyBuilder()
38 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noAction()
48 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noPointerId()
58 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noToolType()
68 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noX()
79 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_noY()
130 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_cancelUsedImproperly()
147 assertThrows(IllegalArgumentException.class, () -> new VirtualTouchEvent.Builder() in touchEvent_palmUsedImproperly()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DDefaultRadioTunerTest.java21 import static org.junit.Assert.assertThrows;
122 UnsupportedOperationException thrown = assertThrows( in seek_forRadioTuner_throwsException()
134 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in getMetadataImage_forRadioTuner_throwsException()
156 UnsupportedOperationException thrown = assertThrows( in isConfigFlagSet_forRadioTuner_throwsException()
167 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setConfigFlag_forRadioTuner_throwsException()
176 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in setParameters_forRadioTuner_throwsException()
185 UnsupportedOperationException thrown = assertThrows(UnsupportedOperationException.class, in getParameters_forRadioTuner_throwsException()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/altitude/
DAltitudeConverterTest.java21 import static org.junit.Assert.assertThrows;
133 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidLatitudeThrows()
137 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidLatitudeThrows()
141 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidLatitudeThrows()
152 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidLongitudeThrows()
156 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidLongitudeThrows()
160 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidLongitudeThrows()
170 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidAltitudeThrows()
174 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidAltitudeThrows()
178 assertThrows(IllegalArgumentException.class, in testAddMslAltitudeToLocation_invalidAltitudeThrows()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureSessionTest.java21 import static org.testng.Assert.assertThrows;
74 assertThrows(NullPointerException.class, () -> mSession1.newAutofillId(null, 42L)); in testNewAutofillId_invalid()
75 assertThrows(IllegalArgumentException.class, in testNewAutofillId_invalid()
101 assertThrows(NullPointerException.class, () -> mSession1.notifyViewAppeared(null)); in testNotifyXXX_null()
102 assertThrows(NullPointerException.class, () -> mSession1.notifyViewDisappeared(null)); in testNotifyXXX_null()
103 assertThrows(NullPointerException.class, in testNotifyXXX_null()
105 assertThrows(NullPointerException.class, in testNotifyXXX_null()
129 assertThrows(NullPointerException.class, in testNotifyViewsDisappeared_invalid()
132 assertThrows(IllegalArgumentException.class, in testNotifyViewsDisappeared_invalid()
135 assertThrows(IllegalArgumentException.class, in testNotifyViewsDisappeared_invalid()
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DExtendedMockitoRuleTest.java22 import static org.junit.Assert.assertThrows;
93 assertThrows(NullPointerException.class, () -> new ExtendedMockitoRule.Builder(null)); in testBuilder_constructor_null()
98 assertThrows(NullPointerException.class, () -> mBuilder.setStrictness(null)); in testBuilder_setStrictness_null()
103 assertThrows(NullPointerException.class, () -> mBuilder.mockStatic(null)); in testBuilder_mockStatic_null()
108 assertThrows(NullPointerException.class, () -> mBuilder.spyStatic(null)); in testBuilder_spyStatic_null()
113 assertThrows(NullPointerException.class, in testBuilder_addStaticMockFixtures_null()
119 assertThrows(NullPointerException.class, () -> mBuilder.afterSessionFinished(null)); in testBuilder_afterSessionFinished_null()
124 assertThrows(NullPointerException.class, in testBuilder_setMockitoFrameworkForTesting_null()
130 assertThrows(NullPointerException.class, in testBuilder_setMockitoSessionForTesting_null()
165 assertThrows(UnnecessaryStubbingException.class, in testStrictness_strict()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDensityMappingTest.java22 import static org.junit.Assert.assertThrows;
36 assertThrows(IllegalStateException.class, () -> in testConstructor_withBadConfig_throwsException()
42 assertThrows(IllegalStateException.class, () -> in testConstructor_withBadConfig_throwsException()
48 assertThrows(IllegalStateException.class, () -> in testConstructor_withBadConfig_throwsException()
54 assertThrows(IllegalStateException.class, () -> in testConstructor_withBadConfig_throwsException()
61 assertThrows(IllegalStateException.class, () -> in testConstructor_withBadConfig_throwsException()
/frameworks/base/tests/EnforcePermission/test-app/src/android/tests/enforcepermission/tests/
DServiceTest.java21 import static org.junit.Assert.assertThrows;
104 final Exception ex = assertThrows(SecurityException.class, in testImmediatePermissionNotGranted_fails()
112 final Exception ex = assertThrows(SecurityException.class, in testImmediatePermissionGrantedButImplicitLocalNotGranted_fails()
120 final Exception ex = assertThrows(SecurityException.class, in testImmediatePermissionGrantedButImplicitNestedNotGranted_fails()
147 final Exception ex = assertThrows(SecurityException.class, in testAppOpPermissionDenied_fails()
159 final Exception ex = assertThrows(SecurityException.class, in testRuntimePermissionDenied_fails()
171 final Exception ex = assertThrows(SecurityException.class, in testAllOfPermissionDenied_fails()
183 final Exception ex = assertThrows(SecurityException.class, in testAnyOfPermissionDenied_fails()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DSettingsProxyTest.kt30 import org.junit.Assert.assertThrows
114 assertThrows(SettingNotFoundException::class.java) { in getInt_keyPresent_nonIntegerValue_throwException()
122 assertThrows(SettingNotFoundException::class.java) { mSettings.getInt(TEST_SETTING) } in getInt_keyAbsent_throwException()
138 assertThrows(SettingNotFoundException::class.java) { in getBool_keyPresent_nonBooleanValue_throwException()
146 assertThrows(SettingNotFoundException::class.java) { mSettings.getBool(TEST_SETTING) } in getBool_keyAbsent_throwException()
162 assertThrows(SettingNotFoundException::class.java) { in getLong_keyPresent_nonLongValue_throwException()
170 assertThrows(SettingNotFoundException::class.java) { mSettings.getLong(TEST_SETTING) } in getLong_keyAbsent_throwException()
186 assertThrows(SettingNotFoundException::class.java) { in getFloat_keyPresent_nonFloatValue_throwException()
194 assertThrows(SettingNotFoundException::class.java) { mSettings.getFloat(TEST_SETTING) } in getFloat_keyAbsent_throwException()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierUtilsTest.java21 import static org.testng.Assert.assertThrows;
81 assertThrows(() -> TextClassifier.Utils.getSubString(null, 0, 1, minimumLength)); in testGetSubString_invalidParams()
83 assertThrows(() -> TextClassifier.Utils.getSubString(text, 6, 5, minimumLength)); in testGetSubString_invalidParams()
85 assertThrows(() -> TextClassifier.Utils.getSubString(text, -1, 5, minimumLength)); in testGetSubString_invalidParams()
87 assertThrows(() -> TextClassifier.Utils.getSubString(text, 6, length + 1, minimumLength)); in testGetSubString_invalidParams()

12345678910>>...13