Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,660 for Rtest (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(0, response.serverFid);
        }
    
        @Test
        void testSetFid() {
            response.fid = 123;
            assertEquals(123, response.fid);
        }
    
        @Test
        void testSetFileAttributes() {
            response.fileAttributes = 0x20; // ATTR_ARCHIVE
            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
        void testSetLastWriteTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb2Constants
     * Tests all SMB2 protocol constants and their expected values
     */
    @DisplayName("Smb2Constants Test Suite")
    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                assertNotNull(rapidProvider);
            }
        }
    
        // Test boundary conditions for time adjustments
        public void test_boundaryTimeAdjustments() {
            // Test zero boundary
            testBoundaryValue(0L);
    
            // Test one millisecond boundaries
            testBoundaryValue(1L);
            testBoundaryValue(-1L);
    
            // Test one second boundaries
            testBoundaryValue(1000L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Assert
            assertEquals("Status of test-cluster is changed to RED.", result);
        }
    
        // Test constructor
        public void test_constructor() {
            // Test that constructor creates instance without error
            PingSearchEngineJob job = new PingSearchEngineJob();
            assertNotNull(job);
        }
    
        // Test different cluster names
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange & Act
                SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
    
                // Assert
                assertNotNull(file);
                assertEquals("test.txt", file.getName());
            }
    
            @Test
            void testConstructorWithInvalidURL() {
                // Act & Assert
                assertThrows(MalformedURLException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        }
    
        /**
         * Test setting and getting String field (oemDomainName)
         */
        @Test
        @DisplayName("Test oemDomainName field with various string values")
        public void testOemDomainNameField() {
            // Test with normal string
            serverData.oemDomainName = "WORKGROUP";
            assertEquals("WORKGROUP", serverData.oemDomainName);
    
            // Test with empty string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. cmd/api-resources_test.go

    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix)
    		}
    		if token != testCase.token {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token)
    		}
    		if startAfter != testCase.startAfter {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

        public void setUp() throws Exception {
            super.setUp();
            fessLabels = new FessLabels();
        }
    
        /**
         * Test that assertPropertyNotNull throws exception for null input
         */
        public void test_assertPropertyNotNull_withNull() {
            try {
                // Create a test instance that extends FessLabels
                TestFessLabels labels = new TestFessLabels();
                labels.testAssertPropertyNotNull(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for NdrShort class
     * Tests construction, encoding, decoding, and edge cases
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top