Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 731 for testPass (0.29 sec)

  1. 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname:21/test"));
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

            }
        }
    
        boolean testClassExists(String testClass) {
            return new File(htmlReportDirectory, "classes/${FileUtils.toSafeFileName(testClass)}.html").exists()
        }
    
        boolean testClassDoesNotExist(String testClass) {
            return !testClassExists(testClass)
        }
    
        TestClassExecutionResult testClass(String testClass) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/DefaultTestExecutionResult.groovy

        }
    
        TestClassExecutionResult testClassByHtml(String testClass) {
            htmlResult.testClass(testClass)
        }
    
        TestClassExecutionResult testClassByXml(String testClass) {
            xmlResult.testClass(testClass)
        }
    
        TestClassExecutionResult testClassStartsWith(String testClass) {
            new DefaultTestClassExecutionResult(results.collect { it.testClassStartsWith(testClass) })
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterMergeRerunSpec.groovy

                }
                testcase("m1") {
                    failure "m1-message-2", "m1-stackTrace-2"
                }
                testcase("m1") {
    
                }
                testcase("m1") {
                    failure "m1-message-3", "m1-stackTrace-3"
                }
                testcase("m1") {
                    ignore()
                }
                testcase("m1") {
                    failure "m1-message-4", "m1-stackTrace-4"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. internal/event/name_test.go

    	}
    
    	for i, testCase := range testCases {
    		data, err := json.Marshal(testCase.name)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/storage-rest_test.go

    	}
    
    	result := make([]byte, 100)
    	for i, testCase := range testCases {
    		result = result[testCase.offset:3]
    		_, err := storage.ReadFile(context.Background(), testCase.volumeName, testCase.objectName, testCase.offset, result, nil)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. cmd/net_test.go

    		{"http://8.8.8.8:9000", "http://localhost:9000", false, nil},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			sameAddr, err := sameLocalAddrs(testCase.addr1, testCase.addr2)
    			if testCase.expectedErr != nil && err == nil {
    				t.Errorf("should fail but succeeded")
    			}
    			if testCase.expectedErr == nil && err != nil {
    				t.Errorf("should succeed but failed with %v", err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/policy_options_test.go

    			expectedAvailable: false,
    		},
    	}
    	for _, testCase := range testCases {
    		t.Run(testCase.option, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, testCase.featureGate, testCase.featureGateEnable)
    			err := CheckPolicyOptionAvailable(testCase.option)
    			isEnabled := (err == nil)
    			if isEnabled != testCase.expectedAvailable {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. internal/auth/credentials_test.go

    		{1574812326.000, false},
    		{time.Duration(3) * time.Minute, false},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			_, err := ExpToInt64(testCase.exp)
    			if err != nil && !testCase.expectedFailure {
    				t.Errorf("Expected success but got failure %s", err)
    			}
    			if err == nil && testCase.expectedFailure {
    				t.Error("Expected failure but got success")
    			}
    		})
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top