Skip to content

Commit 689fe90

Browse files
committed
Cleanup
1 parent cad2a2b commit 689fe90

File tree

4 files changed

+4
-120
lines changed

4 files changed

+4
-120
lines changed

live-event-app/README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,20 @@ The purpose of this application is to simulate possible use cases that require i
1717
brew install npm
1818
```
1919

20-
1. Go to the `tomato` directory and execute the `npm install` command in the Terminal application
20+
1. In the Terminal application, go to the `tomato` directory and execute `npm install`
2121

22-
2. Run the mock server by executing `npx tomato`
22+
2. Run the mock server by executing `npx tomato` in the `tomato` directory
2323

24-
3. See the [list of contracts](#contracts) below and their purposes
24+
3. See the [contracts list](https://github.com/pubnub/chat-specifications/tree/master/Contracts) with their names and purposes
2525

26-
4. Load a contract in a separate Terminal window (from the same location) as follows (where `###` is a contract name you'd like to use):
26+
4. Download them locally and load the given contract. The `###` placeholder is a contract name you'd like to use:
2727

2828
```
2929
curl -v 'http://localhost:8090/init?__contract__script__=###'
3030
```
3131

3232
5. Run the `live-event-app` target on any simulator
3333

34-
## Contracts
35-
36-
All contract files are stored in the `tomato/contracts` directory:
37-
38-
| Name | Implementation | Use case |
39-
|----- |--------- |---------- |
40-
| `loadTest` | `load-test-1.ts` | Simulates receiving thousands of messages from multiple users |
41-
4234
## License
4335

4436
Live Event App for iOS is released under the MIT license. [See LICENSE](https://github.com/pubnub/chat-components-ios/blob/master/LICENSE) for details.

live-event-app/live-event-app-UITests/LiveEventAppUITests.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ final class LiveEventAppUITests: XCTestCase {
4747
// Launches the application synchronously
4848
app.launchArguments = ["1", "2", "3"]
4949
app.launch()
50-
51-
let lastMessagePredicate = NSPredicate(format: "label == '[99] Lorem ipsum dolor sit amet'")
52-
let messageList = app.collectionViews.firstMatch
53-
let lastMessageCell = messageList.cells.containing(lastMessagePredicate).firstMatch
54-
let result = lastMessageCell.waitForExistence(timeout: 30)
55-
56-
XCTAssertTrue(result)
5750
}
5851

5952
func testPerformane() throws {

live-event-app/tomato/contracts/load-test-1.ts

Lines changed: 0 additions & 85 deletions
This file was deleted.

live-event-app/tomato/contracts/load-test-2.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)