Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 831 vs 832 for /trunk/Source Code/UnitTests/Engine-Tests/Tests/StringTests.cpp

Diff revisions: vs.
  @@ -69,8 +69,8 @@
69 69 const stringImpl input("something.ext");
70 70 const stringImpl ext1("ext");
71 71 const stringImpl ext2("bak");
72 - CHECK_TRUE(HasExtension(input, ext1));
73 - CHECK_FALSE(HasExtension(input, ext2));
72 + CHECK_TRUE(hasExtension(input, ext1));
73 + CHECK_FALSE(hasExtension(input, ext2));
74 74 }
75 75
76 76 TEST(TestStringSplit) {
  @@ -87,12 +87,12 @@
87 87
88 88 TEST(TestFilePathSplit) {
89 89 const stringImpl input("/path/path2/path4/file.test");
90 - const stringImpl result1("/path/path2/path4/");
91 - const stringImpl result2("file.test");
90 + const stringImpl result1("file.test");
91 + const stringImpl result2("/path/path2/path4/");
92 92
93 - std::pair<stringImpl, stringImpl> result = SplitPathToNameAndLocation(input);
94 - CHECK_EQUAL(result.first, result2);
95 - CHECK_EQUAL(result.second, result1);
93 + FileWithPath fileResult = splitPathToNameAndLocation(input);
94 + CHECK_EQUAL(result._path, result1);
95 + CHECK_EQUAL(result._fileName, result22);
96 96 }
97 97
98 98 TEST(TestStringTrim) {