Update to Emoji v13 (2020) (#1555)
This commit is contained in:
@@ -22,33 +22,6 @@
|
||||
|
||||
using namespace chatterino;
|
||||
|
||||
void xd()
|
||||
{
|
||||
std::mutex mut;
|
||||
bool requestDone = false;
|
||||
std::condition_variable requestDoneCondition;
|
||||
|
||||
EXPECT_TRUE(NetworkManager::workerThread.isRunning());
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
auto url = "http://localhost:8000/status/200";
|
||||
NetworkRequest(url)
|
||||
.onSuccess([&](NetworkResult result) -> Outcome {
|
||||
qDebug() << "ON SUCCESS";
|
||||
qDebug() << url;
|
||||
return Success;
|
||||
})
|
||||
.onError([&](NetworkResult result) {
|
||||
qDebug() << "ON ERROR";
|
||||
})
|
||||
.execute();
|
||||
|
||||
EXPECT_TRUE(NetworkManager::workerThread.isRunning());
|
||||
|
||||
EXPECT_TRUE(true);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user