]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Update tests
authorfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 5 Jul 2019 15:07:26 +0000 (17:07 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 5 Jul 2019 15:07:26 +0000 (17:07 +0200)
25 files changed:
tests/import/array.c
tests/import/begin_class.c
tests/import/callback.c
tests/import/class_template.c
tests/import/coverage.c
tests/import/empty_union.c
tests/import/enum.c
tests/import/extend_array.c
tests/import/extend_event.c
tests/import/extend_pair.c
tests/import/global_func.c
tests/import/global_var.c
tests/import/invalid_arg.c
tests/import/invalid_array.c
tests/import/invalid_func.c
tests/import/invalid_type1.c
tests/import/invalid_type2.c
tests/import/invalid_type3.c
tests/import/no_import.c
tests/import/op_err.c
tests/import/static_string.c
tests/import/template_arg.c
tests/import/typedef.c
tests/import/union.c
tests/import/variadic.c

index 635ea3dae0a45102a79276593069613f0d26d3c4..2a939954651f72a14c8fdc7065d9680fb2590b90 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 MFUN(test_mfun){}
index e521b2ce7094a7c4d450477fec4948e936f46338..f6831cfee8b172a25b4acc6ce920ec707594c41e 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 MFUN(test_mfun){}
index 1dfd3cdba45312f9a6d310cdd219ce7e329153a2..922b571ba5cc14ad2a825127a5e56b9c11004b38 100644 (file)
@@ -7,6 +7,8 @@
 #include "instr.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 #include "func.h"
 
index f1ab7f5d5a515a21f5c4978c94b205906683cfff..09ac6c040cba3854cd689e84b2d790cda68f3684 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 static m_int o_map_key;
index 50aaada8807cb5609a1b1cf5b6267244dfb23654..526d7726a98adfbb35b04863cd1a1dd3f26d85e9 100644 (file)
@@ -7,9 +7,10 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 #include "gwi.h"
-#include "gwion.h"
 
 SFUN(coverage_int)     { *(m_uint*)RETURN    = 0; }
 SFUN(coverage_float)   { *(m_float*)RETURN   = 0; }
index 37fdfab5b41ab9520da480f57734eb649a31fb22..455a717f60a79d687e4f7d8b79ec7db5f87331e8 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(empty_union_test) {
index c50129bfbc7dd556a33a7d9aba5a8148b91cf8f0..0804c25df05951cbea837ce642131b56ff26efe6 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(enum_test) {
index 210001990c50e6785ac1c246728097d8499568dc..3dc33f6f8232d7945e66174608e9aa7e8c477930 100644 (file)
@@ -6,10 +6,11 @@
 #include "type.h"
 #include "instr.h"
 #include "object.h"
-#include "import.h"
 #include "instr.h"
 #include "vm.h"
 #include "gwion.h"
+#include "operator.h"
+#include "import.h"
 #include "gwi.h"
 
 GWION_IMPORT(extend_array_test) {
index ba27347540bead4afe16e95baa754aae6ae903fc..7fb83d5f3bf137c109263e25c77262b2f791f42a 100644 (file)
@@ -7,9 +7,10 @@
 #include "instr.h"
 #include "object.h"
 #include "instr.h"
-#include "import.h"
 #include "vm.h"
 #include "gwion.h"
+#include "operator.h"
+#include "import.h"
 #include "gwi.h"
 
 static CTOR(ev_ctor) { printf(" %p this to test ctor\n", (void*)o); }
index 02e27f914a188c418b9e2208242cd85ceb01c876..ff7b582b290c51cdf9616f6d6567d17cf718e089 100644 (file)
@@ -7,9 +7,10 @@
 #include "instr.h"
 #include "object.h"
 #include "instr.h"
-#include "import.h"
 #include "vm.h"
 #include "gwion.h"
+#include "operator.h"
+#include "import.h"
 #include "gwi.h"
 
 GWION_IMPORT(extend_pair_test) {
index 8bfcbc3959e95283a97c4aaaf5152915209a3de5..e6883673d19cf6fd0ba3051687a9b08622dbb18a 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "instr.h"
 #include "object.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 #include "instr.h"
 
index ba04afb815feb372b0ca7b4e712ff3ddc8a3f2bb..79d3834daffadbf02857972f0b4d2ec01d800341 100644 (file)
@@ -6,9 +6,10 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 #include "gwi.h"
-#include "gwion.h"
 
 
 GWION_IMPORT(global_var_test) {
index b8178300ebab9eac4784f66ee490c9ad2309f5c4..815b43b6c1214cac47b140c28bd000101e1a8bb0 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 static MFUN(test_mfun){}
index 348808689c3b29ec4d11e5244cd608f5548877c5..d705356d24a8904ce863db80828a56329782e5be 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 static MFUN(test_mfun){}
index 0eb8530b7948dd32079836689a2d581d1a396da0..66a116d2e15e236b008b65cf3e6872144e43c7da 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 static MFUN(test_mfun){}
index b9e72bde049b4ce53acf4be941d01a65cf5e40f2..b27e7179a9bccc75e15fa8e55bc946bb5df84ebe 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(invalid_type1_test) {
index 1dc5c8e252d58b2508ae46f7ca04b3210bb5356a..053440797b8e7cb3a77c8309d245dadaf681781c 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(invalid_type2_test) {
index 2a207d207aa1633f75228f79d617791bb664cd14..7d4152ef35a74f1dc5123012f4ef2723b2206224 100644 (file)
@@ -7,6 +7,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(invalid_type3_test) {
index 39ff84dced6af11b41afdf922dd0ada74f898e12..33e236b7b2ebc4baa7f253ea970ce79f3e7285a9 100644 (file)
@@ -6,4 +6,6 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
index c6b2b9875b6767abc256286e518f722f1bab14a1..1005ab86a2ffbe9c5071eb455a15e3a1e22930b8 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(op_err_test) {
index 879eb4513368200e9c820bbb717ae3496ca67f85..850906a7d78bdcf73c8475775520693cb1d8ec0c 100644 (file)
@@ -7,8 +7,9 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
-#include "import.h"
 #include "gwion.h"
+#include "operator.h"
+#include "import.h"
 #include "gwi.h"
 
 GWION_IMPORT(static_string_test) {
index e483910f8ccb4cca07aef0b2897db67b077ccee5..11d4826596e7f4ae40b04927e96b9d3b094a1e71 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 static MFUN(template_arg_fun) {}
index 4d85ad79103830e3f231f57ae27445190a64ccf1..82b9f838d8fda723227a4602a3fe90e589b9def3 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 static MFUN(test_func) { puts("test"); }
index c52165479790702ca1d4a2a1cb852de479037e5a..50fd48072532badfeec097c21d8f0ea18db845e4 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "object.h"
 #include "instr.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 
 GWION_IMPORT(union_test) {
index fa9b3cf4a6215e64b37bce4b7623a893a1d184ef..0f25c0f7a74738a4296df13971b720bae47bd214 100644 (file)
@@ -6,6 +6,8 @@
 #include "type.h"
 #include "instr.h"
 #include "object.h"
+#include "gwion.h"
+#include "operator.h"
 #include "import.h"
 #include "vararg.h"