Home
last modified time | relevance | path

Searched refs:assertContent (Results 1 – 10 of 10) sorted by relevance

/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/
DHTMLElementTest.java52 assertContent("<head/>"); in head_should_create_head_tag()
59 assertContent("<meta http-equiv=\"key\" content=\"value\"/>"); in meta_should_create_meta_tag_with_attributes()
65 assertContent("<body/>"); in body_should_create_body_tag()
72 assertContent( in link_should_create_link_tag_with_attributes()
79 assertContent("<title/>"); in title_should_create_title_tag()
85 assertContent("<h1/>"); in h1_should_create_h1_tag()
91 assertContent("<p/>"); in p_should_create_p_tag()
97 assertContent("<span/>"); in span_should_create_span_tag()
104 assertContent("<span class=\"abc\"/>"); in span_should_create_span_tag_with_class_attribute()
111 assertContent("<span class=\"abc\" id=\"xy\"/>"); in span_should_create_span_tag_with_class_and_id_attribute()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/
DContentTypeDetectorTest.java43 assertContent(); in testEmptyStream()
51 assertContent(); in testClassFile()
58 assertContent(); in testClassFile11()
65 assertContent(); in testClassFile12()
72 assertContent(); in testClassFile13()
79 assertContent(); in testClassFile14()
86 assertContent(); in testClassFile15()
93 assertContent(); in testClassFile16()
100 assertContent(); in testClassFile17()
107 assertContent(); in testClassFile18()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
DXMLElementTest.java59 assertContent("<root/>"); in close_should_emit_empty_element_when_no_children_exist()
66 assertContent("<root/>"); in close_should_be_allowed_multiple_times()
91 assertContent("<root><world/></root>"); in element_should_emit_nested_element()
99 assertContent("<root><world/><universe/></root>"); in element_should_allow_multiple_nested_elements()
105 assertContent("<root>world</root>"); in text_should_emit_text()
113 assertContent("<root><tag1/>world<tag2/></root>"); in text_should_allow_mixing_with_elements()
119 assertContent("<root>&lt;black&amp;white&quot;&gt;</root>"); in test_should_be_quoted()
126 assertContent("<root/>"); in attr_should_ignore_call_when_value_is_null()
132 assertContent("<root id=\"12345\"/>"); in attr_should_emit_string_value()
138 assertContent("<root quote=\"&lt;&quot;&gt;\"/>"); in attr_should_quote_string_value()
[all …]
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DAntResourcesLocatorTest.java69 assertContent("AAA", source); in testFile()
80 assertContent("AAA", source); in testDirectory()
91 assertContent("FFF", source); in testFilePrecedence()
105 assertContent("AAA", source); in testDirectoryOrdering()
118 assertContent("AAA", source); in testAddAll()
120 assertContent("BBB", source); in testAddAll()
133 private void assertContent(String expected, Reader source) in assertContent() method in AntResourcesLocatorTest
DAntFilesLocatorTest.java59 assertContent(source); in testGetSourceFile()
72 private void assertContent(Reader source) throws IOException { in assertContent() method in AntFilesLocatorTest
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java101 assertContent("ABCDE", connection, Integer.MAX_VALUE); in get()
127 assertContent("ABCDE", connection, Integer.MAX_VALUE); in noDefaultContentLengthOnStreamingPost()
142 assertContent("ABCDE", connection, Integer.MAX_VALUE); in userSuppliedContentLengthHeader()
159 assertContent("ABCDE", connection, Integer.MAX_VALUE); in closeAfterFlush()
174 assertContent("ABCDE", connection, Integer.MAX_VALUE); in setFixedLengthStreamingModeSetsContentLength()
212 assertContent("ABCABCABC", client.open(server.getUrl("/r1")), Integer.MAX_VALUE); in gzippedResponseBody()
240 assertContent("This is the new location!", connection, Integer.MAX_VALUE); in redirect()
265 assertContent("A", connection, Integer.MAX_VALUE); in readResponseHeaderTimeout()
282 assertContent(new String(body), connection, Integer.MAX_VALUE); in readTimeoutMoreGranularThanBodySize()
321 assertContent("A", connection1, Integer.MAX_VALUE); in spdyConnectionTimeout()
[all …]
DHttpOverHttp2Test.java45 assertContent("ABCDE", connection, Integer.MAX_VALUE); in serverSendsPushPromise_GET()
69 assertContent("ABCDE", connection, Integer.MAX_VALUE); in serverSendsPushPromise_HEAD()
94 assertContent("", settingsConnection, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
106 assertContent("ABC", connection1, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
107 assertContent("DEF", connection2, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
108 assertContent("GHI", connection3, Integer.MAX_VALUE); in settingsLimitsMaxConcurrentStreams()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DInputStreamSourceFileLocatorTest.java61 assertContent("ÜÄö", in testGetSourceFile()
69 assertContent("ÜÄö", locator.getSourceFile("", "Test.java")); in testGetSourceFileDefaultPackage()
76 assertContent("ÜÄö", locator.getSourceFile("", "Test.java")); in testEncoding()
83 assertContent("Hello World!", locator.getSourceFile("", "Test.java")); in testDefaultEncoding()
86 private void assertContent(String expected, Reader source) in assertContent() method in InputStreamSourceFileLocatorTest
DDirectorySourceFileLocatorTest.java58 assertContent(source); in testGetSourceFile()
70 private void assertContent(Reader source) throws IOException { in assertContent() method in DirectorySourceFileLocatorTest
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java315 assertContent("abc", connection); in testRequestBodySurvivesRetries()
343 assertContent("ABCDE", c1, 5); in bug2939()
345 assertContent("ABCDE", c2, 5); in bug2939()
365 assertContent("ABCDEFGHIJKLMNOPQR", client.open(server.getUrl("/foo"))); in connectionsArePooled()
367 assertContent("ABCDEFGHIJKLMNOPQR", client.open(server.getUrl("/bar?baz=quux"))); in connectionsArePooled()
369 assertContent("ABCDEFGHIJKLMNOPQR", client.open(server.getUrl("/z"))); in connectionsArePooled()
380 assertContent("ABCDEFGHIJKLMNOPQR", client.open(server.getUrl("/foo"))); in chunkedConnectionsArePooled()
382 assertContent("ABCDEFGHIJKLMNOPQR", client.open(server.getUrl("/bar?baz=quux"))); in chunkedConnectionsArePooled()
384 assertContent("ABCDEFGHIJKLMNOPQR", client.open(server.getUrl("/z"))); in chunkedConnectionsArePooled()
420 assertContent("This connection won't pool properly", connection1); in testServerClosesOutput()
[all …]