Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for testable (0.14 sec)

  1. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
            // We can't directly assert these values on the superclass fields without reflection or a testable superclass.
            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            // This is complex due to the class structure. A better approach would be
            // to refactor SmbFile to be more testable (e.g., dependency injection).
            // For now, we test methods that don't require deep mocks.
            return new SmbFile(url, auth);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. cmd/postpolicyform_test.go

    	pp.SetBucket("testbucket")
    	pp.SetContentType("image/jpeg")
    	pp.SetUserMetadata("uuid", "14365123651274")
    	pp.SetKeyStartsWith("user/user1/filename")
    	pp.SetContentLengthRange(100, 999999) // not testable from this layer, condition is checked in the API handler.
    	pp.SetSuccessStatusAction("201")
    	pp.SetCondition("eq", "X-Amz-Credential", "KVGKMDUQ23TCZXTLTHLP/20160727/us-east-1/s3/aws4_request")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            testConfig.disallowCompound = customDisallow;
    
            testConfig.initDefaults();
    
            assertEquals(customDisallow, testConfig.disallowCompound);
        }
    
        /**
         * Testable subclass that exposes the default constructor
         */
        private static class TestableBaseConfiguration extends BaseConfiguration {
            TestableBaseConfiguration() throws CIFSException {
                super(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown();
        }
    
        private String getTestContent() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Initialize ProtwordsFile
            protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            protwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown();
        }
    
        private String getTestContent() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            assertTrue("Multiple commands should be settable", true);
    
            // Test with empty list
            generator.setCommandList(new ArrayList<>());
            assertTrue("Empty command list should be settable", true);
    
            // Test with single command
            generator.setCommandList(Collections.singletonList("single_command"));
            assertTrue("Single command should be settable", true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        void setUp() {
            // Configure the mock to return the OEM encoding which is required for writeString
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            cmd = new SmbComQueryInformation(mockConfig, "testfile.txt");
        }
    
        @Test
        @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string")
        void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

          // We need to rewrite the `next` link of each of the elements so that it is in the appropriate
          // linked list starting from `newTable`. In general, each element from the old linked list
          // belongs to a different linked list from `newTable`. We insert each element in turn at the
          // head of its appropriate `newTable` linked list.
          while (oldNext != UNSET) {
            int entryIndex = oldNext - 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            tree.connectionState = 2; // Connected state
            tree.tid = 123;
    
            // Create real request and response objects since they're not interfaces
            ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null);
            ServerMessageBlock response = new SmbComOpenAndXResponse();
    
            // Execute send
            tree.send(request, response);
    
            // Verify session.send was called and tid was set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top