Skip to content

Commit

Permalink
NFC: rename tests using capability as prefix (#5396)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keenuts authored Sep 4, 2023
1 parent 4c16c35 commit 3cc7e1c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions test/opt/trim_capabilities_pass_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ TEST_F(TrimCapabilitiesPassTest,
EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange);
}

TEST_F(TrimCapabilitiesPassTest, FragmentShaderRemoved) {
TEST_F(TrimCapabilitiesPassTest, FragmentShaderInterlock_RemovedIfNotUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand All @@ -1417,7 +1417,8 @@ TEST_F(TrimCapabilitiesPassTest, FragmentShaderRemoved) {
EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange);
}

TEST_F(TrimCapabilitiesPassTest, FragmentShaderPixelInterlockOrderedRemains) {
TEST_F(TrimCapabilitiesPassTest,
FragmentShaderPixelInterlock_RemainsWhenOrderedIsUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand Down Expand Up @@ -1445,7 +1446,8 @@ TEST_F(TrimCapabilitiesPassTest, FragmentShaderPixelInterlockOrderedRemains) {
EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange);
}

TEST_F(TrimCapabilitiesPassTest, FragmentShaderPixelInterlockUnorderedRemains) {
TEST_F(TrimCapabilitiesPassTest,
FragmentShaderPixelInterlock_RemainsWhenUnorderedIsUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand Down Expand Up @@ -1473,7 +1475,8 @@ TEST_F(TrimCapabilitiesPassTest, FragmentShaderPixelInterlockUnorderedRemains) {
EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange);
}

TEST_F(TrimCapabilitiesPassTest, FragmentShaderSampleInterlockOrderedRemains) {
TEST_F(TrimCapabilitiesPassTest,
FragmentShaderSampleInterlock_RemainsWhenOrderedIsUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand Down Expand Up @@ -1502,7 +1505,7 @@ TEST_F(TrimCapabilitiesPassTest, FragmentShaderSampleInterlockOrderedRemains) {
}

TEST_F(TrimCapabilitiesPassTest,
FragmentShaderSampleInterlockUnorderedRemains) {
FragmentShaderSampleInterlock_RemainsWhenUnorderedIsUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand Down Expand Up @@ -1531,7 +1534,7 @@ TEST_F(TrimCapabilitiesPassTest,
}

TEST_F(TrimCapabilitiesPassTest,
FragmentShaderShadingRateInterlockOrderedRemains) {
FragmentShaderShadingRateInterlock_RemainsWhenOrderedIsUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand Down Expand Up @@ -1560,7 +1563,7 @@ TEST_F(TrimCapabilitiesPassTest,
}

TEST_F(TrimCapabilitiesPassTest,
FragmentShaderShadingRateInterlockUnorderedRemains) {
FragmentShaderShadingRateInterlock_RemainsWhenUnorderedIsUsed) {
const std::string kTest = R"(
OpCapability Shader
OpCapability FragmentShaderPixelInterlockEXT
Expand Down

0 comments on commit 3cc7e1c

Please sign in to comment.