Team:HFUT CHINA/Unit Test Result.html

From 2014.igem.org

HFUT_CHINA

Unit Test Result

 

The releases and changes between releases information could be found here

 

 

EclEmma, a code coverage tool, was used to test the coverage of our code. Figure 1 shows the results. The average coverage is 61%. Since there are some functions used to build database, access database, and download data from Registry, these codes were uncovered. However, all other performance functions were tested. The uncovered codes will be tested in other plans.

 

Figure 1 Test coverage of our code

 

 

 

 

The automated unit testing results are listed as follows:

 

Start testing function doRecommendation:

 

Test whether an exception is thrown:

No exception is thrown.

 

Test whether the number of strings in the return valueis the same as expected:

The number is correct.

 

Test whether each string of the return value is the same as expected:

 

Expectation: BBa_B0032|RBS|http://parts.igem.org/Part:BBa_B0032

Result: BBa_B0032|RBS|http://parts.igem.org/Part:BBa_B0032

 

Expectation: BBa_B0034|RBS|http://parts.igem.org/Part:BBa_B0034

Result: BBa_B0034|RBS|http://parts.igem.org/Part:BBa_B0034

 

The results are correct.

 

End testing function doRecommendation.

Start testing function getRelevantBioBricks:

 

Test whether an exception is thrown:

No exception is thrown.

 

Test whether the number of strings in the return valueis the same as expected:

The number is correct.

 

Test whether each string of the return value is the same as expected:

 

Expectation: BBa_J63001|Reporter|http://parts.igem.org/Part:BBa_J63001

Result: BBa_J63001|Reporter|http://parts.igem.org/Part:BBa_J63001

 

Expectation: BBa_K105008|Coding|http://parts.igem.org/Part:BBa_K105008

Result: BBa_K105008|Coding|http://parts.igem.org/Part:BBa_K105008

 

Expectation: BBa_K165005|Coding|http://parts.igem.org/Part:BBa_K165005

Result: BBa_K165005|Coding|http://parts.igem.org/Part:BBa_K165005

 

The results are correct.

 

End testing function getRelevantBioBricks.

Start testing function SearchBioBrick:

 

Test whether an exception is thrown:

No exception is thrown.

 

Test whether the number of strings in the return valueis the same as expected:

The number is correct.

 

Test whether each string of the return value is the same as expected:

 

Expectation: BBa_K1010008|Coding|http://parts.igem.org/Part:BBa_K1010008

Result: BBa_K1010008|Coding|http://parts.igem.org/Part:BBa_K1010008

 

Expectation: BBa_K1017301|Coding|http://parts.igem.org/Part:BBa_K1017301

Result: BBa_K1017301|Coding|http://parts.igem.org/Part:BBa_K1017301

 

Expectation: BBa_K1033204|Plasmid_Backbone|http://parts.igem.org/Part:BBa_K1033204

Result: BBa_K1033204|Plasmid_Backbone|http://parts.igem.org/Part:BBa_K1033204

 

Expectation: BBa_K105007|Protein_Domain|http://parts.igem.org/Part:BBa_K105007

Result: BBa_K105007|Protein_Domain|http://parts.igem.org/Part:BBa_K105007

 

Expectation: BBa_K105009|Reporter|http://parts.igem.org/Part:BBa_K105009

Result: BBa_K105009|Reporter|http://parts.igem.org/Part:BBa_K105009

 

Expectation: BBa_K1051289|Measurement|http://parts.igem.org/Part:BBa_K1051289

Result: BBa_K1051289|Measurement|http://parts.igem.org/Part:BBa_K1051289

 

Expectation: BBa_K1053202|Composite|http://parts.igem.org/Part:BBa_K1053202

Result: BBa_K1053202|Composite|http://parts.igem.org/Part:BBa_K1053202

 

Expectation: BBa_K1053203|Composite|http://parts.igem.org/Part:BBa_K1053203

Result: BBa_K1053203|Composite|http://parts.igem.org/Part:BBa_K1053203

 

Expectation: BBa_K1053204|Composite|http://parts.igem.org/Part:BBa_K1053204

Result: BBa_K1053204|Composite|http://parts.igem.org/Part:BBa_K1053204

 

Expectation: BBa_K1075050|Generator|http://parts.igem.org/Part:BBa_K1075050

Result: BBa_K1075050|Generator|http://parts.igem.org/Part:BBa_K1075050

 

The results are correct.

 

End testing function searchBioBrick.

 

OK (3 tests)

 

 

Expectation :BBa_B0010 BBa_B0012 Results : BBa_B0010 BBa_B0012 The results are correct Expectation :BBa_B0010 BBa_B0034 Results : BBa_B0010 BBa_B0034 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :0.001 Results : 0.001 The results are correct Expectation :0.002 Results : 0.002 The results are correct Expectation :first Results : first The results are correct Expectation :first2 Results : first2 The results are correct Expectation :second Results : second The results are correct Expectation :second2 Results : second2 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :0.001 Results : 0.001 The results are correct Expectation :0.002 Results : 0.002 The results are correct Expectation :BBa_B0010 Results : BBa_B0010 The results are correct Expectation :BBa_B0012 Results : BBa_B0012 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :0.01 Results : 0.01 The results are correct Expectation :0.02 Results : 0.02 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :0.001 Results : 0.001 The results are correct Expectation :0.002 Results : 0.002 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : �The results are correct

 

Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :Sat Oct 18 11:52:49 CST 2014 Results : Sat Oct 18 11:52:49 CST 2014 The results are correct Expectation :Sat Oct 18 11:52:49 CST 2014 Results : Sat Oct 18 11:52:49 CST 2014 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation : �Results : �The results are correct Expectation : �Results : �The results are correct Expectation : user1Results : user1The results are correct Expectation : user2Results : user2The results are correct Expectation :0.001 Results : 0.001 The results are correct Expectation :0.002 Results : 0.002 The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation :� Results : � The results are correct Expectation : Results : The results are correct Expectation : Results : The results are correct Expectation : Results : The results are correct Expectation :5a105e8b9d40e1329780d62ea2265d8a Results : 5a105e8b9d40e1329780d62ea2265d8a The results are correct Expectation :ad23482925b933196ba818f7a872b Results : ad23482925b933196ba818f7a872b The results are correct Expectation :class org.hibernate.impl.SessionImpl Results : class org.hibernate.impl.SessionImpl The results are correct Expectation :class org.hibernate.impl.SessionImpl Results : class org.hibernate.impl.SessionImpl The results are correct Expectation :class org.hibernate.impl.SessionFactoryImpl Results : class org.hibernate.impl.SessionFactoryImpl The results are correct Expectation :class org.hibernate.impl.SessionFactoryImpl Results : class org.hibernate.impl.SessionFactoryImpl The results are correct Expectation :Results : The results are correct Expectation : Results : The results are correct Expectation :BBa_K537014 Results : BBa_K537014 The results are correct Expectation :BBa_K537015 Results : BBa_K537015 The results are correct Expectation :BBa_B0010 BBa_B0012 Results : BBa_B0010 BBa_B0012 The results are correct Expectation :BBa_B0012 BBa_B0012 Results : BBa_B0012 BBa_B0012 The results are correct Expectation :true Results : true The results are correct Expectation :false Results : false The results are correct Expectation :true Results : true The results are correct Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct Expectation :false Results : false The results are correct Expectation :false Results : false The results are correct Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation :{ Results : { The results are correct

 

Expectation : Results : The results are correct

 

Expectation :BBa_B0010 BBa_B0012 Results : BBa_B0010 BBa_B0012 The results are correct

 

Expectation :BBa_B0012 BBa_B0034 Results : BBa_B0012 BBa_B0034 The results are correct

 

Expectation :BBa_B0010 Results : BBa_B0010 The results are correct

 

Expectation :BBa_B0012 Results : BBa_B0012 The results are correct

 

Expectation :http://url1 Results : The results are correct

 

Expectation :http://url2 Results : http://url2 The results are correct

 

Expectation :RBS Results : RBS The results are correct

 

Expectation :T7 Results : T7 The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation :Sat Oct 18 11:53:00 CST 2014 Results : Sat Oct 18 11:53:00 CST 2014 The results are correct

 

Expectation :Sat Oct 18 11:53:00 CST 2014 Results : Sat Oct 18 11:53:00 CST 2014 The results are correct

 

Expectation :{ Results : { The results are correct

 

Expectation : Results : The results are correct

 

Expectation :BBa_B0010 Results : BBa_B0010 The results are correct

 

Expectation :BBa_B0012 Results : BBa_B0012 The results are correct

 

Expectation :http://url1 Results : http://url1 The results are correct Expectation :http://url2 Results : http://url2 The results are correct

 

Expectation :RBS Results : RBS The results are correct

 

Expectation :T7 Results : T7 The results are correct

 

Expectation :user1 Results : user1 The results are correct

 

Expectation :user2 Results : user2 The results are correct

 

Expectation :user1 Results : user1 The results are correct

 

Expectation :user2 Results : user2 The results are correct

 

Expectation :user3 Results : user3 The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation :{ Results : { The results are correct

 

Expectation : Results : The results are correct

 

Expectation :BBa_B0010 Results : BBa_B0010 The results are correct

 

Expectation :BBa_B0012 Results : BBa_B0012 The results are correct

 

Expectation :http://url1 Results : http://url1 The results are correct

 

Expectation :http:/url2 Results : http://url2 The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation :ATCG Results : ATCG The results are correct

 

Expectation :AATT Results : AATT The results are correct

 

Expectation :RBS Results : RBS The results are correct

 

Expectation :T7 Results : T7 The results are correct

 

Expectation :Bba_B0010 Results : BBa_B0010 The results are correct

 

Expectation :BBa_B0012 Results : BBa_B0012 The results are correct

 

Expectation : Results : The results are correct

 

Expectation : Results : The results are correct

 

Expectation :Results : The results are correct

 

Expectation :Results : The results are correct

 

Expectation :BBa_B0010 Results : BBa_B0010 The results are correct

 

Expectation :BBa_B0012 Results : BBa_B0012 The results are correct

 

Expectation :true Results : true The results are correct Expectation :true Results : true The results are correct Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :true Results : false The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :false Results : false The results are correct

 

Expectation :true Results : true The results are correct

 

Expectation :true Results : true The results are correct