blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
789 B
33 lines
789 B
//
|
|
// EventsRestTest.swift
|
|
// Alpha-Wallet
|
|
//
|
|
// Created by Oguzhan Gungor on 3/11/18.
|
|
// Copyright © 2018 Alpha-Wallet. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
@testable import AlphaWallet
|
|
import XCTest
|
|
|
|
class EventsRestTest: XCTestCase {
|
|
|
|
var expectations = [XCTestExpectation]()
|
|
|
|
func testEventsRest() {
|
|
// let expectation = self.expectation(description: "wait til callback")
|
|
// expectations.append(expectation)
|
|
// EventsRest().getEvents { result in
|
|
// switch result {
|
|
// case .success(let events):
|
|
// debug(events)
|
|
// expectation.fulfill()
|
|
// case .failure(let error):
|
|
// debug(error)
|
|
// }
|
|
// }
|
|
// wait(for: expectations, timeout: 10)
|
|
|
|
}
|
|
|
|
}
|
|
|