Home | History | Annotate | Download | only in strict_enum_value_checker
      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.
      4 
      5 #ifndef MOCK_ENUM_H
      6 #define MOCK_ENUM_H
      7 
      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
     13 //
     14   mData1,
     15   mData2,
     16   mEntry3,
     17   mInfo1,
     18   mData3,
     19   mError1,
     20   mFunction1,
     21   mInfo2,
     22   mData4,
     23   mBoundary // Do not add below here
     24 };
     25 
     26 #endif
     27