]> Kevux Git Server - fll/commit
Progress: Begin adding tests for f_file project and clean up the f_directory tests.
authorKevin Day <thekevinday@gmail.com>
Mon, 11 Apr 2022 02:28:27 +0000 (21:28 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 11 Apr 2022 02:28:27 +0000 (21:28 -0500)
commit1147ef7cc5ae6655a124541647456cf994bb40c8
treedefd777acaa7d38a5c5d8e444c67cc3908dfc1d8
parentc29c9560bc5f62f7cd99a46d704ee964c03e5735
Progress: Begin adding tests for f_file project and clean up the f_directory tests.

The f_directory tests has two unused mocked functions that are no longer needed (they are stale).

The size of the f_file project is huge.
The number of tests needed is huge.

This is my first pass and writing the unit tests for f_file.
162 files changed:
level_0/f_directory/tests/unit/c/mock-directory.c
level_0/f_directory/tests/unit/c/mock-directory.h
level_0/f_file/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_file/data/build/settings-mocks [new file with mode: 0644]
level_0/f_file/data/build/settings-tests [new file with mode: 0644]
level_0/f_file/data/build/testfile [new file with mode: 0644]
level_0/f_file/tests/unit/c/mock-file.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/mock-file.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-access.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-access.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-access_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-access_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-clone.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-clone.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-close.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-close.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-close_flush.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-close_flush.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-copy.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-copy.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_device.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_device.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_device_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_device_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_fifo.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_fifo.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_fifo_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_fifo_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_node.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_node.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_node_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-create_node_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-descriptor.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-descriptor.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-exists.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-exists.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-exists_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-exists_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-flush.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-flush.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-group_read.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-group_read.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-is.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-is.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-is_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-is_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_hard.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_hard.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_hard_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_hard_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_read.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_read.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_read_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-link_read_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_determine.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_determine.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_from_string.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_from_string.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_read.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_read.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_read_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_read_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_set.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_set.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_set_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_set_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_to_mode.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-mode_to_mode.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-name_base.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-name_base.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-name_directory.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-name_directory.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-open.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-open.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-open_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-open_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-owner_read.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-owner_read.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-read.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-read.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-read_block.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-read_block.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-read_until.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-read_until.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-remove.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-remove.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-remove_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-remove_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-rename.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-rename.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-rename_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-rename_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-role_change.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-role_change.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-role_change_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-role_change_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-seek.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-seek.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-size.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-size.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-size_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-size_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-size_by_id.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-size_by_id.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stat.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stat.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stat_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stat_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stat_by_id.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stat_by_id.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_close.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_close.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_descriptor.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_descriptor.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_open.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_open.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_read.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_read.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_read_block.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_read_block.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_read_until.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_read_until.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_reopen.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_reopen.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write_block.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write_block.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write_range.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write_range.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write_until.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-stream_write_until.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-touch.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-touch.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-touch_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-touch_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-type.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-type.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-type_at.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-type_at.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-umask_get.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-umask_get.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-umask_set.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-umask_set.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write_block.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write_block.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write_range.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write_range.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write_until.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file-write_until.h [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file.c [new file with mode: 0644]
level_0/f_file/tests/unit/c/test-file.h [new file with mode: 0644]