Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 2,804 for switch (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test with maximum and minimum values")
        void testWithBoundaryValues() {
            // Test with minimum values
            trans2SetFileInfo = new Trans2SetFileInformation(config, 0, 0, 0L, 0L, 0L);
            assertNotNull(trans2SetFileInfo);
    
            // Test with maximum values
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

         */
        @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
            serverData.oemDomainName = "";
            assertEquals("", serverData.oemDomainName);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with null
            execJob.testDeleteTempDir(null);
    
            // Test with existing directory
            File testDir = new File(tempDir, "test_delete_dir");
            assertTrue(testDir.mkdir());
            assertTrue(testDir.exists());
    
            execJob.testDeleteTempDir(testDir);
            assertFalse(testDir.exists());
    
            // Test with non-existent directory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            infoField.set(msrpcShareGetInfo, info502);
    
            // Test getSecurity - with no DACL, it should return null
            ACE[] result = msrpcShareGetInfo.getSecurity();
            assertNull(result);
        }
    
        @Test
        void testGetSecurityWithDACL() throws Exception {
            // Setup ShareInfo502 with a security descriptor containing a DACL with no ACEs
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test decode with offset")
        void testDecodeWithOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[30];
            int bufferIndex = 5; // Start at offset 5
            int idFileSystem = 0xFFFFFFFF;
            int sectPerAlloc = 16;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            }
        }
    
        // Test main method with invalid arguments
        @Test
        public void test_main_invalidArguments() {
            // Cannot directly test main as it calls System.exit
            // Test argument parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test main method with valid arguments
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // The test will verify the method works with the actual ResourceUtil implementation
    
            // Test with reflection to access protected method
            List<String> names = testFactory.loadDataStoreNameList();
            assertTrue(names.isEmpty() || names.size() >= 0); // Will be empty due to ResourceUtil static method
        }
    
        // Test loadDataStoreNameList with malformed XML
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. tests/upsert_test.go

    	} else if len(langs2) != 3 {
    		t.Errorf("should only find only 3 languages, but got %+v", langs2)
    	}
    
    	DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs)
    	var langs3 []Language
    	if err := DB.Find(&langs3, "code LIKE ?", "upsert-slice%").Error; err != nil {
    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. impl/maven-core/plugin-manager.txt

    - we also seem to have artifact information tangled inside the plugin model
    - we have to deal with scripting implementations (groovy, beanshell, ruby)
    - we need to deal with a shared context for plugins, like the guarded mojos
    - we need to deal with plugins as core application logic which can also interact with plugins
    
    * Along with this comes the testing strategies that make this work
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // but we can at least ensure the method executes without errors
            logger.info("Execute method called with query: {} and boost: {}", query, boost);
        }
    
        @Test
        public void test_execute_withHighBoost() {
            // Test execute with high boost value
            QueryContext context = new QueryContext("test", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
Back to Top