From 9b28ddc129a3b116d2e7f9f9196ad346d61c0dbf Mon Sep 17 00:00:00 2001 From: Ben Pate Date: Sun, 13 Sep 2020 19:21:35 -0600 Subject: [PATCH] Import Test Cases These three test cases demonstrate SSE using a remote service. --- test/index.html | 9 ++++++ test/manual/sse-multichannel.html | 41 ++++++++++++++++++++++++++ test/manual/sse-settle.html | 49 +++++++++++++++++++++++++++++++ test/manual/sse.html | 43 +++++++++++++++++++++++++++ 4 files changed, 142 insertions(+) create mode 100644 test/manual/sse-multichannel.html create mode 100644 test/manual/sse-settle.html create mode 100644 test/manual/sse.html diff --git a/test/index.html b/test/index.html index a9e4d720..79e1f4a4 100644 --- a/test/index.html +++ b/test/index.html @@ -42,6 +42,15 @@
  • Scroll Test 2 - Event Handler
  • +
  • + SSE - Multiple Event Sources - Single Event Name +
  • +
  • + SSE - Single Event Source - Multiple Event Names +
  • +
  • + SSE - Settling +
  • Mocha Test Suite

    diff --git a/test/manual/sse-multichannel.html b/test/manual/sse-multichannel.html new file mode 100644 index 00000000..ba6835ff --- /dev/null +++ b/test/manual/sse-multichannel.html @@ -0,0 +1,41 @@ + + + + + + + + + +
    +

    Multiple Listeners. message only

    +
    Waiting for Posts in Event1 channel...
    +
    Waiting for Posts in Event2 channel...
    +
    Waiting for Posts in Event3 channel...
    +
    Waiting for Posts in Event4 channel...
    +
    + + \ No newline at end of file diff --git a/test/manual/sse-settle.html b/test/manual/sse-settle.html new file mode 100644 index 00000000..9ae12f64 --- /dev/null +++ b/test/manual/sse-settle.html @@ -0,0 +1,49 @@ + + + + + + + + + +
    +

    Settling Options

    +
    +
    Waiting for Comments...
    +
    Waiting for Comments...
    +
    Waiting for Comments...
    +
    Waiting for Comments...
    +
    Waiting for Comments...
    +
    +
    + + \ No newline at end of file diff --git a/test/manual/sse.html b/test/manual/sse.html new file mode 100644 index 00000000..08a28f93 --- /dev/null +++ b/test/manual/sse.html @@ -0,0 +1,43 @@ + + + + + + + + + +
    +

    Multiple Listeners. message only

    +
    Waiting for Posts...
    +
    Waiting for Comments...
    +
    Waiting for Albums...
    +
    Waiting for ToDos...
    +
    Waiting for Users...
    +
    + + \ No newline at end of file