Searched refs:test_name (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-13-stable/contrib/googletest/googletest/include/gtest/
H A Dgtest_prod.h58 #define FRIEND_TEST(test_case_name, test_name)\
59 friend class test_case_name##_##test_name##_Test
/freebsd-13-stable/tools/regression/tmpfs/
H A Dt_truncate43 test_name "Write to new file works"
45 test_name "Truncate the file to smaller size works"
49 test_name "Truncate to zero size"
51 test_name "Truncate to zero size, second try"
H A Dt_read_write43 test_name "Write to new file works"
45 test_name "Data written is correct"
48 test_name "Append to existing file works"
50 test_name "Data written is correct"
53 test_name "Write to long file (bigger than a page) works"
55 test_name "Data written is correct"
61 test_name "Writing to a file raises NOTE_WRITE"
66 test_name "Appending to a file raises NOTE_EXTEND"
68 test_name "Appending to a file raises NOTE_WRITE"
H A Dt_pipes45 test_name "Creation of named pipe"
48 test_name "Writing to pipe and waiting for response"
H A Dt_readdir43 test_name "Directory has '.' and '..' entries"
47 test_name "Creation of files of all possible types"
56 test_name "Read of directory"
62 test_name "Populate directory"
64 test_name "Clean it"
66 test_name "Repopulate directory"
68 test_name "Listing should return all entries"
71 test_name "Creation of many files"
77 test_name "Removal of all files using a wildcard"
80 test_name "Remova
[all...]
H A Dt_mount43 test_name "File-system can be mounted"
45 test_name "Root directory has two links"
48 test_name "File-system can be unmounted"
51 test_name "File-system mount options work"
56 test_name "Root directory attributes are set correctly"
64 test_name "Negative values are correctly handled"
68 test_name "Extremely large values are correctly handled"
H A Dt_symlink43 test_name "Creation of an empty file"
45 test_name "Creation of a symlink pointing to it"
47 test_name "Symlink points to correct file"
50 test_name "Changing original file"
52 test_name "Symlink reflects the changes"
55 test_name "Creation of symlink to a known system file"
57 test_name "Trying to see if it works"
61 test_name "Symlinking directories works"
72 test_name "Creating a symlink raises NOTE_WRITE on the parent" \
H A Dt_vnd52 test_name "Creation of disk image"
55 test_name "Configuration of vnd"
58 test_name "Labelling the md"
61 test_name "Formatting of disk image"
64 test_name "Mounting of disk image"
68 test_name "Creation of several files"
73 test_name "Verification of created files"
79 test_name "Unmounting of disk image"
82 test_name "Deconfiguration of vnd"
H A Dt_exec44 test_name "Copy of existing binary program"
46 test_name "Data written is correct"
49 test_name "Execution of binary program"
H A Dt_sockets43 test_name "Sockets can be created"
49 test_name "Creating a socket raises NOTE_WRITE on the parent" \
H A Dt_rmdir44 test_name "The mount point cannot be removed"
47 test_name "Non-existing directories cannot be removed"
50 test_name "Removal of a single directory works"
58 test_name "Removal of nested directories works"
64 test_name "'.' and '..' directories cannot be removed"
70 test_name "Non-empty directories cannot be removed"
79 test_name "Root directory has two links after all removes"
83 test_name "Removal of current directory"
94 test_name "Deleting a directory raises NOTE_DELETE on it"
96 test_name "Deletin
[all...]
H A Dt_setattr44 test_name "File owner can be changed on its own"
54 test_name "Changing a file's owner raises NOTE_ATTRIB on it"
57 test_name "File group can be changed on its own"
67 test_name "Changing a file's group raises NOTE_ATTRIB on it"
70 test_name "File owner and group can be changed at once"
79 test_name "Changing a file's owner and group raises NOTE_ATTRIB on it"
82 test_name "File mode can be changed"
90 test_name "Updating a file's mode raises NOTE_ATTRIB on it"
93 test_name "File times can be changed"
102 test_name "Updatin
[all...]
H A Dt_remove43 test_name "Files can be removed"
50 test_name "Files with uchg flags cannot be removed"
59 test_name "The node . cannot be unlinked"
67 test_name "Deleting a file raises NOTE_DELETE on it"
69 test_name "Deleting a file raises NOTE_WRITE on the parent directory"
H A Dt_dots43 test_name "'.' and '..' entries of a directory work."
48 test_name "'.' and '..' entries of nested directories work."
H A Dt_sizes45 test_name "Get status of clean filesystem"
49 test_name "Creation of small file"
51 test_name "statvfs(2) reports correct block accounting"
57 test_name "Creation of big file"
59 test_name "statvfs(2) reports correct block accounting"
70 test_name "Creation of big file that overflows the filesystem"
74 test_name "statvfs(2) reports correct block accounting"
80 test_name "Write to middle of a file does not change size"
H A Dt_mkdir44 test_name "Directories can be created"
46 test_name "Link count is updated after directory creation"
50 test_name "Create many directories"
59 test_name "Nested directories can be created"
65 test_name "New directories by users get proper attributes"
91 test_name "Creating a directory raises NOTE_LINK on the parent" \
94 test_name "Creating a directory raises NOTE_WRITE on the parent" \
H A Dt_rename44 test_name "'.' and '..' entries cannot be renamed"
50 test_name "Cross device renames do not work"
55 test_name "Directories can be renamed"
62 test_name "The '..' entry is updated after moves"
75 test_name "The '..' entry is correct after renames"
85 test_name "The '..' entry is correct after multiple moves"
95 test_name "Rename works if the target file exists"
103 test_name "Rename a directory to a override an empty directory works"
114 test_name "Rename a directory to a override a non-empty directory fails"
130 test_name "Renam
[all...]
H A Dt_link43 test_name "Link operation works"
51 test_name "Link count is correct after links are created"
57 test_name "Link count is correct after links are deleted"
63 test_name "Link operation works in subdirectories"
67 test_name "Link count is correct after links are created"
73 test_name "Link count is correct after links are deleted"
83 test_name "Creating a link raises NOTE_LINK on the source file"
85 test_name "Creating a link raises NOTE_WRITE on the parent directory"
91 test_name "Deleting a link raises NOTE_DELETE on one other link"
93 test_name "Deletin
[all...]
H A Dt_trail_slash44 test_name "Trailing slashes are not taken into account"
H A Dt_times43 test_name "Creation of empty file"
50 test_name "Read of empty file"
58 test_name "Write to (and extension of) empty file"
66 test_name "Creation of non-empty file"
70 test_name "Read of non-empty file"
78 test_name "Creation of non-empty file"
82 test_name "New link to non-empty file"
90 test_name "File renaming does not change times"
H A Dt_create43 test_name "Files can be created"
48 test_name "New files get proper attributes"
58 test_name "New files by users get proper attributes"
85 test_name "Creating a file raises NOTE_WRITE on the parent directory"
H A Dt_statvfs44 test_name "statvfs(2) returns correct values"
H A Dt_vnode_leak46 test_name "vnodes are properly reclaimed"
/freebsd-13-stable/contrib/capsicum-test/
H A Dcapsicum-test.h109 #define FORK_TEST_ON(test_case_name, test_name, test_file) \
110 static void test_case_name##_##test_name##_ForkTest(); \
111 TEST(test_case_name, test_name ## Forked) { \
112 _RUN_FORKED_FN(test_case_name##_##test_name##_ForkTest, \
113 #test_case_name, #test_name); \
117 static void test_case_name##_##test_name##_ForkTest()
119 #define FORK_TEST(test_case_name, test_name) FORK_TEST_ON(test_case_name, test_name, NULL)
123 #define ICLASS_NAME(test_case_name, test_name) Forked##test_case_name##_##test_name
[all...]
H A Dmqueue.cc16 #define FORK_TEST_ON_MQ(test_case_name, test_name, test_mq) \
17 static void test_case_name##_##test_name##_ForkTest(); \
18 TEST(test_case_name, test_name ## Forked) { \
19 _RUN_FORKED_FN(test_case_name##_##test_name##_ForkTest, \
20 #test_case_name, #test_name); \
24 static void test_case_name##_##test_name##_ForkTest()

Completed in 83 milliseconds

123