- Sort Score
- Result 10 results
- Languages All
Results 1601 - 1610 of 4,254 for avoid (0.02 sec)
-
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
private File rootDir; @Override public void setUp() throws IOException { rootDir = createTempDir(); } public void testFileTraverser_emptyDirectory() throws Exception { assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); } public void testFileTraverser_nonExistingFile() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
*/ public int getVersion() { return version; } /** * Sets the witness protocol version. * * @param version the protocol version */ public void setVersion(int version) { this.version = version; } /** * Gets the share name to monitor. * * @return the share name */ public String getShareName() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
assertEquals(6, packet.length); } @Test void writeTrailerWireFormatShouldReturnZero() { // Test that writeTrailerWireFormat always returns 0, as per its implementation. SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); assertEquals(0, packet.writeTrailerWireFormat(new byte[0], 0)); } @Test void readTrailerWireFormatShouldReadSixBytesSuccessfully() throws IOException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
void testSizeCalculation(String path, int expectedSize) { buffer = new DfsReferralRequestBuffer(path, 3); assertEquals(expectedSize, buffer.size()); } @Test @DisplayName("Should calculate size for Unicode characters") void testSizeWithUnicodeCharacters() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
void testMaskSecretValueWithoutCredentials(String input) { // When String result = Strings.maskSecretValue(input); // Then assertEquals(input, result, "Should not modify non-matching strings"); } @Test @DisplayName("maskSecretValue should handle null input") void testMaskSecretValueWithNull() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
} @Test void testBasedirExtractionWithMissingProject() throws Exception { ExpressionEvaluator ee = createExpressionEvaluator(null, null, new Properties()); Object value = ee.evaluate("${basedir}"); assertEquals(System.getProperty("user.dir"), value); } @Test void testValueExtractionFromSystemPropertiesWithMissingProject() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
* * @param rootDir the root directory (must not be {@literal null}) * @param handler the handler to process classes (must not be {@literal null}) */ public static void forEach(final File rootDir, final ClassHandler handler) { assertArgumentNotNull("rootDir", rootDir); assertArgumentNotNull("handler", handler); forEach(rootDir, null, handler); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
leaseManager = new LeaseManager(mockContext); } @AfterEach void tearDown() { if (leaseManager != null) { leaseManager.shutdown(); } } @Test @DisplayName("Should request new lease") void testRequestLease() { String path = "/share/file.txt"; int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
/** * Unit tests for the Help goal. */ class HelpTest { private Help help; @BeforeEach void setUp() { help = new Help(); } private UpgradeContext createMockContext() { return TestUtils.createMockContext(); } @Test void testHelpExecuteReturnsZero() throws Exception { UpgradeContext context = createMockContext();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:46:51 UTC 2025 - 3.4K bytes - Viewed (0)