Home
last modified time | relevance | path

Searched refs:features (Results 1 – 15 of 15) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DisSupported12.java73 java.util.List features = new java.util.ArrayList(); in runTest() local
74 features.add("Core"); in runTest()
75 features.add("XML"); in runTest()
76 features.add("HTML"); in runTest()
77 features.add("Views"); in runTest()
78 features.add("StyleSheets"); in runTest()
79 features.add("CSS"); in runTest()
80 features.add("CSS2"); in runTest()
81 features.add("Events"); in runTest()
82 features.add("UIEvents"); in runTest()
[all …]
/libcore/luni/src/test/java/tests/org/w3c/dom/
DIsSupported.java140 List<String> features = new ArrayList<String>(); in testIsSupported12() local
141 features.add("Core"); in testIsSupported12()
142 features.add("XML"); in testIsSupported12()
143 features.add("HTML"); in testIsSupported12()
144 features.add("Views"); in testIsSupported12()
145 features.add("StyleSheets"); in testIsSupported12()
146 features.add("CSS"); in testIsSupported12()
147 features.add("CSS2"); in testIsSupported12()
148 features.add("Events"); in testIsSupported12()
149 features.add("UIEvents"); in testIsSupported12()
[all …]
/libcore/luni/src/test/java9language/
DAndroid.bp15 // Android tests related to Java 9 language features.
19 name: "core-java-9-language-features-repackaged-for-test",
22 srcs: [":core-java-9-language-features-source"],
36 // compiled from Java 9 language features.
44 name: "core-java-9-language-features-test-src",
50 name: "core-gen-test-repackaged-java-9-language-features",
53 ":core-java-9-language-features-test-src",
56 …re-rewrite-test-for-jarjar-sed-script) $(location :core-java-9-language-features-test-src) > $(out…
65 ":core-gen-test-repackaged-java-9-language-features",
70 "core-java-9-language-features-repackaged-for-test",
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserFactoryImpl.java39 private Map<String, Boolean> features = new HashMap<String, Boolean>(); field in SAXParserFactoryImpl
51 return Boolean.TRUE.equals(features.get(name)); in getFeature()
80 return new SAXParserImpl(features); in newSAXParser()
97 features.put(name, Boolean.TRUE); in setFeature()
100 features.put(name, Boolean.FALSE); in setFeature()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParserFactory.java30 protected HashMap<String, Boolean> features = new HashMap<String, Boolean>(); field in XmlPullParserFactory
55 features.put(name, state); in setFeature()
68 Boolean value = features.get(name); in getFeature()
81 features.put (XmlPullParser.FEATURE_PROCESS_NAMESPACES, awareness); in setNamespaceAware()
105 features.put(XmlPullParser.FEATURE_VALIDATION, validating); in setValidating()
128 for (Map.Entry<String, Boolean> entry : features.entrySet()) { in newPullParser()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockFilter.java39 private Set<String> features = new HashSet<String>(); field in MockFilter
51 return features.contains(name); in getFeature()
63 features.add(name); in setFeature()
65 features.remove(name); in setFeature()
DMockReader.java51 private Set<String> features = new HashSet<String>(); field in MockReader
79 return features.contains(name); in getFeature()
113 features.add(name); in setFeature()
115 features.remove(name); in setFeature()
/libcore/luni/src/main/java/org/w3c/dom/
DDOMImplementationSource.java43 public DOMImplementation getDOMImplementation(String features); in getDOMImplementation() argument
56 public DOMImplementationList getDOMImplementationList(String features); in getDOMImplementationList() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java175 String[] features = { in test_setFeatureLjava_lang_StringZ() local
178 for (int i = 0; i < features.length; i++) { in test_setFeatureLjava_lang_StringZ()
180 spf.setFeature(features[i], true); in test_setFeatureLjava_lang_StringZ()
181 assertTrue(spf.getFeature(features[i])); in test_setFeatureLjava_lang_StringZ()
182 spf.setFeature(features[i], false); in test_setFeatureLjava_lang_StringZ()
183 assertFalse(spf.getFeature(features[i])); in test_setFeatureLjava_lang_StringZ()
DDocumentBuilderFactoryTest.java491 String[] features = { "http://xml.org/sax/features/namespaces", in test_getSetFeatureLjava_lang_String() local
494 for (int i = 0; i < features.length; i++) { in test_getSetFeatureLjava_lang_String()
495 dbf.setFeature(features[i], true); in test_getSetFeatureLjava_lang_String()
496 assertTrue(dbf.getFeature(features[i])); in test_getSetFeatureLjava_lang_String()
503 for (int i = 0; i < features.length; i++) { in test_getSetFeatureLjava_lang_String()
504 dbf.setFeature(features[i], false); in test_getSetFeatureLjava_lang_String()
505 assertFalse(dbf.getFeature(features[i])); in test_getSetFeatureLjava_lang_String()
512 for (int i = 0; i < features.length; i++) { in test_getSetFeatureLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserAdapterTest.java111 String[] features = new String[] { NAMESPACES, NAMESPACE_PREFIXES, in testGetSetFeature() local
114 for (String s: features) { in testGetSetFeature()
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1549 ArrayList<String> features = new ArrayList<String>(); in getFeatures() local
1557 features.add(s.substring(1, s.length() - 1)); in getFeatures()
1559 return features; in getFeatures()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf18 # 3. All advertising materials mentioning features or use of this
/libcore/
DJavaLibrary.bp507 // checks Java 9 language features are handled properly by JarJar.
509 name: "core-java-9-language-features-source",
/libcore/expectations/
Dknownfailures.txt172 description: "Ticket 91 : relies on not supported features: getCatalog, keys",