[core] add namespace comment to closing brace
This commit is contained in:
@@ -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"));
|
||||
|
||||
2
test/fixtures/mock_file_source.cpp
vendored
2
test/fixtures/mock_file_source.cpp
vendored
@@ -158,4 +158,4 @@ void MockFileSource::cancel(FileRequest* req) {
|
||||
thread_->invoke(&Impl::cancelRequest, req);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace mbgl
|
||||
|
||||
4
test/fixtures/util.cpp
vendored
4
test/fixtures/util.cpp
vendored
@@ -113,5 +113,5 @@ void checkImage(const std::string& base,
|
||||
util::write_file(base + "/diff.png", encodePNG(diff));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace test
|
||||
} // namespace mbgl
|
||||
|
||||
@@ -33,7 +33,7 @@ private:
|
||||
AsyncTask *async;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
TEST(AsyncTask, RequestCoalescing) {
|
||||
RunLoop loop;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -52,7 +52,7 @@ private:
|
||||
std::function<void(mbgl::Response)> requestCallback;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
TEST_F(Storage, AssetStress) {
|
||||
SCOPED_TEST(AssetStress)
|
||||
|
||||
@@ -141,7 +141,7 @@ void runTestCase(MockFileSource::Type type,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class ResourceLoading : public ::testing::TestWithParam<std::pair<std::string, std::string>> {
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user