[geany/geany] 9721fa: Add (and fix) ctags unit tests for Erlang.

Beng Tan git-noreply at xxxxx
Sun Mar 15 07:55:45 UTC 2015


Branch:      refs/heads/master
Author:      Beng Tan <bengtan at users.noreply.github.com>
Committer:   Beng Tan <bengtan at users.noreply.github.com>
Date:        Sun, 15 Mar 2015 07:55:45 UTC
Commit:      9721faff62533c98e920e6e10bc87ab05255ef49
             https://github.com/geany/geany/commit/9721faff62533c98e920e6e10bc87ab05255ef49

Log Message:
-----------
Add (and fix) ctags unit tests for Erlang.


Modified Paths:
--------------
    tests/ctags/Makefile.am
    tests/ctags/maze.erl.tags
    tests/ctags/test.erl
    tests/ctags/test.erl.tags

Modified: tests/ctags/Makefile.am
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -268,6 +268,7 @@ test_sources = \
 	strings.rb						\
 	structure.f						\
 	tabindent.py					\
+	test.erl						\
 	test.go							\
 	test.py							\
 	test.vhd						\


Modified: tests/ctags/maze.erl.tags
15 lines changed, 10 insertions(+), 5 deletions(-)
===================================================================
@@ -1,6 +1,11 @@
 # format=tagmanager
-Acc�16384�0�a
-seed�16�()�0�using random
-seed�1024�(S,M,H)�0�random
-tot_print�16�(Tot)�0�
-uniform�16384�0�pick pick
+build�16�maze�0
+generate�16�maze�0
+pick�16�maze�0
+scramble�16�maze�0
+seed�16�maze�0
+tot_get�16�maze�0
+tot_new�16�maze�0
+tot_print�16�maze�0
+tot_print_tuple�16�maze�0
+tot_put�16�maze�0


Modified: tests/ctags/test.erl
16 lines changed, 16 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,16 @@
+-module(test).
+
+-export([function1/0, function1/2]).
+
+-type type1() :: binary().
+
+-record(record1, {name :: list(), value :: list()}).
+
+-define(DEFINE_1, function1()).
+-define(DEFINE_2(A, B), function2(A, B)).
+
+function1() ->
+    ok.
+
+function1(A, B) ->
+    A + B.


Modified: tests/ctags/test.erl.tags
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,4 @@
+# format=tagmanager
+DEFINE_1�65536�0
+DEFINE_2�65536�0
+function1�16�test�0



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list