- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 3,963 for void (0.02 sec)
-
src/test/java/jcifs/pac/PacLogonInfoTest.java
private SID userSid; @BeforeEach void setUp() throws Exception { domainSid = new SID("S-1-5-21-1-2-3"); userSid = new SID("S-1-5-21-1-2-3-1000"); } private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException { dos.writeShort(Short.reverseBytes(value)); } private void writeLittleEndianInt(DataOutputStream dos, int value) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type3Message(invalidBytes); }); } @Test @DisplayName("Should handle parsing null message bytes") void testNullMessageBytes() { // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
* Test of getName method, of class SmbShareInfo. */ @Test void testGetName() { String netName = "TEST_SHARE"; SmbShareInfo instance = new SmbShareInfo(netName, 0, "remark"); assertEquals(netName, instance.getName()); } /** * Test of getType method, of class SmbShareInfo. */ @Test void testGetType() { // Test for TYPE_PRINTER
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
future.get(); }); } @Test public void testGetMaxRetries() { assertEquals(2, reconnector.getMaxRetries()); } @Test public void testGetRetryDelay() { assertEquals(50, reconnector.getRetryDelay()); } @Test public void testDefaultConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertEquals("/", simplifyPath("/././././")); } public void testSimplify9() { assertEquals("/a", simplifyPath("/a/b/..")); } public void testSimplify10() { assertEquals("/", simplifyPath("/a/b/../../..")); } public void testSimplify11() { assertEquals("/", simplifyPath("//a//b/..////../..//")); } public void testSimplify12() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
*/ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream. */ @Test public void testGetInputStream() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@DisplayName("Flag constants should be powers of 2") void shouldBeValidFlagPowersOfTwo(int flag) { assertTrue(flag > 0, "Flag should be positive"); assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag)); } @Test @DisplayName("Should validate all constants are unique") void shouldHaveUniqueConstants() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
@Override public void setUp() throws Exception { super.setUp(); provider = new FessUserLocaleProcessProvider(); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } // Test isAcceptCookieLocale method public void test_isAcceptCookieLocale() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Override public void setCommand(int command) { this.command = command; } @Override public void setUid(int uid) { // Implementation } @Override public void setExtendedSecurity(boolean extendedSecurity) { // Implementation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0)