Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for teststring2 (0.15 sec)

  1. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DocumentUtilTest extends UnitFessTestCase {
    
        public void test_string() {
            Map<String, Object> doc = new HashMap<>();
    
            String expected = "1";
            doc.put("key1", expected);
            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    		buf.Truncate(20)
    		check(t, "TestBasicOperations (8)", &buf, testString[0:20])
    
    		empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5))
    		empty(t, "TestBasicOperations (10)", &buf, "", make([]byte, 100))
    
    		buf.WriteByte(testString[1])
    		c, err := buf.ReadByte()
    		if want := testString[1]; err != nil || c != want {
    			t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, want, nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeInterceptorTestReceiver.java

     * a different class {@link CompositeCallInterceptionTestInterceptorsDeclaration}.
     */
    public class CompositeInterceptorTestReceiver {
        public String intercepted = null;
        private String testString = "testString";
        private boolean testFlag = false;
    
        public void test() {}
        public void test(CompositeInterceptorTestReceiver arg) {}
        public void testVararg(Object... arg) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/unique/handle_test.go

    type testString string
    type testIntArray [4]int
    type testEface any
    type testStringArray [3]string
    type testStringStruct struct {
    	a string
    }
    type testStringStructArrayStruct struct {
    	s [2]testStringStruct
    }
    type testStruct struct {
    	z float64
    	b string
    }
    
    func TestHandle(t *testing.T) {
    	testHandle[testString](t, "foo")
    	testHandle[testString](t, "bar")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

      const absl::Status write_status =
          WriteStringToFile(dst_file_path, "test_string");
      ASSERT_THAT(write_status, IsOk());
    
      auto* const env = tsl::Env::Default();
      ASSERT_THAT(env->FileExists(dst_file_path), IsOk());
    
      std::string data{};
      ASSERT_THAT(tsl::ReadFileToString(env, dst_file_path, &data), IsOk());
    
      EXPECT_THAT(data, Eq("test_string"));
    }
    
    TEST(IoTest, ReadFileToString) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/matchers/UserAgentMatcher.java

            return new UserAgentMatcher(applicationName, version);
        }
    
        @Override
        public boolean matches(Object o) {
            String testString = expectedUserAgentString();
            return CoreMatchers.equalTo(testString).matches(o);
        }
    
        private String expectedUserAgentString() {
            String javaVendor = System.getProperty("java.vendor");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy

            "normal getter"       | "call site" | "getTestString()"                             | { it.testString }                    | false
            "boolean getter"      | "call site" | "isTestFlag()"                                | { it.testFlag }                      | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir

        // CHECK-ROUNDTRIP:  %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64>
        %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64>
        return %0 : tensor<i64>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:40:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. src/unique/clone_test.go

    // license that can be found in the LICENSE file.
    
    package unique
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"reflect"
    	"testing"
    )
    
    func TestMakeCloneSeq(t *testing.T) {
    	testCloneSeq[testString](t, cSeq(0))
    	testCloneSeq[testIntArray](t, cSeq())
    	testCloneSeq[testEface](t, cSeq())
    	testCloneSeq[testStringArray](t, cSeq(0, 2*goarch.PtrSize, 4*goarch.PtrSize))
    	testCloneSeq[testStringStruct](t, cSeq(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/impl/iostream_test.cc

    }
    
    TEST(OStreamTest, TestFloat32) {
      Float32 x(0.375);  // Exactly representable as a float.
      std::stringstream stream;
      stream << x;
      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();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top