Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for testMask (0.18 sec)

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

     */
    package org.codelibs.fess.unit;
    
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.utflute.lastaflute.WebContainerTestCase;
    
    public abstract class UnitFessTestCase extends WebContainerTestCase {
        @Override
        protected String prepareConfigFile() {
            return "test_app.xml";
        }
    
        @Override
        public void tearDown() throws Exception {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        }
      }
    
      public void testLast_emptyList() {
        List<String> list = Collections.emptyList();
        assertThat(FluentIterable.from(list).last()).isAbsent();
      }
    
      public void testLast_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertThat(FluentIterable.from(sortedSet).last()).hasValue("c");
      }
    
      public void testLast_emptySortedSet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
            @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  5. 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))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    			if testCase.inputHeaderKey != "" {
    				q.Add(testCase.inputHeaderKey, testCase.inputHeaderValue)
    			}
    			inputReq.URL.RawQuery = q.Encode()
    		} else if testCase.inputHeaderKey != "" {
    			inputReq.Header.Set(testCase.inputHeaderKey, testCase.inputHeaderValue)
    		}
    		inputReq.ParseForm()
    
    		actualResult := skipContentSha256Cksum(inputReq)
    		if testCase.expectedResult != actualResult {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. 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")
    			}
    		})
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. cmd/handler-utils_test.go

    		{malformedReq, globalMinioDefaultRegion, ErrMalformedXML},
    	}
    
    	for i, testCase := range testCases {
    		config.SetRegion(globalServerConfig, testCase.serverConfigRegion)
    		_, actualCode := parseLocationConstraint(testCase.request)
    		if testCase.expectedCode != actualCode {
    			t.Errorf("Test %d: Expected the APIErrCode to be %d, but instead found %d", i+1, testCase.expectedCode, actualCode)
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. cmd/erasure-sets_test.go

    func BenchmarkCrcHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		testCase := testCase
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				crcHashMod(key, 16)
    			}
    		})
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

            assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));
    
            assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader())));
    
            final ClassLoader context = Thread.currentThread().getContextClassLoader();
            try {
                final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader());
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top