Home
last modified time | relevance | path

Searched refs:getMethodName (Results 1 – 25 of 79) sorted by relevance

1234

/cts/tests/tests/os/src/android/os/storage/cts/
DCrateInfoTest.java43 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName()); in getLabel_shouldMatchTheConstructor()
45 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in getLabel_shouldMatchTheConstructor()
50 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName()); in newCrateInfo_withNormalLabel_shouldBeSuccess()
52 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in newCrateInfo_withNormalLabel_shouldBeSuccess()
57 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), 0); in newCrateInfo_withNormalLabelAndExpiration_shouldBeSuccess()
59 assertThat(crateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in newCrateInfo_withNormalLabelAndExpiration_shouldBeSuccess()
64 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), Long.MAX_VALUE); in newCrateInfo_withNormalLabelAndMaxExpiration_shouldBeSuccess()
97 new CrateInfo(mTestName.getMethodName(), -1); in newCrateInfo_withNegativeExpiration_throwIllegalArgumentException()
108 CrateInfo crateInfo = new CrateInfo(mTestName.getMethodName(), Long.MAX_VALUE); in readFromParcel_shouldMatchFromWriteToParcel()
115 assertThat(readFromCrateInfo.getLabel()).isEqualTo(mTestName.getMethodName()); in readFromParcel_shouldMatchFromWriteToParcel()
[all …]
DStorageStatsManagerTest.java113 mCrateId = mTestName.getMethodName(); in setUp()
270 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUid_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
282 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUser_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
294 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForPackage_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
/cts/tests/tests/content/src/android/content/om/cts/
DFabricatedOverlayTest.java87 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_withoutSlash_shouldBeInvalid()
99 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_colonAfterSlash_shouldBeInvalid()
113 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_invalidResourceType_shouldFail()
125 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forResourceName_colonBeforeSlash_shouldBeValid()
134 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_colorAsStringType_shouldFail()
145 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_forColorType_shouldBeValid()
154 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_withConfigurations_shouldBeValid()
165 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forIntType_forNotExistColor_shouldBeValid()
174 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forStringType_forNotExistString_shouldBeValid()
186 new FabricatedOverlay(mTestName.getMethodName(), mContext.getPackageName()); in setResourceValue_forStringType_withConfigurations_shouldBeValid()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPasswordMinimumRestrictionsTest.java91 getMethodName(METHOD_LIST[i]) in testPasswordMinimumRestriction()
99 getMethodName(METHOD_LIST[i]) + " failed to get expected value on mParentDpm.", in testPasswordMinimumRestriction()
139 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH_LOW + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
146 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
149 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
154 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH_LOW + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
157 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
167 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
170 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
175 assertEquals(getMethodName(METHOD_LIST[i]) + " failed.", TEST_PASSWORD_LENGTH + i, in testGetPasswordMinimumRestrictionWithNullAdmin()
[all …]
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DTracer.java33 mName = description.getMethodName(); in apply()
44 public String getMethodName() {
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DTracer.java33 mName = description.getMethodName(); in apply()
44 public String getMethodName() {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java189 getTestLogger().logTestStart(description.getMethodName()); in testStarted()
194 getTestLogger().logTestPass(description.getMethodName(), null /* testSummary */); in testFinished()
201 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testFailure()
207 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testAssumptionFailure()
212 getTestLogger().logTestSkip(description.getMethodName(), description.toString()); in testIgnored()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DExtraBusinessLogicTestCase.java55 + "configuration.", mTestCase.getMethodName()), mCanReadBusinessLogic); in handleBusinessLogic()
58 "Skipping Business Logic for %s", mTestCase.getMethodName())); in handleBusinessLogic()
DRequiredFeatureRule.java55 + description.getClassName() + "#" + description.getMethodName() in apply()
DRequiredServiceRule.java62 + description.getClassName() + "#" + description.getMethodName() in apply()
DRequiredSystemResourceRule.java66 + description.getClassName() + "#" + description.getMethodName() in apply()
/cts/tests/mediapc/common/tests/src/android/mediapc/cts/common/
DPerformanceClassEvaluatorTest.java42 Mockito.when(mMockTestName.getMethodName()).thenReturn(null); in constructorTest_replacesNullWithEmpty()
50 Mockito.when(mMockTestName.getMethodName()).thenReturn("{}"); in constructorTest_replacesCurlyBraces()
/cts/tests/tests/systemui/src/android/systemui/cts/
DScreenshotTestRule.java58 mTestMethod = description.getMethodName(); in apply()
77 + description.getMethodName(); in capture()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DDumpOnFailureRule.java48 final String testName = description.getClassName() + "_" + description.getMethodName(); in onTestFailure()
73 return shortenedClassName + "_" + description.getMethodName(); in getShortenedTestName()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DCallGraphManager.java163 if (methodProfile.getMethodName().equals("<init>")) { in markCoveredApisWithoutCaller()
170 methodProfile.getMethodName(), in markCoveredApisWithoutCaller()
203 apiMethod.getMethodName(), in markCoveredApisWithCaller()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DDumpLoggerRule.java36 Log.i(mTag, "Debugging info for failed test: " + description.getMethodName()); in failed()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityDumpOnFailureRule.java67 + "_" + description.getMethodName(); in getTestNameFrom()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/testrules/
DTestNameSaver.java55 String testName = description.getMethodName(); in apply()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSaveBitmapHelper.java36 + "/" + testName.getMethodName(); in saveBitmap()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/
DExpectationBasedFilter.java101 String methodName = child.getMethodName(); in getTestDescription()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDumpOnFailure.java120 return description.getTestClass().getSimpleName() + "_" + description.getMethodName()
127 + "_" + description.getMethodName());
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/
DCarBuiltinApiHostCtsBase.java69 description.getClassName(), description.getMethodName(), mFeature); in apply()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DLogShellCommandRule.java78 runAndLogAll("failure of " + description.getMethodName()); in apply()
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java188 mHandlerThread = new HandlerThread(mTestName.getMethodName()); in registerSessionCallbacks()
335 mTestName.getMethodName()); in abandon_stagedSession_openForWriting_shouldFail()
353 mTestName.getMethodName()); in abandon_nonStagedSession_openForWriting_shouldFail()
531 mTestName.getMethodName()); in abandon_stagedParentSession_openChildSessionForWriting_shouldFail()
551 openSessionForWrite(firstChildSession, mTestName.getMethodName()); in abandon_nonStagedParentSession_openChildSessionForWriting_shouldFail()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java610 fail("setDataSource failed: " + testName.getMethodName()); in testAssetFD()
627 fail("setDataSource failed: " + testName.getMethodName());
661 fail("setDataSource failed: " + testName.getMethodName());
678 fail("setDataSource failed: " + testName.getMethodName());
694 fail("setDataSource failed: " + testName.getMethodName());
715 fail("setDataSource failed: " + testName.getMethodName());
764 assertTrue(testName.getMethodName() + " failed ",
1095 assertTrue(testName.getMethodName() + " failed for Mediatype: " + mMediaType, isOk);
1132 assertTrue(testName.getMethodName() + " failed for mediaType: " + mMediaType, isOk);
1166 assertTrue(testName.getMethodName() + " failed for Mediatype: " + mMediaType, isOk);
[all …]

1234