Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for _abc (0.07 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasPrefixPatternStepTest.groovy

            def step = new HasPrefixPatternStep(".abc", false)
    
            expect:
            step.matches(".abc")
            step.matches(".ABC")
            step.matches(".Abc")
            step.matches(".aBCD")
            !step.matches(".A")
            !step.matches(".Ab")
            !step.matches(".BCD")
            !step.matches("ABC")
            !step.matches("")
            !step.matches("something else")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("aaa bbb", normalizeText("aaa \u00a0 bbb", 100, -1, -1, false));
            assertEquals("123 abc", normalizeText(" 123 abc ", 100, -1, -1, false));
            assertEquals("123 あいう", normalizeText(" 123 あいう ", 100, -1, -1, false));
            assertEquals("123 abc", normalizeText(" 123\nabc ", 100, -1, -1, false));
            assertEquals("1234567890 1234567890", normalizeText("1234567890 1234567890", 100, -1, -1, false));
        }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/util/internal/TextUtilTest.groovy

            "abc\ndef\nghi"     | " "    | " abc\n def\n ghi"
            "abc\n\t\n   \nghi" | "X"    | "Xabc\n\t\n   \nXghi"
        }
    
        def shorterOf() {
            expect:
            TextUtil.shorterOf("a", "b") == "a"
            TextUtil.shorterOf("aa", "b") == "b"
            TextUtil.shorterOf("a", "bb") == "a"
            TextUtil.shorterOf("", "bb") == ""
            TextUtil.shorterOf("", "") == ""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/generate.txt

    go generate './generate/alias.go'
    stdout 'Now is the time for all good men'
    
    # Test go generate's variable substitution
    go generate './generate/substitution.go'
    stdout $GOARCH' substitution.go:7 pabc xyzp/substitution.go/123'
    
    # Test go generate's run and skip flags
    go generate -run y.s './generate/flag.go'
    stdout 'yes' # flag.go should select yes
    ! stdout 'no' # flag.go should not select no
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy

            def step1 = PatternStepFactory.getStep("*abc", true);
            step1 instanceof HasSuffixPatternStep
            step1.suffix == "abc"
    
            step1.matches("abc")
            step1.matches("thing.abc")
            !step1.matches("thing.java")
    
            and:
            def step2 = PatternStepFactory.getStep("**abc", true);
            step2 instanceof HasSuffixPatternStep
            step2.suffix == "abc"
    
            step2.matches("abc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. src/encoding/csv/writer_test.go

    	Comma   rune
    }{
    	{Input: [][]string{{"abc"}}, Output: "abc\n"},
    	{Input: [][]string{{"abc"}}, Output: "abc\r\n", UseCRLF: true},
    	{Input: [][]string{{`"abc"`}}, Output: `"""abc"""` + "\n"},
    	{Input: [][]string{{`a"b`}}, Output: `"a""b"` + "\n"},
    	{Input: [][]string{{`"a"b"`}}, Output: `"""a""b"""` + "\n"},
    	{Input: [][]string{{" abc"}}, Output: `" abc"` + "\n"},
    	{Input: [][]string{{"abc,def"}}, Output: `"abc,def"` + "\n"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:46:20 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/lookup1.go

    	_ = s.ABC // ERROR "s.ABC undefined (type struct{x int; aBc int} has no field or method ABC, but does have field aBc)"
    }
    
    func _() {
    	type S struct {
    		x int
    	}
    	var s S
    	_ = s.x
    	_ = s /* ERROR "invalid operation: cannot call non-function s.x (variable of type int)" */ .x()
    	_ = s.X // ERROR "s.X undefined (type S has no field or method X, but does have field x)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/errors/errors_test.go

    import (
    	"errors"
    	"testing"
    )
    
    func TestNewEqual(t *testing.T) {
    	// Different allocations should not be equal.
    	if errors.New("abc") == errors.New("abc") {
    		t.Errorf(`New("abc") == New("abc")`)
    	}
    	if errors.New("abc") == errors.New("xyz") {
    		t.Errorf(`New("abc") == New("xyz")`)
    	}
    
    	// Same allocation should be equal to itself (not crash).
    	err := errors.New("jkl")
    	if err != err {
    		t.Errorf(`err != err`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:55:10 UTC 2023
    - 765 bytes
    - Viewed (0)
  9. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/internal/coerce/StringToEnumTransformerTest.groovy

            where:
            types              | args           | transformed           | desc
            [TestEnum]         | ["abc"]        | [TestEnum.ABC]        | "one arg"
            [TestEnum, String] | ["abc", "abc"] | [TestEnum.ABC, "abc"] | "two args"
        }
    
        def "returns original args when no transformation is required - #desc"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${abc.xyz}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("abc.xyz", "789");
    
            value = "${abc.xyz}";
            assertEquals("789", ResourceUtil.resolve(value));
    
            value = "${abc}${abc.xyz}";
            assertEquals("123789", ResourceUtil.resolve(value));
    
            value = "xxx${abc.xyz}zzz";
            assertEquals("xxx789zzz", ResourceUtil.resolve(value));
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top