Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 35 for testlabel (0.13 seconds)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertNotInstantiable(new TypeToken<BiMap<EmptyEnum, String>>() {});
      }
    
      public void testHashBiMap() {
        assertFreshInstance(new TypeToken<HashBiMap<String, ?>>() {});
      }
    
      public void testTable() {
        assertFreshInstance(new TypeToken<Table<String, ?, ?>>() {});
        assertNotInstantiable(new TypeToken<Table<EmptyEnum, String, Integer>>() {});
      }
    
      public void testHashBasedTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

            testConfig.disallowCompound = customDisallow;
    
            testConfig.initDefaults();
    
            assertEquals(customDisallow, testConfig.disallowCompound);
        }
    
        /**
         * Testable subclass that exposes the default constructor
         */
        private static class TestableBaseConfiguration extends BaseConfiguration {
            TestableBaseConfiguration() throws CIFSException {
                super(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertNotInstantiable(new TypeToken<BiMap<EmptyEnum, String>>() {});
      }
    
      public void testHashBiMap() {
        assertFreshInstance(new TypeToken<HashBiMap<String, ?>>() {});
      }
    
      public void testTable() {
        assertFreshInstance(new TypeToken<Table<String, ?, ?>>() {});
        assertNotInstantiable(new TypeToken<Table<EmptyEnum, String, Integer>>() {});
      }
    
      public void testHashBasedTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  4. tests/table_test.go

    	"gorm.io/gorm/utils/tests"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type UserWithTable struct {
    	gorm.Model
    	Name string
    }
    
    func (UserWithTable) TableName() string {
    	return "gorm.user"
    }
    
    func TestTable(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    	r := dryDB.Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // No interference should occur (just verify no critical errors)
            assertTrue("Multiple scheduled tasks should not interfere with each other", true);
        }
    
        /**
         * Testable subclass of EntraIdAuthenticator for testing purposes.
         */
        private static class TestableEntraIdAuthenticator extends EntraIdAuthenticator {
            AtomicBoolean scheduleParentGroupLookupCalled = new AtomicBoolean(false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

        ```
    
        See
        [TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build)
        for details.
    
    #### Running doctest for testable docstring
    
    There are two ways to test the code in the docstring locally:
    
    1.  If you are only changing the docstring of a class/function/method, then you
        can test it by passing that file's path to
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

        //                                                                    Helper Classes
        //                                                                    ================
    
        /**
         * Testable subclass that bypasses ComponentUtil dependencies.
         * This allows testing the filter logic without requiring the DI container.
         */
        private static class TestableLoadControlFilter extends LoadControlFilter {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. tensorflow/c/eager/c_api_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_InitOp);
    
    void BM_Execute(::testing::benchmark::State& state) {
      const int async = state.range(0);
      state.SetLabel(async ? "ExecuteAsync" : "Execute");
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        public void test_getName_returnsGroovy() {
            final TestableGroovyEngine testEngine = new TestableGroovyEngine();
            assertEquals("groovy", testEngine.testGetName());
        }
    
        /**
         * Testable GroovyEngine subclass for testing protected methods
         */
        static class TestableGroovyEngine extends GroovyEngine {
            boolean logScriptExecutionCalled = false;
            String lastLoggedScript = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            chatClient.resetSearchDocumentsCalled();
    
            final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent");
            assertTrue(result.isEmpty());
        }
    
        // ========== Testable subclass ==========
    
        static class TestableChatClient extends ChatClient {
    
            private boolean searchDocumentsCalled = false;
            private final List<String> searchedQueries = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
Back to Top