Home
last modified time | relevance | path

Searched refs:Joiner (Results 1 – 25 of 90) sorted by relevance

1234

/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlPolicyBuilderTest.java35 import com.google.common.base.Joiner;
41 static final String EXAMPLE = Joiner.on('\n').join(
58 Joiner.on('\n').join( in testTextFilter()
73 Joiner.on('\n').join( in testCannedFormattingTagFilter()
90 Joiner.on('\n').join( in testCannedFormattingTagFilterNoItalics()
107 Joiner.on('\n').join( in testSimpleTagFilter()
123 Joiner.on('\n').join( in testLinksAllowed()
141 Joiner.on('\n').join( in testExternalLinksAllowed()
161 Joiner.on('\n').join( in testLinksWithNofollow()
180 Joiner.on('\n').join( in testImagesAllowed()
[all …]
DHtmlStreamRendererTest.java33 import com.google.common.base.Joiner;
111 Joiner.on('\n').join( in testIllegalElementName()
117 Joiner.on('\n').join(errors)); in testIllegalElementName()
134 Joiner.on('\n').join( in testIllegalAttributeName()
140 Joiner.on('\n').join(errors)); in testIllegalAttributeName()
155 Joiner.on('\n').join(errors)); in testCdataContainsEndTag1()
172 Joiner.on('\n').join(errors)); in testCdataContainsEndTag2()
208 Joiner.on('\n').join( in testTagInCdata()
211 Joiner.on('\n').join(errors)); in testTagInCdata()
225 Joiner.on('\n').join(errors)); in testUnclosedEscapingTextSpan()
DCssGrammarTest.java35 import com.google.common.base.Joiner;
43 CssTokens tokens = CssTokens.lex(Joiner.on('\n').join( in testLex()
63 Joiner.on('\n').join( in testLex()
100 Joiner.on('\n').join(actualTokens)); in testLex()
/external/guava/guava/src/com/google/common/base/
DJoiner.java66 public class Joiner { class
70 public static Joiner on(String separator) { in on()
71 return new Joiner(separator); in on()
77 public static Joiner on(char separator) { in on()
78 return new Joiner(String.valueOf(separator)); in on()
83 private Joiner(String separator) { in Joiner() method in Joiner
87 private Joiner(Joiner prototype) { in Joiner() method in Joiner
217 public Joiner useForNull(final String nullText) { in useForNull()
219 return new Joiner(this) { in useForNull()
221 return (part == null) ? nullText : Joiner.this.toString(part); in useForNull()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java21 import com.google.common.base.Joiner.MapJoiner;
45 private static final Joiner J = Joiner.on("-");
91 Joiner onChar = Joiner.on('-'); in testOnCharOverride()
99 Joiner skipNulls = J.skipNulls(); in testSkipNulls()
113 Joiner zeroForNull = J.useForNull("0"); in testUseForNull()
126 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput()
179 private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) { in checkResult()
214 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_skipNulls()
223 Joiner j = Joiner.on("x").skipNulls(); in test_skipNulls_useForNull()
232 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_twice()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DJoinerTest.java20 import com.google.common.base.Joiner.MapJoiner;
43 private static final Joiner J = Joiner.on("-");
89 Joiner onChar = Joiner.on('-'); in testOnCharOverride()
97 Joiner skipNulls = J.skipNulls(); in testSkipNulls()
111 Joiner zeroForNull = J.useForNull("0"); in testUseForNull()
124 private static void checkNoOutput(Joiner joiner, Iterable<Integer> set) { in checkNoOutput()
177 private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) { in checkResult()
212 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_skipNulls()
221 Joiner j = Joiner.on("x").skipNulls(); in test_skipNulls_useForNull()
230 Joiner j = Joiner.on("x").useForNull("y"); in test_useForNull_twice()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/base/
DJoinerBenchmark.java37 private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
38 private static final Joiner JOINER_ON_CHARACTER = Joiner.on(DELIMITER_CHARACTER);
/external/guava/guava-tests/test/com/google/common/net/
DHttpHeadersTest.java20 import com.google.common.base.Joiner;
73 private static final Joiner JOINER = Joiner.on('-');
/external/guava/guava/src/com/google/thirdparty/publicsuffix/
DTrieParser.java20 import com.google.common.base.Joiner;
32 private static final Joiner PREFIX_JOINER = Joiner.on("");
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DProxyWorkerException.java19 import com.google.common.base.Joiner;
35 Joiner.on("\n\t").appendTo(builder, Splitter.on('\n').split(stackTrace)); in formatMesssage()
/external/opencv3/3rdparty/jinja2/
Ddefaults.py12 from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner
38 'joiner': Joiner
/external/vogar/src/vogar/
DTarget.java20 import com.google.common.base.Joiner;
74 private static final Joiner SCRIPT_JOINER = Joiner.on(" ");
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingTestCase.java20 import com.google.common.base.Joiner;
79 private static final Joiner COMMA_JOINER = Joiner.on(",");
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DParameterMatcher.java18 import com.google.common.base.Joiner;
71 return Joiner.on(",").join(parameterTypes); in toStringForm()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
DStringsDialog.java13 import com.google.common.base.Joiner;
54 setText(Joiner.on('\n').join(items)); in setItems()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
DStringArrayPropertyEditor.java13 import com.google.common.base.Joiner;
46 return "[" + Joiner.on(", ").join(items) + "]"; in getText()
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java19 import com.google.common.base.Joiner;
143 String subtitle = Joiner.on("<br align=\"left\"/>").join(node.getSubtitles()); in getNodeLabel()
199 return "[" + Joiner.on(", ").join(attrList) + "]"; in getAttrString()
208 return Joiner.on("").join(arrows); in getArrowString()
222 return Joiner.on(":").join(portStrings); in getEdgeEndPoint()
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DEffectiveClassPath.java19 import com.google.common.base.Joiner;
50 return Joiner.on(PATH_SEPARATOR).join(files); in getClassPathForClassLoader()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DClassDataItem.java34 import com.google.common.base.Joiner;
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator()
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java27 import com.google.common.base.Joiner;
82 private static final Joiner DOT_JOINER = Joiner.on('.');
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllocation.java18 import com.google.common.base.Joiner;
90 Joiner.on("\n\tat ").appendTo(builder, location); in toString()
/external/vogar/test/vogar/android/
DAbstractModeTest.java19 import com.google.common.base.Joiner;
79 throw new AssertionFailedError("Parse error in: " + Joiner.on(",").join(args) in setUp()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DInterfaceWriter.java19 import com.google.common.base.Joiner;
52 Joiner.on(", ").appendTo(appendable, typeVariables); in write()
/external/vogar/test/vogar/testing/
DInterceptOutputStreams.java19 import com.google.common.base.Joiner;
96 + Joiner.on(", ").join(extra) in contents()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DGraphValidationTest.java18 import com.google.common.base.Joiner;
307 Joiner.on('\n') in cyclicDependencyNotBrokenByMapBinding()
842 String expectedMsg = Joiner.on("\n").join( in resolvedParametersInDependencyTrace()
893 String expectedMsg = Joiner.on("\n").join( in resolvedVariablesInDependencyTrace()

1234