Belle II Software  release-08-01-10
HTML.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #include <framework/utilities/HTML.h>
9 
10 
11 #include <gtest/gtest.h>
12 
13 using namespace std;
14 using namespace Belle2;
15 
16 namespace {
17  TEST(Utilities, HTML)
18  {
19  std::string s("\"abc<def>geh &abc;&gt;");
20  EXPECT_EQ(s, HTML::unescape(HTML::escape(s)));
21 
22  EXPECT_EQ("&quot;abc&lt;def&gt;geh &amp;abc;&amp;gt;", HTML::escape(s));
23  }
24 }
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.
Abstract base class for different kinds of events.