Partially fix compilation of media_unittests with Xcode 7 (OS X 10.11 SDK).
[chromium-blink-merge.git] / tools / strict_enum_value_checker / mock_enum.h
blob86e80b7f79d5ad1c3a9a1ad29fef261b0d3c2cd9
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MOCK_ENUM_H
6 #define MOCK_ENUM_H
8 // Here is our mock enum. Beyond testing it is completely meaningless.
9 // MockEnum follows strict rules for valid modifications:
10 // 1. NO reordering of entries
11 // 2. NO deletions of entries
12 // 3. New entries must be added just before mBoundary, never after
14 enum MockEnum {
15 mEntry1,
16 mEntry2,
17 mData1,
18 mData2,
19 mEntry3,
20 mInfo1,
21 mData3,
22 mError1,
23 mFunction1,
24 mInfo2,
25 mData4,
26 mBoundary // Do not add below here
29 #endif