- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 292 for testCases (0.17 sec)
-
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} if (!cls.isInterface()) { classes.add(cls); } } return classes; } private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) { for (String testName : testNames) { try { testClass.getMethod(testName); return true; } catch (NoSuchMethodException e) { continue; } } return false; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import java.util.Locale; import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:09:00 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return getMethod(tester.getClass(), tester.getTestMethodName()); } else if (test instanceof TestCase) { TestCase testCase = (TestCase) test; return getMethod(testCase.getClass(), testCase.getName()); } else { throw new IllegalArgumentException("unable to extract method from test: not a TestCase."); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.29.md
- This contains the modified windows kubeproxy testcases with mock implementation ([#120105](https://github.com/kubernetes/kubernetes/pull/120105), [@princepereira](https://github.com/princepereira)) [SIG Network and Windows] ### Bug or Regression
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Oct 23 04:37:31 UTC 2024 - 375.1K bytes - Viewed (1) -
utils/utils_test.go
trimLen: -1, expected: []int{1, 2, 3}, }, } for _, testcase := range tests { t.Run(testcase.name, func(t *testing.T) { result := RTrimSlice(testcase.input, testcase.trimLen) if !AssertEqual(result, testcase.expected) { t.Errorf("RTrimSlice(%v, %d) = %v; want %v", testcase.input, testcase.trimLen, result, testcase.expected) } }) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
return Platform.format("%s[%s]", super.getName(), suiteName); } /** * Asserts that the given object is non-null, with a better failure message than {@link * TestCase#assertNull(String, Object)}. * * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does * not include the value of the object. * * @since NEXT */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
return Platform.format("%s[%s]", super.getName(), suiteName); } /** * Asserts that the given object is non-null, with a better failure message than {@link * TestCase#assertNull(String, Object)}. * * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does * not include the value of the object. * * @since NEXT */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 21:41:47 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for {@link MinimalIterable}. * * @author Kevin Bourrillion */ @GwtCompatible public class MinimalIterableTest extends TestCase { public void testOf_empty() { Iterable<String> iterable = MinimalIterable.<String>of();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
import java.util.Iterator; import java.util.ListIterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Tests for UnmodifiableListIterator. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class UnmodifiableListIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { Iterator<String> iterator = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
package org.apache.maven.embedder; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 651 bytes - Viewed (0)