Home
last modified time | relevance | path

Searched refs:assertFileContents (Results 1 – 10 of 10) sorted by relevance

/aosp_15_r20/test/cts-root/hostsidetests/rollback/src/com/android/cts_root/rollback/host/
H A DRollbackManagerHostTest.java166 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApkInApexDataDirectories_Ce()
167 assertFileContents(TEST_STRING_2, oldFilePath2); in testRollbackApkInApexDataDirectories_Ce()
203 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApkDataDirectories_De()
204 assertFileContents(TEST_STRING_2, oldFilePath2); in testRollbackApkDataDirectories_De()
243 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_Ce()
244 assertFileContents(TEST_STRING_2, oldFilePath2); in testRollbackApexDataDirectories_Ce()
291 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_DeUser()
292 assertFileContents(TEST_STRING_2, oldFilePath2); in testRollbackApexDataDirectories_DeUser()
339 assertFileContents(TEST_STRING_1, oldFilePath1); in testRollbackApexDataDirectories_DeSys()
340 assertFileContents(TEST_STRING_2, oldFilePath2); in testRollbackApexDataDirectories_DeSys()
[all …]
/aosp_15_r20/cts/tests/tests/content/src/android/content/cts/
H A DImageCaptureUriExtraToClipDataTest.java74 assertFileContents(); in testUriExtraOutputMigratedToClipData_imageCaptureIntent()
80 assertFileContents(); in testUriExtraOutputMigratedToClipData_imageCaptureSecureIntent()
86 assertFileContents(); in testUriExtraOutputMigratedToClipData_videoCaptureIntent()
106 private void assertFileContents() { in assertFileContents() method in ImageCaptureUriExtraToClipDataTest
/aosp_15_r20/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/
H A DExecFileLoaderTest.java94 assertFileContents(file, "a"); in testSaveFile()
104 assertFileContents(file, "a", "bb"); in testSaveFileAppend()
114 assertFileContents(file, "a"); in testCreateSubfolders()
134 private void assertFileContents(File file, String... expected) in assertFileContents() method in ExecFileLoaderTest
/aosp_15_r20/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DAbstractCopyJobTest.java60 mDocs.assertFileContents(mDestRoot.documentId, "test1.txt", HAM_BYTES); in runCopyFilesTest()
61 mDocs.assertFileContents(mDestRoot.documentId, "test2.txt", FRUITY_BYTES); in runCopyFilesTest()
75 mDocs.assertFileContents(mDestRoot.documentId, "virtual.sth.pdf", FRUITY_BYTES); in runCopyVirtualTypedFileTest()
DMoveJobTest.java54 mDocs.assertFileContents(mDestRoot.documentId, "test1.txt", HAM_BYTES); in testMoveFiles_NoSrcParent()
55 mDocs.assertFileContents(mDestRoot.documentId, "test2.txt", FRUITY_BYTES); in testMoveFiles_NoSrcParent()
/aosp_15_r20/external/autotest/client/common_lib/
H A Dutils_unittest.py503 def assertFileContents(self, contents, *path_segments): member in test_merge_trees
540 self.assertFileContents("line 1\n", "dest_only")
549 self.assertFileContents("line 1\nline 2\n", "in_both")
558 self.assertFileContents("line 1\nline 3\n", "in_both")
567 self.assertFileContents("dest line\n", "in_dest")
568 self.assertFileContents("src line\n", "in_src")
582 self.assertFileContents("subdir line\n", "src_subdir", "subfile")
583 self.assertFileContents("dest line\nsrc line\n", "both_subdir",
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPrintStreamTest.java84 assertFileContents(UNICODE_STRING.getBytes(Charset.defaultCharset()), testFile); in test_Constructor_Ljava_lang_String()
103 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_8), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String()
110 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), testFile); in test_Constructor_Ljava_lang_String_Ljava_lang_String()
768 private static void assertFileContents(byte[] expected, File file) throws IOException { in assertFileContents() method in PrintStreamTest
/aosp_15_r20/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java307 public void assertFileContents(Uri documentUri, byte[] expected) throws Exception { in assertFileContents() method in DocumentsProviderHelper
313 public void assertFileContents(String parentId, String fileName, byte[] expected) in assertFileContents() method in DocumentsProviderHelper
317 assertFileContents(file.derivedUri, expected); in assertFileContents()
/aosp_15_r20/prebuilts/module_sdk/art/current/test-exports/java/
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/aosp_15_r20/prebuilts/module_sdk/art/1/test-exports/java/
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...