- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for testWrite (0.37 sec)
-
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
private static final ImmutableList<Method> testMethods = getTestMethods(ByteSinkTester.class); static TestSuite tests(String name, ByteSinkFactory factory) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { String desc = entry.getKey(); TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); suite.addTest(stringSuite); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 4K bytes - Viewed (0) -
src/encoding/csv/writer_test.go
{Input: [][]string{{"a", "a", ""}}, Output: "a|a|\n", Comma: '|'}, {Input: [][]string{{",", ",", ""}}, Output: ",|,|\n", Comma: '|'}, {Input: [][]string{{"foo"}}, Comma: '"', Error: errInvalidDelim}, } func TestWrite(t *testing.T) { for n, tt := range writeTests { b := &strings.Builder{} f := NewWriter(b) f.UseCRLF = tt.UseCRLF if tt.Comma != 0 { f.Comma = tt.Comma } err := f.WriteAll(tt.Input)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:46:20 UTC 2022 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class); static TestSuite tests(String name, CharSinkFactory factory) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { String desc = entry.getKey(); TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); suite.addTest(stringSuite); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 4K bytes - Viewed (0) -
src/log/syslog/syslog_test.go
t.Errorf("Got %q, does not match template %q (%d %s)", out, tmpl, n, err) } if hostname != parsedHostname { t.Errorf("Hostname got %q want %q in %q", parsedHostname, hostname, out) } } func TestWrite(t *testing.T) { t.Parallel() tests := []struct { pri Priority pre string msg string exp string }{ {LOG_USER | LOG_ERR, "syslog_test", "", "%s %s syslog_test[%d]: \n"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 16:09:24 UTC 2023 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestWriter.java
import java.io.IOException; import java.io.OutputStreamWriter; /** @author Colin Decker */ public class TestWriter extends FilterWriter { private final TestOutputStream out; public TestWriter(TestOption... options) throws IOException { this(new TestOutputStream(ByteStreams.nullOutputStream(), options)); } public TestWriter(TestOutputStream out) { super(new OutputStreamWriter(checkNotNull(out), UTF_8)); this.out = out;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.7K bytes - Viewed (0) -
platforms/software/test-suites-base/src/main/java/org/gradle/testing/base/TestSuite.java
import org.gradle.api.Incubating; import org.gradle.api.Named; /** * Base test suite component. A test suite is a collection of tests. * * @since 7.3 */ @Incubating public interface TestSuite extends Named { /** * Available targets for this test suite. */ ExtensiblePolymorphicDomainObjectContainer<? extends TestSuiteTarget> getTargets();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 16:02:04 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForJUnitTests/src/test/java/org/gradle/TestSuite.java
*/ package org.gradle; import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({Test.class, OtherTest.class}) public class TestSuite { @org.junit.BeforeClass public static void init() { System.out.println("before suite class out"); System.err.println("before suite class err"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-type/tests/testsuite.sample.conf
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-default-suite/tests/testsuite.sample.conf
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-source-dir/tests/testsuite.sample.conf
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30 bytes - Viewed (0)