diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-09-03 19:57:54 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-09-03 20:28:55 +0200 |
commit | 74ca21a41bcb5a49d19e65c9ba88f1f864cb7095 (patch) | |
tree | 4774587e47abc0ff20453abbf714b63c36697f26 /tests | |
parent | 30ae5fd4f65f48009e6956e42ccc2c9d9ad80901 (diff) | |
download | blogc-74ca21a41bcb5a49d19e65c9ba88f1f864cb7095.tar.gz blogc-74ca21a41bcb5a49d19e65c9ba88f1f864cb7095.tar.bz2 blogc-74ca21a41bcb5a49d19e65c9ba88f1f864cb7095.zip |
*: big code reorganization.
- source and tests are now splitted by target
- utils lib is now called common
still pending move error.c from blogc to common
Diffstat (limited to 'tests')
-rw-r--r-- | tests/blogc/check_content_parser.c (renamed from tests/check_content_parser.c) | 2 | ||||
-rw-r--r-- | tests/blogc/check_datetime_parser.c (renamed from tests/check_datetime_parser.c) | 4 | ||||
-rw-r--r-- | tests/blogc/check_error.c (renamed from tests/check_error.c) | 2 | ||||
-rw-r--r-- | tests/blogc/check_loader.c (renamed from tests/check_loader.c) | 8 | ||||
-rw-r--r-- | tests/blogc/check_renderer.c (renamed from tests/check_renderer.c) | 10 | ||||
-rw-r--r-- | tests/blogc/check_source_parser.c (renamed from tests/check_source_parser.c) | 6 | ||||
-rw-r--r-- | tests/blogc/check_template_parser.c (renamed from tests/check_template_parser.c) | 6 | ||||
-rw-r--r-- | tests/common/check_utf8.c (renamed from tests/check_utf8.c) | 4 | ||||
-rw-r--r-- | tests/common/check_utils.c (renamed from tests/check_utils.c) | 2 |
9 files changed, 22 insertions, 22 deletions
diff --git a/tests/check_content_parser.c b/tests/blogc/check_content_parser.c index 79b31c3..6cc58ff 100644 --- a/tests/check_content_parser.c +++ b/tests/blogc/check_content_parser.c @@ -11,7 +11,7 @@ #include <setjmp.h> #include <cmocka.h> #include <stdlib.h> -#include "../src/content-parser.h" +#include "../../src/blogc/content-parser.h" static void diff --git a/tests/check_datetime_parser.c b/tests/blogc/check_datetime_parser.c index 03f5a9a..ec0f120 100644 --- a/tests/check_datetime_parser.c +++ b/tests/blogc/check_datetime_parser.c @@ -12,8 +12,8 @@ #include <cmocka.h> #include <stdlib.h> #include <locale.h> -#include "../src/error.h" -#include "../src/datetime-parser.h" +#include "../../src/blogc/error.h" +#include "../../src/blogc/datetime-parser.h" static void diff --git a/tests/check_error.c b/tests/blogc/check_error.c index e844998..9976ac2 100644 --- a/tests/check_error.c +++ b/tests/blogc/check_error.c @@ -11,7 +11,7 @@ #include <setjmp.h> #include <cmocka.h> #include <string.h> -#include "../src/error.h" +#include "../../src/blogc/error.h" static void diff --git a/tests/check_loader.c b/tests/blogc/check_loader.c index 44468c8..8d3d9d6 100644 --- a/tests/check_loader.c +++ b/tests/blogc/check_loader.c @@ -13,10 +13,10 @@ #include <stdlib.h> #include <string.h> #include <stdio.h> -#include "../src/error.h" -#include "../src/template-parser.h" -#include "../src/loader.h" -#include "../src/utils.h" +#include "../../src/blogc/error.h" +#include "../../src/blogc/template-parser.h" +#include "../../src/blogc/loader.h" +#include "../../src/common/utils.h" static void diff --git a/tests/check_renderer.c b/tests/blogc/check_renderer.c index c2c5618..c058788 100644 --- a/tests/check_renderer.c +++ b/tests/blogc/check_renderer.c @@ -13,11 +13,11 @@ #include <stdbool.h> #include <stdlib.h> #include <string.h> -#include "../src/error.h" -#include "../src/renderer.h" -#include "../src/source-parser.h" -#include "../src/template-parser.h" -#include "../src/utils.h" +#include "../../src/blogc/error.h" +#include "../../src/blogc/renderer.h" +#include "../../src/blogc/source-parser.h" +#include "../../src/blogc/template-parser.h" +#include "../../src/common/utils.h" static sb_slist_t* diff --git a/tests/check_source_parser.c b/tests/blogc/check_source_parser.c index bbd9ec6..a1849eb 100644 --- a/tests/check_source_parser.c +++ b/tests/blogc/check_source_parser.c @@ -11,9 +11,9 @@ #include <setjmp.h> #include <cmocka.h> #include <string.h> -#include "../src/source-parser.h" -#include "../src/error.h" -#include "../src/utils.h" +#include "../../src/blogc/source-parser.h" +#include "../../src/blogc/error.h" +#include "../../src/common/utils.h" static void diff --git a/tests/check_template_parser.c b/tests/blogc/check_template_parser.c index da6a184..3c88fe4 100644 --- a/tests/check_template_parser.c +++ b/tests/blogc/check_template_parser.c @@ -11,9 +11,9 @@ #include <setjmp.h> #include <cmocka.h> #include <string.h> -#include "../src/template-parser.h" -#include "../src/error.h" -#include "../src/utils.h" +#include "../../src/blogc/template-parser.h" +#include "../../src/blogc/error.h" +#include "../../src/common/utils.h" static void diff --git a/tests/check_utf8.c b/tests/common/check_utf8.c index e7be61e..d104265 100644 --- a/tests/check_utf8.c +++ b/tests/common/check_utf8.c @@ -13,8 +13,8 @@ #include <stdbool.h> #include <stdint.h> #include <string.h> -#include "../src/utf8.h" -#include "../src/utils.h" +#include "../../src/common/utf8.h" +#include "../../src/common/utils.h" // this file MUST be ASCII diff --git a/tests/check_utils.c b/tests/common/check_utils.c index 1750aa2..a9ec316 100644 --- a/tests/check_utils.c +++ b/tests/common/check_utils.c @@ -12,7 +12,7 @@ #include <cmocka.h> #include <stdbool.h> #include <stdlib.h> -#include "../src/utils.h" +#include "../../src/common/utils.h" #define SB_STRING_CHUNK_SIZE 128 |