Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
437 0 0 0 100% 190.7 s

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.copilot.sdk 437 0 0 0 100% 190.7 s

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

com.github.copilot.sdk

- Class Tests Errors Failures Skipped Success Rate Time
HooksTest 4 0 0 0 100% 7.475 s
CopilotClientTest 33 0 0 0 100% 36.39 s
SessionEventHandlingTest 29 0 0 0 100% 0.036 s
CliServerManagerTest 18 0 0 0 100% 0.028 s
ErrorHandlingTest 5 0 0 0 100% 9.225 s
SessionHandlerTest 20 0 0 0 100% 0.072 s
JsonRpcClientTest 23 0 0 0 100% 1.342 s
SessionEventsE2ETest 6 0 0 0 100% 10.68 s
SessionEventParserTest 104 0 0 0 100% 0.160 s
ClosedSessionGuardTest 16 0 0 0 100% 16.78 s
PermissionRequestResultKindTest 14 0 0 0 100% 0.012 s
CopilotSessionTest 21 0 0 0 100% 38.82 s
LifecycleEventManagerTest 12 0 0 0 100% 0.027 s
SessionRequestBuilderTest 22 0 0 0 100% 0.012 s
DocumentationSamplesTest 1 0 0 0 100% 0.029 s
ToolsTest 7 0 0 0 100% 12.49 s
PermissionsTest 9 0 0 0 100% 17.43 s
MetadataApiTest 11 0 0 0 100% 5.375 s
SkillsTest 2 0 0 0 100% 4.024 s
CompactionTest 2 0 0 0 100% 4.152 s
StreamingFidelityTest 3 0 0 0 100% 7.227 s
AskUserTest 3 0 0 0 100% 5.735 s
ConfigCloneTest 11 0 0 0 100% 0.013 s
RpcHandlerDispatcherTest 23 0 0 0 100% 0.129 s
McpAndAgentsTest 9 0 0 0 100% 13.01 s
ToolInvocationTest 6 0 0 0 100% 0.013 s
ProviderConfigTest 23 0 0 0 100% 0.037 s

Test Cases

[Summary] [Package List] [Test Cases]

HooksTest

testInvokeBothHooksForSingleToolCall 1.708 s
testInvokePreToolUseHookWhenModelRunsATool 1.712 s
testInvokePostToolUseHookAfterModelRunsATool 1.712 s
testDenyToolExecutionWhenPreToolUseReturnsDeny 1.751 s

CopilotClientTest

testForceStopWithoutCleanup 2.741 s
testOnLifecycleUnsubscribeStopsDelivery 0.001 s
testOnLifecycleWildcardReceivesAllEvents 0 s
testShouldReportErrorWithStderrWhenCliFailsToStart 30.00 s
testStartIsIdempotentSingleConnectionAttempt 0.005 s
testStartAndConnectUsingTcp 1.093 s
testCliUrlAutoCorrectsUseStdio 0.001 s
testOnLifecycleTypedReceivesOnlyMatchingEvents 0.001 s
testStopWithNoConnectionCompletes 0 s
testListModels_WithCustomHandler_CallsHandler 0.001 s
testUseLoggedInUserWithCliUrlThrows 0.001 s
testNullOptionsDefaultsToEmpty 0 s
testOnLifecycleMultipleHandlers 0 s
testStartAndConnectUsingStdio 0.998 s
testExplicitUseLoggedInUserFalse 0 s
testGitHubTokenOptionAccepted 0 s
testEnsureConnectedThrowsWhenNotStartedAndAutoStartDisabled 0.001 s
testCliUrlOnlyConstruction 0.001 s
testGitHubTokenWithCliUrlThrows 0 s
testExplicitUseLoggedInUserTrueWithGitHubToken 0 s
testUseLoggedInUserDefaultsToNull 0 s
testListModels_WithCustomHandler_WorksWithoutStart 0 s
testGetStateErrorAfterFailedStart 0.002 s
testCloseIsIdempotent 0.001 s
testForceStopWithNoConnectionCompletes 0.001 s
testListModels_WithCustomHandler_CachesResults 0.001 s
testClientConstruction 0 s
testCloseAfterFailedStart 0.002 s
testGetStateConnectingDuringStart 0.001 s
testCliUrlMutualExclusionWithCliPath 0 s
testOnLifecycleTypedUnsubscribeStopsDelivery 0 s
testClientConstructionWithOptions 0.001 s
testCloseSessionAfterStoppingClientDoesNotThrow 1.520 s

SessionEventHandlingTest

testHandlersRunOnDispatchThread 0.003 s
testDuplicateTypedHandlersBothReceiveEvent 0 s
testDefaultPolicyPropagatesAndLogs 0.001 s
testDuplicateGenericHandlersBothFire 0.001 s
testHandlerExceptionDoesNotBreakOtherHandlers 0 s
testNoHandlersDoesNotThrow 0 s
testPropagatePolicyStopsOnFirstError 0.001 s
testTypedEventHandler 0.001 s
testPropagatePolicyNoErrorHandlerStopsAndLogs 0.001 s
testErrorHandlerItselfThrowingStopsDispatch 0.001 s
testHandlersRunOffMainThread 0.001 s
testConcurrentDispatchFromMultipleThreads 0.006 s
testHandlerReceivesCorrectEventData 0.001 s
testErrorHandlerReceivesCorrectEventType 0 s
testUnsubscribeOneKeepsOther 0 s
testGenericEventHandler 0 s
testUnsubscribe 0.001 s
testPropagatePolicyErrorHandlerAlwaysInvoked 0.001 s
testSuppressPolicyWithMultipleErrors 0.001 s
testSwitchPolicyDynamically 0.001 s
testCustomEventErrorHandlerReceivesEventAndException 0.001 s
testCustomErrorHandlerCalledForAllErrors 0.001 s
testMultipleTypedHandlers 0 s
testUnsubscribeGenericHandler 0 s
testMixedHandlers 0.001 s
testErrorHandlerThrowingStopsRegardlessOfPolicy 0.001 s
testAllHandlersInvoked 0 s
testSetEventErrorHandlerToNullRestoresDefaultBehavior 0 s
testDefaultPolicyPropagatesOnError 0.001 s

CliServerManagerTest

startCliServerWithJsFile 0.005 s
startCliServerWithGitHubToken 0.002 s
processInfoWithNullPort 0 s
connectToServerNoProcessNoHost 0.001 s
startCliServerWithGitHubTokenAndNoExplicitUseLoggedInUser 0.002 s
processInfoRecord 0 s
parseCliUrlWithHostColonPort 0.001 s
startCliServerWithExplicitPort 0.002 s
parseCliUrlWithHostOnly 0 s
connectToServerTcpMode 0.001 s
startCliServerWithNullCliPath 0.002 s
parseCliUrlWithPortNumber 0.001 s
startCliServerWithCliArgs 0.001 s
startCliServerWithUseLoggedInUserExplicit 0.002 s
parseCliUrlWithHttpPrefix 0.001 s
parseCliUrlWithHttpsPrefix 0 s
connectToServerStdioMode 0.001 s
connectToServerNullHostNonNullPort 0 s

ErrorHandlingTest

testPermissionHandlerErrors_sessionErrorEventContainsDetails 1.707 s
testHandlesToolCallingErrors_sessionContinuesAfterToolError 1.728 s
testHandlesToolCallingErrors_toolReturnsFailureResult 1.700 s
testHandlesToolCallingErrors_toolErrorDoesNotCrashSession 1.719 s
testShouldHandlePermissionHandlerErrorsGracefully_deniesPermission 1.768 s

SessionHandlerTest

testHandleHooksInvokeSessionEnd 0.007 s
testHandleHooksInvokeUnhandledHookType 0.001 s
testHandleHooksInvokeNullCallbackReturnsNull 0.001 s
testSetEventErrorPolicySetsValue 0 s
testRegisterToolsNullIsSafe 0 s
testHandleHooksInvokeSessionStart 0.002 s
testHandlePermissionRequestHandlerExceptionReturnsDenied 0.002 s
testHandleUserInputRequestHandlerSucceeds 0.002 s
testHandlePermissionRequestWithNoHandlerReturnsDenied 0.001 s
testHandleUserInputRequestHandlerFutureFails 0.003 s
testHandleHooksInvokeNoHooksReturnsNull 0.003 s
testRegisterToolsEmptyListClearsTools 0 s
testSetEventErrorPolicyNullThrowsNPE 0 s
testHandleHooksInvokeHandlerThrows 0.002 s
testHandlePermissionRequestHandlerSucceeds 0.001 s
testHandleUserInputRequestHandlerThrowsSynchronously 0.005 s
testHandleHooksInvokeUserPromptSubmitted 0.005 s
testHandleHooksInvokeInvalidJsonFails 0.005 s
testHandleUserInputRequestNoHandler 0.004 s
testHandlePermissionRequestHandlerFutureFailsReturnsDenied 0.002 s

JsonRpcClientTest

testReaderWithMissingContentLength 0.002 s
testErrorResponseWithoutMessage 0.003 s
testIsConnectedWithSocketClosed 0.001 s
testHandlerThrowsExceptionWithId 0.002 s
testInvalidJson 0.202 s
testGetProcessNullForSocket 0.001 s
testMethodCallWithNullId 0.201 s
testHandlerThrowsExceptionWithoutId 0.201 s
testIsConnectedWithProcessDead 0.002 s
testGetProcessReturnsProcess 0.002 s
testInvokeWithSendFailure 0.102 s
testIsConnectedWithSocket 0.001 s
testReaderWithUnknownHeader 0.001 s
testNoHandlerForNotification 0.201 s
testCloseWithPendingRequests 0.002 s
testMessageWithNeitherResponseNorMethod 0.202 s
testInvokeWithDeserializationError 0.002 s
testNotify 0.001 s
testInvokeWithVoidPrimitive 0.001 s
testNoHandlerForRequestSendsErrorResponse 0.001 s
testErrorResponseWithoutCode 0.002 s
testIsConnectedWithProcess 0.002 s
testResponseWithUnknownId 0.201 s

SessionEventsE2ETest

testInvokesBuiltInTools_eventOrderDuringToolExecution 1.739 s
testShouldReceiveSessionEvents_sessionIdleAfterMessage 1.679 s
testShouldReceiveSessionEvents_assistantUsageEvent 1.662 s
testShouldReceiveSessionEvents_userMessageEvent 1.631 s
testInvokesBuiltInTools_toolExecutionCompleteEvent 1.738 s
testShouldReceiveSessionEvents_assistantTurnEvents 1.641 s

SessionEventParserTest

testParseJsonNodeUserMessageWithAttachment 0.001 s
testParseSessionWorkspaceFileChangedEvent 0.004 s
testParseSystemMessageEvent 0.003 s
testAssistantUsageEventWithNullQuotaSnapshots 0.001 s
testAssistantIntentEventAllFields 0.002 s
testSessionShutdownEventAllFields 0.008 s
testParseSessionHandoffEvent 0.004 s
testParseSessionInfoEvent 0 s
testParseToolExecutionCompleteEvent 0.001 s
testParseBaseFieldsNullWhenAbsent 0 s
testParseExitPlanModeCompletedEvent 0.002 s
testParseAssistantMessageEvent 0 s
testParseSessionErrorEvent 0.002 s
testSessionInfoEventAllFields 0 s
testAssistantMessageDeltaEventAllFields 0.001 s
testSubagentSelectedEventAllFields 0.003 s
testToolExecutionProgressEventAllFields 0.002 s
testParseToolExecutionStartEvent 0 s
testSessionErrorEventAllFields 0.001 s
testAbortEventAllFields 0.001 s
testParseEmptyJson 0 s
testParsePermissionCompletedEvent 0 s
testParseSessionCompactionStartEvent 0.002 s
testParseJsonNodeAssistantMessageWithFields 0.001 s
testParseCommandCompletedEvent 0.002 s
testParseSessionIdleEvent 0.001 s
testAssistantTurnStartEventIncludesInteractionId 0 s
testParseSessionUsageInfoEvent 0 s
testParseAssistantTurnStartEvent 0.001 s
testParseToolExecutionProgressEvent 0 s
testParseSessionSnapshotRewindEvent 0.003 s
testParseJsonNodeSessionShutdownWithCodeChanges 0 s
testParseAssistantReasoningDeltaEvent 0.002 s
testParseHookEndEvent 0.004 s
testParseSubagentFailedEvent 0.002 s
testParseAssistantIntentEvent 0.001 s
testHookEndEventWithError 0.001 s
testParseJsonNodeToolExecutionCompleteWithNestedTypes 0 s
testHookEndEventSuccess 0.001 s
testAssistantMessageEventAllFields 0.001 s
testToolExecutionCompleteEventWithError 0 s
testParseAssistantMessageDeltaEvent 0.001 s
testParseSessionTruncationEvent 0.004 s
testParseSessionStartEvent 0 s
testParseSessionModeChangedEvent 0.004 s
testParsePendingMessagesModifiedEvent 0.001 s
testSubagentStartedEventAllFields 0.002 s
testParseBaseFieldsTimestamp 0 s
testParseSkillInvokedEvent 0.002 s
testParseSubagentStartedEvent 0 s
testSessionCompactionCompleteEventAllFields 0.005 s
testToolUserRequestedEventAllFields 0.002 s
testParseBaseFieldsParentId 0 s
testParseSubagentCompletedEvent 0.002 s
testParseExternalToolCompletedEvent 0 s
testHookStartEventAllFields 0.002 s
testParseExitPlanModeRequestedEvent 0.002 s
testSubagentFailedEventAllFields 0 s
testParseSessionModelChangeEvent 0.002 s
testParseBaseFieldsEphemeral 0 s
testToolExecutionStartEventAllFields 0 s
testAssistantTurnEndEventAllFields 0.001 s
testParseBaseFieldsAllTogether 0 s
testAssistantMessageEventIncludesInteractionId 0 s
testParseAssistantReasoningEvent 0.003 s
testSubagentCompletedEventAllFields 0.001 s
testParsePermissionRequestedEvent 0 s
testParseSubagentSelectedEvent 0.001 s
testSessionModelChangeEventAllFields 0 s
testSessionHandoffEventAllFields 0.001 s
testParseEventWithUnknownFields 0 s
testUserMessageEventNoAttachments 0.002 s
testAssistantReasoningDeltaEventAllFields 0.001 s
testParseToolUserRequestedEvent 0 s
testParseEventWithNullData 0.001 s
testParseSessionResumeEvent 0 s
testParseSystemNotificationEvent 0.003 s
testParseBaseFieldsId 0.001 s
testParseSessionCompactionCompleteEvent 0 s
testAssistantUsageEventAllFields 0.001 s
testParseSessionPlanChangedEvent 0.002 s
testParseToolExecutionPartialResultEvent 0.004 s
testParseEventWithMissingData 0 s
testSessionResumeEventAllFields 0.001 s
testAssistantStreamingDeltaEventAllFields 0 s
testParseCommandQueuedEvent 0.007 s
testToolExecutionPartialResultEventAllFields 0.001 s
testSessionUsageInfoEventAllFields 0 s
testParseMissingTypeField 0 s
testParseUserMessageEvent 0 s
testSessionTruncationEventAllFields 0 s
testToolExecutionCompleteEventWithResult 0.001 s
testParseSessionShutdownEvent 0 s
testParseNullJsonNode 0 s
testParseHookStartEvent 0 s
testParseExternalToolRequestedEvent 0.001 s
testParseAllEventTypes 0.001 s
testParseAssistantTurnEndEvent 0 s
testParseUnknownEventType 0 s
testUserMessageEventAllFieldsWithAttachments 0.001 s
testSystemMessageEventAllFields 0.001 s
testParseAbortEvent 0 s
testParseAssistantUsageEvent 0.001 s
testSessionStartEventAllFields 0.002 s

ClosedSessionGuardTest

testSendAndWaitOptionsThrowsAfterTermination 1.021 s
testSetEventErrorPolicyThrowsAfterTermination 1.003 s
testOnConsumerThrowsAfterTermination 1.014 s
testSendAndWaitWithTimeoutThrowsAfterTermination 0.998 s
testGetSessionIdWorksAfterTermination 1.019 s
testSendStringThrowsAfterTermination 1.008 s
testSendAndWaitStringThrowsAfterTermination 1.004 s
testAbortThrowsAfterTermination 1.021 s
testGetMessagesThrowsAfterTermination 1.013 s
testOnTypedConsumerThrowsAfterTermination 1.012 s
testSetModelThrowsAfterTermination 0.997 s
testSetEventErrorHandlerThrowsAfterTermination 1.008 s
testCloseIsIdempotent 1.016 s
testSendOptionsThrowsAfterTermination 1.019 s
testGetWorkspacePathWorksAfterTermination 1.007 s
testTryWithResourcesDoubleClose 1.027 s

PermissionRequestResultKindTest

permissionRequestResult_setKindWithString_backwardCompatible 0 s
constructor_nullValue_treatedAsEmpty 0.001 s
hashCode_isCaseInsensitive 0 s
equals_sameValue_returnsTrue 0 s
equals_isCaseInsensitive 0.001 s
toString_returnsValue 0.001 s
equals_nonKindObject_returnsFalse 0 s
permissionRequestResult_setKindWithKindType 0.001 s
jsonDeserialize_readsStringValue 0.002 s
equals_differentValue_returnsFalse 0 s
jsonRoundTrip_allWellKnownKinds 0.002 s
jsonSerialize_writesStringValue 0.001 s
wellKnownKinds_haveExpectedValues 0.001 s
customValue_isPreserved 0 s

CopilotSessionTest

testShouldReceiveSessionEvents_createAndDestroy 1.369 s
testShouldListSessions 2.125 s
testShouldDeleteSession 1.751 s
testShouldGetLastSessionId 1.695 s
testSendAndWaitBlocksUntilSessionIdleAndReturnsFinalAssistantMessage 1.751 s
testSendAndWaitThrowsOnTimeout 1.718 s
testShouldAbortSession 1.790 s
testShouldCreateSessionWithAvailableTools 1.625 s
testListSessionsIncludesContextWhenAvailable 1.033 s
testShouldCreateSessionWithCustomConfigDir 1.668 s
testShouldCreateSessionWithAppendedSystemMessageConfig 1.711 s
testShouldCreateSessionWithCustomTool 1.766 s
testShouldThrowErrorWhenResumingNonExistentSession 0.997 s
testShouldHaveStatefulConversation 1.719 s
testShouldReceiveSessionEvents 1.665 s
testShouldResumeSessionUsingTheSameClient 1.714 s
testShouldCreateSessionWithExcludedTools 1.632 s
testShouldCreateSessionWithReplacedSystemMessageConfig 1.597 s
testShouldResumeSessionUsingNewClient 3.273 s
testSessionListFilterFluentAPI 1.047 s
testSendReturnsImmediatelyWhileEventsStreamInBackground 4.029 s

LifecycleEventManagerTest

wildcardHandlerExceptionDoesNotPreventOtherHandlers 0.006 s
wildcardHandlerReceivesAllEvents 0.001 s
typedAndWildcardErrorsDoNotAffectEachOther 0.002 s
bothTypedAndWildcardReceiveEvent 0.001 s
typedUnsubscribeStopsDelivery 0.001 s
typedHandlerExceptionDoesNotPreventOtherHandlers 0.002 s
typedHandlerReceivesOnlyMatchingEvents 0.001 s
multipleTypedHandlersAllReceive 0.002 s
multipleWildcardHandlersAllReceive 0.001 s
dispatchWithNoTypedMatchDoesNotThrow 0 s
dispatchWithNoHandlersDoesNotThrow 0.001 s
wildcardUnsubscribeStopsDelivery 0.001 s

SessionRequestBuilderTest

testBuildResumeRequestSetsEnvValueModeToDirect 0 s
testConfigureResumeSessionNullConfig 0.001 s
testBuildResumeRequestHooksNonNullButEmpty 0 s
testBuildCreateRequestNullConfig 0 s
testBuildResumeRequestStreaming 0.001 s
testBuildCreateRequestSetsClientName 0 s
testConfigureResumeSessionWithHooks 0.001 s
testConfigureResumeSessionWithTools 0.001 s
testBuildResumeRequestSetsClientName 0 s
testBuildResumeRequestWithAgent 0.001 s
testBuildResumeRequestWithTools 0 s
testBuildResumeRequestHooksWithHandler 0.001 s
testBuildCreateRequestHooksNonNullButEmpty 0 s
testBuildCreateRequestHooksWithHandler 0.001 s
testConfigureResumeSessionWithUserInputHandler 0 s
testBuildResumeRequestAlwaysSetsRequestPermissionTrue 0 s
testBuildResumeRequestNullConfig 0 s
testBuildCreateRequestWithAgent 0 s
testBuildCreateRequestSetsEnvValueModeToDirect 0 s
testBuildResumeRequestDisableResume 0 s
testBuildResumeRequestWithUserInputHandler 0 s
testBuildCreateRequestAlwaysSetsRequestPermissionTrue 0 s

DocumentationSamplesTest

docsAndJbangSamplesUseRequiredPermissionHandler 0.028 s

ToolsTest

testInvokesCustomTool(TestInfo) 1.721 s
testOverridesBuiltInToolWithCustomTool 1.704 s
testCanReceiveAndReturnComplexTypes(TestInfo) 1.682 s
testInvokesBuiltInTools(TestInfo) 1.666 s
testInvokesCustomToolWithPermissionHandler(TestInfo) 1.711 s
testDeniesCustomToolWhenPermissionDenied(TestInfo) 1.694 s
testHandlesToolCallingErrors(TestInfo) 1.727 s

PermissionsTest

testAsyncPermissionHandler(TestInfo) 2.149 s
testShouldHandlePermissionHandlerErrorsGracefully(TestInfo) 1.779 s
testShouldDenyToolOperationsWhenHandlerExplicitlyDenies(TestInfo) 1.759 s
testResumeSessionWithPermissionHandler(TestInfo) 2.163 s
testDenyPermission(TestInfo) 1.666 s
testShouldDenyToolOperationsWhenHandlerExplicitlyDeniesAfterResume(TestInfo) 1.756 s
testShouldWorkWithApproveAllPermissionHandler(TestInfo) 1.655 s
testPermissionHandlerForWriteOperations(TestInfo) 1.776 s
testToolCallIdInPermissionRequests(TestInfo) 2.112 s

MetadataApiTest

testProtocolVersionIsThree 0 s
testGetAuthStatusResponseNotAuthenticated 0.002 s
testGetStatusResponseDeserialization 0.001 s
testToolExecutionProgressEventParsing 0 s
testGetAuthStatus 1.578 s
testListModels 2.766 s
testGetModelsResponseDeserialization 0.002 s
testModelInfoDeserialization 0.001 s
testToolExecutionProgressEventType 0.001 s
testGetStatus 1.016 s
testGetAuthStatusResponseDeserialization 0.001 s

SkillsTest

testShouldLoadAndApplySkillFromSkillDirectories 1.749 s
testShouldNotApplySkillWhenDisabledViaDisabledSkills 1.651 s

CompactionTest

testShouldTriggerCompactionWithLowThresholdAndEmitEvents 1.929 s
testShouldNotEmitCompactionEventsWhenInfiniteSessionsDisabled 1.622 s

StreamingFidelityTest

testShouldNotProduceDeltasWhenStreamingIsDisabled 1.674 s
testShouldProduceDeltaEventsWhenStreamingIsEnabled 1.664 s
testShouldProduceDeltasAfterSessionResume 3.294 s

AskUserTest

testShouldHandleFreeformUserInputResponse 1.716 s
testShouldReceiveChoicesInUserInputRequest 1.713 s
testShouldInvokeUserInputHandlerWhenModelUsesAskUserTool 1.708 s

ConfigCloneTest

clonePreservesNullFields 0 s
sessionConfigAgentAndOnEventCloned 0.001 s
resumeSessionConfigCloneBasic 0.001 s
copilotClientOptionsCloneBasic 0.003 s
resumeSessionConfigAgentAndOnEventCloned 0 s
copilotClientOptionsEnvironmentIndependence 0 s
copilotClientOptionsOnListModelsCloned 0.002 s
messageOptionsCloneBasic 0 s
copilotClientOptionsArrayIndependence 0 s
sessionConfigListIndependence 0.001 s
sessionConfigCloneBasic 0 s

RpcHandlerDispatcherTest

userInputRequestWithUnknownSession 0.015 s
lifecycleEventWithoutMetadata 0.002 s
userInputRequestWithNullChoicesAndFreeform 0.003 s
userInputRequestHandlerFails 0.002 s
toolCallWithUnknownTool 0.009 s
toolCallWithUnknownSession 0.002 s
lifecycleEventWithNullMetadata 0.001 s
permissionRequestWithUnknownSession 0.001 s
hooksInvokeWithNonNullOutput 0.006 s
hooksInvokeWithUnknownSession 0.002 s
hooksInvokeWithNoHooksRegistered 0.003 s
permissionRequestWithHandler 0.003 s
userInputRequestWithNullAnswer 0.002 s
lifecycleEventWithMissingTypeAndSessionId 0.001 s
sessionEventWithUnknownSession 0.001 s
hooksInvokeWithNullOutput 0.002 s
hooksInvokeHandlerFails 0.002 s
toolCallHandlerFails 0.001 s
sessionEventWithNullEventNode 0.051 s
permissionRequestHandlerFails 0.002 s
toolCallWithNonStringResult 0.003 s
toolCallReturnsToolResultObjectDirectly 0.002 s
userInputRequestWithNoHandler 0.003 s

McpAndAgentsTest

testShouldAcceptMcpServerConfigurationOnSessionResume 1.729 s
testShouldHandleMultipleMcpServers 1.024 s
testShouldAcceptMultipleCustomAgents 1.008 s
testShouldAcceptCustomAgentConfigurationOnSessionCreate 1.599 s
testShouldAcceptCustomAgentWithMcpServers 1.012 s
testShouldAcceptCustomAgentConfigurationOnSessionResume 1.689 s
testShouldAcceptCustomAgentWithToolsConfiguration 1.025 s
testShouldAcceptBothMcpServersAndCustomAgents 1.681 s
testShouldAcceptMcpServerConfigurationOnSessionCreate 1.642 s

ToolInvocationTest

testGetArgumentsWhenNull 0 s
testGetArgumentsAsWithRecord 0.005 s
testGetArgumentsAsWithPojo 0.002 s
testGetArgumentsAsThrowsOnInvalidType 0.001 s
testGetArgumentsReturnsMap 0.001 s
testGettersReturnSetValues 0 s

ProviderConfigTest

testResumeSessionConfigProviderSerialization 0.011 s
testSerializeOpenAiProvider 0.002 s
testSerializeCustomWireApi 0.001 s
testResumeSessionConfigWithProvider 0 s
testSessionConfigWithOpenAiProvider 0.002 s
testDeserializeBearerTokenProvider 0.001 s
testSerializeAllFields 0 s
testDeserializeAzureOpenAiProvider 0 s
testResumeSessionConfigWithoutProviderOmitsField 0.001 s
testRoundTripProviderConfig 0.001 s
testForwardCompatibilityIgnoresUnknownFields 0.001 s
testSerializeEmptyAzureOptionsOmitsAllFields 0 s
testSerializeEmptyProviderOmitsAllFields 0.002 s
testAzureOptionsFluentSetter 0.001 s
testDefaultsAreNull 0 s
testSessionConfigWithoutProviderOmitsField 0 s
testFluentSettersReturnSameInstance 0 s
testSerializeBearerTokenProvider 0.001 s
testAzureOptionsDefaultsAreNull 0.001 s
testSerializeAzureOpenAiProvider 0.001 s
testGettersReturnSetValues 0.001 s
testSessionConfigWithAzureProvider 0 s
testDeserializeOpenAiProvider 0 s