Home
last modified time | relevance | path

Searched refs:FileTest (Results 1 – 20 of 20) sorted by relevance

/external/boringssl/src/crypto/test/
Dfile_test.cc30 FileTest::FileTest(const char *path) { in FileTest() function in FileTest
37 FileTest::~FileTest() { in ~FileTest()
69 FileTest::ReadResult FileTest::ReadNext() { in ReadNext()
130 void FileTest::PrintLine(const char *format, ...) { in PrintLine()
141 const std::string &FileTest::GetType() { in GetType()
146 const std::string &FileTest::GetParameter() { in GetParameter()
151 bool FileTest::HasAttribute(const std::string &key) { in HasAttribute()
156 bool FileTest::GetAttribute(std::string *out_value, const std::string &key) { in GetAttribute()
167 const std::string &FileTest::GetAttributeOrDie(const std::string &key) { in GetAttributeOrDie()
190 bool FileTest::GetBytes(std::vector<uint8_t> *out, const std::string &key) { in GetBytes()
[all …]
Dfile_test.h63 class FileTest { in OPENSSL_MSVC_PRAGMA()
65 explicit FileTest(const char *path); in OPENSSL_MSVC_PRAGMA()
66 ~FileTest(); in OPENSSL_MSVC_PRAGMA()
138 FileTest(const FileTest&) = delete; in OPENSSL_MSVC_PRAGMA()
139 FileTest &operator=(const FileTest&) = delete; in OPENSSL_MSVC_PRAGMA()
153 int FileTestMain(bool (*run_test)(FileTest *t, void *arg), void *arg,
/external/fmtlib/test/
Dposix-test.cc187 TEST(FileTest, DefaultCtor) { in TEST() argument
192 TEST(FileTest, OpenBufferedFileInCtor) { in TEST() argument
200 TEST(FileTest, OpenBufferedFileError) { in TEST() argument
205 TEST(FileTest, MoveCtor) { in TEST() argument
214 TEST(FileTest, MoveAssignment) { in TEST() argument
224 TEST(FileTest, MoveAssignmentClosesFile) { in TEST() argument
238 TEST(FileTest, MoveFromTemporaryInCtor) { in TEST() argument
244 TEST(FileTest, MoveFromTemporaryInAssignment) { in TEST() argument
251 TEST(FileTest, MoveFromTemporaryInAssignmentClosesFile) { in TEST() argument
259 TEST(FileTest, CloseFileInDtor) { in TEST() argument
[all …]
Dposix-mock-test.cc241 TEST(FileTest, OpenRetry) { in TEST() argument
252 TEST(FileTest, CloseNoRetryInDtor) { in TEST() argument
266 TEST(FileTest, CloseNoRetry) { in TEST() argument
275 TEST(FileTest, Size) { in TEST() argument
294 TEST(FileTest, MaxSize) { in TEST() argument
303 TEST(FileTest, ReadRetry) { in TEST() argument
316 TEST(FileTest, WriteRetry) { in TEST() argument
334 TEST(FileTest, ConvertReadCount) { in TEST() argument
348 TEST(FileTest, ConvertWriteCount) { in TEST() argument
363 TEST(FileTest, DupNoRetry) { in TEST() argument
[all …]
/external/libchrome/base/files/
Dfile_unittest.cc20 TEST(FileTest, Create) { in TEST() argument
107 TEST(FileTest, Async) { in TEST() argument
125 TEST(FileTest, DeleteOpenFile) { in TEST() argument
152 TEST(FileTest, ReadWrite) { in TEST() argument
224 TEST(FileTest, Append) { in TEST() argument
272 TEST(FileTest, Length) { in TEST() argument
321 TEST(FileTest, TouchGetInfo) { argument
323 TEST(FileTest, DISABLED_TouchGetInfo) {
387 TEST(FileTest, ReadAtCurrentPosition) { argument
411 TEST(FileTest, WriteAtCurrentPosition) { argument
[all …]
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dfile_test.cc16 class FileTest : public AfterStreamingFixture { class
35 TEST_F(FileTest, ManualRecordToFileForThreeSecondsAndPlayback) {
63 TEST_F(FileTest, ManualRecordPlayoutToWavFileForThreeSecondsAndPlayback) { in TEST_F() argument
/external/boringssl/src/crypto/evp/
Devp_test.cc85 static const EVP_MD *GetDigest(FileTest *t, const std::string &name) { in OPENSSL_MSVC_PRAGMA()
103 static int GetKeyType(FileTest *t, const std::string &name) { in GetKeyType()
117 static int GetRSAPadding(FileTest *t, int *out, const std::string &name) { in GetRSAPadding()
136 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey()
191 static bool TestEVP(FileTest *t, void *arg) { in TestEVP()
/external/boringssl/src/crypto/ec/
Dp256-x86_64_test.cc94 static bool GetFieldElement(FileTest *t, BN_ULONG out[P256_LIMBS], in GetFieldElement()
127 static bool ExpectFieldElementsEqual(FileTest *t, const char *message, in ExpectFieldElementsEqual()
197 static bool ExpectPointsEqual(FileTest *t, const char *message, in ExpectPointsEqual()
225 static bool TestNegate(FileTest *t) { in TestNegate()
264 static bool TestMulMont(FileTest *t) { in TestMulMont()
331 static bool TestFromMont(FileTest *t) { in TestFromMont()
355 static bool TestPointAdd(FileTest *t) { in TestPointAdd()
482 return FileTestMain([](FileTest *t, void *) -> bool { in main()
/external/boringssl/src/crypto/ecdsa/
Decdsa_verify_test.cc29 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { in GetCurve()
53 static bssl::UniquePtr<BIGNUM> GetBIGNUM(FileTest *t, const char *key) { in GetBIGNUM()
62 static bool TestECDSASign(FileTest *t, void *arg) { in TestECDSASign()
Decdsa_sign_test.cc29 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { in GetCurve()
53 static bssl::UniquePtr<BIGNUM> GetBIGNUM(FileTest *t, const char *key) { in GetBIGNUM()
62 static bool TestECDSASign(FileTest *t, void *arg) { in TestECDSASign()
/external/boringssl/src/crypto/ecdh/
Decdh_test.cc29 static bssl::UniquePtr<EC_GROUP> GetCurve(FileTest *t, const char *key) { in GetCurve()
53 static bssl::UniquePtr<BIGNUM> GetBIGNUM(FileTest *t, const char *key) { in GetBIGNUM()
62 static bool TestECDH(FileTest *t, void *arg) { in TestECDH()
/external/boringssl/src/crypto/aes/
Daes_test.cc28 static bool TestRaw(FileTest *t) { in TestRaw()
91 static bool TestKeyWrap(FileTest *t) { in TestKeyWrap()
169 static bool TestAES(FileTest *t, void *arg) { in TestAES()
/external/boringssl/src/crypto/bn/
Dbn_test.cc106 static bssl::UniquePtr<BIGNUM> GetBIGNUM(FileTest *t, const char *attribute) { in GetBIGNUM()
120 static bool GetInt(FileTest *t, int *out, const char *attribute) { in GetInt()
135 static bool ExpectBIGNUMsEqual(FileTest *t, const char *operation, in ExpectBIGNUMsEqual()
154 static bool TestSum(FileTest *t, BN_CTX *ctx) { in TestSum()
253 static bool TestLShift1(FileTest *t, BN_CTX *ctx) { in TestLShift1()
294 static bool TestLShift(FileTest *t, BN_CTX *ctx) { in TestLShift()
314 static bool TestRShift(FileTest *t, BN_CTX *ctx) { in TestRShift()
332 static bool TestSquare(FileTest *t, BN_CTX *ctx) { in TestSquare()
388 static bool TestProduct(FileTest *t, BN_CTX *ctx) { in TestProduct()
415 static bool TestQuotient(FileTest *t, BN_CTX *ctx) { in TestQuotient()
[all …]
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc27 static bool TestSIMD(FileTest *t, unsigned excess, in TestSIMD()
75 static bool TestPoly1305(FileTest *t, void *arg) { in TestPoly1305()
/external/boringssl/src/crypto/cipher/
Dcipher_test.cc108 static bool TestOperation(FileTest *t, in TestOperation()
220 static bool TestCipher(FileTest *t, void *arg) { in TestCipher()
Daead_test.cc48 static bool TestAEAD(FileTest *t, void *arg) { in TestAEAD()
/external/boringssl/src/crypto/curve25519/
Ded25519_test.cc24 static bool TestSignature(FileTest *t, void *arg) { in TestSignature()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/
DFileTest.java33 public class FileTest extends TestCase { class
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc88 static bool TestHMAC(FileTest *t, void *arg) { in TestHMAC()
/external/minijail/
Dsyscall_filter_unittest.cc933 class FileTest : public ::testing::Test { class
950 TEST_F(FileTest, seccomp_mode1) { in TEST_F() argument
983 TEST_F(FileTest, seccomp_read) { in TEST_F() argument