Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,073 for test (0.12 sec)

  1. cmd/config-encrypted_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{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 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle_test.go

    		actual, err := parseRestoreObjStatus(tc.String())
    		if err != nil {
    			t.Fatalf("Test %d: parse restore object failed: %v", i+1, err)
    		}
    		if actual.ongoing != tc.ongoing || actual.expiry.Format(http.TimeFormat) != tc.expiry.Format(http.TimeFormat) {
    			t.Fatalf("Test %d: got %v expected %v", i+1, actual, tc)
    		}
    	}
    }
    
    // TestRestoreObjOnDisk tests restoreObjStatus' OnDisk method
    func TestRestoreObjOnDisk(t *testing.T) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/labeltype/admin_labeltype.jsp

                                <div class="collapse <c:if test="${!empty name || !empty value}">show</c:if>" id="listSearchForm">
                                    <la:form action="/admin/labeltype/">
                                        <div class="form-group row">
                                            <label for="name" class="col-sm-2 text-sm-right col-form-label"><la:message
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 10.5K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_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: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 8K bytes
    - Viewed (0)
  5. cmd/xl-storage_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			err = fs.AppendFile(context.Background(), "voldir", test.objName, []byte("hello"))
    			if err != nil && test.pass {
    				t.Error(err)
    			} else if err == nil && !test.pass {
    				t.Error(err)
    			}
    			fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{
    				Recursive: false,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth.jsp

                                                                    test="${data.hostname==null||data.hostname==''}">
                                                                <la:message key="labels.file_auth_any"/>
                                                            </c:if> ${f:h(data.hostname)}: <c:if
                                                                    test="${data.port==null||data.port==''}">
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Mar 27 06:24:23 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth_details.jsp

                    <div class="row">
                        <div class="col-md-12">
                            <div
                                    class="card card-outline <c:if test="${crudMode == 1 || crudMode == 2}">card-success</c:if><c:if test="${crudMode == 3}">card-danger</c:if><c:if test="${crudMode == 4}">card-primary</c:if>">
                                    <%-- Card Header --%>
                                <div class="card-header">
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

            response = client.post(
                "/uploadfiles/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"filenames": ["test.txt", "test2.txt"]}
    
    
    @needs_py39
    def test_get_root(app: FastAPI):
        client = TestClient(app)
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    			err:            errDiskNotFound,
    			expectedAPIErr: toAPIErrorCode(GlobalContext, errDiskNotFound),
    		},
    	}
    
    	for i, test := range testCases {
    		actualErr := toAdminAPIErrCode(GlobalContext, test.err)
    		if actualErr != test.expectedAPIErr {
    			t.Errorf("Test %d: Expected %v but received %v",
    				i+1, test.expectedAPIErr, actualErr)
    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/common/admin/crud/pagination.jsp

    					<la:message key="labels.prev_page" />
    				</la:link></li>
    			</c:if>
    			<c:if test="${!pager.existPrePage}">
    				<li class="page-item disabled"><a
    						class="page-link" href="#"><la:message
    						key="labels.prev_page" /></a></li>
    			</c:if>
    			<c:forEach var="p" varStatus="s"
    				items="${pager.pageNumberList}">
    				<li
    					<c:if test="${p == pager.currentPageNumber}">class="page-item active"</c:if>><la:link
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 1.5K bytes
    - Viewed (0)
Back to top