You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/08/09 09:52:06 UTC

[logging-log4cxx] branch logcxx_398_transcoder_encode_losschar updated: Spaces -> Tabs like for all other lines.

This is an automated email from the ASF dual-hosted git repository.

tschoening pushed a commit to branch logcxx_398_transcoder_encode_losschar
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/logcxx_398_transcoder_encode_losschar by this push:
     new d4cee49  Spaces -> Tabs like for all other lines.
d4cee49 is described below

commit d4cee492e9bf0ae087d3f8bfb39662ddfd637eac
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Sun Aug 9 11:51:57 2020 +0200

    Spaces -> Tabs like for all other lines.
---
 src/test/cpp/helpers/transcodertestcase.cpp | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/test/cpp/helpers/transcodertestcase.cpp b/src/test/cpp/helpers/transcodertestcase.cpp
index 1b3cfaf..e806299 100644
--- a/src/test/cpp/helpers/transcodertestcase.cpp
+++ b/src/test/cpp/helpers/transcodertestcase.cpp
@@ -29,7 +29,7 @@ LOGUNIT_CLASS(TranscoderTestCase)
 	LOGUNIT_TEST_SUITE(TranscoderTestCase);
 	LOGUNIT_TEST(decode1);
 #if LOG4CXX_WCHAR_T_API
-    LOGUNIT_TEST(decode2);
+	LOGUNIT_TEST(decode2);
 #endif
 	LOGUNIT_TEST(decode3);
 #if LOG4CXX_WCHAR_T_API
@@ -43,7 +43,7 @@ LOGUNIT_CLASS(TranscoderTestCase)
 	LOGUNIT_TEST(encode2);
 #if LOG4CXX_WCHAR_T_API
 	LOGUNIT_TEST(encode3);
-    LOGUNIT_TEST(encode3_1);
+	LOGUNIT_TEST(encode3_1);
 #endif
 	LOGUNIT_TEST(encode4);
 #if LOG4CXX_WCHAR_T_API
@@ -165,18 +165,18 @@ public:
 		LOGUNIT_ASSERT_EQUAL(std::wstring(L"Hello"), encoded.substr(BUFSIZE - 3));
 	}
 
-    void encode3_1()
-    {
-        // Test invalid multibyte string
-        LogString greeting;
-        greeting.push_back( 0xff );
-        std::wstring encoded;
-        Transcoder::encode(greeting, encoded);
-
-        std::wstring expected;
-        expected.push_back( log4cxx::helpers::Transcoder::LOSSCHAR );
-        LOGUNIT_ASSERT_EQUAL(encoded, expected );
-    }
+	void encode3_1()
+	{
+		// Test invalid multibyte string
+		LogString greeting;
+		greeting.push_back( 0xff );
+		std::wstring encoded;
+		Transcoder::encode(greeting, encoded);
+
+		std::wstring expected;
+		expected.push_back( log4cxx::helpers::Transcoder::LOSSCHAR );
+		LOGUNIT_ASSERT_EQUAL(encoded, expected );
+	}
 #endif
 
 	void encode4()