-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalized test names and file names #4366
Conversation
isis/tests/FunctionalTestsCamdev.cpp
Outdated
@@ -13,7 +13,7 @@ using namespace Isis; | |||
|
|||
static QString APP_XML = FileName("$ISISROOT/bin/xml/camdev.xml").expanded(); | |||
|
|||
TEST_F(LineScannerCube, FunctionalTestsCamDevDefault) { | |||
TEST_F(LineScannerCube, FunctionalTestCamDevDefault) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm following the normalization, shouldn't this be "FunctionalTestCamdevDefault" ?
isis/tests/FunctionalTestsMoccal.cpp
Outdated
@@ -12,10 +12,10 @@ using namespace Isis; | |||
|
|||
static QString APP_XML = FileName("$ISISROOT/bin/xml/moccal.xml").expanded(); | |||
|
|||
TEST_F(MgsMocCube, FunctionalTestMroMoccalDefault) { | |||
TEST_F(MgsMocCube, FunctionalTestMromoccalDefault) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how this got through the first time. "moccal" is an MGS app not an MRO. On the other hand, the app name is "moccal" not "mgsmoccal", shouldn't this just be "FunctionalTestMoccalDefault" ?
isis/tests/FunctionalTestsMoccal.cpp
Outdated
EXPECT_DOUBLE_EQ(oCubeStats->Average(), 0.056909484090283513); | ||
EXPECT_DOUBLE_EQ(oCubeStats->Sum(), 22.763793636113405); | ||
EXPECT_DOUBLE_EQ(oCubeStats->ValidPixels(), 400); | ||
EXPECT_DOUBLE_EQ(oCubeStats->StandardDeviation(), 0.0021719888294085255); | ||
} | ||
|
||
|
||
TEST_F(MgsMocCube, FunctionalTestMroMoccalIofFalse) { | ||
TEST_F(MgsMocCube, FunctionalTestMromoccalIofFalse) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
isis/tests/FunctionalTestsMoccal.cpp
Outdated
@@ -85,10 +85,10 @@ TEST_F(MgsMocCube, FunctionalTestMroMoccalIofFalse) { | |||
} | |||
|
|||
|
|||
TEST_F(MgsMocCube, FunctionalTestMroMoccalNullwagoTrue) { | |||
TEST_F(MgsMocCube, FunctionalTestMromoccalNullwagoTrue) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
isis/tests/FunctionalTestsMoccal.cpp
Outdated
@@ -121,7 +121,7 @@ TEST_F(MgsMocCube, FunctionalTestMroMoccalNullwagoTrue) { | |||
} | |||
|
|||
|
|||
TEST_F(MgsMocCube, FunctionalTestMroMoccalCameraComparison) { | |||
TEST_F(MgsMocCube, FunctionalTestMromoccalCameraComparison) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the ones Stuart found, I couldn't find other inconsistencies.
@scsides Does this look good to go? |
Changes the file and test names to better match the guidelines described here
Description
Related Issue
#4206
Motivation and Context
Test names should be consistent
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Licensing
This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words: