Home
last modified time | relevance | path

Searched refs:oldFactory (Results 1 – 25 of 100) sorted by relevance

1234

/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/includes/config/
H A DConfigFactoryTest.php62 $oldFactory = new ConfigFactory();
63 $oldFactory->register( 'foo', 'GlobalVarConfig::newInstance' );
64 $oldFactory->register( 'bar', 'GlobalVarConfig::newInstance' );
65 $oldFactory->register( 'quux', 'GlobalVarConfig::newInstance' );
68 $foo = $oldFactory->makeConfig( 'foo' );
69 $bar = $oldFactory->makeConfig( 'bar' );
70 $quux = $oldFactory->makeConfig( 'quux' );
81 $newFactory->salvage( $oldFactory );
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/includes/config/
H A DConfigFactoryTest.php62 $oldFactory = new ConfigFactory();
63 $oldFactory->register( 'foo', 'GlobalVarConfig::newInstance' );
64 $oldFactory->register( 'bar', 'GlobalVarConfig::newInstance' );
65 $oldFactory->register( 'quux', 'GlobalVarConfig::newInstance' );
68 $foo = $oldFactory->makeConfig( 'foo' );
69 $bar = $oldFactory->makeConfig( 'bar' );
70 $quux = $oldFactory->makeConfig( 'quux' );
81 $newFactory->salvage( $oldFactory );
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/config/
H A DConfigFactoryTest.php62 $oldFactory = new ConfigFactory();
63 $oldFactory->register( 'foo', 'GlobalVarConfig::newInstance' );
64 $oldFactory->register( 'bar', 'GlobalVarConfig::newInstance' );
65 $oldFactory->register( 'quux', 'GlobalVarConfig::newInstance' );
68 $foo = $oldFactory->makeConfig( 'foo' );
69 $bar = $oldFactory->makeConfig( 'bar' );
70 $quux = $oldFactory->makeConfig( 'quux' );
81 $newFactory->salvage( $oldFactory );
/dports/www/firefox-esr/firefox-91.8.0/testing/specialpowers/content/
H A DMockPermissionPrompt.jsm14 var oldClassID, oldFactory;
37 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
40 oldFactory = null;
46 if (oldFactory) {
47 registrar.unregisterFactory(oldClassID, oldFactory);
57 if (oldFactory) {
59 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
/dports/www/firefox/firefox-99.0/testing/specialpowers/content/
H A DMockPermissionPrompt.jsm14 var oldClassID, oldFactory;
35 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
38 oldFactory = null;
44 if (oldFactory) {
45 registrar.unregisterFactory(oldClassID, oldFactory);
55 if (oldFactory) {
57 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
/dports/lang/spidermonkey78/firefox-78.9.0/testing/specialpowers/content/
H A DMockPermissionPrompt.jsm14 var oldClassID, oldFactory;
37 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
40 oldFactory = null;
46 if (oldFactory) {
47 registrar.unregisterFactory(oldClassID, oldFactory);
57 if (oldFactory) {
59 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
/dports/mail/thunderbird/thunderbird-91.8.0/testing/specialpowers/content/
H A DMockPermissionPrompt.jsm14 var oldClassID, oldFactory;
37 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
40 oldFactory = null;
46 if (oldFactory) {
47 registrar.unregisterFactory(oldClassID, oldFactory);
57 if (oldFactory) {
59 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
/dports/lang/spidermonkey60/firefox-60.9.0/testing/specialpowers/content/
H A DMockPermissionPrompt.jsm16 var oldClassID, oldFactory;
36 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
39 oldFactory = null;
43 if (oldFactory) {
44 registrar.unregisterFactory(oldClassID, oldFactory);
55 if (oldFactory) {
57 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
H A DMockColorPicker.jsm19 var oldClassID = "", oldFactory = null;
42 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
45 oldFactory = null;
49 if (oldClassID != "" && oldFactory != null) {
50 registrar.unregisterFactory(oldClassID, oldFactory);
69 if (oldClassID != "" && oldFactory != null) {
70 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/specialpowers/content/
H A DMockPermissionPrompt.jsm19 var oldClassID, oldFactory;
39 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
42 oldFactory = null;
46 if (oldFactory) {
47 registrar.unregisterFactory(oldClassID, oldFactory);
58 if (oldFactory) {
60 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
H A DMockColorPicker.jsm22 var oldClassID = "", oldFactory = null;
45 oldFactory = Cm.getClassObject(Cc[CONTRACT_ID], Ci.nsIFactory);
48 oldFactory = null;
52 if (oldClassID != "" && oldFactory != null) {
53 registrar.unregisterFactory(oldClassID, oldFactory);
72 if (oldClassID != "" && oldFactory != null) {
73 registrar.registerFactory(oldClassID, "", CONTRACT_ID, oldFactory);
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/javax/activation/
H A DDataHandler.java71 private DataContentHandlerFactory oldFactory; field in DataHandler
81 oldFactory = factory; in DataHandler()
94 oldFactory = factory; in DataHandler()
104 oldFactory = factory; in DataHandler()
261 if (factory != oldFactory || transferFlavors == NO_FLAVORS) in getTransferDataFlavors()
442 if (factory != oldFactory) in getDataContentHandler()
444 oldFactory = factory; in getDataContentHandler()
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/javax/activation/
H A DDataHandler.java71 private DataContentHandlerFactory oldFactory; field in DataHandler
81 oldFactory = factory; in DataHandler()
94 oldFactory = factory; in DataHandler()
104 oldFactory = factory; in DataHandler()
261 if (factory != oldFactory || transferFlavors == NO_FLAVORS) in getTransferDataFlavors()
442 if (factory != oldFactory) in getDataContentHandler()
444 oldFactory = factory; in getDataContentHandler()
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/javax/activation/
H A DDataHandler.java71 private DataContentHandlerFactory oldFactory; field in DataHandler
81 oldFactory = factory; in DataHandler()
94 oldFactory = factory; in DataHandler()
104 oldFactory = factory; in DataHandler()
261 if (factory != oldFactory || transferFlavors == NO_FLAVORS) in getTransferDataFlavors()
442 if (factory != oldFactory) in getDataContentHandler()
444 oldFactory = factory; in getDataContentHandler()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/javax/activation/
H A DDataHandler.java71 private DataContentHandlerFactory oldFactory; field in DataHandler
81 oldFactory = factory; in DataHandler()
94 oldFactory = factory; in DataHandler()
104 oldFactory = factory; in DataHandler()
261 if (factory != oldFactory || transferFlavors == NO_FLAVORS) in getTransferDataFlavors()
442 if (factory != oldFactory) in getDataContentHandler()
444 oldFactory = factory; in getDataContentHandler()
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/javax/activation/
H A DDataHandler.java71 private DataContentHandlerFactory oldFactory; field in DataHandler
81 oldFactory = factory; in DataHandler()
94 oldFactory = factory; in DataHandler()
104 oldFactory = factory; in DataHandler()
261 if (factory != oldFactory || transferFlavors == NO_FLAVORS) in getTransferDataFlavors()
442 if (factory != oldFactory) in getDataContentHandler()
444 oldFactory = factory; in getDataContentHandler()
/dports/java/javamail/javamail-JAVAMAIL-1_6_2/android/activation/src/main/java/javax/activation/
H A DDataHandler.java116 private DataContentHandlerFactory oldFactory = null; field in DataHandler
130 oldFactory = factory; // keep track of the factory in DataHandler()
145 oldFactory = factory; // keep track of the factory in DataHandler()
157 oldFactory = factory; // keep track of the factory in DataHandler()
378 if (factory != oldFactory) // if the factory has changed, clear cache in getTransferDataFlavors()
603 if (factory != oldFactory) { in getDataContentHandler()
604 oldFactory = factory; in getDataContentHandler()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java42 private static PopupFactory oldFactory; field in bug7123767.TestFactory
49 if (oldFactory == null) { in install()
50 oldFactory = getSharedInstance(); in install()
56 if (oldFactory != null) { in uninstall()
57 setSharedInstance(oldFactory); in uninstall()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java42 private static PopupFactory oldFactory; field in bug7123767.TestFactory
49 if (oldFactory == null) { in install()
50 oldFactory = getSharedInstance(); in install()
56 if (oldFactory != null) { in uninstall()
57 setSharedInstance(oldFactory); in uninstall()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaf_classes/javax/activation/
H A DDataHandler.java103 private DataContentHandlerFactory oldFactory = null; field in DataHandler
117 oldFactory = factory; // keep track of the factory in DataHandler()
132 oldFactory = factory; // keep track of the factory in DataHandler()
144 oldFactory = factory; // keep track of the factory in DataHandler()
365 if (factory != oldFactory) // if the factory has changed, clear cache in getTransferDataFlavors()
594 if (factory != oldFactory) { in getDataContentHandler()
595 oldFactory = factory; in getDataContentHandler()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaf_classes/javax/activation/
H A DDataHandler.java103 private DataContentHandlerFactory oldFactory = null; field in DataHandler
117 oldFactory = factory; // keep track of the factory in DataHandler()
132 oldFactory = factory; // keep track of the factory in DataHandler()
144 oldFactory = factory; // keep track of the factory in DataHandler()
365 if (factory != oldFactory) // if the factory has changed, clear cache in getTransferDataFlavors()
594 if (factory != oldFactory) { in getDataContentHandler()
595 oldFactory = factory; in getDataContentHandler()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java98 private static PopupFactory oldFactory; field in bug7123767.TestFactory
105 if (oldFactory == null) { in install()
106 oldFactory = getSharedInstance(); in install()
112 if (oldFactory != null) { in uninstall()
113 setSharedInstance(oldFactory); in uninstall()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java98 private static PopupFactory oldFactory; field in bug7123767.TestFactory
105 if (oldFactory == null) { in install()
106 oldFactory = getSharedInstance(); in install()
112 if (oldFactory != null) { in uninstall()
113 setSharedInstance(oldFactory); in uninstall()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java98 private static PopupFactory oldFactory; field in bug7123767.TestFactory
105 if (oldFactory == null) { in install()
106 oldFactory = getSharedInstance(); in install()
112 if (oldFactory != null) { in uninstall()
113 setSharedInstance(oldFactory); in uninstall()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java98 private static PopupFactory oldFactory; field in bug7123767.TestFactory
105 if (oldFactory == null) { in install()
106 oldFactory = getSharedInstance(); in install()
112 if (oldFactory != null) { in uninstall()
113 setSharedInstance(oldFactory); in uninstall()

1234