Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for testClone (0.16 sec)

  1. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

    import java.io.OutputStream;
    
    import org.junit.Test;
    
    /**
     * @author shot
     */
    public class CloseableUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestFrameworkIntegrationTest.groovy

            given:
            file("src/test/java/DisabledTest.java") << """
                @org.testng.annotations.Test(enabled = false)
                public class DisabledTest {
                    public void testOne() {}
                    public void testTwo() {}
                }
            """
    
            when:
            executer.expectDocumentedDeprecationWarning("No test executed. This behavior has been deprecated. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/cmd/cover/cover_test.go

    	})
    }
    
    // Execute this command sequence:
    //
    //	replace the word LINE with the line number < testdata/test.go > testdata/test_line.go
    //	testcover -mode=count -var=CoverTest -o ./testdata/test_cover.go testdata/test_line.go
    //	go run ./testdata/main.go ./testdata/test.go
    func TestCover(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    	dir := tempDir(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/impl/iostream_test.cc

      ASSERT_EQ(stream.str(), "0.375");
    }
    
    TEST(OStreamTest, TestString) {
      String s("foo");
      std::stringstream stream;
      stream << s;
      ASSERT_EQ(stream.str(), "foo");
    }
    
    TEST(OStreamTest, TestNone) {
      std::stringstream stream;
      stream << None::GetInstance();
      ASSERT_EQ(stream.str(), "None");
    }
    
    TEST(OStreamTest, TestTensorSpec) {
      std::stringstream stream;
      TensorSpec tensor_spec;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tests/testdata/bootstrap_tmpl.json

    {
      "node": {
        "id": "{{ .EnvoyConfigOpt.NodeID }}",
        "cluster": "mycluster",
        "locality": {
          "zone": "testzone"
        },
        "metadata": {
          {{ .EnvoyConfigOpt.meta_json_str }}
        }
      },
      "stats_config": {
        "use_all_default_tags": false
      },
      "admin": {
        "access_log_path": "{{.AccessLogPath}}",
        "address": {
          "socket_address": {
            "address": "0.0.0.0",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 02:10:15 UTC 2021
    - 9.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
        public void test_long() {
            Map<String, Object> doc = new HashMap<>();
    
            long expected5 = 999999999999999999L;
            doc.put("key5", expected5);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/version/version_test.go

    limitations under the License.
    */
    
    package version
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    )
    
    type testItem struct {
    	version    string
    	unparsed   string
    	equalsPrev bool
    }
    
    func testOne(v *Version, item, prev testItem) error {
    	str := v.String()
    	if item.unparsed == "" {
    		if str != item.version {
    			return fmt.Errorf("bad round-trip: %q -> %q", item.version, str)
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  8. src/html/template/template.go

    	}
    	textClone, err := t.text.Clone()
    	if err != nil {
    		return nil, err
    	}
    	ns := &nameSpace{set: make(map[string]*Template)}
    	ns.esc = makeEscaper(ns)
    	ret := &Template{
    		nil,
    		textClone,
    		textClone.Tree,
    		ns,
    	}
    	ret.set[ret.Name()] = ret
    	for _, x := range textClone.Templates() {
    		name := x.Name()
    		src := t.set[name]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
        hasher.putLong(0x0807060504030201L);
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
      }
    
      public void testChar() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy

            buildFile << """
                repositories {
                    maven { url '${server.uri}' }
                }
                configurations { compile }
                dependencies {
                    compile "test:one:1.2"
                    compile "test:two:1.2"
                }
                task resolve {
                    def files = configurations.compile
                    doLast {
                        files.each { println it.name }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top