From 54881d9f90acfb1676b3eebb0feb17811d1cc4bf Mon Sep 17 00:00:00 2001 From: Richard Walters Date: Sun, 5 Aug 2018 15:23:56 -0700 Subject: Use SystemAbstractions::ToLower instead of doing it ourselves --- test/src/NormalizeCaseInsensitiveStringTests.cpp | 41 ------------------------ 1 file changed, 41 deletions(-) delete mode 100644 test/src/NormalizeCaseInsensitiveStringTests.cpp (limited to 'test/src/NormalizeCaseInsensitiveStringTests.cpp') diff --git a/test/src/NormalizeCaseInsensitiveStringTests.cpp b/test/src/NormalizeCaseInsensitiveStringTests.cpp deleted file mode 100644 index f68d344..0000000 --- a/test/src/NormalizeCaseInsensitiveStringTests.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @file NormalizeCaseInsensitiveStringTests.cpp - * - * This module contains the unit tests of the Uri::NormalizeCaseInsensitiveString class. - * - * © 2018 by Richard Walters - */ - -#include -#include - -TEST(NormalizeCaseInsensitiveStringTests, NormalizeCaseInsensitiveString) { - ASSERT_EQ( - "example", - Uri::NormalizeCaseInsensitiveString("eXAmplE") - ); - ASSERT_EQ( - "example", - Uri::NormalizeCaseInsensitiveString("example") - ); - ASSERT_EQ( - "example", - Uri::NormalizeCaseInsensitiveString("EXAMPLE") - ); - ASSERT_EQ( - "foo1bar", - Uri::NormalizeCaseInsensitiveString("foo1BAR") - ); - ASSERT_EQ( - "foo1bar", - Uri::NormalizeCaseInsensitiveString("fOo1bAr") - ); - ASSERT_EQ( - "foo1bar", - Uri::NormalizeCaseInsensitiveString("foo1bar") - ); - ASSERT_EQ( - "foo1bar", - Uri::NormalizeCaseInsensitiveString("FOO1BAR") - ); -} -- cgit v1.2.3