neoneo-go/pkg/compiler
Roman Khimov 094c8474b7 compiler: move tests from vm/tests
These don't belong to VM as they compile some Go code and run it in a VM. One
may call them integration tests, but I prefer to attribute them to
compiler. Moving these tests into pkg/compiler also allows to properly count
the compiler coverage they add:

-ok     github.com/CityOfZion/neo-go/pkg/compiler       (cached)        coverage: 69.7% of statements
+ok     github.com/CityOfZion/neo-go/pkg/compiler       (cached)        coverage: 84.2% of statements

This change also fixes `contant` typo and removes fake packages exposed to the
public by moving foo/bar/foobar into the testdata directory.
2019-12-23 17:05:34 +03:00
..
testdata compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
analysis.go compiler: move it up from vm 2019-12-03 18:23:46 +03:00
assign_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
binary_expr_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
byte_conversion_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
codegen.go Merge pull request #567 from nspcc-dev/feature/codegen_add_mod 2019-12-19 15:32:18 +03:00
codegen_test.go compiler: add test for codegen 2019-12-19 15:23:14 +03:00
compiler.go compiler: move it up from vm 2019-12-03 18:23:46 +03:00
compiler_test.go compiler: move it up from vm 2019-12-03 18:23:46 +03:00
constant_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
emit.go *: use more efficient WriteBytes where appropriate 2019-12-06 18:22:21 +03:00
for_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
func_scope.go compiler: move it up from vm 2019-12-03 18:23:46 +03:00
function_call_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
if_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
import_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
numeric_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
slice_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
struct_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
syscall.go compiler: move it up from vm 2019-12-03 18:23:46 +03:00
syscall_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
type_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
util_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
vm_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00