edoc documentation added

This commit is contained in:
alisdair sullivan 2010-08-19 23:30:22 -07:00
parent c098b06e88
commit 6ff74e6d59
12 changed files with 445 additions and 16 deletions

View file

@ -21,26 +21,31 @@
%% THE SOFTWARE.
%% @hidden hide this module from edoc, exported functions are internal to jsx
%% and may be altered or removed without notice
-module(jsx_test).
-author("alisdairsullivan@yahoo.ca").
-ifndef(test).
-export([test/0]).
-endif.
-ifdef(test).
-include_lib("eunit/include/eunit.hrl").
-endif.
%% if not compiled with test support
-ifndef(test).
test() -> erlang:error(notest).
-else.
jsx_decoder_test_() ->
jsx_decoder_gen(load_tests(?eunit_test_path)).