Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 2,093 for test0 (0.04 sec)

  1. internal/crypto/key_test.go

    func TestSealUnsealKey(t *testing.T) {
    	for i, test := range sealUnsealKeyTests {
    		key := GenerateKey(test.SealExtKey[:], rand.Reader)
    		sealedKey := key.Seal(test.SealExtKey[:], test.SealIV, test.SealDomain, test.SealBucket, test.SealObject)
    		if err := key.Unseal(test.UnsealExtKey[:], sealedKey, test.UnsealDomain, test.UnsealBucket, test.UnsealObject); err == nil && !test.ShouldPass {
    			t.Errorf("Test %d should fail but passed successfully", i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
            assertEquals(num, count);
            assertEquals(num, valueSet.size());
        }
    
        @Test
        public void test_ReadWithLimit() throws Exception {
            String indexName = "test-index";
            Client client = runner.client();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

        public void testAssertArgument() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。."));
            assertArgument("hoge", false, "hogeだからです。");
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} .
         */
        @Test
        public void testAssertState() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        char[][] arrays = new char[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        char[] sharedArray = new char[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Chars.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-scope.xml

        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>d</artifactId>
          <version>0.2</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>e</artifactId>
          <version>0.2</version>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>f</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.resolution.ArtifactResult;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.*;
    
    class RepositorySystemTest extends AbstractRepositoryTestCase {
        @Test
        void testResolveVersionRange() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-management-scope.xml

          <dependency>
            <groupId>test</groupId>
            <artifactId>d</artifactId>
            <version>0.2</version>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>test</groupId>
            <artifactId>e</artifactId>
            <version>0.2</version>
            <scope>provided</scope>
          </dependency>
          <dependency>
            <groupId>test</groupId>
            <artifactId>f</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        @Test
        void testTestClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.test, false);
    
            assertNotNull(res, "null classpath container after test transform");
            assertNotNull(res.getClasspath(), "null classpath after test transform");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.internal.format
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.EMPTY
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okio.Buffer
    import okio.ByteString.Companion.EMPTY
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    class ResponseCommonTest {
      @Test fun peekShorterThanResponse() {
        val response = newResponse(responseBody("abcdef"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top