Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for expectedClass (0.17 sec)

  1. plugin/pkg/admission/network/defaultingressclass/admission_test.go

    		classField      *string
    		classAnnotation *string
    		expectedClass   *string
    		expectedError   error
    	}{
    		{
    			name:            "no default, no modification of Ingress",
    			classes:         []*networkingv1.IngressClass{classWithFalseDefault, classWithNoDefault, classWithEmptyDefault},
    			classField:      nil,
    			classAnnotation: nil,
    			expectedClass:   nil,
    			expectedError:   nil,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 04 13:12:32 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/KtPsiBasedSymbolPointer.kt

                    }
                }
            }
    
            if (!expectedClass.isInstance(symbol)) return null
    
            @Suppress("UNCHECKED_CAST")
            return symbol as S
        }
    
        override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = this === other ||
                other is KaPsiBasedSymbolPointer &&
                other.expectedClass == expectedClass &&
                other.psiPointer == psiPointer
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirClassLikeSymbolPointer.kt

            if (!expectedClass.isInstance(classLikeSymbol)) return null
    
            @Suppress("UNCHECKED_CAST")
            return classLikeSymbol as T
        }
    
        override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = other === this ||
                other is KaFirClassLikeSymbolPointer &&
                other.classId == classId &&
                other.expectedClass == expectedClass
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Platform.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {
        checkNotNull(t); // to satisfy NullPointerTester
        if (t instanceof InterruptedException) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 10 12:27:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Platform.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {
        checkNotNull(t); // to satisfy NullPointerTester
        if (t instanceof InterruptedException) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 10 12:27:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
        }
    
        private QueryContext assertQueryBuilder(final Class<?> expectedClass, final String expectedQuery, final String text) throws Exception {
            final QueryContext queryContext = new QueryContext(text, false);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RecordedResponse.kt

      }
    
      fun assertFailure(vararg allowedExceptionTypes: Class<*>) =
        apply {
          var found = false
          for (expectedClass in allowedExceptionTypes) {
            if (expectedClass.isInstance(failure)) {
              found = true
              break
            }
          }
          assertThat(
            found,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @ElementTypesAreNonnullByDefault
    final class Platform {
      static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) {
        /*
         * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class
         * under GWT.
         */
        return true;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. src/encoding/asn1/asn1.go

    	if err != nil {
    		return
    	}
    	if params.explicit {
    		expectedClass := ClassContextSpecific
    		if params.application {
    			expectedClass = ClassApplication
    		}
    		if offset == len(bytes) {
    			err = StructuralError{"explicit tag has no child"}
    			return
    		}
    		if t.class == expectedClass && t.tag == *params.tag && (t.length == 0 || t.isCompound) {
    			if fieldType == rawValueType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy

                assertResult('failed', 'failures')
            }
    
            private void assertResult(String expectedValue, String expectedClass) {
                assert tableElement.select("tr > td:eq(2)").listIterator().any { Element it -> it.text() == expectedValue }
                assert tableElement.select("tr > td:eq(2)").hasClass(expectedClass)
            }
    
            boolean failed() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top