- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 737 for testCases (0.06 seconds)
-
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
assertThat(set.contains(TraverserUtilTest.class.getName()), is(true)); assertThat(set.contains(TestCase.class.getName()), is(not(true))); } /** * @throws Exception */ @Test public void testFromClass_JarFile() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(TestCase.class); assertThat(traverser, is(notNullValue()));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 6.4K bytes - Click Count (0) -
cmd/server-main_test.go
{ config: "testdata/config/invalid-disks.yaml", expectedErr: true, }, } { t.Run(testcase.config, func(t *testing.T) { sctx := &serverCtxt{} err := mergeServerCtxtFromConfigFile(testcase.config, sctx) if testcase.expectedErr && err == nil { t.Error("expected failure, got success") } if !testcase.expectedErr && err != nil { t.Error("expected success, got failure", err) } if err == nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
import java.io.FilenameFilter; import java.util.regex.PatternSyntaxException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link PatternFilenameFilter}. * * @author Chris Nokleberg */ @NullUnmarked public class PatternFilenameFilterTest extends TestCase { public void testSyntaxException() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
package org.codelibs.core.lang; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; /** * @author shot */ public class ModifierUtilTest extends TestCase { /** * @throws Exception */ public void testIsPublic() throws Exception { final Field f = Hoge.class.getDeclaredField("s");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader()))); assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader()))); final ClassLoader context = Thread.currentThread().getContextClassLoader(); try { final ClassLoader cl = new URLClassLoader(new URL[0], getClass().getClassLoader());
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java
import junit.framework.TestCase; import org.codelibs.core.io.ResourceUtil; import org.xml.sax.Attributes; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; /** * {@link SAXParserFactoryUtil}のテストです。 * * @author koichik */ public class SAXParserFactoryUtilTest extends TestCase { boolean included; /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) { val encoded = testCase.wire ?: continue bytesIn.write(encoded) hpackReader.readHeaders() assertSetEquals( "seqno=$testCase.seqno", testCase.headersList, hpackReader.getAndResetHeaderList(), ) } } companion object { /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Tests for {@link Reflection} */ @NullUnmarked public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
import java.util.logging.Level; import java.util.logging.LogRecord; import java.util.logging.Logger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link TestLogHandler}. * * @author kevinb */ @NullUnmarked public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
import java.util.concurrent.atomic.AtomicReferenceArray; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Atomics}. * * @author Kurt Alfred Kluever */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class AtomicsTest extends TestCase { private static final Object OBJECT = new Object();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0)