# lv_test_fs.h (/api/debugging/test/lv_test_fs_h)



<ApiSummary functions="4" />

Functions [#functions]

<ApiTabs items="[&#x22;Setters (1)&#x22;,&#x22;Other (3)&#x22;]">
  <ApiTab value="Setters (1)">
    <ApiMember kind="function" name="lv_test_fs_set_ready" file="debugging/test/lv_test_fs.h" line="43" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/test/lv_test_fs.h#L43">
      lv_test_fs_set_ready [#lv_test_fs_set_ready]

      Set whether the test file system is ready

      ```c title=" " lineNumbers=1
      void lv_test_fs_set_ready(bool ready)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name    | Type                    | Description                   |
      | ------- | ----------------------- | ----------------------------- |
      | `ready` | <ApiLink name="bool" /> | true: ready, false: not ready |
    </ApiMember>
  </ApiTab>

  <ApiTab value="Other (3)">
    <ApiMember kind="function" name="lv_test_fs_init" file="debugging/test/lv_test_fs.h" line="37" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/test/lv_test_fs.h#L37">
      lv_test_fs_init [#lv_test_fs_init]

      Initialize the test file system driver

      ```c title=" " lineNumbers=1
      void lv_test_fs_init(void)
      ```
    </ApiMember>

    <ApiMember kind="function" name="lv_test_fs_clear_open_cb" file="debugging/test/lv_test_fs.h" line="49" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/test/lv_test_fs.h#L49">
      lv_test_fs_clear_open_cb [#lv_test_fs_clear_open_cb]

      Set whether the open callback of the test file system is cleared

      ```c title=" " lineNumbers=1
      void lv_test_fs_clear_open_cb(bool is_clear)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name       | Type                    | Description                   |
      | ---------- | ----------------------- | ----------------------------- |
      | `is_clear` | <ApiLink name="bool" /> | true: clear, false: not clear |
    </ApiMember>

    <ApiMember kind="function" name="lv_test_fs_clear_close_cb" file="debugging/test/lv_test_fs.h" line="55" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/test/lv_test_fs.h#L55">
      lv_test_fs_clear_close_cb [#lv_test_fs_clear_close_cb]

      Set whether the close callback of the test file system is cleared

      ```c title=" " lineNumbers=1
      void lv_test_fs_clear_close_cb(bool is_clear)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name       | Type                    | Description                   |
      | ---------- | ----------------------- | ----------------------------- |
      | `is_clear` | <ApiLink name="bool" /> | true: clear, false: not clear |
    </ApiMember>
  </ApiTab>
</ApiTabs>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_conf_internal.h&#x22;, &#x22;lv_types.h&#x22;]" includedBy="[&#x22;lv_test.h&#x22;]" transitiveIncludes="[&#x22;lv_conf_kconfig.h&#x22;]" />
