/dports/devel/hadoop2/jetty-6.1.14/modules/jetty/src/test/java/org/mortbay/jetty/ |
H A D | ResponseTest.java | 93 assertEquals(null,response.getContentType()); in testContentType() 96 assertEquals("foo/bar",response.getContentType()); in testContentType() 114 assertEquals("text/html",response.getContentType()); in testContentType() 137 assertEquals(null,response.getContentType()); in testLocale() 160 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeCharacterEncoding() 162 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeCharacterEncoding() 189 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testCharacterEncodingContentType() 191 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testCharacterEncodingContentType() 218 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeWithCharacterEncoding() 220 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeWithCharacterEncoding() [all …]
|
/dports/devel/hadoop/jetty-6.1.14/modules/jetty/src/test/java/org/mortbay/jetty/ |
H A D | ResponseTest.java | 93 assertEquals(null,response.getContentType()); in testContentType() 96 assertEquals("foo/bar",response.getContentType()); in testContentType() 114 assertEquals("text/html",response.getContentType()); in testContentType() 137 assertEquals(null,response.getContentType()); in testLocale() 160 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeCharacterEncoding() 162 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeCharacterEncoding() 189 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testCharacterEncodingContentType() 191 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testCharacterEncodingContentType() 218 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeWithCharacterEncoding() 220 assertEquals("foo/bar; charset=utf-8",response.getContentType()); in testContentTypeWithCharacterEncoding() [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context.support/src/test/java/org/springframework/mail/javamail/ |
H A D | ConfigurableMimeFileTypeMapTests.java | 36 assertEquals("Invalid content type for HTM", "text/html", ftm.getContentType("foobar.HTM")); in testAgainstDefaultConfiguration() 37 assertEquals("Invalid content type for html", "text/html", ftm.getContentType("foobar.html")); in testAgainstDefaultConfiguration() 38 assertEquals("Invalid content type for c++", "text/plain", ftm.getContentType("foobar.c++")); in testAgainstDefaultConfiguration() 39 assertEquals("Invalid content type for svf", "image/vnd.svf", ftm.getContentType("foobar.svf")); in testAgainstDefaultConfiguration() 40 assertEquals("Invalid content type for dsf", "image/x-mgx-dsf", ftm.getContentType("foobar.dsf")); in testAgainstDefaultConfiguration() 41 …assertEquals("Invalid default content type", "application/octet-stream", ftm.getContentType("fooba… in testAgainstDefaultConfiguration() 46 …assertEquals("Invalid content type for HTM", "text/html", ftm.getContentType(new File("/tmp/foobar… in testAgainstDefaultConfigurationWithFilePath() 66 assertEquals("Invalid content type for foo", "text/foo", ftm.getContentType("foobar.foo")); in testWithCustomMappingLocation() 67 assertEquals("Invalid content type for bar", "text/bar", ftm.getContentType("foobar.bar")); in testWithCustomMappingLocation() 68 assertEquals("Invalid content type for fimg", "image/foo", ftm.getContentType("foobar.fimg")); in testWithCustomMappingLocation() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/ |
H A D | IContentTypeManagerTest.java | 55 changed.add(event.getContentType()); in contentTypeChanged() 701 assertEquals("1.1", mytext, description.getContentType()); in testDefaultProperties() 709 assertEquals("2.1", mytext1, description.getContentType()); in testDefaultProperties() 718 assertEquals("3.1", mytext2, description.getContentType()); in testDefaultProperties() 761 text[0] = manager.getContentType(IContentTypeManager.CT_TEXT); in testDynamicChanges() 763 text[1] = manager.getContentType(IContentTypeManager.CT_TEXT); in testDynamicChanges() 784 text[3] = manager.getContentType(IContentTypeManager.CT_TEXT); in testDynamicChanges() 801 text[0] = manager.getContentType(IContentTypeManager.CT_TEXT); in testDynamicChangesNewExtension() 1153 assertEquals("1.1", myContent, description.getContentType()); in testMyContentDescriber() 1225 manager.getContentType(PI_RESOURCES_TESTS + ".root-element"); in testOrderWithEmptyFiles() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ |
H A D | ContentDescriptionManagerTest.java | 89 assertEquals("1.2", xml, description1a.getContentType()); in testBug79151() 108 assertEquals("4.3", xml, description1c.getContentType()); in testBug79151() 110 assertEquals("4.5", xml, description2.getContentType()); in testBug79151() 124 assertEquals("5.3", xml, description1d.getContentType()); in testBug79151() 149 assertEquals("1.2", text, description.getContentType()); in testBug94516() 186 assertEquals("5.2", text, description.getContentType()); in testBug94516() 336 assertEquals("0.7c", text, description.getContentType()); in testProjectSpecificFileAssociations() 340 assertEquals("0.8c", xml, description.getContentType()); in testProjectSpecificFileAssociations() 360 assertEquals("1.1c", xml, description.getContentType()); in testProjectSpecificFileAssociations() 395 assertEquals("3.4c", xml, description.getContentType()); in testProjectSpecificFileAssociations() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 49 Asserts.assertNull(plain.getContentType()); in main() 52 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 55 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 58 Asserts.assertNull(overridden.getContentType()); in main() 61 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 64 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 67 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 69 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/jdk/jfr/api/metadata/settingdescriptor/ |
H A D | TestGetContentType.java | 51 Asserts.assertNull(plain.getContentType()); in main() 54 Asserts.assertNull(annotatedType.getContentType(), Timestamp.class.getName()); in main() 57 Asserts.assertEquals(newName.getContentType(), Timespan.class.getName()); in main() 60 Asserts.assertNull(overridden.getContentType()); in main() 63 Asserts.assertEquals(protectedBase.getContentType(), Frequency.class); in main() 66 Asserts.assertEquals(publicBase.getContentType(), Timestamp.class.getName()); in main() 69 Asserts.assertNull(packageProtectedBase.getContentType()); in main() 71 …CustomEvent.assertOnDisk((x, y) -> Objects.equals(x.getContentType(), y.getContentType()) ? 0 : 1); in main()
|
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/classes/Elgg/Plugins/ |
H A D | GroupToolContainerLogicIntegrationTest.php | 56 abstract public function getContentType(): string; function in Elgg\\Plugins\\GroupToolContainerLogicIntegrationTest 76 …$this->assertTrue($this->group->canWriteToContainer($this->owner->guid, $this->getContentType(), $… 82 …$this->assertFalse($this->group->canWriteToContainer($this->owner->guid, $this->getContentType(), … 90 …$this->assertFalse($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->… 100 …$this->assertFalse($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->… 111 …$this->assertTrue($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->g… 122 …$this->assertFalse($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->… 132 …$this->assertTrue($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->g… 142 …$this->assertFalse($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->… 153 …$this->assertFalse($this->group->canWriteToContainer($user->guid, $this->getContentType(), $this->…
|
/dports/devel/libunit/unit-1.26.1/test/java/content_type/ |
H A D | app.java | 22 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 29 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 37 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 45 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 53 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 61 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 72 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 83 response.setHeader("X-Content-Type", response.getContentType()); in doGet()
|
/dports/www/unit/unit-1.26.1/test/java/content_type/ |
H A D | app.java | 22 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 29 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 37 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 45 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 53 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 61 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 72 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 83 response.setHeader("X-Content-Type", response.getContentType()); in doGet()
|
/dports/www/unit-java/unit-1.26.1/test/java/content_type/ |
H A D | app.java | 22 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 29 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 37 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 45 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 53 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 61 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 72 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 83 response.setHeader("X-Content-Type", response.getContentType()); in doGet()
|
/dports/www/unit-perl/unit-1.26.1/test/java/content_type/ |
H A D | app.java | 22 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 29 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 37 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 45 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 53 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 61 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 72 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 83 response.setHeader("X-Content-Type", response.getContentType()); in doGet()
|
/dports/www/unit-php/unit-1.26.1/test/java/content_type/ |
H A D | app.java | 22 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 29 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 37 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 45 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 53 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 61 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 72 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 83 response.setHeader("X-Content-Type", response.getContentType()); in doGet()
|
/dports/www/unit-python/unit-1.26.1/test/java/content_type/ |
H A D | app.java | 22 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 29 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 37 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 45 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 53 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 61 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 72 response.setHeader("X-Content-Type", response.getContentType()); in doGet() 83 response.setHeader("X-Content-Type", response.getContentType()); in doGet()
|
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/studio/client/rsconnect/model/ |
H A D | RSConnectPublishInput.java | 125 public int getContentType() in getContentType() method in RSConnectPublishInput 127 return getOriginatingEvent().getContentType(); in getContentType() 132 return getContentType() == RSConnect.CONTENT_TYPE_WEBSITE || in isWebsiteContentType() 133 getContentType() == RSConnect.CONTENT_TYPE_QUARTO_WEBSITE; in isWebsiteContentType() 179 if (getContentType() == RSConnect.CONTENT_TYPE_PLOT || in isStaticDocInput() 180 getContentType() == RSConnect.CONTENT_TYPE_PRES || in isStaticDocInput() 181 getContentType() == RSConnect.CONTENT_TYPE_HTML) in isStaticDocInput() 183 if (getContentType() != RSConnect.CONTENT_TYPE_DOCUMENT) in isStaticDocInput()
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/main/java/org/springframework/http/server/ |
H A D | ServletServerHttpResponse.java | 87 if (this.servletResponse.getContentType() == null && this.headers.getContentType() != null) { in writeHeaders() 88 this.servletResponse.setContentType(this.headers.getContentType().toString()); in writeHeaders() 90 …if (this.servletResponse.getCharacterEncoding() == null && this.headers.getContentType() != null && in writeHeaders() 91 this.headers.getContentType().getCharSet() != null) { in writeHeaders() 92 this.servletResponse.setCharacterEncoding(this.headers.getContentType().getCharSet().name()); in writeHeaders()
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/yesod-core-1.6.18/src/Yesod/Core/ |
H A D | Content.hs | 159 getContentType _ = typeJson function 163 getContentType _ = typePlain function 166 getContentType _ = typeJson function 169 getContentType _ = typeXml function 235 getContentType = getContentType . liftM unDontFullyEvaluate function 249 getContentType _ = typeJson function 252 getContentType _ = typeJson function 255 getContentType _ = typeHtml function 258 getContentType _ = typePlain function 261 getContentType _ = typePlain function [all …]
|