• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 // This header declares the namespace google::protobuf::protobuf_unittest in order to expose
9 // any problems with the generated class names. We use this header to ensure
10 // unittest.cc will declare the namespace prior to other includes, while obeying
11 // normal include ordering.
12 //
13 // When generating a class name of "foo.Bar" we must ensure we prefix the class
14 // name with "::", in case the namespace google::protobuf::foo exists. We intentionally
15 // trigger that case here by declaring google::protobuf::protobuf_unittest.
16 //
17 // See ClassName in helpers.h for more details.
18 
19 #ifndef GOOGLE_PROTOBUF_COMPILER_CPP_UNITTEST_H__
20 #define GOOGLE_PROTOBUF_COMPILER_CPP_UNITTEST_H__
21 
22 namespace google {
23 namespace protobuf {
24 namespace protobuf_unittest {}
25 }  // namespace protobuf
26 }  // namespace google
27 
28 #endif  // GOOGLE_PROTOBUF_COMPILER_CPP_UNITTEST_H__
29