Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 2,907 for xtest (0.05 sec)

  1. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

            try {
                File tempFile = File.createTempFile("test-system", ".properties");
                tempFile.deleteOnExit();
                return tempFile;
            } catch (IOException e) {
                logger.warn("Failed to create temp file, using null", e);
                return null;
            }
        }
    
        private void loadTestProperties() {
            // Load system.properties from test classpath
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. cmd/config-encrypted_test.go

    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    				t.Errorf("Expected success, saw failure %v", err)
    			}
    			if err == nil && !test.success {
    				t.Error("Expected failure, saw success")
    			}
    			if test.success {
    				if !bytes.Equal(ddata, data) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    func TestScanByte(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanBytes)
    		var i int
    		for i = 0; s.Scan(); i++ {
    			if b := s.Bytes(); len(b) != 1 || b[0] != test[i] {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, test, b)
    			}
    		}
    		if i != len(test) {
    			t.Errorf("#%d: termination expected at %d; got %d", n, len(test), i)
    		}
    		err := s.Err()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

        }
    
        @Test
        @DisplayName("Should work with null server name")
        void shouldHandleNullServerName() {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(null, testAccess, mockPolicyHandle);
    
            // Then
            assertNotNull(msrpcSamrConnect2, "Should handle null server name");
        }
    
        @Test
        @DisplayName("Should work with different access masks")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            String dir2 = "/test/dir2";
    
            // Setup mock files for this test
            when(mockFile1.getName()).thenReturn("document.txt");
            when(mockFile1.length()).thenReturn(2048L);
            when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. cmd/data-scanner_test.go

    			want:      lifecycle.DelMarkerDeleteAllVersionsAction,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("TestEvalAction-%d", i), func(t *testing.T) {
    			gotEvent := evalActionFromLifecycle(t.Context(), test.ilm, *test.retention, nil, test.obj)
    			if gotEvent.Action != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, gotEvent.Action)
    			}
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        checkTransitiveClosure(undirectedGraph, expectedClosure);
      }
    
      @Test
      public void transpose_undirectedGraph() {
        MutableGraph<Integer> undirectedGraph = GraphBuilder.undirected().build();
        undirectedGraph.putEdge(N1, N2);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
      }
    
      @Test
      public void transpose_directedGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride_details.jsp

                    <c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
                        <la:hidden property="id"/>
                    </c:if>
                    <div class="row">
                        <div class="col-md-12">
                            <div
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  9. cmd/erasure-sets_test.go

    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    
    	if sipHashElement := hashKey("UNKNOWN", "This will fail", 0, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    }
    
    // TestCrcHashMod - test crc hash.
    func TestCrcHashMod(t *testing.T) {
    	testCases := []struct {
    		objectName string
    		crcHash    int
    	}{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            response = new TestSmbComNtTransactionResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with Configuration")
        void testConstructor() {
            assertNotNull(response);
            // Verify configuration is set through parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top