Home
last modified time | relevance | path

Searched refs:spf (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java42 SAXParserFactory spf; field in SAXParserFactoryTest
53 spf = SAXParserFactory.newInstance(); in setUp()
93 spf.setNamespaceAware(true); in test_setIsNamespaceAware()
94 assertTrue(spf.isNamespaceAware()); in test_setIsNamespaceAware()
95 spf.setNamespaceAware(false); in test_setIsNamespaceAware()
96 assertFalse(spf.isNamespaceAware()); in test_setIsNamespaceAware()
97 spf.setNamespaceAware(true); in test_setIsNamespaceAware()
98 assertTrue(spf.isNamespaceAware()); in test_setIsNamespaceAware()
102 spf.setValidating(true); in test_setIsValidating()
103 assertTrue(spf.isValidating()); in test_setIsValidating()
[all …]
DSAXParserTest.java119 SAXParserFactory spf; field in SAXParserTest
189 spf = SAXParserFactory.newInstance(); in setUp()
190 parser = spf.newSAXParser(); in setUp()
282 spf.setNamespaceAware(true); in testIsNamespaceAware()
283 assertTrue(spf.newSAXParser().isNamespaceAware()); in testIsNamespaceAware()
284 spf.setNamespaceAware(false); in testIsNamespaceAware()
285 assertFalse(spf.newSAXParser().isNamespaceAware()); in testIsNamespaceAware()
293 spf.setValidating(false); in testIsValidating()
294 assertFalse(spf.newSAXParser().isValidating()); in testIsValidating()
302 spf.setXIncludeAware(false); in testIsXIncludeAware()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DSimpleParserTest.java219 SAXParserFactory spf = SAXParserFactory.newInstance(); in testEntityResolver() local
220 spf.setValidating(false); in testEntityResolver()
221 parser = spf.newSAXParser(); in testEntityResolver()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest2.java847 WithUnmatchingSerialPersistentFields spf = new WithUnmatchingSerialPersistentFields(); in test_18_42_writeObject() local
848 objToSave = spf; in test_18_42_writeObject()
881 WithMatchingSerialPersistentFields spf = new WithMatchingSerialPersistentFields(); in test_18_43_writeObject() local
882 spf.anInstanceVar = FOO; in test_18_43_writeObject()
883 objToSave = spf; in test_18_43_writeObject()
913 SerialPersistentFields spf = new SerialPersistentFields(); in test_18_44_writeObject() local
915 spf.anInstanceVar = CONST; in test_18_44_writeObject()
916 objToSave = spf; in test_18_44_writeObject()
945 WriteFieldsWithoutFetchingPutFields spf = new WriteFieldsWithoutFetchingPutFields(); in test_18_45_writeObject() local
946 objToSave = spf; in test_18_45_writeObject()
[all …]
DObjectOutputStreamTest.java907 SerialPersistentFieldsWithoutField spf = new SerialPersistentFieldsWithoutField(); in test_writeObjectLjava_lang_Object() local
909 spf.anInstanceVar = CONST; in test_writeObjectLjava_lang_Object()
910 objToSave = spf; in test_writeObjectLjava_lang_Object()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1596 ObjectStreamField spf = serialPersistentFields[i]; in getDeclaredSerialFields() local
1598 String fname = spf.getName(); in getDeclaredSerialFields()
1607 if ((f.getType() == spf.getType()) && in getDeclaredSerialFields()
1611 new ObjectStreamField(f, spf.isUnshared(), true); in getDeclaredSerialFields()
1617 fname, spf.getType(), spf.isUnshared()); in getDeclaredSerialFields()