mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-07 21:18:44 +00:00
75 lines
2.4 KiB
Forth
75 lines
2.4 KiB
Forth
//------------------------------------------------------------------------------
|
|
// This code was generated by myriad.
|
|
// Changes to this file will be lost when the code is regenerated.
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace SomeNamespace
|
|
|
|
/// Mock record type for an interface
|
|
type internal PublicTypeMock =
|
|
{
|
|
Mem1 : string * int -> string list
|
|
Mem2 : string -> int
|
|
}
|
|
|
|
static member Empty : PublicTypeMock =
|
|
{
|
|
Mem1 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
Mem2 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
}
|
|
|
|
interface IPublicType with
|
|
member this.Mem1 (arg0, arg1) = this.Mem1 (arg0, arg1)
|
|
member this.Mem2 (arg0) = this.Mem2 (arg0)
|
|
namespace SomeNamespace
|
|
|
|
/// Mock record type for an interface
|
|
type internal InternalTypeMock =
|
|
{
|
|
Mem1 : string * int -> unit
|
|
Mem2 : string -> int
|
|
}
|
|
|
|
static member Empty : InternalTypeMock =
|
|
{
|
|
Mem1 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
Mem2 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
}
|
|
|
|
interface InternalType with
|
|
member this.Mem1 (arg0, arg1) = this.Mem1 (arg0, arg1)
|
|
member this.Mem2 (arg0) = this.Mem2 (arg0)
|
|
namespace SomeNamespace
|
|
|
|
/// Mock record type for an interface
|
|
type private PrivateTypeMock =
|
|
{
|
|
Mem1 : string * int -> unit
|
|
Mem2 : string -> int
|
|
}
|
|
|
|
static member Empty : PrivateTypeMock =
|
|
{
|
|
Mem1 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
Mem2 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
}
|
|
|
|
interface PrivateType with
|
|
member this.Mem1 (arg0, arg1) = this.Mem1 (arg0, arg1)
|
|
member this.Mem2 (arg0) = this.Mem2 (arg0)
|
|
namespace SomeNamespace
|
|
|
|
/// Mock record type for an interface
|
|
type internal VeryPublicTypeMock<'a, 'b> =
|
|
{
|
|
Mem1 : 'a -> 'b
|
|
}
|
|
|
|
static member Empty<'a, 'b> () : VeryPublicTypeMock<'a, 'b> =
|
|
{
|
|
Mem1 = (fun x -> raise (System.NotImplementedException "Unimplemented mock function"))
|
|
}
|
|
|
|
interface VeryPublicType<'a, 'b> with
|
|
member this.Mem1 (arg0) = this.Mem1 (arg0)
|