./ct_report/coverage/mongoose_graphql_admin_mutation.COVER.html

1 -module(mongoose_graphql_admin_mutation).
2 -behaviour(mongoose_graphql).
3
4 -export([execute/4]).
5
6 -ignore_xref([execute/4]).
7
8 execute(_Ctx, _Obj, <<"account">>, _Args) ->
9 51 {ok, account};
10 execute(_Ctx, _Obj, <<"domain">>, _Args) ->
11
:-(
{ok, admin};
12 execute(_Ctx, _Obj, <<"httpUpload">>, _Args) ->
13 16 {ok, httpUpload};
14 execute(_Ctx, _Obj, <<"inbox">>, _Args) ->
15
:-(
{ok, inbox};
16 execute(_Ctx, _Obj, <<"last">>, _Args) ->
17 50 {ok, last};
18 execute(_Ctx, _Obj, <<"muc">>, _Args) ->
19 90 {ok, muc};
20 execute(_Ctx, _Obj, <<"muc_light">>, _Args) ->
21 90 {ok, muc_light};
22 execute(_Ctx, _Obj, <<"offline">>, _Args) ->
23 24 {ok, offline};
24 execute(_Ctx, _Obj, <<"private">>, _Args) ->
25 6 {ok, private};
26 execute(_Ctx, _Obj, <<"roster">>, _Args) ->
27 66 {ok, roster};
28 execute(_Ctx, _Obj, <<"session">>, _Args) ->
29 22 {ok, session};
30 execute(_Ctx, _Obj, <<"stanza">>, _Args) ->
31 12 {ok, stanza};
32 execute(_Ctx, _Obj, <<"vcard">>, _Args) ->
33 10 {ok, vcard};
34 execute(_Ctx, _Obj, <<"token">>, _Args) ->
35
:-(
{ok, token};
36 execute(_Ctx, _Obj, <<"server">>, _Args) ->
37 39 {ok, server};
38 execute(_Ctx, _Obj, <<"mnesia">>, _Args) ->
39 50 {ok, mnesia}.
Line Hits Source