Belle II Software development
test_DatabaseRepresentationOfWeightfile.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
9#include <mva/dataobjects/DatabaseRepresentationOfWeightfile.h>
10
11#include <gtest/gtest.h>
12
13using namespace Belle2;
14
15namespace {
16
17 TEST(DatabaseRepresentationOfWeightfileTest, Construction)
18 {
19
21 EXPECT_EQ(x.m_data, std::string());
22
23 }
24
25 TEST(DatabaseRepresentationOfWeightfileTest, TObjectClassNameDoesNotChange)
26 {
27
28 // Renaming this class probably invalids all the stored weighfiles in the database,
29 // hence this test
31 EXPECT_EQ(std::string(x.ClassName()), std::string("Belle2::DatabaseRepresentationOfWeightfile"));
32
33 }
34
35}
Database representation of a Weightfile object.
Abstract base class for different kinds of events.