TestIterator.cxx
Go to the documentation of this file.
1 /*===========================================================================================================
2  *
3  * SHA-L - Simple Hybesis Algorithm Logger
4  *
5  * Copyright (c) Michael Jeulin-Lagarrigue
6  *
7  * Licensed under the MIT License, you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * https://github.com/michael-jeulinl/Simple-Hybesis-Algorithms-Logger/blob/master/LICENSE
11  *
12  * Unless required by applicable law or agreed to in writing, software distributed under the License is
13  * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and limitations under the License.
15  *
16  * The above copyright notice and this permission notice shall be included in all copies or
17  * substantial portions of the Software.
18  *
19  *=========================================================================================================*/
20 #include <gtest/gtest.h>
21 #include <iterator.hxx>
22 
23 // STD includes
24 #include <string>
25 
26 using namespace SHA_Logger;
27 
28 #ifndef DOXYGEN_SKIP
29 namespace {}
30 #endif /* DOXYGEN_SKIP */
31 
32 // Test TestIterator
33 TEST(TestIterator, build)
34 {
35  // Simple Iterator
36  {
37  Iterator::Build(std::cout, "p_0", "it1", 0);
38  }
39 }
TEST(TestIterator, build)
static Ostream & Build(Ostream &os, const String &parentId, const String &name, int index, const String &comment="")
Definition: iterator.hxx:43