Searched refs:hasLength (Results 1 – 13 of 13) sorted by relevance
35 virtual bool hasLength() const { return true; } in hasLength() function
60 assertThat(secretKey.getEncoded()).hasLength(KEY_SIZE_BITS / 8); in generate_generates256BitKeys()
88 assertThat(key.getAlias()).hasLength(BACKUP_KEY_ALIAS_LENGTH); in generate_generatesKeyWithExpectedLength()
69 assertThat(hash).hasLength(expectedLength); in computeHash_generates256BitHmac()
142 assertThat(nonce).hasLength(GCM_NONCE_LENGTH_BYTES); in encrypt_generates12ByteNonce()
110 virtual bool hasLength() const = 0;
67 assertThat(spans).hasLength(1); in testLinkAnnotation()166 assertThat(spans).hasLength(1); in testTextStyle()
109 assertThat(conversationMessages).hasLength(4); in testToNativeMessages_userIdEncoding()138 assertThat(conversationMessages).hasLength(3); in testToNativeMessages_referenceTime()
127 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
191 assertThat(signatures).hasLength(1); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()212 assertThat(signatures).hasLength(1); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
129 assertThat(CertUtils.decodeBase64("")).hasLength(0); in decodeBase64_succeedsIfEmptyInput()
262 if (!mStream->hasLength()) { in getSize()
386 assertThat(mRecentTasks.usersWithRecentsLoadedLocked()).hasLength(0); in testUsersTasks()