commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (LANG-1366) Add Feature for No ClassName and MultiLine StringStyle
Date Sat, 05 Oct 2019 05:49:00 GMT

     [ https://issues.apache.org/jira/browse/LANG-1366?focusedWorklogId=323879&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-323879
]

ASF GitHub Bot logged work on LANG-1366:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Oct/19 05:47
            Start Date: 05/Oct/19 05:47
    Worklog Time Spent: 10m 
      Work Description: Stzx commented on pull request #308: LANG-1366 : Add Feature for No
ClassName and MultiLine StringStyle
URL: https://github.com/apache/commons-lang/pull/308#discussion_r331734068
 
 

 ##########
 File path: src/test/java/org/apache/commons/lang3/builder/NoClassNameMultiLineToStringStyleTest.java
 ##########
 @@ -0,0 +1,127 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.lang3.builder;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+
+
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+/**
+ * Unit tests {@link org.apache.commons.lang3.builder.NoClassNameMultiLineToStringStyleTest}.
+ */
+public class NoClassNameMultiLineToStringStyleTest {
 
 Review comment:
   From the links you provided, as well as what I saw from the official examples ([junit5-jupiter-starter-maven](https://github.com/junit-team/junit5/blob/f52ded2d2f331ca7dba738b53afa5b1c0f22a85d/platform-tests/src/jmh/java/org/junit/jupiter/jmh/AssertionBenchmarks.java))
and [user guide](https://junit.org/junit5/docs/current/user-guide/#writing-tests) seems to
be determined by the project?
   
   Looks different styles of different projects.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 323879)
    Time Spent: 1h 40m  (was: 1.5h)

> Add Feature for No ClassName and MultiLine StringStyle
> ------------------------------------------------------
>
>                 Key: LANG-1366
>                 URL: https://issues.apache.org/jira/browse/LANG-1366
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Karthikeyan Palanivelu
>            Priority: Major
>              Labels: features
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Add feature to print String with No Class Name and MultiLine. This would be of helpful
for more like metrics related use cases which needs to print like properties with No Class
Name and each property in new line.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message