- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 87 for Scenario (0.18 seconds)
-
src/test/java/jcifs/smb/DfsImplTest.java
void testIsTrustedDomain_DfsDisabled() throws SmbAuthException { // Scenario: DFS is disabled in the configuration. when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com")); } @Test void testIsTrustedDomain_NoUserDomain() throws SmbAuthException { // Scenario: The user credentials do not specify a domain.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java
* Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a2n, a1n, a2n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
* Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java
* Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
* Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
public void test_multipleExceptionScenarios() { // Test multiple realistic exception scenarios // Scenario 1: Command not found CommandExecutionException cmdNotFound = new CommandExecutionException("Command 'xyz' not found"); assertTrue(cmdNotFound.getMessage().contains("not found")); // Scenario 2: Command timeout CommandExecutionException timeout =
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
abstract class AdHocPerformanceScenario( os: Os, arch: Arch = Arch.AMD64, ) : BuildType({ val id = "Util_Performance_AdHocPerformanceScenario${os.asName()}${arch.asName()}" name = "AdHoc Performance Scenario - ${os.asName()} ${arch.asName()}" id(id) applyPerformanceTestSettings(os = os, arch = arch, timeout = 420) setArtifactRules(INDIVIDUAL_PERFORAMCE_TEST_ARTIFACT_RULES) params {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 14:08:32 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
assertEquals(11, response.dialectIndex); } @Test void testReadBytesWireFormat_NoExtendedSecurity() throws UnsupportedEncodingException { // Setup server data for this scenario serverData.capabilities = 0; // No extended security serverData.encryptionKeyLength = 8; response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator // Prepare byte array
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Create a hook that simulates an exception scenario AtomicBoolean exceptionHandled = new AtomicBoolean(false); FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() { @Override public void hook(final FwAssistantDirector assistantDirector) { try { // Simulate a scenario where the method exists but invocation failsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/PerformanceTestSpec.kt
get() = PerformanceTestType.AD_HOC override val failsStage: Boolean get() = false val buildSpecs: List<FlameGraphGenerationBuildSpec> get() = scenarios.flatMap { scenario -> Os.values().flatMap { os -> val arch = if (os == Os.MACOS) Arch.AARCH64 else Arch.AMD64 if (os == Os.WINDOWS) { listOf("jprofiler")
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 3.8K bytes - Click Count (0)