blob: 4b6f7450b4cf07f0e8ab7fbc5bd81657aed43c93 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_CHROME_ELF_THIRD_PARTY_DLLS_MAIN_UNITTEST_EXE_H_
#define CHROME_CHROME_ELF_THIRD_PARTY_DLLS_MAIN_UNITTEST_EXE_H_
namespace third_party_dlls {
enum ExitCode {
kDllLoadSuccess = 0,
kDllLoadFailed = 1,
// Unexpected failures are negative ints:
kBadCommandLine = -1,
kThirdPartyAlreadyInitialized = -2,
kThirdPartyInitFailure = -3,
kMissingArgument = -4,
kBadBlacklistPath = -5,
kBadArgument = -6,
kUnsupportedTestId = -7,
kEmptyLog = -8,
kUnexpectedLog = -9,
kUnexpectedSectionPath = -10,
kBadLogEntrySize = -11,
};
enum TestId {
kTestOnlyInitialization = 1, // Just initialization.
kTestSingleDllLoad = 2, // Single DLL load.
kTestLogPath = 3, // Single DLL load with log path scrutiny.
};
} // namespace third_party_dlls
#endif // CHROME_CHROME_ELF_THIRD_PARTY_DLLS_MAIN_UNITTEST_EXE_H_