color-profile-test.cpp revision c29094c5613297521e948b2f5dc230dcd40eb852
/*
* Unit tests for color profile.
*
* Author:
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2015 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "attributes.h"
#include "cms-system.h"
#include "color-profile.h"
#include "doc-per-case-test.h"
namespace {
/**
* Test fixture to inherit a shared doc and create a color profile instance per test.
*/
class ProfTest : public DocPerCaseTest
{
public:
ProfTest() :
_prof(0)
{
}
protected:
virtual void SetUp()
{
DocPerCaseTest::SetUp();
}
virtual void TearDown()
{
if (_prof) {
delete _prof;
}
}
};
typedef ProfTest ColorProfileTest;
{
struct {
}
const cases[] = {
};
}
}
{
"local",
"something",
};
}
}
}
{
"name",
"something",
};
}
}
}
} // namespace
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :