Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Before getting started, make sure you have the following installed:
# ======================
[wrap-git]
url = https://github.com/fossillogic/fossil-test.git
revision = v1.0.3
revision = v1.0.4

[provide]
fossil-test = fossil_test_dep
Expand Down
35 changes: 0 additions & 35 deletions code/include/fossil/xassert.h

This file was deleted.

35 changes: 0 additions & 35 deletions code/include/fossil/xassume.h

This file was deleted.

35 changes: 0 additions & 35 deletions code/include/fossil/xexpect.h

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,35 @@
#ifndef FOSSIL_TEST_FRAMEWORK_H
#define FOSSIL_TEST_FRAMEWORK_H

// Assertion header section of the test framework
// contains a list of header includes of assertions

#include "assert/boolean.h"
#include "assert/floating.h"
#include "assert/numeric.h"
#include "assert/memory.h"
#include "assert/string.h"
#include "assert/letter.h"
#include "assert/within.h"

#include "expect/boolean.h"
#include "expect/floating.h"
#include "expect/numeric.h"
#include "expect/memory.h"
#include "expect/string.h"
#include "expect/letter.h"
#include "expect/within.h"

#include "assume/boolean.h"
#include "assume/floating.h"
#include "assume/numeric.h"
#include "assume/memory.h"
#include "assume/string.h"
#include "assume/letter.h"
#include "assume/within.h"

// Fossil test specific header section of the test framework

#include "fossil/_common/common.h"
#include "fossil/_common/platform.h"
#include "internal.h"
Expand Down
2 changes: 2 additions & 0 deletions code/source/meson.build → code/logic/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dir = include_directories('.')

subdir('unittest')
subdir('mockup')
subdir('benchmark')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions code/meson.build
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
subdir('include')
subdir('source')
subdir('logic')
subdir('tests')
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion test/test_marks.c → code/tests/test_marks.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/
#include <fossil/unittest/framework.h> // basic test tools
#include <fossil/benchmark/framework.h> // benchmark tools
#include <fossil/xassume.h>

// * * * * * * * * * * * * * * * * * * * * * * * *
// * Fossil Logic Test Utilites
Expand Down
2 changes: 0 additions & 2 deletions test/test_mocks.c → code/tests/test_mocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
* -----------------------------------------------------------------------------
*/
#include <fossil/unittest/framework.h> // basic test tools
#include <fossil/xassert.h> // extra asserts

#include <fossil/mockup/framework.h> // library under test

// * * * * * * * * * * * * * * * * * * * * * * * *
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
project('Fossil Test', 'c', 'cpp',
meson_version: '>=1.3.0',
license: 'MPL-2.0',
version: '1.0.3',
version: '1.0.4',
default_options: ['c_std=c18', 'cpp_std=c++20'])

subdir('code')
subdir('test')