Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
477 0 0 1 99.79% 6.806

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.github.badpop.jcoinbase.model.account 4 0 0 0 100% 0.001
com.github.badpop.jcoinbase.service.account.dto 4 0 0 0 100% 0.001
com.github.badpop.jcoinbase.service.http 18 0 0 0 100% 0.107
com.github.badpop.jcoinbase.service 2 0 0 0 100% 0.153
com.github.badpop.jcoinbase.model.user 2 0 0 0 100% 0.007
com.github.badpop.jcoinbase.service.user.dto 6 0 0 0 100% 0.002
com.github.badpop.jcoinbase.service.user 36 0 0 0 100% 1.058
com.github.badpop.jcoinbase 20 0 0 1 95% 0.767
com.github.badpop.jcoinbase.service.utils 4 0 0 0 100% 0
com.github.badpop.jcoinbase.service.data.dto 4 0 0 0 100% 0.001
com.github.badpop.jcoinbase.control 273 0 0 0 100% 0.178
com.github.badpop.jcoinbase.service.dto 5 0 0 0 100% 0.002
com.github.badpop.jcoinbase.model 15 0 0 0 100% 0.016
com.github.badpop.jcoinbase.service.account 45 0 0 0 100% 3.199
com.github.badpop.jcoinbase.service.data 34 0 0 0 100% 1.285
com.github.badpop.jcoinbase.service.auth 5 0 0 0 100% 0.029

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.github.badpop.jcoinbase.model.account

Class Tests Errors Failures Skipped Success Rate Time
AccountTypeTest$FromStringAsJava 2 0 0 0 100% 0
AccountTypeTest$FromString 2 0 0 0 100% 0.001

com.github.badpop.jcoinbase.service.account.dto

Class Tests Errors Failures Skipped Success Rate Time
AccountCurrencyDtoTest 1 0 0 0 100% 0
AccountDtoTest 1 0 0 0 100% 0.001
RewardsDtoTest 1 0 0 0 100% 0
AccountBalanceDtoTest 1 0 0 0 100% 0

com.github.badpop.jcoinbase.service.http

Class Tests Errors Failures Skipped Success Rate Time
HttpRequestSenderTest$SingleFailureSend 3 0 0 0 100% 0.037
HttpRequestSenderTest$paginatedSend 3 0 0 0 100% 0.025
HttpRequestSenderTest$Send 3 0 0 0 100% 0.02
JsonDeserializationServiceTest$SingleFailureDeserialize 3 0 0 0 100% 0.004
JsonDeserializationServiceTest$PaginatedDeserialize 3 0 0 0 100% 0.011
JsonDeserializationServiceTest$Deserialize 3 0 0 0 100% 0.01

com.github.badpop.jcoinbase.service

Class Tests Errors Failures Skipped Success Rate Time
ErrorManagerServiceTest 2 0 0 0 100% 0.153

com.github.badpop.jcoinbase.model.user

Class Tests Errors Failures Skipped Success Rate Time
AuthorizationsTest 1 0 0 0 100% 0.001
UserTest 1 0 0 0 100% 0.006

com.github.badpop.jcoinbase.service.user.dto

Class Tests Errors Failures Skipped Success Rate Time
AuthorizationsDtoTest 1 0 0 0 100% 0
ReferralMoneyDtoTest 1 0 0 0 100% 0.001
NationalityDtoTest 1 0 0 0 100% 0
CountryDtoTest 1 0 0 0 100% 0
TiersDtoTest 1 0 0 0 100% 0
UserDtoTest 1 0 0 0 100% 0.001

com.github.badpop.jcoinbase.service.user

Class Tests Errors Failures Skipped Success Rate Time
UserServiceTest$UpdateCurrentUser 6 0 0 0 100% 0.044
UserServiceTest$GetUserById 6 0 0 0 100% 0.023
UserServiceTest$GetAuthorization 6 0 0 0 100% 0.021
UserServiceTest$GetCurrentUser 6 0 0 0 100% 0.021
CoinbaseUserServiceTest$UpdateCurrentUser 3 0 0 0 100% 0.309
CoinbaseUserServiceTest$FetchUserById 3 0 0 0 100% 0.201
CoinbaseUserServiceTest$FetchAuthorizations 3 0 0 0 100% 0.225
CoinbaseUserServiceTest$FetchCurrentUser 3 0 0 0 100% 0.214

com.github.badpop.jcoinbase

Class Tests Errors Failures Skipped Success Rate Time
JCoinbasePropertiesFactoryTest 3 0 0 0 100% 0.001
JCoinbasePropertiesTest 1 0 0 0 100% 0.001
DevelopmentTest 1 0 0 1 0% 0.002
JCoinbaseClientTest 8 0 0 0 100% 0.095
JCoinbaseClientFactoryTest 7 0 0 0 100% 0.668

com.github.badpop.jcoinbase.service.utils

Class Tests Errors Failures Skipped Success Rate Time
StringUtilsTest 4 0 0 0 100% 0

com.github.badpop.jcoinbase.service.data.dto

Class Tests Errors Failures Skipped Success Rate Time
ExchangeRatesDtoTest 1 0 0 0 100% 0
PriceDtoTest 1 0 0 0 100% 0
TimeDtoTest 1 0 0 0 100% 0
CurrencyDtoTest 1 0 0 0 100% 0.001

com.github.badpop.jcoinbase.control

Class Tests Errors Failures Skipped Success Rate Time
CallResultSuccessProjectionTest 90 0 0 0 100% 0.032
CallResultFailureProjectionTest 90 0 0 0 100% 0.064
CallResultTest 93 0 0 0 100% 0.082

com.github.badpop.jcoinbase.service.dto

Class Tests Errors Failures Skipped Success Rate Time
DataErrorsDtoTest 1 0 0 0 100% 0
SingleErrorDtoTest 2 0 0 0 100% 0
PaginatedResponseDtoTest 1 0 0 0 100% 0.001
ErrorDtoTest 1 0 0 0 100% 0.001

com.github.badpop.jcoinbase.model

Class Tests Errors Failures Skipped Success Rate Time
PaginationTest$FromStringAsJava 2 0 0 0 100% 0
PaginationTest$FromString 2 0 0 0 100% 0.006
PriceTest$PriceTypeTest 6 0 0 0 100% 0.005
PaginatedResponseTest 1 0 0 0 100% 0.004
ResourceTypeTest 4 0 0 0 100% 0.001

com.github.badpop.jcoinbase.service.account

Class Tests Errors Failures Skipped Success Rate Time
CoinbaseAccountServiceTest$Send 5 0 0 0 100% 1.629
CoinbaseAccountServiceTest$FetchAccountsPageByUri 3 0 0 0 100% 0.326
AccountServiceTest$UpdateAccount 8 0 0 0 100% 0.882
AccountServiceTest$GetAccount 7 0 0 0 100% 0.19
AccountServiceTest$GetPreviousAccountsPage 8 0 0 0 100% 0.128
AccountServiceTest$GetNextAccountsPage 8 0 0 0 100% 0.021
AccountServiceTest$GetAccountsPage 6 0 0 0 100% 0.023

com.github.badpop.jcoinbase.service.data

Class Tests Errors Failures Skipped Success Rate Time
DataServiceTest$GetPrices 6 0 0 0 100% 0.031
DataServiceTest$GetCurrencies 6 0 0 0 100% 0.025
DataServiceTest$GetExchangeRates 4 0 0 0 100% 0.014
DataServiceTest$GetTime 4 0 0 0 100% 0.015
CoinbaseDataServiceTest$FetchPrice 5 0 0 0 100% 0.557
CoinbaseDataServiceTest$FetchExchangeRates 3 0 0 0 100% 0.234
CoinbaseDataServiceTest$FetchCurrencies 3 0 0 0 100% 0.213
CoinbaseDataServiceTest$FetchTime 3 0 0 0 100% 0.196

com.github.badpop.jcoinbase.service.auth

Class Tests Errors Failures Skipped Success Rate Time
AuthenticationServiceTest$Allow 2 0 0 0 100% 0.001
AuthenticationServiceTest$Headers 3 0 0 0 100% 0.028

Test Cases

[Summary] [Package List] [Test Cases]

UserServiceTest$UpdateCurrentUser

should_return_user_as_java 0.014
should_return_user 0.001
should_return_CallResult_failure 0.001
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure 0.016
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure_as_java 0.012
should_return_CallResult_failure_as_java 0

UserServiceTest$GetUserById

should_return_user_as_java 0
should_return_user 0
should_return_CallResult_failure 0.001
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure 0.011
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure_as_java 0.011
should_return_CallResult_failure_as_java 0

UserServiceTest$GetAuthorization

should_return_CallResult_failure 0
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure 0.011
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure_as_java 0.01
should_return_CallResult_failure_as_java 0
should_return_current_user_auths_as_java 0
should_return_current_user_auths 0

UserServiceTest$GetCurrentUser

should_return_CallResult_failure 0.001
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure 0.01
should_throws_JCoinbaseException_if_CoinbaseUserService_return_a_failure_as_java 0.01
should_return_CallResult_failure_as_java 0
should_return_current_user 0
should_return_current_user_as_java 0

DataErrorsDtoTest

should_map_to_seq_of_CoinbaseError 0

ExchangeRatesDtoTest

should_return_ExchangeRates 0

SingleErrorDtoTest

should_map_to_CoinbaseError 0
should_map_to_CoinbaseError_with_url 0

AuthenticationServiceTest$Allow

should_not_be_allowed 0.001
should_be_allowed 0

AuthenticationServiceTest$Headers

should_return_headers 0.002
should_return_headers_even_if_body_is_empty 0.001
should_not_return_headers_if_not_allowed 0.025

PaginationTest$FromStringAsJava

should_Not_retrieve_order 0
should_retrieve_order 0

PaginationTest$FromString

should_Not_retrieve_order 0.005
should_retrieve_order 0.001

AccountCurrencyDtoTest

should_map_to_AccountCurrency 0

PriceDtoTest

should_return_Price 0

JCoinbasePropertiesFactoryTest

should_not_return_thread_safe_singleton 0.001
should_return_same_instance_if_already_computed 0
should_return_new_instance_if_null 0

CallResultSuccessProjectionTest

shouldBeAwareOfPropertyThatHoldsForAll 0
shouldThrowWhenCallingGetOrElseTryOnEmptyValueAndTryIsAFailure 0
shouldRecognizeUnequalObjects 0
shouldBeAwareOfExistingElement 0
shouldPerformsActionOnEachElement 0
shouldContains 0
shouldCalculateGetOrElseWithNull 0
shouldHaveAReasonableToString 0
shouldBesINGLEvalued 0.001
shouldConvertToOption 0
shouldBeAwareOfNonExistingElement 0
shouldReturnValueWhenGetOrNullOfNonEmpty 0.001
shouldPeekNil 0
shouldBeAwareOfPropertyThatNotHoldsForAll 0
shouldNotThrowOnGetOrElseThrowIfNonEmpty 0.001
shouldGetNonEmpty 0
shouldConvertToCallResult 0
shouldNotBeLazy 0
shouldCalculateIsEmpty 0.001
shouldThrowOnGetOrElseThrowIfEmpty 0
shouldPeekNonNilPerformingAnAction 0
shouldNotContains 0.001
shouldRecognizeSameObject 0
shouldReturnUnderlyingValueWhenCallingGetOrElseTryOnNonEmptyValue 0
shouldReturnNullWhenGetOrNullOfEmpty 0
shouldCalculateGetOrElseWithSupplier 0
shouldGetEmpty 0
shouldCalculateGetOrElseWithNonNull 0.001
shouldReturnAlternateValueWhenCallingGetOrElseTryOnEmptyValue 0
shouldNotBeAsync 0
shouldThrowOnGetOrElseWithNullSupplier 0
shouldRecognizeEqualObjects 0
shouldPeekSingleValuePerformingAnAction 0
shouldPeekNonNilPerformingNoAction 0
shouldConvertToJavaOptional 0
shouldGetOnRightProjectionOfsuccess 0
shouldNotHoldPropertyExistsOfRightProjectionOffailure 0.001
shouldHashRightProjectionOffailure 0
shouldBeAwareOfPropertyThatHoldsExistsOfRightProjectionOfsuccess 0
shouldHaveSizedSpliterator 0.001
shouldReturnOtherWhenOrElseGetGivenFunctionOnRightProjectionOffailure 0
shouldReturnOtherWhenOrElseOnRightProjectionOffailure 0
shouldEqualRightProjectionOfRightIfObjectIsSame 0.001
shouldReturnRightWhenOrElseRunOnRightProjectionOfsuccess 0
shouldFlatMapOnRightProjectionOfsuccess 0
shouldNotEqualRightProjectionOfRightIfObjectIsNull 0
shouldConvertRightProjectionOfRightToCallResult 0
shouldConvertRightProjectionOfLeftToCallResult 0
shouldEqualRightProjectionOfsuccess 0.001
shouldMapOnRightProjectionOfsuccess 0
shouldBeAwareOfPropertyThatNotHoldsForAllOfRightProjectionOfsuccess 0.001
shouldReturnRightWhenOrElseOnRightProjectionOfsuccess 0
shouldConvertRightProjectionOfLeftToString 0
shouldNotEqualRightProjectionOfLeftIfObjectIsOfDifferentType 0
shouldFilterNoneOnRightProjectionOfRightIfPredicateNotMatches 0
shouldForEachOnRightProjectionOfsuccess 0
shouldConvertRightProjectionOfLeftToJavaOptional 0.001
shouldFlatMapOnRightProjectionOffailure 0
shouldReturnSizeWhenSpliterator 0
shouldConvertRightProjectionOfRightToJavaOptional 0.001
shouldEqualRightProjectionOffailure 0
shouldTransform 0
shouldFilterNoneOnRightProjectionOfLeftIfPredicateNotMatches 0.001
shouldMapOnRightProjectionOffailure 0
shouldNotEqualRightProjectionOfLeftIfObjectIsNull 0
shouldReturnRightWhenOrElseGetGivenFunctionOnRightProjectionOfsuccess 0
shouldNotEqualRightProjectionOfRightIfObjectIsOfDifferentType 0
shouldForEachOnRightProjectionOffailure 0.001
shouldConvertRightProjectionOfLeftToNone 0
shouldReturnIteratorOfLeftOfRightProjection 0
shouldReturnOtherWhenOrElseRunOnRightProjectionOffailure 0.001
shouldNotHoldPropertyForAllOfRightProjectionOffailure 0
shouldBeAwareOfPropertyThatNotHoldsExistsOfRightProjectionOfsuccess 0
shouldFlatMapRightProjectionOfLeftOnRightProjectionOfsuccess 0.001
shouldBeAwareOfPropertyThatHoldsForAllOfRightProjectionOfsuccess 0
shouldFilterSomeOnRightProjectionOfRightIfPredicateMatches 0
shouldRightProjectionOrElseRightProjectionFromSupplier 0.001
shouldPeekOnRightProjectionOfsuccess 0
shouldHaveOrderedSpliterator 0
shouldRightProjectionOrElseRightProjection 0.001
shouldConvertRightProjectionOfRightToString 0
shouldFilterSomeOnRightProjectionOfLeftIfPredicateMatches 0
shouldReturnIteratorOfRightOfRightProjection 0.001
shouldThrowOnGetOnRightProjectionOffailure 0
shouldEqualRightProjectionOfLeftIfObjectIsSame 0.001
shouldConvertRightProjectionOfRightToSome 0
shouldHashRightProjectionOfsuccess 0
shouldReturnRightWhenOrElseThrowWithFunctionOnRightProjectionOfsuccess 0.001
shouldPeekOnRightProjectionOffailure 0
shouldThrowWhenOrElseThrowWithFunctionOnRightProjectionOffailure 0.001

CoinbaseAccountServiceTest$Send

should_return_CallResult_failure 1.12
should_return_CallResult_success_with_body 0.18
should_throws_when_method_is_blank 0.051
should_return_failure 0.114
should_return_CallResult_success_without_body 0.164

CoinbaseAccountServiceTest$FetchAccountsPageByUri

should_return_CallResult_failure 0.098
should_return_failure 0.084
should_return_CallResult_success 0.144

JCoinbasePropertiesTest

should_properly_build_JCoinbaseProperties 0.001

HttpRequestSenderTest$SingleFailureSend

should_return_try_failure 0.027
should_return_try_containing_a_call_result_success 0.007
should_return_try_containing_a_call_result_failure 0.003

HttpRequestSenderTest$paginatedSend

should_return_try_failure 0.004
should_return_try_containing_a_call_result_success 0.018
should_return_try_containing_a_call_result_failure 0.003

HttpRequestSenderTest$Send

should_return_try_failure 0.003
should_return_try_containing_a_call_result_success 0.014
should_return_try_containing_a_call_result_failure 0.003

DevelopmentTest

com.github.badpop.jcoinbase.DevelopmentTest 0
For development purpose only

PriceTest$PriceTypeTest

should_return_empty_option 0
should_retrieve_pricetype_as_java_optional 0
should_retrieve_pricetype_as_vavr_option 0.001
should_retrieve_correct_PriceType 0.002
should_return_empty_optional 0
should_throws_JCoinbaseException 0.002

PaginatedResponseTest

should_return_data_as_java_list 0.004

DataServiceTest$GetPrices

getPrice_should_throw_JCoinbaseException 0.03
should_return_callresult_failure 0
should_return_currency_BUY_PRICE 0
should_return_currency_SELL_PRICE 0.001
should_return_callresult_failure_as_java 0
should_return_currency_SPOT_PRICE 0

DataServiceTest$GetCurrencies

should_return_callresult_failure 0
should_return_callresult_failure_as_java 0
getCurrenciesAsJavaList_should_return_currencies_as_java_list 0
getCurrencies_should_throw_JCoinbaseException 0.012
getCurrencies_should_return_currencies_as_vavr_list 0
getCurrenciesAsJavaList_should_throw_JCoinbaseException 0.013

DataServiceTest$GetExchangeRates

should_return_call_result_failure 0
getExchangeRates_should_throw_JCoinbaseException 0.013
getExchangeRates_should_return_ExchangeRates 0
should_return_call_result_failure_as_java 0.001

DataServiceTest$GetTime

should_return_failure_as_java 0.001
should_return_time 0
getTime_should_throw_JCoinbaseException 0.013
should_return_failure 0.001

JsonDeserializationServiceTest$SingleFailureDeserialize

should_throw_JsonProcessingException 0
should_properly_deserialize_and_return_success 0.002
should_properly_deserialize_and_return_failure 0.002

JsonDeserializationServiceTest$PaginatedDeserialize

should_throw_JsonProcessingException 0.001
should_properly_deserialize_and_return_success 0.009
should_properly_deserialize_and_return_failure 0.001

JsonDeserializationServiceTest$Deserialize

should_throw_JsonProcessingException 0.001
should_properly_deserialize_and_return_success 0.008
should_properly_deserialize_and_return_failure 0.001

AccountDtoTest

should_map_to_Account 0

AccountTypeTest$FromStringAsJava

should_not_retrieve_type 0
should_retrieve_type 0

AccountTypeTest$FromString

should_not_retrieve_type 0.001
should_retrieve_type 0

ErrorManagerServiceTest

should_throw_exception 0
should_throw_exception_with_throwable 0.152

PaginatedResponseDtoTest

should_map_to_paginatedResponse 0.001

StringUtilsTest

should_determine_that_string_is_blank_when_empty 0
should_determine_that_string_is_not_blank 0
should_determine_that_string_is_blank_when_whitespace 0
should_determine_that_string_is_blank_when_null 0

RewardsDtoTest

should_map 0

ResourceTypeTest

should_find_resource_from_string 0
should_not_find_resource_from_string 0
should_not_find_resource_from_string_as_java 0
should_find_resource_from_string_as_java 0

JCoinbaseClientTest

should_return_AccountService 0.016
should_return_DataService 0.003
should_not_be_allowed 0.033
should_return_UserService 0.001
should_call_buildWithoutThreadSafeSingleton_on_build 0.002
should_properly_build_JCoinbaseClient 0.011
should_call_buildThreadSafeSingleton_on_build 0.003
should_not_return_UserService_if_not_allowed 0.018

CallResultFailureProjectionTest

shouldBeAwareOfPropertyThatHoldsForAll 0
shouldThrowWhenCallingGetOrElseTryOnEmptyValueAndTryIsAFailure 0.007
shouldRecognizeUnequalObjects 0.001
shouldBeAwareOfExistingElement 0.001
shouldPerformsActionOnEachElement 0
shouldContains 0
shouldCalculateGetOrElseWithNull 0.001
shouldHaveAReasonableToString 0.003
shouldBesINGLEvalued 0
shouldConvertToOption 0.001
shouldBeAwareOfNonExistingElement 0.002
shouldReturnValueWhenGetOrNullOfNonEmpty 0
shouldPeekNil 0.001
shouldBeAwareOfPropertyThatNotHoldsForAll 0.001
shouldNotThrowOnGetOrElseThrowIfNonEmpty 0
shouldGetNonEmpty 0
shouldConvertToCallResult 0.001
shouldNotBeLazy 0
shouldCalculateIsEmpty 0.001
shouldThrowOnGetOrElseThrowIfEmpty 0
shouldPeekNonNilPerformingAnAction 0
shouldNotContains 0
shouldRecognizeSameObject 0
shouldReturnUnderlyingValueWhenCallingGetOrElseTryOnNonEmptyValue 0.001
shouldReturnNullWhenGetOrNullOfEmpty 0
shouldCalculateGetOrElseWithSupplier 0.001
shouldGetEmpty 0
shouldCalculateGetOrElseWithNonNull 0
shouldReturnAlternateValueWhenCallingGetOrElseTryOnEmptyValue 0.001
shouldNotBeAsync 0
shouldThrowOnGetOrElseWithNullSupplier 0.001
shouldRecognizeEqualObjects 0
shouldPeekSingleValuePerformingAnAction 0.001
shouldPeekNonNilPerformingNoAction 0.001
shouldConvertToJavaOptional 0
shouldReturnIteratorOfRightOfLeftProjection 0
shouldForEachOnLeftProjectionOfsuccess 0
shouldBeAwareOfPropertyThatHoldsExistsOfLeftProjectionOffailure 0.001
shouldFilterSomeOnLeftProjectionOfLeftIfPredicateMatches 0
shouldEqualLeftProjectionOfsuccess 0
shouldHaveSizedSpliterator 0
shouldNotEqualLeftProjectionOfLeftIfObjectIsNull 0.001
shouldGetOnLeftProjectionOffailure 0
shouldReturnOtherWhenOrElseOnLeftProjectionOfsuccess 0.001
shouldFlatMapOnLeftProjectionOfsuccess 0
shouldBeAwareOfPropertyThatNotHoldsExistsOfLeftProjectionOffailure 0
shouldFilterNoneOnLeftProjectionOfLeftIfPredicateNotMatches 0.001
shouldReturnOtherWhenOrElseGetGivenFunctionOnLeftProjectionOfsuccess 0
shouldFlatMapLeftProjectionOfRightOnLeftProjectionOffailure 0.001
shouldForEachOnLeftProjectionOffailure 0.001
shouldReturnLeftWhenOrElseOnLeftProjectionOffailure 0
shouldNotHoldPropertyForAllOfLeftProjectionOfsuccess 0.001
shouldEqualLeftProjectionOffailure 0
shouldEqualLeftProjectionOfRightIfObjectIsSame 0
shouldConvertLeftProjectionOfLeftToEither 0
shouldPeekOnLeftProjectionOfsuccess 0
shouldHashLeftProjectionOfsuccess 0
shouldFlatMapOnLeftProjectionOffailure 0
shouldReturnLeftWhenOrElseThrowWithFunctionOnLeftProjectionOffailure 0
shouldConvertLeftProjectionOfLeftToString 0
shouldLeftProjectionOrElseLeftProjectionFromSupplier 0
shouldReturnSizeWhenSpliterator 0.002
shouldConvertLeftProjectionOfRightToNone 0
shouldNotEqualLeftProjectionOfLeftIfObjectIsOfDifferentType 0
shouldTransform 0
shouldPeekOnLeftProjectionOffailure 0.001
shouldHashLeftProjectionOffailure 0
shouldReturnLeftWhenOrElseRunOnLeftProjectionOffailure 0.001
shouldThrowOnGetOnLeftProjectionOfsuccess 0
shouldReturnLeftWhenOrElseGetGivenFunctionOnLeftProjectionOffailure 0
shouldNotHoldPropertyExistsOfLeftProjectionOfsuccess 0.001
shouldEqualLeftProjectionOfLeftIfObjectIsSame 0
shouldMapOnLeftProjectionOfsuccess 0.001
shouldConvertLeftProjectionOfRightToEither 0
shouldBeAwareOfPropertyThatHoldsForAllOfLeftProjectionOffailure 0.002
shouldLeftProjectionOrElseLeftProjection 0
shouldReturnIteratorOfLeftOfLeftProjection 0
shouldThrowWhenOrElseThrowWithFunctionOnLeftProjectionOfsuccess 0.001
shouldConvertLeftProjectionOfRightToString 0
shouldBeAwareOfPropertyThatNotHoldsForAllOfLeftProjectionOffailure 0.001
shouldHaveOrderedSpliterator 0
shouldFilterSomeOnLeftProjectionOfRightIfPredicateMatches 0.001
shouldConvertLeftProjectionOfRightToJavaOptional 0
shouldNotEqualLeftProjectionOfRightIfObjectIsOfDifferentType 0
shouldMapOnLeftProjectionOffailure 0
shouldConvertLeftProjectionOfLeftToSome 0
shouldNotEqualLeftProjectionOfRightIfObjectIsNull 0
shouldConvertLeftProjectionOfLeftToJavaOptional 0
shouldFilterNoneOnLeftProjectionOfRightIfPredicateNotMatches 0.001
shouldReturnOtherWhenOrElseRunOnLeftProjectionOfsuccess 0.001

JCoinbaseClientFactoryTest

should_not_return_thread_safe_singleton 0.643
buildWithoutThreadSafeSingleton_should_not_return_thread_safe_singleton 0.006
should_return_same_instance_if_already_computed 0.003
buildThreadSafeSingleton_should_return_same_instance_if_already_computed 0
should_set_timeout_to_3_if_less_than_1 0.008
should_return_new_instance_if_null 0.003
buildThreadSafeSingleton_should_return_new_instance_if_null 0

AuthorizationsTest

should_return_scopes_as_java 0.001

AuthorizationsDtoTest

should_map_to_authorizations 0

ReferralMoneyDtoTest

should_map 0

AccountServiceTest$UpdateAccount

should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure_as_java 0.856
should_throws_NPE_if_request_is_null 0.001
should_return_CallResult_failure 0.004
should_return 0.003
should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure 0.016
should_return_CallResult_failure_as_java 0
should_return_as_java 0
should_throws_InvalidRequestException_if_id_is_blank 0.002

AccountServiceTest$GetAccount

should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure_as_java 0.097
should_return_CallResult_failure 0.001
should_return 0
should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure 0.09
should_return_CallResult_failure_as_java 0
should_return_as_java 0
should_throws_InvalidRequestException_if_id_is_blank 0.002

AccountServiceTest$GetPreviousAccountsPage

should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure_as_java 0.115
should_return_CallResult_failure 0.001
should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure 0.011
should_return_CallResult_failure_as_java 0
should_return_as_java 0
should_return_accounts 0
should_throws_NoPreviousPageException_when_as_java 0
should_throws_NoPreviousPageException 0.001

AccountServiceTest$GetNextAccountsPage

should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure_as_java 0.01
should_return_CallResult_failure 0.001
should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure 0.009
should_return_CallResult_failure_as_java 0.001
should_return_as_java 0
should_return_accounts 0
should_throws_NoNextPageException 0
should_throws_NoNextPageException_when_as_java 0

AccountServiceTest$GetAccountsPage

should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure_as_java 0.012
should_return_CallResult_failure 0
should_throws_JCoinbaseException_if_CoinbaseAccountService_return_a_failure 0.01
should_return_CallResult_failure_as_java 0
should_return_as_java 0.001
should_return_acounts 0

TimeDtoTest

should_return_time 0

NationalityDtoTest

should_map 0

CallResultTest

shouldBeAwareOfPropertyThatHoldsForAll 0
shouldThrowWhenCallingGetOrElseTryOnEmptyValueAndTryIsAFailure 0.001
shouldRecognizeUnequalObjects 0
shouldBeAwareOfExistingElement 0
shouldPerformsActionOnEachElement 0.001
shouldContains 0
shouldCalculateGetOrElseWithNull 0
shouldHaveAReasonableToString 0
shouldBesINGLEvalued 0.001
shouldConvertToOption 0
shouldBeAwareOfNonExistingElement 0
shouldReturnValueWhenGetOrNullOfNonEmpty 0
shouldPeekNil 0.001
shouldBeAwareOfPropertyThatNotHoldsForAll 0
shouldNotThrowOnGetOrElseThrowIfNonEmpty 0
shouldGetNonEmpty 0
shouldConvertToCallResult 0.001
shouldNotBeLazy 0
shouldCalculateIsEmpty 0
shouldThrowOnGetOrElseThrowIfEmpty 0
shouldPeekNonNilPerformingAnAction 0
shouldNotContains 0
shouldRecognizeSameObject 0
shouldReturnUnderlyingValueWhenCallingGetOrElseTryOnNonEmptyValue 0
shouldReturnNullWhenGetOrNullOfEmpty 0
shouldCalculateGetOrElseWithSupplier 0
shouldGetEmpty 0.001
shouldCalculateGetOrElseWithNonNull 0
shouldReturnAlternateValueWhenCallingGetOrElseTryOnEmptyValue 0
shouldNotBeAsync 0
shouldThrowOnGetOrElseWithNullSupplier 0
shouldRecognizeEqualObjects 0
shouldPeekSingleValuePerformingAnAction 0
shouldPeekNonNilPerformingNoAction 0
shouldConvertToJavaOptional 0
shouldThrowIfLeftGet 0
shouldReturnFalseWhenCallingIsLeftOnRight 0.001
shouldReturnTrueWhenCallingIsRightOnRight 0
shouldHaveSizedSpliterator 0
shouldThrowWhenSequencingNull 0.001
shouldRecoverWithRight 0
shouldReturnTrueWhenCallingIsLeftOnLeft 0
shouldSwapLeft 0.001
shouldConvertRightToString 0
shouldSequenceNonEmptyIterableOfRight 0.046
shouldEitherOrElseSupplier 0
shouldEitherOrElseEither 0.001
shouldNarrowRightEither 0
shouldThrowWhenNullPredicate 0
shouldReturnSameWhenCallingMapOnLeft 0
shouldEqualRight 0
shouldHashLeft 0
shouldFoldLeft 0
shouldHashRight 0
shouldEqualLeftIfObjectIsSame 0
shouldFilterRight 0
shouldFoldRight 0.001
shouldPeekLeftNil 0
shouldHandleTransformOnLeft 0.001
shouldPeek 0.001
shouldRecoverWithLeftToRightEither 0
shouldThrowExceptionOnNullTransformFunction 0.001
shouldEqualLeft 0
shouldNotEqualRightIfObjectIsNull 0
shouldReturnSizeWhenSpliterator 0.001
shouldFilterNotLeft 0
shouldThrowIfRightGetLeft 0.001
shouldSequenceNonEmptyIterableOfMixedEither 0
shouldBimapRight 0.001
shouldReturnFalseWhenCallingIsRightOnLeft 0.001
shouldFilterNotRight 0
shouldNotPeekLeftForRight 0.001
shouldFlatMapRight 0
shouldConvertLeftToString 0
shouldFilterOrElseLeft 0.001
shouldEqualRightIfObjectIsSame 0
shouldFilterOrElseRight 0.001
shouldRecoverRightWithoutInvokingRecovery 0
shouldRecoverLeft 0.001
shouldFilterLeft 0
shouldFlatMapLeft 0.001
shouldHaveOrderedSpliterator 0
shouldSequenceEmptyIterableOfEither 0
shouldNotEqualLeftIfObjectIsOfDifferentType 0
shouldBimapLeft 0
shouldApplyTransformFunctionToRight 0
shouldSequenceNonEmptyIterableOfLeft 0
shouldPeekLeftForLeft 0
shouldNarrowLeftEither 0.001
shouldNotEqualRightIfObjectIsOfDifferentType 0
shouldRecoverWithLeftToLeftEither 0
shouldNotEqualLeftIfObjectIsNull 0
shouldSwapRight 0

UserTest

should_return_vavr_options_as_java_optionals 0.006

CurrencyDtoTest

should_return_Currency 0

AccountBalanceDtoTest

should_map_to_account_balance 0

CountryDtoTest

should_map_to_country 0

CoinbaseDataServiceTest$FetchPrice

should_return_SPOT_Price 0.204
should_return_callresult_failure 0.115
should_return_BUY_Price 0.087
should_return_failure 0.071
should_return_SELL_Price 0.08

CoinbaseDataServiceTest$FetchExchangeRates

should_return_callresult_failure 0.07
should_return_failure 0.077
should_return_ExchangeRates 0.087

CoinbaseDataServiceTest$FetchCurrencies

should_return_callresult_failure 0.08
should_return_failure 0.067
should_return_Currencies 0.066

CoinbaseDataServiceTest$FetchTime

should_return_callresult_failure 0.064
should_return_failure 0.068
should_return_time 0.064

CoinbaseUserServiceTest$UpdateCurrentUser

should_return_CallResult_success 0.129
should_return_CallResult_failure 0.084
should_return_failure 0.096

CoinbaseUserServiceTest$FetchUserById

should_return_CallResult_success 0.071
should_return_CallResult_failure 0.066
should_return_failure 0.064

CoinbaseUserServiceTest$FetchAuthorizations

should_return_CallResult_success 0.064
should_return_CallResult_failure 0.091
should_return_failure 0.07

CoinbaseUserServiceTest$FetchCurrentUser

should_return_CallResult_success 0.086
should_return_CallResult_failure 0.063
should_return_failure 0.065

TiersDtoTest

should_map 0

UserDtoTest

should_map 0

ErrorDtoTest

should_map_CoinbaseError 0

Failure Details

[Summary] [Package List] [Test Cases]


com.github.badpop.jcoinbase.DevelopmentTest
skipped: For development purpose only