Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for suiteForBytes (0.07 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

          } else {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForString(
          ByteSourceFactory factory, String string, String name, String desc) {
        TestSuite suite = suiteForBytes(factory, string.getBytes(UTF_8), name, desc, true);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTester.java

          if (testAsByteSource) {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          } else {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForBytes(
          CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTester.java

          if (testAsByteSource) {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          } else {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForBytes(
          CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        byte[] bytes = string.getBytes(UTF_8);
        TestSuite suite = suiteForBytes(name, factory, desc, bytes);
        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSinkTester.java

        byte[] bytes = string.getBytes(UTF_8);
        TestSuite suite = suiteForBytes(name, factory, desc, bytes);
        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top