Belle II Software
light-2403-persian
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;>"
);
20
EXPECT_EQ(s, HTML::unescape(HTML::escape(s)));
21
22
EXPECT_EQ(
""abc<def>geh &abc;&gt;"
, HTML::escape(s));
23
}
24
}
Belle2
Abstract base class for different kinds of events.
Definition:
ClusterUtils.h:24
framework
tests
HTML.cc
Generated on Fri Apr 12 2024 06:51:22 for Belle II Software by
1.9.1