- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 446 for testDate (0.14 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
@Test fun setDate() { val expected = Date(1000) val headers = Headers .Builder() .add("testDate", Date(0L)) .set("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getDate("testDate")).isEqualTo(expected) } @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author higa * */ public class BigIntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToBigIntegerForEmptyString() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 960 bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import junit.framework.TestCase; /** * @author higa * */ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
import com.google.gwt.junit.tools.GWTTestSuite; import java.io.IOException; import junit.framework.Test; import junit.framework.TestCase; /** * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test * "suite," as the per-suite setup is expensive. */ public class GwtTestSuite extends TestCase { public static Test suite() throws IOException { GWTTestSuite suite = new GWTTestSuite();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.6K bytes - Viewed (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");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (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; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
*/ package org.codelibs.core.convert; import java.text.DecimalFormatSymbols; import java.util.Locale; import junit.framework.TestCase; import org.codelibs.core.misc.LocaleUtil; /** * @author shot * */ public class NumberConversionUtilTest extends TestCase { /** * @throws Exception */ public void testConvertNumber_byte() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 3.2K bytes - Viewed (0)