incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yichi Lu" <yichi...@sungard.com>
Subject Review Request: Another batch of unit tests for the api project
Date Wed, 03 Oct 2012 20:21:41 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7427/
-----------------------------------------------------------

Review request for cloudstack.


Description
-------

another batch of junit tests for the api project. Also changed test directory from api/unittest
to api/src/test.


Diffs
-----


Diff: https://reviews.apache.org/r/7427/diff/


Testing
-------

USLT-205731:junit-tests yichi.lu$ cd api/src/test
USLT-205731:test yichi.lu$ mvn test
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack API Unittest 4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-api-test ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/yichi.lu/CloudStack/junit-tests/api/src/test/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ cloud-api-test ---
[INFO] Compiling 221 source files to /Users/yichi.lu/CloudStack/junit-tests/api/src/test/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-api-test
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/yichi.lu/CloudStack/junit-tests/api/src/test/target/test-classes
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ cloud-api-test
---
[INFO] Compiling 18 source files to /Users/yichi.lu/CloudStack/junit-tests/api/src/test/java/com/cloud/agent/api
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ cloud-api-test ---
[INFO] Surefire report directory: /Users/yichi.lu/CloudStack/junit-tests/api/src/test/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.cloud.agent.api.AgentControlAnswerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 sec
Running com.cloud.agent.api.AgentControlCommandTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.AnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running com.cloud.agent.api.AttachIsoCommandTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running com.cloud.agent.api.AttachVolumeAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.AttachVolumeCommandTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.BackupSnapshotAnswerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.BackupSnapshotCommandTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running com.cloud.agent.api.BumpUpPriorityCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running com.cloud.agent.api.CancelCommandTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.ChangeAgentAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.ChangeAgentCommandTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.CheckHealthAnswerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running com.cloud.agent.api.CheckHealthCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running com.cloud.agent.api.CheckNetworkAnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running com.cloud.agent.api.CheckNetworkCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.agent.api.CheckOnHostCommandTest
Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running com.cloud.agent.api.SnapshotCommandTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

Tests run: 116, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.784s
[INFO] Finished at: Wed Oct 03 15:16:48 CDT 2012
[INFO] Final Memory: 12M/554M
[INFO] ------------------------------------------------------------------------


Thanks,

Yichi Lu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message