fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [9406] added property-files for use in Sonar/Jenkins


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [9406] added property-files for use in Sonar/Jenkins ( Continiuos Integration tools)
Date: Wed, 16 May 2012 07:22:36 +0000

Revision: 9406
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9406
Author:   erikhl
Date:     2012-05-16 07:22:35 +0000 (Wed, 16 May 2012)
Log Message:
-----------
added property-files for use in Sonar/Jenkins (Continiuos Integration tools)

Added Paths:
-----------
    trunk/activitycalendar/sonar-project.properties
    trunk/activitycalendarfrontend/sonar-project.properties
    trunk/controller/sonar-project.properties
    trunk/frontend/sonar-project.properties
    trunk/rental/sonar-project.properties
    trunk/tests/
    trunk/tests.php

Added: trunk/activitycalendar/sonar-project.properties
===================================================================
--- trunk/activitycalendar/sonar-project.properties                             
(rev 0)
+++ trunk/activitycalendar/sonar-project.properties     2012-05-16 07:22:35 UTC 
(rev 9406)
@@ -0,0 +1,24 @@
+#Project-file used by Sonar. Added by Erik Holm-Larsen, Bouvet AS
+# required metadata
+sonar.projectKey=no.bouvet.portico:activitycalendar
+sonar.projectName=PorticoEstate Aktivitetsoversikt
+sonar.projectVersion=1.0-SNAPSHOT
+  
+# path to source directories (required)
+#sources=jenkins_checkout/pe/controller,jenkins_checkout/pe/rental,jenkins_checkout/pe/activitycalendar
+sources=.
+tests=../tests
+ 
+sonar.language=php
+ 
+#sonar.scm.url=scm:svn:http://svn.codehaus.org/sonar-plugins/trunk/php/math-php-test
+sonar.scm.url=scm:svn:http://svn.savannah.nongnu.org/svn/fmsystem/trunk/
+ 
+#sonar.phpUnit.mainTestClass=source/tests/AllTests2.php
+sonar.phpUnit.mainTestClass=../tests.php
+sonar.phpcpd.excludes=../tests.php
+ 
+# Example of properties that can be uncommented to enable reuse of existing 
PHP Code Sniffer reports
+#sonar.phpCodesniffer.analyzeOnly=true
+#sonar.phpCodesniffer.reportFileRelativePath=../../logs
+#sonar.phpCodesniffer.reportFileName=cs-report.xml
\ No newline at end of file


Property changes on: trunk/activitycalendar/sonar-project.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/activitycalendarfrontend/sonar-project.properties
===================================================================
--- trunk/activitycalendarfrontend/sonar-project.properties                     
        (rev 0)
+++ trunk/activitycalendarfrontend/sonar-project.properties     2012-05-16 
07:22:35 UTC (rev 9406)
@@ -0,0 +1,25 @@
+#Project-file used by Sonar. Added by Erik Holm-Larsen, Bouvet AS
+# required metadata
+sonar.projectKey=no.bouvet.portico:activitycalendarfrontend
+sonar.projectName=PorticoEstate Aktivitetsoversikt frontend
+
+sonar.projectVersion=1.0-SNAPSHOT
+  
+# path to source directories (required)
+#sources=jenkins_checkout/pe/controller,jenkins_checkout/pe/rental,jenkins_checkout/pe/activitycalendar
+sources=.
+tests=../tests
+ 
+sonar.language=php
+ 
+#sonar.scm.url=scm:svn:http://svn.codehaus.org/sonar-plugins/trunk/php/math-php-test
+sonar.scm.url=scm:svn:http://svn.savannah.nongnu.org/svn/fmsystem/trunk/
+ 
+#sonar.phpUnit.mainTestClass=source/tests/AllTests2.php
+sonar.phpUnit.mainTestClass=../tests.php
+sonar.phpcpd.excludes=../tests.php
+ 
+# Example of properties that can be uncommented to enable reuse of existing 
PHP Code Sniffer reports
+#sonar.phpCodesniffer.analyzeOnly=true
+#sonar.phpCodesniffer.reportFileRelativePath=../../logs
+#sonar.phpCodesniffer.reportFileName=cs-report.xml
\ No newline at end of file


Property changes on: trunk/activitycalendarfrontend/sonar-project.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/controller/sonar-project.properties
===================================================================
--- trunk/controller/sonar-project.properties                           (rev 0)
+++ trunk/controller/sonar-project.properties   2012-05-16 07:22:35 UTC (rev 
9406)
@@ -0,0 +1,24 @@
+#Project-file used by Sonar. Added by Erik Holm-Larsen, Bouvet AS
+# required metadata
+sonar.projectKey=no.bouvet.portico:controller
+sonar.projectName=PorticoEstate Controller
+sonar.projectVersion=1.0-SNAPSHOT
+  
+# path to source directories (required)
+#sources=jenkins_checkout/pe/controller,jenkins_checkout/pe/rental,jenkins_checkout/pe/activitycalendar
+sources=.
+tests=../tests
+ 
+sonar.language=php
+ 
+#sonar.scm.url=scm:svn:http://svn.codehaus.org/sonar-plugins/trunk/php/math-php-test
+sonar.scm.url=scm:svn:http://svn.savannah.nongnu.org/svn/fmsystem/trunk/
+ 
+#sonar.phpUnit.mainTestClass=source/tests/AllTests2.php
+sonar.phpUnit.mainTestClass=../tests.php
+sonar.phpcpd.excludes=../tests.php
+ 
+# Example of properties that can be uncommented to enable reuse of existing 
PHP Code Sniffer reports
+#sonar.phpCodesniffer.analyzeOnly=true
+#sonar.phpCodesniffer.reportFileRelativePath=../../logs
+#sonar.phpCodesniffer.reportFileName=cs-report.xml
\ No newline at end of file


Property changes on: trunk/controller/sonar-project.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/frontend/sonar-project.properties
===================================================================
--- trunk/frontend/sonar-project.properties                             (rev 0)
+++ trunk/frontend/sonar-project.properties     2012-05-16 07:22:35 UTC (rev 
9406)
@@ -0,0 +1,24 @@
+#Project-file used by Sonar. Added by Erik Holm-Larsen, Bouvet AS
+# required metadata
+sonar.projectKey=no.bouvet.portico:frontend
+sonar.projectName=PorticoEstate frontend
+sonar.projectVersion=1.0-SNAPSHOT
+  
+# path to source directories (required)
+#sources=jenkins_checkout/pe/controller,jenkins_checkout/pe/rental,jenkins_checkout/pe/activitycalendar
+sources=.
+tests=../tests
+ 
+sonar.language=php
+ 
+#sonar.scm.url=scm:svn:http://svn.codehaus.org/sonar-plugins/trunk/php/math-php-test
+sonar.scm.url=scm:svn:http://svn.savannah.nongnu.org/svn/fmsystem/trunk/
+ 
+#sonar.phpUnit.mainTestClass=source/tests/AllTests2.php
+sonar.phpUnit.mainTestClass=../tests.php
+sonar.phpcpd.excludes=../tests.php
+ 
+# Example of properties that can be uncommented to enable reuse of existing 
PHP Code Sniffer reports
+#sonar.phpCodesniffer.analyzeOnly=true
+#sonar.phpCodesniffer.reportFileRelativePath=../../logs
+#sonar.phpCodesniffer.reportFileName=cs-report.xml
\ No newline at end of file


Property changes on: trunk/frontend/sonar-project.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/rental/sonar-project.properties
===================================================================
--- trunk/rental/sonar-project.properties                               (rev 0)
+++ trunk/rental/sonar-project.properties       2012-05-16 07:22:35 UTC (rev 
9406)
@@ -0,0 +1,24 @@
+#Project-file used by Sonar. Added by Erik Holm-Larsen, Bouvet AS
+# required metadata
+sonar.projectKey=no.bouvet.portico:rental
+sonar.projectName=PorticoEstate Leiemodul
+sonar.projectVersion=1.0-SNAPSHOT
+  
+# path to source directories (required)
+#sources=jenkins_checkout/pe/controller,jenkins_checkout/pe/rental,jenkins_checkout/pe/activitycalendar
+sources=.
+tests=../tests
+ 
+sonar.language=php
+ 
+#sonar.scm.url=scm:svn:http://svn.codehaus.org/sonar-plugins/trunk/php/math-php-test
+sonar.scm.url=scm:svn:http://svn.savannah.nongnu.org/svn/fmsystem/trunk/
+ 
+#sonar.phpUnit.mainTestClass=source/tests/AllTests2.php
+sonar.phpUnit.mainTestClass=../tests.php
+sonar.phpcpd.excludes=../tests.php
+ 
+# Example of properties that can be uncommented to enable reuse of existing 
PHP Code Sniffer reports
+#sonar.phpCodesniffer.analyzeOnly=true
+#sonar.phpCodesniffer.reportFileRelativePath=../../logs
+#sonar.phpCodesniffer.reportFileName=cs-report.xml
\ No newline at end of file


Property changes on: trunk/rental/sonar-project.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Added: trunk/tests.php
===================================================================
--- trunk/tests.php                             (rev 0)
+++ trunk/tests.php     2012-05-16 07:22:35 UTC (rev 9406)
@@ -0,0 +1,81 @@
+<?php
+/**
+ * Dummy PHPUnit test-file used by Sonar during automatic build via Jenkins.
+ * 
+ * 
+ * This file is part of phpUnderControl.
+ *
+ * Copyright (c) 2007-2009, Manuel Pichler <address@hidden>.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *   * Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ *
+ *   * Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in
+ *     the documentation and/or other materials provided with the
+ *     distribution.
+ *
+ *   * Neither the name of Manuel Pichler nor the names of his
+ *     contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+require_once 'PHPUnit/Framework/TestCase.php';
+
+
+/**
+ * Simple math test class.
+ *
+ * @package   Example
+ * @author    Manuel Pichler <address@hidden>
+ * @copyright 2007-2009 Manuel Pichler. All rights reserved.
+ * @license   http://www.opensource.org/licenses/bsd-license.php  BSD License
+ * @version   Release: 0.5.0
+ * @link      http://www.phpundercontrol.org/
+ */
+class tests extends PHPUnit_Framework_TestCase
+{
+      /**
+       * The used math object.
+       *
+       * @var PhpUnderControl_Example_Math $math
+       */
+      protected $math = null;
+  
+      /**
+       * Creates a new address@hidden PhpUnderControl_Example_Math} object.
+       */
+      public function setUp()
+      {
+          parent::setUp();
+  
+          $this->math = new tests();
+      }
+  
+      /**
+     * Successful test.
+     */
+    public function testAddSuccess()
+    {
+        $this->assertEquals(4, 4);
+    }
+
+}
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]