Skip to content

Commit

Permalink
Rename module types of GData binding
Browse files Browse the repository at this point in the history
  • Loading branch information
astrada committed Dec 7, 2011
1 parent f363b96 commit f27da8f
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion src/gdata/gdataACL.mli
Expand Up @@ -48,7 +48,7 @@ val parse_acl_entry : GdataCore.xml_data_model -> Entry.t

val acl_entry_to_data_model : Entry.t -> GdataCore.xml_data_model

module Feed : GdataAtom.FEED
module Feed : GdataAtom.Feed
with type entry_t = Entry.t
and type link_t = GdataAtom.Link.t

Expand Down
12 changes: 6 additions & 6 deletions src/gdata/gdataAtom.ml
@@ -1,6 +1,6 @@
open GapiUtils.Infix

module type ATOMDATA =
module type AtomData =
sig
type t

Expand Down Expand Up @@ -178,7 +178,7 @@ let element_to_data_model get_prefix render_element element =
(* END Rendering *)

(* Atom complex types *)
module type PERSONCONSTRUCT =
module type PersonConstruct =
sig
type t = {
lang : string;
Expand Down Expand Up @@ -336,7 +336,7 @@ struct

end

module type TEXTCONSTRUCT =
module type TextConstruct =
sig
type t = {
src : string;
Expand Down Expand Up @@ -468,7 +468,7 @@ struct

end

module type FEED =
module type Feed =
sig
type entry_t

Expand Down Expand Up @@ -507,8 +507,8 @@ sig
end

module MakeFeed
(Entry : ATOMDATA)
(Link : ATOMDATA) =
(Entry : AtomData)
(Link : AtomData) =
struct
type entry_t = Entry.t

Expand Down
32 changes: 16 additions & 16 deletions src/gdata/gdataAtom.mli
@@ -1,4 +1,4 @@
module type ATOMDATA =
module type AtomData =
sig
type t

Expand Down Expand Up @@ -146,7 +146,7 @@ val element_to_data_model :
'a ->
GdataCore.xml_data_model

module type PERSONCONSTRUCT =
module type PersonConstruct =
sig
type t = {
lang : string;
Expand All @@ -165,11 +165,11 @@ end

module MakePersonConstruct :
functor (M : sig val element_name : string end) ->
PERSONCONSTRUCT
PersonConstruct

module Author : PERSONCONSTRUCT
module Author : PersonConstruct

module Contributor : PERSONCONSTRUCT
module Contributor : PersonConstruct

module Category :
sig
Expand Down Expand Up @@ -204,7 +204,7 @@ sig

end

module type TEXTCONSTRUCT =
module type TextConstruct =
sig
type t = {
src : string;
Expand All @@ -222,17 +222,17 @@ sig
end

module MakeTextConstruct :
functor (M : sig val element_name : string end) -> TEXTCONSTRUCT
functor (M : sig val element_name : string end) -> TextConstruct

module Content : TEXTCONSTRUCT
module Content : TextConstruct

module Title : TEXTCONSTRUCT
module Title : TextConstruct

module Subtitle : TEXTCONSTRUCT
module Subtitle : TextConstruct

module Summary : TEXTCONSTRUCT
module Summary : TextConstruct

module Rights : TEXTCONSTRUCT
module Rights : TextConstruct

module Link :
sig
Expand All @@ -252,7 +252,7 @@ sig

end

module type FEED =
module type Feed =
sig
type entry_t

Expand Down Expand Up @@ -291,9 +291,9 @@ sig
end

module MakeFeed :
functor (Entry : ATOMDATA) ->
functor (Link : ATOMDATA) ->
FEED
functor (Entry : AtomData) ->
functor (Link : AtomData) ->
Feed
with type entry_t = Entry.t
and type link_t = Link.t

Expand Down
6 changes: 3 additions & 3 deletions src/gdata/gdataCalendar.mli
Expand Up @@ -169,7 +169,7 @@ sig
end

module Where :
GdataAtom.ATOMDATA with type t = string
GdataAtom.AtomData with type t = string

module Link :
sig
Expand Down Expand Up @@ -226,12 +226,12 @@ sig
end

module Feed :
GdataAtom.FEED
GdataAtom.Feed
with type entry_t = Entry.t
and type link_t = Link.t

module Comments :
GdataComments.COMMENTS
GdataComments.Comments
with type link_t = Link.t

val parse_calendar_entry :
Expand Down
2 changes: 1 addition & 1 deletion src/gdata/gdataCalendarEvent.mli
Expand Up @@ -101,7 +101,7 @@ sig
end

module Feed :
GdataAtom.FEED
GdataAtom.Feed
with type entry_t = Entry.t
and type link_t = GdataCalendar.Link.t

Expand Down
6 changes: 3 additions & 3 deletions src/gdata/gdataComments.ml
@@ -1,6 +1,6 @@
open GapiUtils.Infix

module type COMMENTS =
module type Comments =
sig
type link_t

Expand Down Expand Up @@ -31,7 +31,7 @@ sig

module Feed :
sig
include GdataAtom.FEED
include GdataAtom.Feed
with type entry_t = Entry.t
and type link_t = link_t

Expand Down Expand Up @@ -66,7 +66,7 @@ sig

end

module Make(Link : GdataAtom.ATOMDATA) =
module Make(Link : GdataAtom.AtomData) =
struct
type link_t = Link.t

Expand Down
8 changes: 4 additions & 4 deletions src/gdata/gdataComments.mli
@@ -1,4 +1,4 @@
module type COMMENTS =
module type Comments =
sig
type link_t

Expand Down Expand Up @@ -28,7 +28,7 @@ sig
end

module Feed :
GdataAtom.FEED
GdataAtom.Feed
with type entry_t = Entry.t
and type link_t = link_t

Expand Down Expand Up @@ -62,7 +62,7 @@ sig
end

module Make :
functor (Link : GdataAtom.ATOMDATA) ->
COMMENTS
functor (Link : GdataAtom.AtomData) ->
Comments
with type link_t = Link.t

4 changes: 2 additions & 2 deletions src/test/testSuite.ml
Expand Up @@ -2,12 +2,12 @@ open OUnit

(* Collect the tests of different modules into one test suite *)
let suite = "Google API OCaml client test suite" >:::
[TestCalendarModel.suite;
[(*TestCalendarModel.suite;
TestDate.suite;
TestAuth.suite;
TestCalendarService.suite;
TestMonadic.suite;
TestCalendarServiceV3.suite;
TestCalendarServiceV3.suite;*)
TestCalendarModelV3.suite;
]

Expand Down

0 comments on commit f27da8f

Please sign in to comment.