- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 246 for defined (1.91 sec)
-
src/test/java/jcifs/NetbiosAddressTest.java
*/ @ExtendWith(MockitoExtension.class) class NetbiosAddressTest { @Test void testConstantValues() { // Test that constants are properly defined assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", NbtAddress.ANY_HOSTS_NAME);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
*/ @TestInstance(TestInstance.Lifecycle.PER_CLASS) class FileInformationTest { /** * Test that interface constants are correctly defined */ @Test @DisplayName("Test FileInformation constants are correctly defined") void testInterfaceConstants() { // Verify all constants have expected values assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
*/ @ParameterizedTest @MethodSource("provideErrorClassAndCodeForGetErrorString") @DisplayName("getErrorString should return correct messages for all defined error classes and codes") void testGetErrorString(int errorClass, int errorCode, String expectedMessage) { assertEquals(expectedMessage, NbtException.getErrorString(errorClass, errorCode),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
class InterfaceMethodContractTest { @Test @DisplayName("Should define exactly four public methods") void shouldDefineExactlyFourPublicMethods() { java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods(); assertEquals(4, methods.length, "SmbSession should define exactly 4 methods"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/ResolverTypeTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; /** * Tests for the {@link ResolverType} enum. * This class ensures that the enum constants are defined as expected. */ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
package jcifs; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * Tests for the SmbPipeResource interface. * This test class primarily verifies the constant values defined in the interface. */ class SmbPipeResourceTest { /** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.witness; /** * Represents a witness unregistration response as defined in MS-SWN specification. * Contains the result of a witness unregistration request. */ public class WitnessUnregisterResponse { /** * Creates a new witness unregister response. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
package jcifs.pac; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * Tests for the PacConstants interface. * This test class verifies that the constant values defined in PacConstants are correct. */ class PacConstantsTest { /** * Tests that the constant values in the PacConstants interface match their expected values.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.witness; /** * Represents a witness heartbeat request as defined in MS-SWN specification. * Used to maintain active witness registrations. */ public class WitnessHeartbeatRequest { /** * Creates a new witness heartbeat request. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessEventType.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.witness; /** * Enumeration of SMB Witness Event Types as defined in MS-SWN specification. * These events represent different types of cluster state changes that clients * can be notified about. */ public enum WitnessEventType { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 2.5K bytes - Viewed (0)