chromium/remoting/test/capability_test_stub_main.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <iostream>

#include "base/command_line.h"
#include "base/notreached.h"
#include "remoting/host/base/host_exit_codes.h"

namespace {

constexpr char kEvaluateTest[] =;
constexpr char kEvaluateCrash[] =;
constexpr char kEvaluateSuccess[] =;
constexpr char kEvaluateCapabilitySwitchName[] =;
const int kInvalidCommandLineExitCode =;

// This function is for test purpose only. It writes some random texts to both
// stdout and stderr, and returns a random value 234.
int EvaluateTest() {}

// This function is for test purpose only. It triggers an assertion failure.
int EvaluateCrash() {}

// This function is for test purpose only. It writes "Success" to stdout, and
// returns 0.
int EvaluateSuccess() {}

int EvaluateCapabilityLocally(const std::string& type) {}

}  // namespace

int main(int argc, char** argv) {}