incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yichi Lu" <yichi...@sungard.com>
Subject Re: Review Request: A batch of new unit tests for api project
Date Fri, 28 Sep 2012 14:55:41 GMT

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

(Updated Sept. 28, 2012, 2:55 p.m.)


Review request for cloudstack.


Changes
-------

Added ASF license headers, added more unit tests.


Description
-------

A batch of new unit tests for api project.


Diffs (updated)
-----

  api/unittest/src/com/cloud/agent/api/AgentControlAnswerTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/AgentControlCommandTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/AnswerTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/AttachIsoCommandTest.java 638ae29 
  api/unittest/src/com/cloud/agent/api/AttachVolumeAnswerTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/AttachVolumeCommandTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/BackupSnapshotAnswerTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/BackupSnapshotCommandTest.java PRE-CREATION 
  api/unittest/src/com/cloud/agent/api/SnapshotCommandTest.java PRE-CREATION 

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


Testing
-------

USLT-205731:unittest 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-unittest ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ cloud-api-unittest ---
[INFO] Compiling 221 source files to /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-api-unittest
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ cloud-api-unittest
---
[INFO] Compiling 9 source files to /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/src/com/cloud/agent/api
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ cloud-api-unittest ---
[INFO] Surefire report directory: /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/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.051 sec
Running com.cloud.agent.api.AgentControlCommandTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running com.cloud.agent.api.AnswerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running com.cloud.agent.api.AttachIsoCommandTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running com.cloud.agent.api.AttachVolumeAnswerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running com.cloud.agent.api.AttachVolumeCommandTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running com.cloud.agent.api.BackupSnapshotAnswerTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running com.cloud.agent.api.BackupSnapshotCommandTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running com.cloud.agent.api.SnapshotCommandTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.222s
[INFO] Finished at: Wed Sep 26 16:01:22 CDT 2012
[INFO] Final Memory: 11M/554M
[INFO] ------------------------------------------------------------------------


Thanks,

Yichi Lu


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