From 14f74118097dbbec4bd7417adce927e2b34ee658 Mon Sep 17 00:00:00 2001 From: Matt Schwartz Date: Thu, 21 Sep 2017 18:06:15 -0700 Subject: [PATCH] added docs --- docs/assets/js/search.js | 2 +- ...ries_chaiexpectation_.chaiexpectation.html | 24 +- docs/classes/_bottester_.bottester.html | 166 ++--- .../_expectedmessage_.expectedmessage.html | 22 +- .../_messageservice_.messageservice.html | 22 +- ...comparator_.outgoingmessagecomparator.html | 26 +- .../_sessionservice_.sessionservice.html | 28 +- .../_testconnector_.testconnector.html | 569 ++++++++++++++++++ ..._expectedmessage_.expectedmessagetype.html | 14 +- docs/index.html | 12 +- ...nlibraries_iexpectation_.iexpectation.html | 18 +- docs/interfaces/_config_.iconfig.html | 12 +- .../_assertionlibraries_chaiexpectation_.html | 8 +- .../_assertionlibraries_iexpectation_.html | 10 +- docs/modules/_bottester_.html | 28 +- docs/modules/_config_.html | 12 +- docs/modules/_expectedmessage_.html | 12 +- docs/modules/_index_.html | 191 ++++++ docs/modules/_messageservice_.html | 10 +- docs/modules/_outgoingmessagecomparator_.html | 8 +- docs/modules/_sessionservice_.html | 8 +- docs/modules/_testconnector_.html | 207 +++++++ package.json | 2 +- 23 files changed, 1244 insertions(+), 167 deletions(-) create mode 100644 docs/classes/_testconnector_.testconnector.html create mode 100644 docs/modules/_index_.html create mode 100644 docs/modules/_testconnector_.html diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index d62f371..636b530 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"1":"External module","128":"Class","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":65536,"name":"__type","url":"modules/_messageservice_.html#bottousermessagecheckerfunction.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"MessageService\".botToUserMessageCheckerFunction"},{"id":1,"kind":65536,"name":"__type","url":"classes/_sessionservice_.sessionservice.html#currentsessionloadresolver.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"SessionService\".SessionService.currentSessionLoadResolver"},{"id":2,"kind":1,"name":"\"BotTester\"","url":"modules/_bottester_.html","classes":"tsd-kind-external-module"},{"id":3,"kind":128,"name":"BotTester","url":"classes/_bottester_.bottester.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"BotTester\""},{"id":4,"kind":1024,"name":"bot","url":"classes/_bottester_.bottester.html#bot","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":5,"kind":1024,"name":"defaultAddress","url":"classes/_bottester_.bottester.html#defaultaddress","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":6,"kind":1024,"name":"sessionLoader","url":"classes/_bottester_.bottester.html#sessionloader","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":7,"kind":1024,"name":"messageService","url":"classes/_bottester_.bottester.html#messageservice","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":8,"kind":1024,"name":"testSteps","url":"classes/_bottester_.bottester.html#teststeps","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":9,"kind":512,"name":"constructor","url":"classes/_bottester_.bottester.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":10,"kind":2048,"name":"runTest","url":"classes/_bottester_.bottester.html#runtest","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":11,"kind":2048,"name":"checkSession","url":"classes/_bottester_.bottester.html#checksession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":12,"kind":2048,"name":"sendMessageToBot","url":"classes/_bottester_.bottester.html#sendmessagetobot","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":13,"kind":2048,"name":"sendMessageToBotIgnoringResponseOrder","url":"classes/_bottester_.bottester.html#sendmessagetobotignoringresponseorder","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":14,"kind":2048,"name":"sendMessageToBotAndExpectSaveWithNoResponse","url":"classes/_bottester_.bottester.html#sendmessagetobotandexpectsavewithnoresponse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":15,"kind":2048,"name":"then","url":"classes/_bottester_.bottester.html#then","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":16,"kind":2048,"name":"wait","url":"classes/_bottester_.bottester.html#wait","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"BotTester\".BotTester"},{"id":17,"kind":2048,"name":"convertToIMessage","url":"classes/_bottester_.bottester.html#converttoimessage","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":18,"kind":2048,"name":"sendMessageToBotInternal","url":"classes/_bottester_.bottester.html#sendmessagetobotinternal","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"BotTester\".BotTester"},{"id":19,"kind":4194304,"name":"checkSessionFunction","url":"modules/_bottester_.html#checksessionfunction","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"BotTester\""},{"id":20,"kind":65536,"name":"__type","url":"modules/_bottester_.html#checksessionfunction.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"BotTester\".checkSessionFunction"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"1":"External module","65536":"Type literal"},"rows":[{"id":0,"kind":65536,"name":"__type","url":"classes/_testconnector_.testconnector.html#oneventhandler.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"TestConnector\".TestConnector.onEventHandler"},{"id":1,"kind":65536,"name":"__type","url":"classes/_testconnector_.testconnector.html#oninvokehandler.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"TestConnector\".TestConnector.onInvokeHandler"},{"id":2,"kind":65536,"name":"__type","url":"modules/_messageservice_.html#bottousermessagecheckerfunction.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"MessageService\".botToUserMessageCheckerFunction"},{"id":3,"kind":65536,"name":"__type","url":"classes/_sessionservice_.sessionservice.html#currentsessionloadresolver.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"SessionService\".SessionService.currentSessionLoadResolver"},{"id":4,"kind":65536,"name":"__type","url":"modules/_bottester_.html#checksessionfunction.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"BotTester\".checkSessionFunction"},{"id":5,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-external-module"}]}; \ No newline at end of file diff --git a/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html b/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html index 1a4ef7a..1a7653f 100644 --- a/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html +++ b/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html @@ -130,7 +130,7 @@

constructor

  • Parameters

    @@ -155,7 +155,7 @@

    Private message

    message: string
    @@ -165,7 +165,7 @@

    Private subject

    subject: __type
    @@ -183,7 +183,7 @@

    notToBeEmpty

    Returns void

    @@ -201,7 +201,7 @@

    toBeTrue

    Returns void

    @@ -219,7 +219,7 @@

    toDeeplyInclude

    @@ -252,7 +252,7 @@

    toEqual

    Parameters

    @@ -276,7 +276,7 @@

    toInclude

    Parameters

    @@ -301,11 +301,14 @@

    Returns voidInternals

  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -318,6 +321,9 @@

    Returns void "SessionService" +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/classes/_bottester_.bottester.html b/docs/classes/_bottester_.bottester.html index e67dfbb..845aaaf 100644 --- a/docs/classes/_bottester_.bottester.html +++ b/docs/classes/_bottester_.bottester.html @@ -86,52 +86,52 @@

    Hierarchy

    Index

    -
    +

    Constructors

    -
    +

    constructor

    -
    -
    +

    Properties

    -
    +

    Private bot

    bot: UniversalBot
    -
    +

    Private defaultAddress

    defaultAddress: IAddress
    -
    +

    Private messageService

    messageService: MessageService
    -
    +

    Private sessionLoader

    sessionLoader: SessionService
    -
    +

    Private testSteps

    testSteps: TestStep[]
    -
    +

    Methods

    -
    +

    checkSession

    -
    -
    +

    Private convertToIMessage

    -
      +
      • convertToIMessage(msg: string | IMessage): IMessage
    -
    +

    runTest

    -
    -
    +

    sendMessageToBot

    -
      +
      • sendMessageToBot(msg: IMessage | string, ...expectedResponses: (string | RegExp | IMessage | (string | RegExp | IMessage)[])[]): BotTester
    -
    +

    sendMessageToBotAndExpectSaveWithNoResponse

    -
    -
    +

    sendMessageToBotIgnoringResponseOrder

    -
      +
      • sendMessageToBotIgnoringResponseOrder(msg: IMessage | string, ...expectedResponses: (string | RegExp | IMessage | (string | RegExp | IMessage)[])[]): BotTester
    -
    +

    Private sendMessageToBotInternal

    -
      +
      • sendMessageToBotInternal(message: IMessage, expectedResponses: (string | RegExp | IMessage | (string | RegExp | IMessage)[])[], ignoreOrder?: boolean): BotTester
    -
    +

    then

    -
    -
    +

    wait

    -
    @@ -159,7 +159,7 @@

    Private botToUserMess
    botToUserMessageChecker: botToUserMessageCheckerFunction

    @@ -169,7 +169,7 @@

    Private config

    config: IConfig
    @@ -186,7 +186,7 @@

    Private applyOutgoing
  • @@ -208,7 +208,7 @@

    sendMessageToBot

  • @@ -248,7 +248,7 @@

    Private setBotToUser<
  • @@ -286,11 +286,14 @@

    Returns PromiseInternals

  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -303,6 +306,9 @@

    Returns Promise "SessionService"

  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html b/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html index 8afcf1c..31439d2 100644 --- a/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html +++ b/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html @@ -125,7 +125,7 @@

    constructor

  • Parameters

    @@ -150,7 +150,7 @@

    Private expectedMessagesexpectedMessages: ExpectedMessage[]

  • @@ -160,7 +160,7 @@

    Private ignoreOrder

    ignoreOrder: boolean
    @@ -177,7 +177,7 @@

    compareOutgoingMessageToExpectedResponses

  • @@ -205,7 +205,7 @@

    Private compareOutgoing

    Parameters

    @@ -228,7 +228,7 @@

    Private compareOutgoing

    Parameters

    @@ -251,7 +251,7 @@

    Private dequeueNextEx
  • @@ -273,7 +273,7 @@

    expectsAdditionalMessages

  • @@ -295,7 +295,7 @@

    getTimeoutErrorMessage

  • Returns string

    @@ -314,11 +314,14 @@

    Returns stringInternals

  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -331,6 +334,9 @@

    Returns string "SessionService"

  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/classes/_sessionservice_.sessionservice.html b/docs/classes/_sessionservice_.sessionservice.html index 8af6dc2..5149a7f 100644 --- a/docs/classes/_sessionservice_.sessionservice.html +++ b/docs/classes/_sessionservice_.sessionservice.html @@ -126,7 +126,7 @@

    constructor

  • Parameters

    @@ -148,7 +148,7 @@

    Private bot

    bot: UniversalBot
  • @@ -158,7 +158,7 @@

    Private currentSessioncurrentSessionLoadResolver: function
    @@ -189,7 +189,7 @@

    Private savePerformed

    savePerformed: Promise<any>
    @@ -214,7 +214,7 @@

    Private applySessionL
  • @@ -238,7 +238,7 @@

    Private applySessionS
  • @@ -263,7 +263,7 @@

    Private createSession
  • @@ -296,7 +296,7 @@

    getInternalSaveMessage

  • @@ -329,7 +329,7 @@

    getSession

  • @@ -360,7 +360,7 @@

    Private loadSession

  • @@ -393,11 +393,14 @@

    Returns voidInternals

  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -410,6 +413,9 @@

    Returns void "SessionService"

  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/classes/_testconnector_.testconnector.html b/docs/classes/_testconnector_.testconnector.html new file mode 100644 index 0000000..5be42a4 --- /dev/null +++ b/docs/classes/_testconnector_.testconnector.html @@ -0,0 +1,569 @@ + + + + + + TestConnector | bot-tester + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class TestConnector

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + TestConnector +
    • +
    +
    +
    +

    Implements

    +
      +
    • IConnector
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    Private newConvoCount

    +
    newConvoCount: number
    + +
    +
    + +

    Private onEventHandler

    +
    onEventHandler: function
    + +
    +

    Type declaration

    +
      +
    • +
        +
      • (events: IEvent[], cb?: function): void
      • +
      +
        +
      • +

        Parameters

        +
          +
        • +
          events: IEvent[]
          +
        • +
        • +
          Optional cb: function
          +
            +
          • +
              +
            • (err: Error): void
            • +
            +
              +
            • +

              Parameters

              +
                +
              • +
                err: Error
                +
              • +
              +

              Returns void

              +
            • +
            +
          • +
          +
        • +
        +

        Returns void

        +
      • +
      +
    • +
    +
    +
    +
    + +

    Private onInvokeHandler

    +
    onInvokeHandler: function
    + +
    +

    Type declaration

    +
      +
    • +
        +
      • (event: IEvent, cb?: function): void
      • +
      +
        +
      • +

        Parameters

        +
          +
        • +
          event: IEvent
          +
        • +
        • +
          Optional cb: function
          +
            +
          • +
              +
            • (err: Error, body: __type, status?: number): void
            • +
            +
              +
            • +

              Parameters

              +
                +
              • +
                err: Error
                +
              • +
              • +
                body: __type
                +
              • +
              • +
                Optional status: number
                +
              • +
              +

              Returns void

              +
            • +
            +
          • +
          +
        • +
        +

        Returns void

        +
      • +
      +
    • +
    +
    +
    +
    +
    +

    Methods

    +
    + +

    onEvent

    +
      +
    • onEvent(handler: function): void
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        handler: function
        +
          +
        • +
            +
          • (events: IEvent[], cb?: function): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              events: IEvent[]
              +
            • +
            • +
              Optional cb: function
              +
                +
              • +
                  +
                • (err: Error): void
                • +
                +
                  +
                • +

                  Parameters

                  +
                    +
                  • +
                    err: Error
                    +
                  • +
                  +

                  Returns void

                  +
                • +
                +
              • +
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns void

      +
    • +
    +
    +
    + +

    send

    +
      +
    • send(messages: IMessage[], done: function): void
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        messages: IMessage[]
        +
      • +
      • +
        done: function
        +
          +
        • +
            +
          • (err: Error, addresses?: IAddress[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              err: Error
              +
            • +
            • +
              Optional addresses: IAddress[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns void

      +
    • +
    +
    +
    + +

    startConversation

    +
      +
    • startConversation(address: IAddress, cb: function): void
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        address: IAddress
        +
      • +
      • +
        cb: function
        +
          +
        • +
            +
          • (err: Error, address?: IAddress): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              err: Error
              +
            • +
            • +
              Optional address: IAddress
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns void

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    + + + + + \ No newline at end of file diff --git a/docs/enums/_expectedmessage_.expectedmessagetype.html b/docs/enums/_expectedmessage_.expectedmessagetype.html index 0f3f21e..134bfaf 100644 --- a/docs/enums/_expectedmessage_.expectedmessagetype.html +++ b/docs/enums/_expectedmessage_.expectedmessagetype.html @@ -90,7 +90,7 @@

    IMessage

    IMessage:
  • @@ -100,7 +100,7 @@

    Regex

    Regex:
    @@ -110,7 +110,7 @@

    String

    String:
    @@ -126,11 +126,14 @@

    String

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -143,6 +146,9 @@

    String

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/index.html b/docs/index.html index acbc86d..56033ac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -68,14 +68,16 @@

    Index

    External modules

    @@ -92,11 +94,14 @@

    External modules

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -109,6 +114,9 @@

    External modules

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html b/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html index 8279f57..2d366bd 100644 --- a/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html +++ b/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html @@ -117,7 +117,7 @@

    notToBeEmpty

  • Returns void

    @@ -134,7 +134,7 @@

    toBeTrue

  • Returns void

    @@ -151,7 +151,7 @@

    toDeeplyInclude

  • Parameters

    @@ -174,7 +174,7 @@

    toEqual

  • Parameters

    @@ -197,7 +197,7 @@

    toInclude

  • Parameters

    @@ -222,11 +222,14 @@

    Returns voidInternals

  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -239,6 +242,9 @@

    Returns void "SessionService" +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/interfaces/_config_.iconfig.html b/docs/interfaces/_config_.iconfig.html index 387edca..e42aa8d 100644 --- a/docs/interfaces/_config_.iconfig.html +++ b/docs/interfaces/_config_.iconfig.html @@ -97,7 +97,7 @@

    Optional defaultAddressdefaultAddress: IAddress
    @@ -112,7 +112,7 @@

    Optional timeout

    timeout: number
    @@ -133,11 +133,14 @@

    Optional timeout

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -150,6 +153,9 @@

    Optional timeout

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_assertionlibraries_chaiexpectation_.html b/docs/modules/_assertionlibraries_chaiexpectation_.html index 6dadd81..ea59df7 100644 --- a/docs/modules/_assertionlibraries_chaiexpectation_.html +++ b/docs/modules/_assertionlibraries_chaiexpectation_.html @@ -88,11 +88,14 @@

    Classes

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -105,6 +108,9 @@

    Classes

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_assertionlibraries_iexpectation_.html b/docs/modules/_assertionlibraries_iexpectation_.html index de64d2a..b4e2d61 100644 --- a/docs/modules/_assertionlibraries_iexpectation_.html +++ b/docs/modules/_assertionlibraries_iexpectation_.html @@ -95,7 +95,7 @@

    expect

  • @@ -134,11 +134,14 @@

    Returns - "BotTester" + "index"

  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -151,6 +154,9 @@

    Returns "SessionService" +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_bottester_.html b/docs/modules/_bottester_.html index 36cbda9..6a2660c 100644 --- a/docs/modules/_bottester_.html +++ b/docs/modules/_bottester_.html @@ -68,30 +68,30 @@

    External module "BotTester"

    Index

    -
    +

    Classes

    -
    +

    Type aliases

    -
    +

    Type aliases

    -
    +

    checkSessionFunction

    checkSessionFunction: function
    @@ -127,12 +127,15 @@

    Returns void Internals -
  • - "BotTester" +
  • + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -145,6 +148,9 @@

    Returns void "SessionService" +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • @@ -158,10 +164,10 @@

    Returns void

    @@ -123,11 +123,14 @@

    config

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -140,6 +143,9 @@

    config

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_expectedmessage_.html b/docs/modules/_expectedmessage_.html index 64d094d..074364a 100644 --- a/docs/modules/_expectedmessage_.html +++ b/docs/modules/_expectedmessage_.html @@ -98,7 +98,7 @@

    PossibleExpectedMessageCollections

    PossibleExpectedMessageCollections: PossibleExpectedMessageType[]
    @@ -114,7 +114,7 @@

    PossibleExpectedMessageType

    PossibleExpectedMessageType: string | IMessage | RegExp
    @@ -135,11 +135,14 @@

    PossibleExpectedMessageType

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -152,6 +155,9 @@

    PossibleExpectedMessageType

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_index_.html b/docs/modules/_index_.html new file mode 100644 index 0000000..30ffec0 --- /dev/null +++ b/docs/modules/_index_.html @@ -0,0 +1,191 @@ + + + + + + "index" | bot-tester + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    External module "index"

    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    + + + + + \ No newline at end of file diff --git a/docs/modules/_messageservice_.html b/docs/modules/_messageservice_.html index 7e78ccf..e9a863d 100644 --- a/docs/modules/_messageservice_.html +++ b/docs/modules/_messageservice_.html @@ -91,7 +91,7 @@

    botToUserMessageCheckerFunction

    botToUserMessageCheckerFunction: function
    @@ -128,11 +128,14 @@

    Returns voidInternals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -145,6 +148,9 @@

    Returns void "SessionService" +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_outgoingmessagecomparator_.html b/docs/modules/_outgoingmessagecomparator_.html index 33d8646..efa7651 100644 --- a/docs/modules/_outgoingmessagecomparator_.html +++ b/docs/modules/_outgoingmessagecomparator_.html @@ -88,11 +88,14 @@

    Classes

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -105,6 +108,9 @@

    Classes

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_sessionservice_.html b/docs/modules/_sessionservice_.html index ca6f6e8..4d52cbf 100644 --- a/docs/modules/_sessionservice_.html +++ b/docs/modules/_sessionservice_.html @@ -88,11 +88,14 @@

    Classes

    Internals
  • - "BotTester" + "index"
  • Externals
  • +
  • + "BotTester" +
  • "ExpectedMessage"
  • @@ -105,6 +108,9 @@

    Classes

  • "SessionService"
  • +
  • + "TestConnector" +
  • "assertionLibraries/ChaiExpectation"
  • diff --git a/docs/modules/_testconnector_.html b/docs/modules/_testconnector_.html new file mode 100644 index 0000000..a6c961a --- /dev/null +++ b/docs/modules/_testconnector_.html @@ -0,0 +1,207 @@ + + + + + + "TestConnector" | bot-tester + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    External module "TestConnector"

    +
    +
    +
    +
    +
    +
    +
    +

    Index

    +
    +
    +
    +

    Classes

    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 181d6c3..a6f5f47 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bot-tester", - "version": "3.0.0", + "version": "3.0.1", "description": "Easily test bots made with the bot builder framework", "main": "dist/index.js", "types": "dist/index.d.ts",