Skip to content

Instantly share code, notes, and snippets.

@kenglxn
Created September 24, 2010 07:55
Show Gist options
  • Save kenglxn/595021 to your computer and use it in GitHub Desktop.
Save kenglxn/595021 to your computer and use it in GitHub Desktop.
T E S T S
-------------------------------------------------------
[ERROR] Testcase: AllserviceSearchModelAllserviceSearchTest.php fails.
[ERROR] See log: /home/ken/dev/git/allservice/target/surefire-reports/AllserviceSearchModelAllserviceSearchTest.txt
Running AllserviceStringUtilsTest
Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 0.027209
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.446s
[INFO] Finished at: Fri Sep 24 09:34:47 CEST 2010
[INFO] Final Memory: 36M/480M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.phpmaven:maven-php-plugin:1.1:phpunit (php-tests) on project AllService:
PHP Notice: Constant JPATH_CONFIGURATION already defined in /home/ken/dev/git/allservice/joomla/includes/defines.php on line 29PHP Stack trace:PHP 1. {main}() /home/ken/dev/git/allservice/target/phpinc/PHPUnit/TextUI/Maven.php:0PHP 2. require_once() /home/ken/dev/git/allservice/target/phpinc/PHPUnit/TextUI/Maven.php:14PHP 3. require_once() /home/ken/dev/git/allservice/php-src/com_allservicesearch/site/models/test/AllserviceSearchModelAllserviceSearchTest.php:10PHP 4. define() /home/ken/dev/git/allservice/joomla/includes/defines.php:29PHP Notice: Undefined index: HTTP_HOST in /home/ken/dev/git/allservice/joomla/libraries/joomla/environment/uri.php on line 164PHP Stack trace:PHP 1. {main}() /home/ken/dev/git/allservice/target/phpinc/PHPUnit/TextUI/Maven.php:0PHP 2. require_once() /home/ken/dev/git/allservice/target/phpinc/PHPUnit/TextUI/Maven.php:14PHP 3. require_once() /home/ken/dev/git/allservice/php-src/com_allservicesearch/site/models/test/AllserviceSearchModelAllserviceSearchTest.php:13PHP 4. JSite->route() /home/ken/dev/git/allservice/php-src/com_allservicesearch/site/models/test/InitializeJoomla.php:28PHP 5. JApplication->route() /home/ken/dev/git/allservice/joomla/includes/application.php:81PHP 6. JURI->getInstance() /home/ken/dev/git/allservice/joomla/libraries/joomla/application/application.php:192 in
File:
/home/ken/dev/git/allservice/php-src/com_allservicesearch/site/models/test/AllserviceSearchModelAllserviceSearchTest.php
Command:
php -d include_path=":/home/ken/dev/git/allservice/src/main/php:/home/ken/dev/git/allservice//php-src:/home/ken/dev/git/allservice/target/phpinc:/home/ken/dev/git/allservice/php-src/com_allservicesearch/site/models/test:/home/ken/dev/git/allservice/target/test-classes:/home/ken/dev/git/allservice/target/classes:" "/home/ken/dev/git/allservice/target/phpinc/PHPUnit/TextUI/Maven.php" "/home/ken/dev/git/allservice/php-src/com_allservicesearch/site/models/test/AllserviceSearchModelAllserviceSearchTest.php" "/home/ken/dev/git/allservice/target/surefire-reports/AllserviceSearchModelAllserviceSearchTest.xml"+
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment