Test2 80/258180/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 12 May 2021 02:29:03 +0000 (11:29 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 25 May 2021 04:28:10 +0000 (13:28 +0900)
Change-Id: I3903f3aaf7ea93f0a43bf5804e1fa105ee574b62
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
tests/src/autofill_client_unittests.cpp

index 50c511f..fd6ec85 100644 (file)
@@ -374,6 +374,9 @@ TEST_F(AutofillClientTest, utc_autofill_commit_n2)
 {
     int ret = AUTOFILL_ERROR_NONE;
 
+    char *test = (char *)calloc(1, 1024);
+    EXPECT_NE(test, nullptr);
+
     ret = autofill_commit(af_h, NULL);
     EXPECT_EQ(ret, AUTOFILL_ERROR_INVALID_PARAMETER);
 }