aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/pathTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser/pathTest.cpp')
-rw-r--r--tests/parser/pathTest.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/parser/pathTest.cpp b/tests/parser/pathTest.cpp
index f73dd0d4..13969112 100644
--- a/tests/parser/pathTest.cpp
+++ b/tests/parser/pathTest.cpp
@@ -1,6 +1,6 @@
//
// VMime library (http://www.vmime.org)
-// Copyright (C) 2002-2013 Vincent Richard <[email protected]>
+// Copyright (C) 2002 Vincent Richard <[email protected]>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
@@ -33,8 +33,8 @@ VMIME_TEST_SUITE_BEGIN(pathTest)
VMIME_TEST_LIST_END
- void testParse()
- {
+ void testParse() {
+
vmime::path p1;
p1.parse("<>");
@@ -54,8 +54,8 @@ VMIME_TEST_SUITE_BEGIN(pathTest)
VASSERT_EQ("3.2", "domain", p3.getDomain());
}
- void testParse2()
- {
+ void testParse2() {
+
// Test some invalid paths (no '<>')
vmime::path p1;
p1.parse("");
@@ -76,8 +76,8 @@ VMIME_TEST_SUITE_BEGIN(pathTest)
VASSERT_EQ("3.2", "domain", p3.getDomain());
}
- void testGenerate()
- {
+ void testGenerate() {
+
vmime::path p1;
VASSERT_EQ("1", "<>", p1.generate());
@@ -100,4 +100,3 @@ VMIME_TEST_SUITE_BEGIN(pathTest)
}
VMIME_TEST_SUITE_END
-