- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 949 for accepts (0.07 seconds)
-
src/test/java/jcifs/smb/SmbFileFilterTest.java
verify(smbFile, times(1)).length(); // positive size -> accept reset(smbFile); when(smbFile.length()).thenReturn(42L); assertTrue(filter.accept(smbFile), "Positive size should be accepted"); verify(smbFile, times(1)).length(); verifyNoMoreInteractions(smbFile); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
assertEquals(name, request.getRemoteUser()); verify(mockPrincipal, times(1)).getName(); } @Test @DisplayName("constructor accepts null principal") void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) { // Constructor accepts null principal without throwing exception NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java
/** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenEncCling(world).run(args, null, null, null, false); } /** * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams. */ public static int main(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java
/** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenShellCling(world).run(args, null, null, null, false); } /** * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams. */ public static int main(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
// Accept files in /share/folder/ that are text files return path.equals("/share/folder/") && name != null && name.endsWith(".txt"); }; // Act & Assert: test with different file names assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path"); assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java
/** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenCling(world).run(args, null, null, null, false); } /** * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams. */ public static int main(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Act & Assert assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph)); } @Test @DisplayName("should accept negative access mask values") void testNegativeAccessMaskAccepted() { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
tests/test_openapi_schema_type.py
[ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: SchemaType | list[SchemaType] | None, ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field.""" schema = Schema(type=type_value) assert schema.type == type_value def test_invalid_type_value() -> None:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 685 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java
/** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenUpCling(world).run(args, null, null, null, false); } /** * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams. */ public static int main(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmUtil.java
md4.update(Strings.getUNIBytes(password)); return md4.digest(); } /** * Generates the NT password hash for the given password. * This version accepts char[] for better security. * * @param password the password to hash as char array * @return nt password hash */ public static byte[] getNTHash(final char[] password) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0)