diff --git a/src/TNL/FileName.h b/src/TNL/FileName.h index 9642e570d8351c7877c76b6c1f3738afb19e98d0..3dae01c5407153357d91a45e74b73382cc3559e0 100644 --- a/src/TNL/FileName.h +++ b/src/TNL/FileName.h @@ -35,7 +35,6 @@ class FileName FileName( const String& fileNameBase, const String& extension ); - /// \brief Sets the base name of given file. /// /// Sets \e fileNameBase as the base name of given file. diff --git a/src/TNL/String.h b/src/TNL/String.h index 2365a36e309d7b015575369563a6165b934f11e3..69b4a87b1c153b728d416e11d107f207f681ea4c 100644 --- a/src/TNL/String.h +++ b/src/TNL/String.h @@ -83,7 +83,7 @@ class String /// \brief Destructor. ~String(); - /// Returns the number of characters in given string. Equivalent to \c getSize(). + /// \brief Returns the number of characters in given string. Equivalent to getSize(). int getLength() const; /// \brief Returns the number of characters in given string. diff --git a/src/UnitTests/StringTest.cpp b/src/UnitTests/StringTest.cpp index 041c09b90eb7aff1648f4af88a8ae4e565f147a9..511bed7a803b367ed51cf749e2a64796b65fda50 100644 --- a/src/UnitTests/StringTest.cpp +++ b/src/UnitTests/StringTest.cpp @@ -311,7 +311,7 @@ TEST( StringTest, split ) ASSERT_EQ( list.getSize(), 1 ); EXPECT_EQ( list[ 0 ], "abracadabra" ); - /// !!!! ma problem s prazdnym stringom !!!! + // !!!! ma problem s prazdnym stringom !!!! String( "a,,b,c" ).split( list, ',' ); ASSERT_EQ( list.getSize(), 4 ); EXPECT_EQ( list[ 0 ], "a" ); @@ -351,12 +351,6 @@ TEST( StringTest, getLine ) EXPECT_EQ( s, "Line 2" ); }; -/*TEST( StringTest, OperatorCudny ) -{ - String str("String1"); - EXPECT_EQ(strcmp(String( "a", str ), "aString1"), 0 ); -};*/ - #endif