Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testRenaming (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expected);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testRenaming() throws Exception {
        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expected);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testRenaming() throws Exception {
        String oldName = Thread.currentThread().getName();
        final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cgo_test.go

    func TestHelpers(t *testing.T)               { testHelpers(t) }
    func TestLibgcc(t *testing.T)                { testLibgcc(t) }
    func TestMultipleAssign(t *testing.T)        { testMultipleAssign(t) }
    func TestNaming(t *testing.T)                { testNaming(t) }
    func TestPanicFromC(t *testing.T)            { testPanicFromC(t) }
    func TestPrintf(t *testing.T)                { testPrintf(t) }
    func TestReturnAfterGrow(t *testing.T)       { testReturnAfterGrow(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. src/testing/match_test.go

    	{"b", "x/b#02"},
    	{"b", "x/b#03"},
    
    	// Sanitizing
    	{"A:1 B:2", "x/A:1_B:2"},
    	{"s\t\r\u00a0", "x/s___"},
    	{"\x01", `x/\x01`},
    	{"\U0010ffff", `x/\U0010ffff`},
    }
    
    func TestNaming(t *T) {
    	m := newMatcher(regexp.MatchString, "", "", "")
    	parent := &common{name: "x", level: 1} // top-level test.
    
    	for i, tc := range namingTestCases {
    		if got, _, _ := m.fullName(parent, tc.name); got != tc.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/test.go

    	x = C.strxfrm(nil, nil, x)
    	C.memchr(nil, 0, x)
    	x = C.strcspn(nil, nil)
    	x = C.strspn(nil, nil)
    	C.memset(nil, 0, x)
    	x = C.strlen(nil)
    	_ = x
    }
    
    // issue 6612
    
    func testNaming(t *testing.T) {
    	C.myfunc()
    	C.myfunc_def()
    	if v := C.myvar; v != 5 {
    		t.Errorf("C.myvar = %d, want 5", v)
    	}
    	if v := C.myvar_def; v != 5 {
    		t.Errorf("C.myvar_def = %d, want 5", v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top