Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 530 for Correct (0.07 seconds)

  1. src/test/java/jcifs/DialectVersionTest.java

            assertNotNull(DialectVersion.SMB300);
            assertNotNull(DialectVersion.SMB302);
            assertNotNull(DialectVersion.SMB311);
        }
    
        @Test
        @DisplayName("Should have correct version ordering")
        void testVersionOrdering() {
            // SMB versions should be ordered chronologically
            assertTrue(DialectVersion.SMB1.compareTo(DialectVersion.SMB202) < 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            // Test with various messages
            String message = "Test error message";
            TransportException exception = new TransportException(message);
    
            // Verify the exception has the correct message
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Test with empty string
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. .teamcity/src/test/kotlin/BuildTypeTest.kt

                buildScanTags = listOf("Check"),
                subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")),
            )
    
        @Test
        fun `CompileAll parameters are correct`() {
            val linuxPaths =
                listOf(
                    "%linux.java8.oracle.64bit%",
                    "%linux.java11.openjdk.64bit%",
                    "%linux.java17.openjdk.64bit%",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 20:21:47 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for FsctlPipeWaitRequest
     */
    class FsctlPipeWaitRequestTest {
    
        @Test
        @DisplayName("Test constructor with name only sets correct fields")
        void testConstructorWithNameOnly() {
            // Test with simple pipe name
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-sha1.xml

      <groupId>com.example.group</groupId>
      <artifactId>valid-version-sha1</artifactId>
      <version>${sha1}</version>
    
      <description>
        This will test if the validation for the ci friendly versions
        is working correct.
      </description>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 16K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertEquals(2000000L, basicInfo.getLastWriteTime());
                assertEquals(0L, basicInfo.getSize()); // Basic info always returns 0 for size
            }
    
            @Test
            @DisplayName("Should generate correct toString for basic info")
            void testBasicInfoToString() {
                Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
    
                basicInfo.attributes = 0x20;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            outputBuffer = new byte[1024];
            response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            // Verify that the response is created with correct configuration and buffer
            assertNotNull(response);
    
            // Use reflection to verify the outputBuffer is set correctly
            try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/NtStatus.java

        /** The specified user already exists */
        int NT_STATUS_USER_EXISTS = 0xC0000063;
        /** The specified user does not exist */
        int NT_STATUS_NO_SUCH_USER = 0xC0000064;
        /** The specified network password is not correct */
        int NT_STATUS_WRONG_PASSWORD = 0xC000006a;
        /** Logon failure: unknown user name or bad password */
        int NT_STATUS_LOGON_FAILURE = 0xC000006d;
        /** Logon failure: user account restriction */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
        TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName());
        for (Method method : AbstractFutureTest.class.getDeclaredMethods()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top