summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/Executable
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-23 17:23:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-23 17:23:35 (GMT)
commit2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb (patch)
treeb440866b2f48124d946f72f465334061b9199039 /Tests/Complex/Executable
parent14b07c0973f367352a75550af864b56dc99c3848 (diff)
downloadCMake-2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb.zip
CMake-2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb.tar.gz
CMake-2d9e5edb27e840e7c5a38a98e97bdf2e507ddabb.tar.bz2
ENH: increase coverage
Diffstat (limited to 'Tests/Complex/Executable')
-rw-r--r--Tests/Complex/Executable/complex.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 0b20bfd..1dbf54f 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -691,6 +691,20 @@ int main()
cmFailed("ESCAPE_QUOTES is not working");
}
+
+ // ----------------------------------------------------------------------
+ // Test cmSystemTools::UpperCase
+ std::string str = "abc";
+ std::string strupper = "ABC";
+ if(cmSystemTools::UpperCase(str) == strupper)
+ {
+ cmPassed("cmSystemTools::UpperCase is working");
+ }
+ else
+ {
+ cmFailed("cmSystemTools::UpperCase is working");
+ }
+
// ----------------------------------------------------------------------
// Summary