MCPcopy Index your code
hub / github.com/cpplint/cpplint / testCheckNextIncludeOrder_CppThenC

Method testCheckNextIncludeOrder_CppThenC

cpplint_unittest.py:6041–6046  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6039 )
6040
6041 def testCheckNextIncludeOrder_CppThenC(self):
6042 assert self.include_state.CheckNextIncludeOrder(cpplint._CPP_SYS_HEADER) == ""
6043 assert (
6044 self.include_state.CheckNextIncludeOrder(cpplint._C_SYS_HEADER)
6045 == "Found C system header after C++ system header"
6046 )
6047
6048 def testCheckNextIncludeOrder_OtherSysThenC(self):
6049 assert self.include_state.CheckNextIncludeOrder(cpplint._OTHER_SYS_HEADER) == ""

Callers

nothing calls this directly

Calls 1

CheckNextIncludeOrderMethod · 0.80

Tested by

no test coverage detected