Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
437 0 0 0 100% 177.3 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% 177.3 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% 6.972 s
CopilotClientTest 33 0 0 0 100% 34.80 s
SessionEventHandlingTest 29 0 0 0 100% 0.037 s
CliServerManagerTest 18 0 0 0 100% 0.020 s
ErrorHandlingTest 5 0 0 0 100% 8.477 s
SessionHandlerTest 20 0 0 0 100% 0.071 s
JsonRpcClientTest 23 0 0 0 100% 1.343 s
SessionEventsE2ETest 6 0 0 0 100% 9.846 s
SessionEventParserTest 104 0 0 0 100% 0.147 s
ClosedSessionGuardTest 16 0 0 0 100% 15.35 s
PermissionRequestResultKindTest 14 0 0 0 100% 0.011 s
CopilotSessionTest 21 0 0 0 100% 35.86 s
LifecycleEventManagerTest 12 0 0 0 100% 0.025 s
SessionRequestBuilderTest 22 0 0 0 100% 0.013 s
DocumentationSamplesTest 1 0 0 0 100% 0.031 s
ToolsTest 7 0 0 0 100% 11.60 s
PermissionsTest 9 0 0 0 100% 16.33 s
MetadataApiTest 11 0 0 0 100% 4.541 s
SkillsTest 2 0 0 0 100% 3.747 s
CompactionTest 2 0 0 0 100% 3.806 s
StreamingFidelityTest 3 0 0 0 100% 6.649 s
AskUserTest 3 0 0 0 100% 5.351 s
ConfigCloneTest 11 0 0 0 100% 0.019 s
RpcHandlerDispatcherTest 23 0 0 0 100% 0.119 s
McpAndAgentsTest 9 0 0 0 100% 12.12 s
ToolInvocationTest 6 0 0 0 100% 0.009 s
ProviderConfigTest 23 0 0 0 100% 0.037 s

Test Cases

[Summary] [Package List] [Test Cases]

HooksTest

testInvokeBothHooksForSingleToolCall 1.612 s
testInvokePreToolUseHookWhenModelRunsATool 1.602 s
testInvokePostToolUseHookAfterModelRunsATool 1.595 s
testDenyToolExecutionWhenPreToolUseReturnsDeny 1.648 s

CopilotClientTest

testForceStopWithoutCleanup 1.422 s
testOnLifecycleUnsubscribeStopsDelivery 0.001 s
testOnLifecycleWildcardReceivesAllEvents 0.001 s
testShouldReportErrorWithStderrWhenCliFailsToStart 30.00 s
testStartIsIdempotentSingleConnectionAttempt 0.002 s
testStartAndConnectUsingTcp 0.997 s
testCliUrlAutoCorrectsUseStdio 0.001 s
testOnLifecycleTypedReceivesOnlyMatchingEvents 0.001 s
testStopWithNoConnectionCompletes 0 s
testListModels_WithCustomHandler_CallsHandler 0 s
testUseLoggedInUserWithCliUrlThrows 0.001 s
testNullOptionsDefaultsToEmpty 0.001 s
testOnLifecycleMultipleHandlers 0 s
testStartAndConnectUsingStdio 0.912 s
testExplicitUseLoggedInUserFalse 0.001 s
testGitHubTokenOptionAccepted 0 s
testEnsureConnectedThrowsWhenNotStartedAndAutoStartDisabled 0 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 s
testListModels_WithCustomHandler_CachesResults 0 s
testClientConstruction 0 s
testCloseAfterFailedStart 0.002 s
testGetStateConnectingDuringStart 0.002 s
testCliUrlMutualExclusionWithCliPath 0 s
testOnLifecycleTypedUnsubscribeStopsDelivery 0 s
testClientConstructionWithOptions 0.001 s
testCloseSessionAfterStoppingClientDoesNotThrow 1.439 s

SessionEventHandlingTest

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

CliServerManagerTest

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

ErrorHandlingTest

testPermissionHandlerErrors_sessionErrorEventContainsDetails 1.614 s
testHandlesToolCallingErrors_sessionContinuesAfterToolError 1.587 s
testHandlesToolCallingErrors_toolReturnsFailureResult 1.579 s
testHandlesToolCallingErrors_toolErrorDoesNotCrashSession 1.611 s
testShouldHandlePermissionHandlerErrorsGracefully_deniesPermission 1.583 s

SessionHandlerTest

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

JsonRpcClientTest

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

SessionEventsE2ETest

testInvokesBuiltInTools_eventOrderDuringToolExecution 1.594 s
testShouldReceiveSessionEvents_sessionIdleAfterMessage 1.547 s
testShouldReceiveSessionEvents_assistantUsageEvent 1.531 s
testShouldReceiveSessionEvents_userMessageEvent 1.523 s
testInvokesBuiltInTools_toolExecutionCompleteEvent 1.599 s
testShouldReceiveSessionEvents_assistantTurnEvents 1.551 s

SessionEventParserTest

testParseJsonNodeUserMessageWithAttachment 0 s
testParseSessionWorkspaceFileChangedEvent 0.003 s
testParseSystemMessageEvent 0.003 s
testAssistantUsageEventWithNullQuotaSnapshots 0.001 s
testAssistantIntentEventAllFields 0.002 s
testSessionShutdownEventAllFields 0.009 s
testParseSessionHandoffEvent 0.004 s
testParseSessionInfoEvent 0.001 s
testParseToolExecutionCompleteEvent 0 s
testParseBaseFieldsNullWhenAbsent 0 s
testParseExitPlanModeCompletedEvent 0.002 s
testParseAssistantMessageEvent 0 s
testParseSessionErrorEvent 0.003 s
testSessionInfoEventAllFields 0 s
testAssistantMessageDeltaEventAllFields 0 s
testSubagentSelectedEventAllFields 0.003 s
testToolExecutionProgressEventAllFields 0.002 s
testParseToolExecutionStartEvent 0 s
testSessionErrorEventAllFields 0.001 s
testAbortEventAllFields 0 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.002 s
testParseJsonNodeSessionShutdownWithCodeChanges 0 s
testParseAssistantReasoningDeltaEvent 0.002 s
testParseHookEndEvent 0.003 s
testParseSubagentFailedEvent 0.002 s
testParseAssistantIntentEvent 0.001 s
testHookEndEventWithError 0 s
testParseJsonNodeToolExecutionCompleteWithNestedTypes 0 s
testHookEndEventSuccess 0.001 s
testAssistantMessageEventAllFields 0.001 s
testToolExecutionCompleteEventWithError 0 s
testParseAssistantMessageDeltaEvent 0 s
testParseSessionTruncationEvent 0.003 s
testParseSessionStartEvent 0.001 s
testParseSessionModeChangedEvent 0.002 s
testParsePendingMessagesModifiedEvent 0 s
testSubagentStartedEventAllFields 0.003 s
testParseBaseFieldsTimestamp 0 s
testParseSkillInvokedEvent 0.002 s
testParseSubagentStartedEvent 0.001 s
testSessionCompactionCompleteEventAllFields 0.004 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.003 s
testParseBaseFieldsEphemeral 0 s
testToolExecutionStartEventAllFields 0.001 s
testAssistantTurnEndEventAllFields 0 s
testParseBaseFieldsAllTogether 0 s
testAssistantMessageEventIncludesInteractionId 0 s
testParseAssistantReasoningEvent 0.007 s
testSubagentCompletedEventAllFields 0.001 s
testParsePermissionRequestedEvent 0.001 s
testParseSubagentSelectedEvent 0 s
testSessionModelChangeEventAllFields 0.001 s
testSessionHandoffEventAllFields 0.001 s
testParseEventWithUnknownFields 0 s
testUserMessageEventNoAttachments 0.001 s
testAssistantReasoningDeltaEventAllFields 0 s
testParseToolUserRequestedEvent 0 s
testParseEventWithNullData 0.001 s
testParseSessionResumeEvent 0 s
testParseSystemNotificationEvent 0.003 s
testParseBaseFieldsId 0 s
testParseSessionCompactionCompleteEvent 0 s
testAssistantUsageEventAllFields 0.001 s
testParseSessionPlanChangedEvent 0.002 s
testParseToolExecutionPartialResultEvent 0.002 s
testParseEventWithMissingData 0 s
testSessionResumeEventAllFields 0.001 s
testAssistantStreamingDeltaEventAllFields 0 s
testParseCommandQueuedEvent 0.002 s
testToolExecutionPartialResultEventAllFields 0.001 s
testSessionUsageInfoEventAllFields 0 s
testParseMissingTypeField 0.001 s
testParseUserMessageEvent 0 s
testSessionTruncationEventAllFields 0 s
testToolExecutionCompleteEventWithResult 0.001 s
testParseSessionShutdownEvent 0 s
testParseNullJsonNode 0 s
testParseHookStartEvent 0.001 s
testParseExternalToolRequestedEvent 0 s
testParseAllEventTypes 0.001 s
testParseAssistantTurnEndEvent 0 s
testParseUnknownEventType 0 s
testUserMessageEventAllFieldsWithAttachments 0.001 s
testSystemMessageEventAllFields 0 s
testParseAbortEvent 0.001 s
testParseAssistantUsageEvent 0 s
testSessionStartEventAllFields 0 s

ClosedSessionGuardTest

testSendAndWaitOptionsThrowsAfterTermination 0.936 s
testSetEventErrorPolicyThrowsAfterTermination 0.931 s
testOnConsumerThrowsAfterTermination 0.923 s
testSendAndWaitWithTimeoutThrowsAfterTermination 0.928 s
testGetSessionIdWorksAfterTermination 0.921 s
testSendStringThrowsAfterTermination 0.923 s
testSendAndWaitStringThrowsAfterTermination 0.934 s
testAbortThrowsAfterTermination 0.918 s
testGetMessagesThrowsAfterTermination 0.938 s
testOnTypedConsumerThrowsAfterTermination 0.942 s
testSetModelThrowsAfterTermination 0.927 s
testSetEventErrorHandlerThrowsAfterTermination 0.928 s
testCloseIsIdempotent 0.930 s
testSendOptionsThrowsAfterTermination 0.920 s
testGetWorkspacePathWorksAfterTermination 0.923 s
testTryWithResourcesDoubleClose 0.922 s

PermissionRequestResultKindTest

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

CopilotSessionTest

testShouldReceiveSessionEvents_createAndDestroy 1.228 s
testShouldListSessions 1.900 s
testShouldDeleteSession 1.543 s
testShouldGetLastSessionId 1.561 s
testSendAndWaitBlocksUntilSessionIdleAndReturnsFinalAssistantMessage 1.563 s
testSendAndWaitThrowsOnTimeout 1.552 s
testShouldAbortSession 1.661 s
testShouldCreateSessionWithAvailableTools 1.506 s
testListSessionsIncludesContextWhenAvailable 0.951 s
testShouldCreateSessionWithCustomConfigDir 1.559 s
testShouldCreateSessionWithAppendedSystemMessageConfig 1.570 s
testShouldCreateSessionWithCustomTool 1.634 s
testShouldThrowErrorWhenResumingNonExistentSession 0.907 s
testShouldHaveStatefulConversation 1.586 s
testShouldReceiveSessionEvents 1.531 s
testShouldResumeSessionUsingTheSameClient 1.683 s
testShouldCreateSessionWithExcludedTools 1.541 s
testShouldCreateSessionWithReplacedSystemMessageConfig 1.486 s
testShouldResumeSessionUsingNewClient 3.054 s
testSessionListFilterFluentAPI 0.952 s
testSendReturnsImmediatelyWhileEventsStreamInBackground 3.920 s

LifecycleEventManagerTest

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

SessionRequestBuilderTest

testBuildResumeRequestSetsEnvValueModeToDirect 0.001 s
testConfigureResumeSessionNullConfig 0 s
testBuildResumeRequestHooksNonNullButEmpty 0.001 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 s
testConfigureResumeSessionWithUserInputHandler 0.001 s
testBuildResumeRequestAlwaysSetsRequestPermissionTrue 0.001 s
testBuildResumeRequestNullConfig 0 s
testBuildCreateRequestWithAgent 0 s
testBuildCreateRequestSetsEnvValueModeToDirect 0 s
testBuildResumeRequestDisableResume 0 s
testBuildResumeRequestWithUserInputHandler 0 s
testBuildCreateRequestAlwaysSetsRequestPermissionTrue 0 s

DocumentationSamplesTest

docsAndJbangSamplesUseRequiredPermissionHandler 0.031 s

ToolsTest

testInvokesCustomTool(TestInfo) 1.600 s
testOverridesBuiltInToolWithCustomTool 1.625 s
testCanReceiveAndReturnComplexTypes(TestInfo) 1.580 s
testInvokesBuiltInTools(TestInfo) 1.578 s
testInvokesCustomToolWithPermissionHandler(TestInfo) 1.588 s
testDeniesCustomToolWhenPermissionDenied(TestInfo) 1.531 s
testHandlesToolCallingErrors(TestInfo) 1.588 s

PermissionsTest

testAsyncPermissionHandler(TestInfo) 2.032 s
testShouldHandlePermissionHandlerErrorsGracefully(TestInfo) 1.586 s
testShouldDenyToolOperationsWhenHandlerExplicitlyDenies(TestInfo) 1.621 s
testResumeSessionWithPermissionHandler(TestInfo) 2.127 s
testDenyPermission(TestInfo) 1.570 s
testShouldDenyToolOperationsWhenHandlerExplicitlyDeniesAfterResume(TestInfo) 1.671 s
testShouldWorkWithApproveAllPermissionHandler(TestInfo) 1.542 s
testPermissionHandlerForWriteOperations(TestInfo) 1.635 s
testToolCallIdInPermissionRequests(TestInfo) 2.020 s

MetadataApiTest

testProtocolVersionIsThree 0.001 s
testGetAuthStatusResponseNotAuthenticated 0.002 s
testGetStatusResponseDeserialization 0.002 s
testToolExecutionProgressEventParsing 0.001 s
testGetAuthStatus 1.471 s
testListModels 2.143 s
testGetModelsResponseDeserialization 0.003 s
testModelInfoDeserialization 0 s
testToolExecutionProgressEventType 0 s
testGetStatus 0.909 s
testGetAuthStatusResponseDeserialization 0 s

SkillsTest

testShouldLoadAndApplySkillFromSkillDirectories 1.610 s
testShouldNotApplySkillWhenDisabledViaDisabledSkills 1.544 s

CompactionTest

testShouldTriggerCompactionWithLowThresholdAndEmitEvents 1.784 s
testShouldNotEmitCompactionEventsWhenInfiniteSessionsDisabled 1.508 s

StreamingFidelityTest

testShouldNotProduceDeltasWhenStreamingIsDisabled 1.552 s
testShouldProduceDeltaEventsWhenStreamingIsEnabled 1.544 s
testShouldProduceDeltasAfterSessionResume 3.043 s

AskUserTest

testShouldHandleFreeformUserInputResponse 1.624 s
testShouldReceiveChoicesInUserInputRequest 1.630 s
testShouldInvokeUserInputHandlerWhenModelUsesAskUserTool 1.594 s

ConfigCloneTest

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

RpcHandlerDispatcherTest

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

McpAndAgentsTest

testShouldAcceptMcpServerConfigurationOnSessionResume 1.641 s
testShouldHandleMultipleMcpServers 0.936 s
testShouldAcceptMultipleCustomAgents 0.928 s
testShouldAcceptCustomAgentConfigurationOnSessionCreate 1.524 s
testShouldAcceptCustomAgentWithMcpServers 0.925 s
testShouldAcceptCustomAgentConfigurationOnSessionResume 1.594 s
testShouldAcceptCustomAgentWithToolsConfiguration 0.946 s
testShouldAcceptBothMcpServersAndCustomAgents 1.549 s
testShouldAcceptMcpServerConfigurationOnSessionCreate 1.564 s

ToolInvocationTest

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

ProviderConfigTest

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