Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Put test components in the testing namespace. #56594

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions impeller/entity/contents/test/contents_test_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "impeller/entity/contents/test/contents_test_helpers.h"

namespace impeller {
namespace impeller::testing {

//

}
} // namespace impeller::testing
4 changes: 2 additions & 2 deletions impeller/entity/contents/test/contents_test_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "impeller/renderer/command.h"

namespace impeller {
namespace impeller::testing {

/// @brief Retrieve the [VertInfo] struct data from the provided [command].
template <typename T>
Expand Down Expand Up @@ -44,6 +44,6 @@ typename T::FragInfo* GetFragInfo(const Command& command) {
return reinterpret_cast<typename T::FragInfo*>(data);
}

} // namespace impeller
} // namespace impeller::testing

#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_CONTENTS_TEST_HELPERS_H_
4 changes: 2 additions & 2 deletions impeller/entity/contents/test/recording_render_pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <utility>

namespace impeller {
namespace impeller::testing {

RecordingRenderPass::RecordingRenderPass(
std::shared_ptr<RenderPass> delegate,
Expand Down Expand Up @@ -147,4 +147,4 @@ bool RecordingRenderPass::BindResource(
return true;
}

} // namespace impeller
} // namespace impeller::testing
4 changes: 2 additions & 2 deletions impeller/entity/contents/test/recording_render_pass.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "impeller/renderer/render_pass.h"

namespace impeller {
namespace impeller::testing {

class RecordingRenderPass : public RenderPass {
public:
Expand Down Expand Up @@ -82,6 +82,6 @@ class RecordingRenderPass : public RenderPass {
std::vector<Command> commands_;
};

} // namespace impeller
} // namespace impeller::testing

#endif // FLUTTER_IMPELLER_ENTITY_CONTENTS_TEST_RECORDING_RENDER_PASS_H_