[core] add namespace comment to closing brace

This commit is contained in:
Konstantin Käfer
2015-12-01 17:30:44 +01:00
parent 6feb89cbbc
commit d5fb535058
239 changed files with 313 additions and 310 deletions

View File

@@ -24,7 +24,7 @@ std::string getFileSourceRoot() {
#endif
}
}
} // namespace
std::shared_ptr<SpriteImage> defaultMarker() {
PremultipliedImage image = decodeImage(util::read_file("test/fixtures/sprites/default_marker.png"));

View File

@@ -158,4 +158,4 @@ void MockFileSource::cancel(FileRequest* req) {
thread_->invoke(&Impl::cancelRequest, req);
}
}
} // namespace mbgl

View File

@@ -113,5 +113,5 @@ void checkImage(const std::string& base,
util::write_file(base + "/diff.png", encodePNG(diff));
}
}
}
} // namespace test
} // namespace mbgl

View File

@@ -33,7 +33,7 @@ private:
AsyncTask *async;
};
}
} // namespace
TEST(AsyncTask, RequestCoalescing) {
RunLoop loop;

View File

@@ -9,7 +9,7 @@ namespace mbgl {
template <typename T> ::std::ostream& operator<<(::std::ostream& os, const Rect<T>& t) {
return os << "Rect { " << t.x << ", " << t.y << ", " << t.w << ", " << t.h << " }";
}
}
} // namespace mbgl
TEST(BinPack, Allocating) {
mbgl::BinPack<uint16_t> bin(128, 128);

View File

@@ -28,7 +28,7 @@ private:
ThreadLocal<int> TestThread::number;
}
} // namespace
TEST(ThreadLocalStorage, Basic) {
RunLoop loop;
@@ -73,7 +73,7 @@ private:
ThreadLocal<DtorCounter> TestThreadReclaim::counter;
}
} // namespace
TEST(ThreadLocalStorage, AutoReclaim) {
RunLoop loop;

View File

@@ -52,7 +52,7 @@ private:
std::function<void(mbgl::Response)> requestCallback;
};
}
} // namespace
TEST_F(Storage, AssetStress) {
SCOPED_TEST(AssetStress)

View File

@@ -141,7 +141,7 @@ void runTestCase(MockFileSource::Type type,
}
}
}
} // namespace
class ResourceLoading : public ::testing::TestWithParam<std::pair<std::string, std::string>> {
};