2016-11-17 06:22:27 -05:00
|
|
|
#include <gtest/gtest.h>
|
|
|
|
#include "SiteGetter.h"
|
|
|
|
|
|
|
|
TEST(SiteGetterTest, GetSite) {
|
|
|
|
SiteGetter sg;
|
2018-02-12 11:18:47 -05:00
|
|
|
EXPECT_TRUE(sg.getSite("http://dr.dk/", NULL, 0, 0));
|
2016-11-17 06:22:27 -05:00
|
|
|
EXPECT_STREQ("www.dr.dk", sg.getSite());
|
|
|
|
}
|