Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
cdce6c13
There was an error fetching the commit references. Please try again later.
Commit
cdce6c13
authored
6 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Plain Diff
Merge branch 'nina' of mmg-gitlab.fjfi.cvut.cz:mmg/tnl-dev into nina
parents
27eeb545
f041b082
No related branches found
No related tags found
1 merge request
!15
Nina
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/TNL/FileName.h
+0
-1
0 additions, 1 deletion
src/TNL/FileName.h
src/TNL/String.h
+1
-1
1 addition, 1 deletion
src/TNL/String.h
src/UnitTests/StringTest.cpp
+1
-7
1 addition, 7 deletions
src/UnitTests/StringTest.cpp
with
2 additions
and
9 deletions
src/TNL/FileName.h
+
0
−
1
View file @
cdce6c13
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
src/TNL/String.h
+
1
−
1
View file @
cdce6c13
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
src/UnitTests/StringTest.cpp
+
1
−
7
View file @
cdce6c13
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment