- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for happyPath (0.03 sec)
-
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
/** This one won't start because it isn't annotated. */ private val dispatcherC = ClosableDispatcher() val serverC = MockWebServer().apply { dispatcher = dispatcherC } @Test fun happyPath() { testInstances += this assertThat(serverA.started).isTrue() assertThat(serverB.started).isTrue() assertThat(serverC.started).isFalse() assertThat(serverD.started).isTrue()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 11:13:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
lastPath = file.getPath(); } return true; } } @Nested @DisplayName("Happy path – accept is called and returns true") class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
} @Override public boolean isRoot() { return "/".equals(path); } } @Nested @DisplayName("Happy path – well-formed SMB URL") class HappyPath { @Test void testBasicProperties() throws Exception { String url = "smb://server/share/path/file.txt"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)