Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 589 for testcase (0.08 sec)

  1. cmd/metacache-entries_test.go

    }
    
    func Test_metaCacheEntry_isInDir(t *testing.T) {
    	tests := []struct {
    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "basic-dir",
    			entry:    "src/dir/",
    			dir:      "src/",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        assertNull(string.toMediaTypeOrNull(), exceptionMessage)
      }
    
      @Test fun testParse() {
        val mediaType = parse("text/plain;boundary=foo;charset=utf-8")
        assertEquals("text", mediaType.type)
        assertEquals("plain", mediaType.subtype)
        assertEquals("UTF-8", mediaType.charsetName())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_test.go

    	// Subsequently deleting fileInfos[6].versionID should return fileInfos[6].dataDir since there are no other object versions sharing this data dir.
    	count := len(testCases)
    	for i := 4; i < len(testCases); i++ {
    		tc := testCases[i]
    		dataDir, err := xl.DeleteVersion(fileInfos[i])
    		failOnErr(count+1, err)
    		if dataDir != tc.expectedDataDir {
    			t.Fatalf("Expected %s but got %s", tc.expectedDataDir, dataDir)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameTest.java

        }
    
        @Test
        void getName_shouldReturnName() {
            Name name = new Name(mockConfig, "TestName", 0x20, null);
            assertEquals("TESTNAME", name.getName());
        }
    
        @Test
        void getScope_shouldReturnScope() {
            Name name = new Name(mockConfig, "TestName", 0x20, "test.scope");
            assertEquals("test.scope", name.getScope());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            return server;
        }
    
        public void test_doGet_root_dir() throws FtpException {
            FtpServer server = null;
            try {
                String username = "testuser";
                String password = "testpass";
                server = startFtpServer(FTP_PORT, username, password);
                Map<String, Object> params = new HashMap<String, Object>();
                FtpAuthentication auth = new FtpAuthentication();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            TestDataStore dataStore = new TestDataStore("TestStore");
            dataStoreFactory.add("testName", dataStore);
    
            // Verify data store is registered with both the given name and class simple name
            assertNotNull(dataStoreFactory.getDataStore("testName"));
            assertNotNull(dataStoreFactory.getDataStore("testname")); // case insensitive
            assertNotNull(dataStoreFactory.getDataStore("TestDataStore"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/PropertyConfigurationTest.java

            Properties props = new Properties();
            // Set some default test properties
            props.setProperty("jcifs.smb.client.username", "testuser");
            props.setProperty("jcifs.smb.client.password", "testpass");
            props.setProperty("jcifs.smb.client.domain", "testdomain");
            props.setProperty("jcifs.netbios.hostname", "testhost");
            props.setProperty("jcifs.netbios.scope", "");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertNull(iterator.next(), "Should return null when no elements");
        }
    
        /**
         * Test close method delegates to underlying iterator.
         */
        @Test
        void testClose() throws CIFSException {
            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
    
            DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/pseudo_test.go

    		{"PCDATA", "1", "expect two operands for PCDATA"},
    	}
    
    	runtimeTests := []errtest{
    		{"TEXT", "foo<ABIInternal>(SB),0", "TEXT \"foo\": ABIInternal requires NOSPLIT"},
    	}
    
    	testcats := []struct {
    		allowABI bool
    		tests    []errtest
    	}{
    		{
    			allowABI: false,
    			tests:    nonRuntimeTests,
    		},
    		{
    			allowABI: true,
    			tests:    runtimeTests,
    		},
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            assertEquals(originalHexCode, mockName.hexCode);
        }
    
        @Test
        void writeBodyWireFormat_withRealName_shouldWriteCorrectly() {
            // Arrange
            Name realName = new Name(mockConfig, "TESTNAME", 0x20, "test.scope");
            nodeStatusRequest = new NodeStatusRequest(mockConfig, realName);
            byte[] dst = new byte[200];
    
            // Act
            int result = nodeStatusRequest.writeBodyWireFormat(dst, 10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top