Coverage Report - net.objectlab.qalab.util.QALabTags
 
Classes in this File Line Coverage Branch Coverage Complexity
QALabTags
60%
3/5
N/A
1
 
 1  
 ////////////////////////////////////////////////////////////////////////////////
 2  
 //
 3  
 //                  ObjectLab is sponsoring QALab
 4  
 // 
 5  
 // Based in London, we are world leaders in the design and development 
 6  
 // of bespoke applications for the Securities Financing markets.
 7  
 // 
 8  
 // <a href="http://www.objectlab.co.uk/open">Click here to learn more</a>
 9  
 //           ___  _     _           _   _          _
 10  
 //          / _ \| |__ (_) ___  ___| |_| |    __ _| |__
 11  
 //         | | | | '_ \| |/ _ \/ __| __| |   / _` | '_ \
 12  
 //         | |_| | |_) | |  __/ (__| |_| |__| (_| | |_) |
 13  
 //          \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
 14  
 //                   |__/
 15  
 //
 16  
 //                   http://www.ObjectLab.co.uk
 17  
 // ---------------------------------------------------------------------------
 18  
 //
 19  
 //QALab is released under the GNU General Public License.
 20  
 //
 21  
 //QALab: Collects QA Statistics from your build over time.
 22  
 //2005+, ObjectLab Ltd
 23  
 //
 24  
 //This library is free software; you can redistribute it and/or
 25  
 //modify it under the terms of the GNU General Public
 26  
 //License as published by the Free Software Foundation; either
 27  
 //version 2.1 of the License, or (at your option) any later version.
 28  
 //
 29  
 //This library is distributed in the hope that it will be useful,
 30  
 //but WITHOUT ANY WARRANTY; without even the implied warranty of
 31  
 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 32  
 //General Public License for more details.
 33  
 //
 34  
 //You should have received a copy of the GNU General Public
 35  
 //License along with this library; if not, write to the Free Software
 36  
 //Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 37  
 //
 38  
 ////////////////////////////////////////////////////////////////////////////////
 39  
 package net.objectlab.qalab.util;
 40  
 
 41  
 import java.text.SimpleDateFormat;
 42  
 
 43  
 /**
 44  
  * Tags used in QALab.
 45  
  *
 46  
  * @author Benoit Xhenseval
 47  
  * @version $Revision: 187 $
 48  
  */
 49  
 public final class QALabTags {
 50  
     /**
 51  
      * date attribute in QALab XML.
 52  
      */
 53  
     public static final String DATE_ATTRIBUTE = "date";
 54  
 
 55  
     /**
 56  
      * type attribute in QALab XML.
 57  
      */
 58  
     public static final String TYPE_ATTRIBUTE = "type";
 59  
 
 60  
     /**
 61  
      * statvalue attribute in QALab XML.
 62  
      */
 63  
     public static final String STATVALUE_ATTRIBUTE = "statvalue";
 64  
 
 65  
     /**
 66  
      * filecount attribute in QALab XML.
 67  
      */
 68  
     public static final String FILECOUNT_ATTRIBUTE = "filecount";
 69  
 
 70  
     /**
 71  
      * id attribute in QALab XML.
 72  
      */
 73  
     public static final String ID_ATTRIBUTE = "id";
 74  
 
 75  
     /**
 76  
      * path attribute in QALab XML.
 77  
      */
 78  
     public static final String PATH_ATTRIBUTE = "path";
 79  
 
 80  
     /**
 81  
      * file tag in QALab XML.
 82  
      */
 83  
     public static final String FILE_TAG = "file";
 84  
 
 85  
     /**
 86  
      * result tag in QALab XML.
 87  
      */
 88  
     public static final String RESULT_TAG = "result";
 89  
 
 90  
     /**
 91  
      * qalab tag in QALab XML.
 92  
      */
 93  
     public static final String QALAB_TAG = "qalab";
 94  
 
 95  
     /** Summary tag. */
 96  
     public static final String SUMMARY_TAG = "summary";
 97  
 
 98  
     /** Summary result tag. */
 99  
     public static final String SUMMARY_RESULT_TAG = "summaryresult";
 100  
 
 101  
     /** default format yyyy-MM-dd HH:mm:ss. */
 102  21
     public static final SimpleDateFormat DEFAULT_DATETIME_FORMAT =
 103  
         new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 104  
 
 105  
     /** default format yyyy-MM-dd. */
 106  21
     public static final SimpleDateFormat DEFAULT_DATE_FORMAT =
 107  
         new SimpleDateFormat("yyyy-MM-dd");
 108  
 
 109  
     /**
 110  
      * line separator.
 111  
      */
 112  21
     public static final String LINE_END = System.getProperty("line.separator");
 113  
 
 114  
     public static final int DATE_ONLY_SIZE = 10;
 115  
 
 116  
     /**
 117  
      * Avoid instantiation.
 118  
      */
 119  0
     private QALabTags() {
 120  0
     }
 121  
 }
 122  
 /*
 123  
  *                   ObjectLab is sponsoring QALab
 124  
  * 
 125  
  * Based in London, we are world leaders in the design and development 
 126  
  * of bespoke applications for the securities financing markets.
 127  
  * 
 128  
  * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a>
 129  
  *           ___  _     _           _   _          _
 130  
  *          / _ \| |__ (_) ___  ___| |_| |    __ _| |__
 131  
  *         | | | | '_ \| |/ _ \/ __| __| |   / _` | '_ \
 132  
  *         | |_| | |_) | |  __/ (__| |_| |__| (_| | |_) |
 133  
  *          \___/|_.__// |\___|\___|\__|_____\__,_|_.__/
 134  
  *                   |__/
 135  
  *
 136  
  *                     www.ObjectLab.co.uk
 137  
  */