diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/BWTest.lst.ORIG b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/BWTest.lst.ORIG new file mode 100644 index 00000000000..eb342b03a16 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/BWTest.lst.ORIG @@ -0,0 +1,1596 @@ +basic/scenario/1 +basic/scenario/2 +basic/scenario/3 +basic/scenario/4 +basic/scenario/5 +basic/scenario/8 +basic/scenario/9 +basic/scenario/fr1 +basic/scenario/fr2 +basic/scenario/fr3 +basic/params/Pluglet_createPlugletInstance_mimeType_1 +basic/params/Pluglet_createPlugletInstance_mimeType_2 +basic/params/Pluglet_createPlugletInstance_mimeType_3 +basic/params/Pluglet_createPlugletInstance_mimeType_4 +basic/params/Pluglet_createPlugletInstance_mimeType_5 +basic/params/Pluglet_createPlugletInstance_mimeType_6 +basic/params/PlugletStreamListener_onDataAvailable_input_1 +basic/params/PlugletStreamListener_onDataAvailable_input_2 +basic/params/PlugletStreamListener_onDataAvailable_input_3 +basic/params/PlugletStreamListener_onDataAvailable_input_4 +basic/params/PlugletStreamListener_onDataAvailable_input_5 +basic/params/PlugletStreamListener_onDataAvailable_input_6 +basic/params/PlugletStreamListener_onDataAvailable_input_7 +basic/params/PlugletStreamListener_onDataAvailable_input_8 +basic/params/PlugletStreamListener_onDataAvailable_input_9 +basic/params/PlugletStreamListener_onDataAvailable_input_11 +basic/params/PlugletStreamListener_onDataAvailable_input_12 +basic/returns/Pluglet_createPlugletInstance +basic/returns/PlugletInstance_newStream +basic/security/DeleteFileTest +basic/security/GetClipboardTest +basic/security/GetSysPropsTest +basic/security/OpenWinTest +basic/security/PrintTest +basic/security/ReadFileTest +basic/security/RemoteConnectTest +basic/security/RunProgramTest +basic/security/WriteFileTest +basic/security/automation/SecTestCanRead +basic/security/automation/SecTestCanWrite +basic/security/automation/SecTestClipboard +basic/security/automation/SecTestDelete +basic/security/automation/SecTestEnv +basic/security/automation/SecTestExists +basic/security/automation/SecTestFileDescriptorIn +basic/security/automation/SecTestFileDescriptorOut +basic/security/automation/SecTestFileInputStream +basic/security/automation/SecTestFileOutputStream +basic/security/automation/SecTestGetAbsolutePath +basic/security/automation/SecTestGetCanonicalPath +basic/security/automation/SecTestGetContent +basic/security/automation/SecTestGetParent +basic/security/automation/SecTestGetPath +basic/security/automation/SecTestGetProps +basic/security/automation/SecTestGetSecMgr +basic/security/automation/SecTestIsDirectory +basic/security/automation/SecTestIsFile +basic/security/automation/SecTestLastModified +basic/security/automation/SecTestLength +basic/security/automation/SecTestList +basic/security/automation/SecTestListJSFilter +basic/security/automation/SecTestMkdir +basic/security/automation/SecTestMkdirs +basic/security/automation/SecTestOpenConx +basic/security/automation/SecTestPrintStream +basic/security/automation/SecTestRandomAccess +basic/security/automation/SecTestRandomAccessRW +basic/security/automation/SecTestRenameTo +basic/security/automation/SecTestRunExec +basic/security/automation/SecTestRunExit +basic/security/automation/SecTestRunLoad +basic/security/automation/SecTestRunLoadLib +basic/security/automation/SecTestSetSecMgr +basic/security/automation/SecTestSocket +basic/security/automation/SecTestSysExit +basic/security/automation/SecTestURLFac +basic/security/automation/SecTestXAccept +basic/security/automation/SecTestXAccess +basic/security/automation/SecTestXAccessTG +basic/security/automation/SecTestXAccessTop +basic/security/automation/SecTestXCCL +basic/security/automation/SecTestXConn +basic/security/automation/SecTestXDelete +basic/security/automation/SecTestXExec +basic/security/automation/SecTestXExit +basic/security/automation/SecTestXLink +basic/security/automation/SecTestXListen +basic/security/automation/SecTestXPakAcc +basic/security/automation/SecTestXPakDef +basic/security/automation/SecTestXPropAcc +basic/security/automation/SecTestXRead +basic/security/automation/SecTestXSetFac +basic/security/automation/SecTestXWrite +basic/api/PlugletPeer_getMIMEType +basic/api/PlugletPeer_getMode +basic/api/PlugletPeer_getValue:0 +basic/api/PlugletPeer_getValue:1 +basic/api/PlugletPeer_getValue:2 +basic/api/PlugletPeer_getValue:3 +basic/api/PlugletPeer_setWindowSize:0 +basic/api/PlugletPeer_setWindowSize:1 +basic/api/PlugletPeer_setWindowSize:2 +basic/api/PlugletPeer_setWindowSize:3 +basic/api/PlugletPeer_setWindowSize:4 +basic/api/PlugletPeer_setWindowSize:5 +basic/api/PlugletPeer_setWindowSize:6 +basic/api/PlugletPeer_showStatus:0 +basic/api/PlugletPeer_showStatus:1 +basic/api/PlugletPeer_getTagInfo +basic/api/PlugletManager_reloadPluglets:0 +basic/api/PlugletManager_reloadPluglets:1 +basic/api/PlugletManager_userAgent +basic/api/PlugletStreamInfo_getContentType +basic/api/PlugletStreamInfo_getLastModified +basic/api/PlugletStreamInfo_getLength +basic/api/PlugletStreamInfo_getURL +basic/api/PlugletStreamInfo_isSeekable +basic/api/PlugletStreamInfo_requestRead:0 +basic/api/PlugletStreamInfo_requestRead:1 +basic/api/PlugletStreamInfo_requestRead:2 +basic/api/PlugletTagInfo2_getAlignment +basic/api/PlugletTagInfo_getAttribute:0 +basic/api/PlugletTagInfo_getAttribute:1 +basic/api/PlugletTagInfo_getAttribute:2 +basic/api/PlugletTagInfo_getAttribute:3 +basic/api/PlugletTagInfo_getAttributes +basic/api/PlugletTagInfo2_getParameter:0 +basic/api/PlugletTagInfo2_getParameter:1 +basic/api/PlugletTagInfo2_getParameter:2 +basic/api/PlugletTagInfo2_getParameter:3 +basic/api/PlugletTagInfo2_getParameters +basic/api/PlugletTagInfo2_getParameters_1 +basic/api/PlugletTagInfo2_getAttribute:0 +basic/api/PlugletTagInfo2_getAttribute:1 +basic/api/PlugletTagInfo2_getAttribute:2 +basic/api/PlugletTagInfo2_getAttribute:3 +basic/api/PlugletTagInfo2_getAttributes +basic/api/PlugletTagInfo2_getBorderHorizSpace +basic/api/PlugletTagInfo2_getBorderHorizSpace_1 +basic/api/PlugletTagInfo2_getBorderVertSpace +basic/api/PlugletTagInfo2_getBorderVertSpace_1 +basic/api/PlugletTagInfo2_getDocumentBase +basic/api/PlugletTagInfo2_getDocumentEncoding +basic/api/PlugletTagInfo2_getHeight +basic/api/PlugletTagInfo2_getHeight_1 +basic/api/PlugletTagInfo2_getTagText +basic/api/PlugletTagInfo2_getTagType +basic/api/PlugletTagInfo2_getTagType_1 +basic/api/PlugletTagInfo2_getUniqueID +basic/api/PlugletTagInfo2_getWidth +basic/api/PlugletTagInfo2_getWidth_1 +basic/api/PlugletManager_getURL:0 +basic/api/PlugletManager_getURL:1 +basic/api/PlugletManager_getURL:2 +basic/api/PlugletManager_getURL:3 +basic/api/PlugletManager_getURL:4 +basic/api/PlugletManager_getURL:5 +basic/api/PlugletManager_getURL:6 +basic/api/PlugletManager_getURL:7 +basic/api/PlugletManager_getURL:8 +basic/api/PlugletManager_getURL:9 +basic/api/PlugletManager_getURL:10 +basic/api/PlugletManager_getURL:11 +basic/api/PlugletManager_getURL:12 +basic/api/PlugletManager_getURL:13 +basic/api/PlugletManager_getURL:14 +basic/api/PlugletManager_getURL:15 +basic/api/PlugletManager_getURL:16 +basic/api/PlugletManager_getURL:17 +basic/api/PlugletManager_getURL:18 +basic/api/PlugletManager_getURL:19 +basic/api/PlugletManager_getURL:20 +basic/api/PlugletManager_getURL:21 +basic/api/PlugletManager_getURL:22 +basic/api/PlugletManager_getURL:23 +basic/api/PlugletManager_getURL:24 +basic/api/PlugletManager_getURL:25 +basic/api/PlugletManager_getURL:26 +basic/api/PlugletManager_getURL:27 +basic/api/PlugletManager_getURL:28 +basic/api/PlugletManager_getURL:29 +basic/api/PlugletManager_getURL:30 +basic/api/PlugletManager_getURL:31 +basic/api/PlugletManager_getURL:32 +basic/api/PlugletManager_getURL:33 +basic/api/PlugletManager_getURL:34 +basic/api/PlugletManager_getURL:35 +basic/api/PlugletManager_getURL:36 +basic/api/PlugletManager_getURL:37 +basic/api/PlugletManager_getURL:38 +basic/api/PlugletManager_getURL:39 +basic/api/PlugletManager_getURL:40 +basic/api/PlugletManager_getURL:41 +basic/api/PlugletManager_getURL:42 +basic/api/PlugletManager_getURL:43 +basic/api/PlugletManager_getURL:44 +basic/api/PlugletManager_getURL:45 +basic/api/PlugletManager_getURL:46 +basic/api/PlugletManager_getURL:47 +basic/api/PlugletManager_getURL:48 +basic/api/PlugletManager_getURL:49 +basic/api/PlugletManager_getURL:50 +basic/api/PlugletManager_getURL:51 +basic/api/PlugletManager_getURL:52 +basic/api/PlugletManager_getURL:53 +basic/api/PlugletManager_getURL:54 +basic/api/PlugletManager_getURL:55 +basic/api/PlugletManager_getURL:56 +basic/api/PlugletManager_getURL:57 +basic/api/PlugletManager_getURL:58 +basic/api/PlugletManager_getURL:59 +basic/api/PlugletManager_getURL:60 +basic/api/PlugletManager_getURL:61 +basic/api/PlugletManager_getURL:62 +basic/api/PlugletManager_getURL:63 +basic/api/PlugletManager_getURL:64 +basic/api/PlugletManager_getURL:65 +basic/api/PlugletManager_getURL:66 +basic/api/PlugletManager_getURL:67 +basic/api/PlugletManager_getURL:68 +basic/api/PlugletManager_getURL:69 +basic/api/PlugletManager_getURL:70 +basic/api/PlugletManager_getURL:71 +basic/api/PlugletManager_getURL:72 +basic/api/PlugletManager_getURL:73 +basic/api/PlugletManager_getURL:74 +basic/api/PlugletManager_getURL:75 +basic/api/PlugletManager_getURL:76 +basic/api/PlugletManager_getURL:77 +basic/api/PlugletManager_getURL:78 +basic/api/PlugletManager_getURL:79 +basic/api/PlugletManager_getURL:80 +basic/api/PlugletManager_getURL:81 +basic/api/PlugletManager_getURL:82 +basic/api/PlugletManager_getURL:83 +basic/api/PlugletManager_getURL:84 +basic/api/PlugletManager_getURL:85 +basic/api/PlugletManager_getURL:86 +basic/api/PlugletManager_getURL:87 +basic/api/PlugletManager_getURL:88 +basic/api/PlugletManager_getURL:89 +basic/api/PlugletManager_getURL:90 +basic/api/PlugletManager_getURL:91 +basic/api/PlugletManager_getURL:92 +basic/api/PlugletManager_getURL:93 +basic/api/PlugletManager_getURL:94 +basic/api/PlugletManager_getURL:95 +basic/api/PlugletManager_getURL:96 +basic/api/PlugletManager_getURL:97 +basic/api/PlugletManager_getURL:98 +basic/api/PlugletManager_getURL:99 +basic/api/PlugletManager_getURL:100 +basic/api/PlugletManager_getURL:101 +basic/api/PlugletManager_getURL:102 +basic/api/PlugletManager_getURL:103 +basic/api/PlugletManager_getURL:104 +basic/api/PlugletManager_getURL:105 +basic/api/PlugletManager_getURL:106 +basic/api/PlugletManager_getURL:107 +basic/api/PlugletManager_getURL:108 +basic/api/PlugletManager_getURL:109 +basic/api/PlugletManager_getURL:110 +basic/api/PlugletManager_getURL:111 +basic/api/PlugletManager_getURL:112 +basic/api/PlugletManager_getURL:113 +basic/api/PlugletManager_getURL:114 +basic/api/PlugletManager_getURL:115 +basic/api/PlugletManager_getURL:116 +basic/api/PlugletManager_getURL:117 +basic/api/PlugletManager_getURL:118 +basic/api/PlugletManager_getURL:119 +basic/api/PlugletManager_getURL:120 +basic/api/PlugletManager_getURL:121 +basic/api/PlugletManager_getURL:122 +basic/api/PlugletManager_getURL:123 +basic/api/PlugletManager_getURL:124 +basic/api/PlugletManager_getURL:125 +basic/api/PlugletManager_getURL:126 +basic/api/PlugletManager_getURL:127 +basic/api/PlugletManager_getURL:128 +basic/api/PlugletManager_getURL:129 +basic/api/PlugletManager_getURL:130 +basic/api/PlugletManager_getURL:131 +basic/api/PlugletManager_getURL:132 +basic/api/PlugletManager_getURL:133 +basic/api/PlugletManager_getURL:134 +basic/api/PlugletManager_getURL:135 +basic/api/PlugletManager_getURL:136 +basic/api/PlugletManager_getURL:137 +basic/api/PlugletManager_getURL:138 +basic/api/PlugletManager_getURL:139 +basic/api/PlugletManager_getURL:140 +basic/api/PlugletManager_getURL:141 +basic/api/PlugletManager_getURL:142 +basic/api/PlugletManager_getURL:143 +basic/api/PlugletManager_getURL:144 +basic/api/PlugletManager_getURL:145 +basic/api/PlugletManager_getURL:146 +basic/api/PlugletManager_getURL:147 +basic/api/PlugletManager_getURL:148 +basic/api/PlugletManager_getURL:149 +basic/api/PlugletManager_getURL:150 +basic/api/PlugletManager_getURL:151 +basic/api/PlugletManager_getURL:152 +basic/api/PlugletManager_getURL:153 +basic/api/PlugletManager_getURL:154 +basic/api/PlugletManager_getURL:155 +basic/api/PlugletManager_getURL:156 +basic/api/PlugletManager_getURL:157 +basic/api/PlugletManager_getURL:158 +basic/api/PlugletManager_getURL:159 +basic/api/PlugletManager_getURL:160 +basic/api/PlugletManager_getURL:161 +basic/api/PlugletManager_getURL:162 +basic/api/PlugletManager_getURL:163 +basic/api/PlugletManager_getURL:164 +basic/api/PlugletManager_getURL:165 +basic/api/PlugletManager_getURL:166 +basic/api/PlugletManager_getURL:167 +basic/api/PlugletManager_getURL:168 +basic/api/PlugletManager_getURL:169 +basic/api/PlugletManager_getURL:170 +basic/api/PlugletManager_getURL:171 +basic/api/PlugletManager_getURL:172 +basic/api/PlugletManager_getURL:173 +basic/api/PlugletManager_getURL:174 +basic/api/PlugletManager_getURL:175 +basic/api/PlugletManager_getURL:176 +basic/api/PlugletManager_getURL:177 +basic/api/PlugletManager_getURL:178 +basic/api/PlugletManager_getURL:179 +basic/api/PlugletManager_getURL:180 +basic/api/PlugletManager_getURL:181 +basic/api/PlugletManager_getURL:182 +basic/api/PlugletManager_getURL:183 +basic/api/PlugletManager_getURL_1:0 +basic/api/PlugletManager_getURL_1:1 +basic/api/PlugletManager_getURL_1:2 +basic/api/PlugletManager_getURL_1:3 +basic/api/PlugletManager_getURL_1:4 +basic/api/PlugletManager_getURL_1:5 +basic/api/PlugletManager_getURL_1:6 +basic/api/PlugletManager_getURL_1:7 +basic/api/PlugletManager_getURL_1:8 +basic/api/PlugletManager_getURL_1:9 +basic/api/PlugletManager_postURL:0 +basic/api/PlugletManager_postURL:1 +basic/api/PlugletManager_postURL:2 +basic/api/PlugletManager_postURL:3 +basic/api/PlugletManager_postURL:4 +basic/api/PlugletManager_postURL:5 +basic/api/PlugletManager_postURL:6 +basic/api/PlugletManager_postURL:7 +basic/api/PlugletManager_postURL:8 +basic/api/PlugletManager_postURL:9 +basic/api/PlugletManager_postURL:10 +basic/api/PlugletManager_postURL:11 +basic/api/PlugletManager_postURL:12 +basic/api/PlugletManager_postURL:13 +basic/api/PlugletManager_postURL:14 +basic/api/PlugletManager_postURL:15 +basic/api/PlugletManager_postURL:16 +basic/api/PlugletManager_postURL:17 +basic/api/PlugletManager_postURL:18 +basic/api/PlugletManager_postURL:19 +basic/api/PlugletManager_postURL:20 +basic/api/PlugletManager_postURL:21 +basic/api/PlugletManager_postURL:22 +basic/api/PlugletManager_postURL:23 +basic/api/PlugletManager_postURL:24 +basic/api/PlugletManager_postURL:25 +basic/api/PlugletManager_postURL:26 +basic/api/PlugletManager_postURL:27 +basic/api/PlugletManager_postURL:28 +basic/api/PlugletManager_postURL:29 +basic/api/PlugletManager_postURL:30 +basic/api/PlugletManager_postURL:31 +basic/api/PlugletManager_postURL:32 +basic/api/PlugletManager_postURL:33 +basic/api/PlugletManager_postURL:34 +basic/api/PlugletManager_postURL:35 +basic/api/PlugletManager_postURL:36 +basic/api/PlugletManager_postURL:37 +basic/api/PlugletManager_postURL:38 +basic/api/PlugletManager_postURL:39 +basic/api/PlugletManager_postURL:40 +basic/api/PlugletManager_postURL:41 +basic/api/PlugletManager_postURL:42 +basic/api/PlugletManager_postURL:43 +basic/api/PlugletManager_postURL:44 +basic/api/PlugletManager_postURL:45 +basic/api/PlugletManager_postURL:46 +basic/api/PlugletManager_postURL:47 +basic/api/PlugletManager_postURL:48 +basic/api/PlugletManager_postURL:49 +basic/api/PlugletManager_postURL:50 +basic/api/PlugletManager_postURL:51 +basic/api/PlugletManager_postURL:52 +basic/api/PlugletManager_postURL:53 +basic/api/PlugletManager_postURL:54 +basic/api/PlugletManager_postURL:55 +basic/api/PlugletManager_postURL:56 +basic/api/PlugletManager_postURL:57 +basic/api/PlugletManager_postURL:58 +basic/api/PlugletManager_postURL:59 +basic/api/PlugletManager_postURL:60 +basic/api/PlugletManager_postURL:61 +basic/api/PlugletManager_postURL:62 +basic/api/PlugletManager_postURL:63 +basic/api/PlugletManager_postURL:64 +basic/api/PlugletManager_postURL:65 +basic/api/PlugletManager_postURL:66 +basic/api/PlugletManager_postURL:67 +basic/api/PlugletManager_postURL:68 +basic/api/PlugletManager_postURL:69 +basic/api/PlugletManager_postURL:70 +basic/api/PlugletManager_postURL:71 +basic/api/PlugletManager_postURL:72 +basic/api/PlugletManager_postURL:73 +basic/api/PlugletManager_postURL:74 +basic/api/PlugletManager_postURL:75 +basic/api/PlugletManager_postURL:76 +basic/api/PlugletManager_postURL:77 +basic/api/PlugletManager_postURL:78 +basic/api/PlugletManager_postURL:79 +basic/api/PlugletManager_postURL:80 +basic/api/PlugletManager_postURL:81 +basic/api/PlugletManager_postURL:82 +basic/api/PlugletManager_postURL:83 +basic/api/PlugletManager_postURL:84 +basic/api/PlugletManager_postURL:85 +basic/api/PlugletManager_postURL:86 +basic/api/PlugletManager_postURL:87 +basic/api/PlugletManager_postURL:88 +basic/api/PlugletManager_postURL:89 +basic/api/PlugletManager_postURL:90 +basic/api/PlugletManager_postURL:91 +basic/api/PlugletManager_postURL:92 +basic/api/PlugletManager_postURL:93 +basic/api/PlugletManager_postURL:94 +basic/api/PlugletManager_postURL:95 +basic/api/PlugletManager_postURL:96 +basic/api/PlugletManager_postURL:97 +basic/api/PlugletManager_postURL:98 +basic/api/PlugletManager_postURL:99 +basic/api/PlugletManager_postURL:100 +basic/api/PlugletManager_postURL:101 +basic/api/PlugletManager_postURL:102 +basic/api/PlugletManager_postURL:103 +basic/api/PlugletManager_postURL:104 +basic/api/PlugletManager_postURL:105 +basic/api/PlugletManager_postURL:106 +basic/api/PlugletManager_postURL:107 +basic/api/PlugletManager_postURL:108 +basic/api/PlugletManager_postURL:109 +basic/api/PlugletManager_postURL:110 +basic/api/PlugletManager_postURL:111 +basic/api/PlugletManager_postURL:112 +basic/api/PlugletManager_postURL:113 +basic/api/PlugletManager_postURL:114 +basic/api/PlugletManager_postURL:115 +basic/api/PlugletManager_postURL:116 +basic/api/PlugletManager_postURL:117 +basic/api/PlugletManager_postURL:118 +basic/api/PlugletManager_postURL:119 +basic/api/PlugletManager_postURL:120 +basic/api/PlugletManager_postURL:121 +basic/api/PlugletManager_postURL:122 +basic/api/PlugletManager_postURL:123 +basic/api/PlugletManager_postURL:124 +basic/api/PlugletManager_postURL:125 +basic/api/PlugletManager_postURL:126 +basic/api/PlugletManager_postURL:127 +basic/api/PlugletManager_postURL:128 +basic/api/PlugletManager_postURL:129 +basic/api/PlugletManager_postURL:130 +basic/api/PlugletManager_postURL:131 +basic/api/PlugletManager_postURL:132 +basic/api/PlugletManager_postURL:133 +basic/api/PlugletManager_postURL:134 +basic/api/PlugletManager_postURL:135 +basic/api/PlugletManager_postURL:136 +basic/api/PlugletManager_postURL:137 +basic/api/PlugletManager_postURL:138 +basic/api/PlugletManager_postURL:139 +basic/api/PlugletManager_postURL:140 +basic/api/PlugletManager_postURL:141 +basic/api/PlugletManager_postURL:142 +basic/api/PlugletManager_postURL:143 +basic/api/PlugletManager_postURL:144 +basic/api/PlugletManager_postURL:145 +basic/api/PlugletManager_postURL:146 +basic/api/PlugletManager_postURL:147 +basic/api/PlugletManager_postURL:148 +basic/api/PlugletManager_postURL:149 +basic/api/PlugletManager_postURL:150 +basic/api/PlugletManager_postURL:151 +basic/api/PlugletManager_postURL:152 +basic/api/PlugletManager_postURL:153 +basic/api/PlugletManager_postURL:154 +basic/api/PlugletManager_postURL:155 +basic/api/PlugletManager_postURL:156 +basic/api/PlugletManager_postURL:157 +basic/api/PlugletManager_postURL:158 +basic/api/PlugletManager_postURL:159 +basic/api/PlugletManager_postURL:160 +basic/api/PlugletManager_postURL:161 +basic/api/PlugletManager_postURL:162 +basic/api/PlugletManager_postURL:163 +basic/api/PlugletManager_postURL:164 +basic/api/PlugletManager_postURL:165 +basic/api/PlugletManager_postURL:166 +basic/api/PlugletManager_postURL:167 +basic/api/PlugletManager_postURL:168 +basic/api/PlugletManager_postURL:169 +basic/api/PlugletManager_postURL:170 +basic/api/PlugletManager_postURL:171 +basic/api/PlugletManager_postURL:172 +basic/api/PlugletManager_postURL:173 +basic/api/PlugletManager_postURL:174 +basic/api/PlugletManager_postURL:175 +basic/api/PlugletManager_postURL:176 +basic/api/PlugletManager_postURL:177 +basic/api/PlugletManager_postURL:178 +basic/api/PlugletManager_postURL:179 +basic/api/PlugletManager_postURL:180 +basic/api/PlugletManager_postURL:181 +basic/api/PlugletManager_postURL:182 +basic/api/PlugletManager_postURL:183 +basic/api/PlugletManager_postURL:184 +basic/api/PlugletManager_postURL:185 +basic/api/PlugletManager_postURL:186 +basic/api/PlugletManager_postURL:187 +basic/api/PlugletManager_postURL:188 +basic/api/PlugletManager_postURL:189 +basic/api/PlugletManager_postURL:190 +basic/api/PlugletManager_postURL:191 +basic/api/PlugletManager_postURL:192 +basic/api/PlugletManager_postURL:193 +basic/api/PlugletManager_postURL:194 +basic/api/PlugletManager_postURL:195 +basic/api/PlugletManager_postURL:196 +basic/api/PlugletManager_postURL:197 +basic/api/PlugletManager_postURL:198 +basic/api/PlugletManager_postURL:199 +basic/api/PlugletManager_postURL:200 +basic/api/PlugletManager_postURL:201 +basic/api/PlugletManager_postURL:202 +basic/api/PlugletManager_postURL:203 +basic/api/PlugletManager_postURL:204 +basic/api/PlugletManager_postURL:205 +basic/api/PlugletManager_postURL:206 +basic/api/PlugletManager_postURL:207 +basic/api/PlugletManager_postURL:208 +basic/api/PlugletManager_postURL:209 +basic/api/PlugletManager_postURL:210 +basic/api/PlugletManager_postURL:211 +basic/api/PlugletManager_postURL:212 +basic/api/PlugletManager_postURL:213 +basic/api/PlugletManager_postURL:214 +basic/api/PlugletManager_postURL:215 +basic/api/PlugletManager_postURL:216 +basic/api/PlugletManager_postURL:217 +basic/api/PlugletManager_postURL:218 +basic/api/PlugletManager_postURL:219 +basic/api/PlugletManager_postURL:220 +basic/api/PlugletManager_postURL:221 +basic/api/PlugletManager_postURL:222 +basic/api/PlugletManager_postURL:223 +basic/api/PlugletManager_postURL:224 +basic/api/PlugletManager_postURL:225 +basic/api/PlugletManager_postURL:226 +basic/api/PlugletManager_postURL:227 +basic/api/PlugletManager_postURL:228 +basic/api/PlugletManager_postURL:229 +basic/api/PlugletManager_postURL:230 +basic/api/PlugletManager_postURL:231 +basic/api/PlugletManager_postURL:232 +basic/api/PlugletManager_postURL:233 +basic/api/PlugletManager_postURL:234 +basic/api/PlugletManager_postURL:235 +basic/api/PlugletManager_postURL:236 +basic/api/PlugletManager_postURL:237 +basic/api/PlugletManager_postURL:238 +basic/api/PlugletManager_postURL:239 +basic/api/PlugletManager_postURL:240 +basic/api/PlugletManager_postURL:241 +basic/api/PlugletManager_postURL:242 +basic/api/PlugletManager_postURL:243 +basic/api/PlugletManager_postURL:244 +basic/api/PlugletManager_postURL:245 +basic/api/PlugletManager_postURL:246 +basic/api/PlugletManager_postURL:247 +basic/api/PlugletManager_postURL:248 +basic/api/PlugletManager_postURL:249 +basic/api/PlugletManager_postURL:250 +basic/api/PlugletManager_postURL:251 +basic/api/PlugletManager_postURL:252 +basic/api/PlugletManager_postURL:253 +basic/api/PlugletManager_postURL:254 +basic/api/PlugletManager_postURL:255 +basic/api/PlugletManager_postURL:256 +basic/api/PlugletManager_postURL:257 +basic/api/PlugletManager_postURL:258 +basic/api/PlugletManager_postURL:259 +basic/api/PlugletManager_postURL:260 +basic/api/PlugletManager_postURL:261 +basic/api/PlugletManager_postURL:262 +basic/api/PlugletManager_postURL:263 +basic/api/PlugletManager_postURL:264 +basic/api/PlugletManager_postURL:265 +basic/api/PlugletManager_postURL:266 +basic/api/PlugletManager_postURL:267 +basic/api/PlugletManager_postURL:268 +basic/api/PlugletManager_postURL:269 +basic/api/PlugletManager_postURL:270 +basic/api/PlugletManager_postURL:271 +basic/api/PlugletManager_postURL:272 +basic/api/PlugletManager_postURL:273 +basic/api/PlugletManager_postURL:274 +basic/api/PlugletManager_postURL:275 +basic/api/PlugletManager_postURL:276 +basic/api/PlugletManager_postURL:277 +basic/api/PlugletManager_postURL:278 +basic/api/PlugletManager_postURL:279 +basic/api/PlugletManager_postURL:280 +basic/api/PlugletManager_postURL:281 +basic/api/PlugletManager_postURL:282 +basic/api/PlugletManager_postURL:283 +basic/api/PlugletManager_postURL:284 +basic/api/PlugletManager_postURL:285 +basic/api/PlugletManager_postURL:286 +basic/api/PlugletManager_postURL:287 +basic/api/PlugletManager_postURL:288 +basic/api/PlugletManager_postURL:289 +basic/api/PlugletManager_postURL:290 +basic/api/PlugletManager_postURL:291 +basic/api/PlugletManager_postURL:292 +basic/api/PlugletManager_postURL:293 +basic/api/PlugletManager_postURL:294 +basic/api/PlugletManager_postURL:295 +basic/api/PlugletManager_postURL:296 +basic/api/PlugletManager_postURL:297 +basic/api/PlugletManager_postURL:298 +basic/api/PlugletManager_postURL:299 +basic/api/PlugletManager_postURL:300 +basic/api/PlugletManager_postURL:301 +basic/api/PlugletManager_postURL:302 +basic/api/PlugletManager_postURL:303 +basic/api/PlugletManager_postURL:304 +basic/api/PlugletManager_postURL:305 +basic/api/PlugletManager_postURL:306 +basic/api/PlugletManager_postURL:307 +basic/api/PlugletManager_postURL:308 +basic/api/PlugletManager_postURL:309 +basic/api/PlugletManager_postURL:310 +basic/api/PlugletManager_postURL:311 +basic/api/PlugletManager_postURL:312 +basic/api/PlugletManager_postURL:313 +basic/api/PlugletManager_postURL:314 +basic/api/PlugletManager_postURL:315 +basic/api/PlugletManager_postURL:316 +basic/api/PlugletManager_postURL:317 +basic/api/PlugletManager_postURL:318 +basic/api/PlugletManager_postURL:319 +basic/api/PlugletManager_postURL:320 +basic/api/PlugletManager_postURL:321 +basic/api/PlugletManager_postURL:322 +basic/api/PlugletManager_postURL:323 +basic/api/PlugletManager_postURL:324 +basic/api/PlugletManager_postURL:325 +basic/api/PlugletManager_postURL:326 +basic/api/PlugletManager_postURL:327 +basic/api/PlugletManager_postURL:328 +basic/api/PlugletManager_postURL:329 +basic/api/PlugletManager_postURL:330 +basic/api/PlugletManager_postURL:331 +basic/api/PlugletManager_postURL:332 +basic/api/PlugletManager_postURL:333 +basic/api/PlugletManager_postURL:334 +basic/api/PlugletManager_postURL:335 +basic/api/PlugletManager_postURL:336 +basic/api/PlugletManager_postURL:337 +basic/api/PlugletManager_postURL:338 +basic/api/PlugletManager_postURL:339 +basic/api/PlugletManager_postURL:340 +basic/api/PlugletManager_postURL:341 +basic/api/PlugletManager_postURL:342 +basic/api/PlugletManager_postURL:343 +basic/api/PlugletManager_postURL:344 +basic/api/PlugletManager_postURL:345 +basic/api/PlugletManager_postURL:346 +basic/api/PlugletManager_postURL:347 +basic/api/PlugletManager_postURL:348 +basic/api/PlugletManager_postURL:349 +basic/api/PlugletManager_postURL:350 +basic/api/PlugletManager_postURL:351 +basic/api/PlugletManager_postURL:352 +basic/api/PlugletManager_postURL:353 +basic/api/PlugletManager_postURL:354 +basic/api/PlugletManager_postURL:355 +basic/api/PlugletManager_postURL:356 +basic/api/PlugletManager_postURL:357 +basic/api/PlugletManager_postURL:358 +basic/api/PlugletManager_postURL:359 +basic/api/PlugletManager_postURL:360 +basic/api/PlugletManager_postURL:361 +basic/api/PlugletManager_postURL:362 +basic/api/PlugletManager_postURL:363 +basic/api/PlugletManager_postURL:364 +basic/api/PlugletManager_postURL:365 +basic/api/PlugletManager_postURL:366 +basic/api/PlugletManager_postURL:367 +basic/api/PlugletManager_postURL:368 +basic/api/PlugletManager_postURL:369 +basic/api/PlugletManager_postURL:370 +basic/api/PlugletManager_postURL:371 +basic/api/PlugletManager_postURL:372 +basic/api/PlugletManager_postURL:373 +basic/api/PlugletManager_postURL:374 +basic/api/PlugletManager_postURL:375 +basic/api/PlugletManager_postURL:376 +basic/api/PlugletManager_postURL:377 +basic/api/PlugletManager_postURL:378 +basic/api/PlugletManager_postURL:379 +basic/api/PlugletManager_postURL:380 +basic/api/PlugletManager_postURL:381 +basic/api/PlugletManager_postURL:382 +basic/api/PlugletManager_postURL:383 +basic/api/PlugletManager_postURL:384 +basic/api/PlugletManager_postURL:385 +basic/api/PlugletManager_postURL:386 +basic/api/PlugletManager_postURL:387 +basic/api/PlugletManager_postURL:388 +basic/api/PlugletManager_postURL:389 +basic/api/PlugletManager_postURL:390 +basic/api/PlugletManager_postURL:391 +basic/api/PlugletManager_postURL:392 +basic/api/PlugletManager_postURL:393 +basic/api/PlugletManager_postURL:394 +basic/api/PlugletManager_postURL:395 +basic/api/PlugletManager_postURL:396 +basic/api/PlugletManager_postURL:397 +basic/api/PlugletManager_postURL:398 +basic/api/PlugletManager_postURL:399 +basic/api/PlugletManager_postURL:400 +basic/api/PlugletManager_postURL:401 +basic/api/PlugletManager_postURL:402 +basic/api/PlugletManager_postURL:403 +basic/api/PlugletManager_postURL:404 +basic/api/PlugletManager_postURL:405 +basic/api/PlugletManager_postURL:406 +basic/api/PlugletManager_postURL:407 +basic/api/PlugletManager_postURL:408 +basic/api/PlugletManager_postURL:409 +basic/api/PlugletManager_postURL:410 +basic/api/PlugletManager_postURL:411 +basic/api/PlugletManager_postURL:412 +basic/api/PlugletManager_postURL:413 +basic/api/PlugletManager_postURL:414 +basic/api/PlugletManager_postURL:415 +basic/api/PlugletManager_postURL:416 +basic/api/PlugletManager_postURL:417 +basic/api/PlugletManager_postURL:418 +basic/api/PlugletManager_postURL:419 +basic/api/PlugletManager_postURL:420 +basic/api/PlugletManager_postURL:421 +basic/api/PlugletManager_postURL:422 +basic/api/PlugletManager_postURL:423 +basic/api/PlugletManager_postURL:424 +basic/api/PlugletManager_postURL:425 +basic/api/PlugletManager_postURL:426 +basic/api/PlugletManager_postURL:427 +basic/api/PlugletManager_postURL:428 +basic/api/PlugletManager_postURL:429 +basic/api/PlugletManager_postURL:430 +basic/api/PlugletManager_postURL:431 +basic/api/PlugletManager_postURL:432 +basic/api/PlugletManager_postURL:433 +basic/api/PlugletManager_postURL:434 +basic/api/PlugletManager_postURL:435 +basic/api/PlugletManager_postURL:436 +basic/api/PlugletManager_postURL:437 +basic/api/PlugletManager_postURL:438 +basic/api/PlugletManager_postURL:439 +basic/api/PlugletManager_postURL:440 +basic/api/PlugletManager_postURL:441 +basic/api/PlugletManager_postURL:442 +basic/api/PlugletManager_postURL:443 +basic/api/PlugletManager_postURL:444 +basic/api/PlugletManager_postURL:445 +basic/api/PlugletManager_postURL:446 +basic/api/PlugletManager_postURL:447 +basic/api/PlugletManager_postURL:448 +basic/api/PlugletManager_postURL:449 +basic/api/PlugletManager_postURL:450 +basic/api/PlugletManager_postURL:451 +basic/api/PlugletManager_postURL:452 +basic/api/PlugletManager_postURL:453 +basic/api/PlugletManager_postURL:454 +basic/api/PlugletManager_postURL:455 +basic/api/PlugletManager_postURL:456 +basic/api/PlugletManager_postURL:457 +basic/api/PlugletManager_postURL:458 +basic/api/PlugletManager_postURL:459 +basic/api/PlugletManager_postURL:460 +basic/api/PlugletManager_postURL:461 +basic/api/PlugletManager_postURL:462 +basic/api/PlugletManager_postURL:463 +basic/api/PlugletManager_postURL:464 +basic/api/PlugletManager_postURL:465 +basic/api/PlugletManager_postURL:466 +basic/api/PlugletManager_postURL:467 +basic/api/PlugletManager_postURL:468 +basic/api/PlugletManager_postURL:469 +basic/api/PlugletManager_postURL:470 +basic/api/PlugletManager_postURL:471 +basic/api/PlugletManager_postURL:472 +basic/api/PlugletManager_postURL:473 +basic/api/PlugletManager_postURL:474 +basic/api/PlugletManager_postURL:475 +basic/api/PlugletManager_postURL:476 +basic/api/PlugletManager_postURL:477 +basic/api/PlugletManager_postURL:478 +basic/api/PlugletManager_postURL:479 +basic/api/PlugletManager_postURL:480 +basic/api/PlugletManager_postURL:481 +basic/api/PlugletManager_postURL:482 +basic/api/PlugletManager_postURL:483 +basic/api/PlugletManager_postURL:484 +basic/api/PlugletManager_postURL:485 +basic/api/PlugletManager_postURL:486 +basic/api/PlugletManager_postURL:487 +basic/api/PlugletManager_postURL:488 +basic/api/PlugletManager_postURL:489 +basic/api/PlugletManager_postURL:490 +basic/api/PlugletManager_postURL:491 +basic/api/PlugletManager_postURL:492 +basic/api/PlugletManager_postURL:493 +basic/api/PlugletManager_postURL:494 +basic/api/PlugletManager_postURL:495 +basic/api/PlugletManager_postURL:496 +basic/api/PlugletManager_postURL:497 +basic/api/PlugletManager_postURL:498 +basic/api/PlugletManager_postURL:499 +basic/api/PlugletManager_postURL:500 +basic/api/PlugletManager_postURL:501 +basic/api/PlugletManager_postURL:502 +basic/api/PlugletManager_postURL:503 +basic/api/PlugletManager_postURL:504 +basic/api/PlugletManager_postURL:505 +basic/api/PlugletManager_postURL:506 +basic/api/PlugletManager_postURL:507 +basic/api/PlugletManager_postURL:508 +basic/api/PlugletManager_postURL:509 +basic/api/PlugletManager_postURL:510 +basic/api/PlugletManager_postURL:511 +basic/api/PlugletManager_postURL:512 +basic/api/PlugletManager_postURL:513 +basic/api/PlugletManager_postURL:514 +basic/api/PlugletManager_postURL:515 +basic/api/PlugletManager_postURL:516 +basic/api/PlugletManager_postURL:517 +basic/api/PlugletManager_postURL:518 +basic/api/PlugletManager_postURL:519 +basic/api/PlugletManager_postURL:520 +basic/api/PlugletManager_postURL:521 +basic/api/PlugletManager_postURL:522 +basic/api/PlugletManager_postURL:523 +basic/api/PlugletManager_postURL:524 +basic/api/PlugletManager_postURL:525 +basic/api/PlugletManager_postURL:526 +basic/api/PlugletManager_postURL:527 +basic/api/PlugletManager_postURL:528 +basic/api/PlugletManager_postURL:529 +basic/api/PlugletManager_postURL:530 +basic/api/PlugletManager_postURL:531 +basic/api/PlugletManager_postURL:532 +basic/api/PlugletManager_postURL:533 +basic/api/PlugletManager_postURL:534 +basic/api/PlugletManager_postURL:535 +basic/api/PlugletManager_postURL:536 +basic/api/PlugletManager_postURL:537 +basic/api/PlugletManager_postURL:538 +basic/api/PlugletManager_postURL:539 +basic/api/PlugletManager_postURL:540 +basic/api/PlugletManager_postURL:541 +basic/api/PlugletManager_postURL:542 +basic/api/PlugletManager_postURL:543 +basic/api/PlugletManager_postURL:544 +basic/api/PlugletManager_postURL:545 +basic/api/PlugletManager_postURL:546 +basic/api/PlugletManager_postURL:547 +basic/api/PlugletManager_postURL:548 +basic/api/PlugletManager_postURL:549 +basic/api/PlugletManager_postURL:550 +basic/api/PlugletManager_postURL:551 +basic/api/PlugletManager_postURL:552 +basic/api/PlugletManager_postURL:553 +basic/api/PlugletManager_postURL:554 +basic/api/PlugletManager_postURL:555 +basic/api/PlugletManager_postURL:556 +basic/api/PlugletManager_postURL:557 +basic/api/PlugletManager_postURL:558 +basic/api/PlugletManager_postURL:559 +basic/api/PlugletManager_postURL:560 +basic/api/PlugletManager_postURL:561 +basic/api/PlugletManager_postURL:562 +basic/api/PlugletManager_postURL:563 +basic/api/PlugletManager_postURL:564 +basic/api/PlugletManager_postURL:565 +basic/api/PlugletManager_postURL:566 +basic/api/PlugletManager_postURL:567 +basic/api/PlugletManager_postURL:568 +basic/api/PlugletManager_postURL:569 +basic/api/PlugletManager_postURL:570 +basic/api/PlugletManager_postURL:571 +basic/api/PlugletManager_postURL:572 +basic/api/PlugletManager_postURL:573 +basic/api/PlugletManager_postURL:574 +basic/api/PlugletManager_postURL:575 +basic/api/PlugletManager_postURL:576 +basic/api/PlugletManager_postURL:577 +basic/api/PlugletManager_postURL:578 +basic/api/PlugletManager_postURL:579 +basic/api/PlugletManager_postURL:580 +basic/api/PlugletManager_postURL:581 +basic/api/PlugletManager_postURL:582 +basic/api/PlugletManager_postURL:583 +basic/api/PlugletManager_postURL:584 +basic/api/PlugletManager_postURL:585 +basic/api/PlugletManager_postURL:586 +basic/api/PlugletManager_postURL:587 +basic/api/PlugletManager_postURL:588 +basic/api/PlugletManager_postURL:589 +basic/api/PlugletManager_postURL:590 +basic/api/PlugletManager_postURL:591 +basic/api/PlugletManager_postURL:592 +basic/api/PlugletManager_postURL:593 +basic/api/PlugletManager_postURL:594 +basic/api/PlugletManager_postURL:595 +basic/api/PlugletManager_postURL:596 +basic/api/PlugletManager_postURL:597 +basic/api/PlugletManager_postURL:598 +basic/api/PlugletManager_postURL:599 +basic/api/PlugletManager_postURL:600 +basic/api/PlugletManager_postURL:601 +basic/api/PlugletManager_postURL:602 +basic/api/PlugletManager_postURL:603 +basic/api/PlugletManager_postURL:604 +basic/api/PlugletManager_postURL:605 +basic/api/PlugletManager_postURL:606 +basic/api/PlugletManager_postURL:607 +basic/api/PlugletManager_postURL:608 +basic/api/PlugletManager_postURL:609 +basic/api/PlugletManager_postURL:610 +basic/api/PlugletManager_postURL:611 +basic/api/PlugletManager_postURL:612 +basic/api/PlugletManager_postURL:613 +basic/api/PlugletManager_postURL:614 +basic/api/PlugletManager_postURL:615 +basic/api/PlugletManager_postURL:616 +basic/api/PlugletManager_postURL:617 +basic/api/PlugletManager_postURL:618 +basic/api/PlugletManager_postURL:619 +basic/api/PlugletManager_postURL:620 +basic/api/PlugletManager_postURL:621 +basic/api/PlugletManager_postURL:622 +basic/api/PlugletManager_postURL:623 +basic/api/PlugletManager_postURL:624 +basic/api/PlugletManager_postURL:625 +basic/api/PlugletManager_postURL:626 +basic/api/PlugletManager_postURL:627 +basic/api/PlugletManager_postURL:628 +basic/api/PlugletManager_postURL:629 +basic/api/PlugletManager_postURL:630 +basic/api/PlugletManager_postURL:631 +basic/api/PlugletManager_postURL:632 +basic/api/PlugletManager_postURL:633 +basic/api/PlugletManager_postURL:634 +basic/api/PlugletManager_postURL:635 +basic/api/PlugletManager_postURL:636 +basic/api/PlugletManager_postURL:637 +basic/api/PlugletManager_postURL:638 +basic/api/PlugletManager_postURL:639 +basic/api/PlugletManager_postURL:640 +basic/api/PlugletManager_postURL:641 +basic/api/PlugletManager_postURL:642 +basic/api/PlugletManager_postURL:643 +basic/api/PlugletManager_postURL:644 +basic/api/PlugletManager_postURL:645 +basic/api/PlugletManager_postURL:646 +basic/api/PlugletManager_postURL:647 +basic/api/PlugletManager_postURL:648 +basic/api/PlugletManager_postURL:649 +basic/api/PlugletManager_postURL:650 +basic/api/PlugletManager_postURL:651 +basic/api/PlugletManager_postURL:652 +basic/api/PlugletManager_postURL:653 +basic/api/PlugletManager_postURL:654 +basic/api/PlugletManager_postURL:655 +basic/api/PlugletManager_postURL:656 +basic/api/PlugletManager_postURL:657 +basic/api/PlugletManager_postURL:658 +basic/api/PlugletManager_postURL:659 +basic/api/PlugletManager_postURL:660 +basic/api/PlugletManager_postURL:661 +basic/api/PlugletManager_postURL:662 +basic/api/PlugletManager_postURL:663 +basic/api/PlugletManager_postURL:664 +basic/api/PlugletManager_postURL:665 +basic/api/PlugletManager_postURL:666 +basic/api/PlugletManager_postURL:667 +basic/api/PlugletManager_postURL:668 +basic/api/PlugletManager_postURL:669 +basic/api/PlugletManager_postURL:670 +basic/api/PlugletManager_postURL:671 +basic/api/PlugletManager_postURL:672 +basic/api/PlugletManager_postURL:673 +basic/api/PlugletManager_postURL:674 +basic/api/PlugletManager_postURL:675 +basic/api/PlugletManager_postURL:676 +basic/api/PlugletManager_postURL:677 +basic/api/PlugletManager_postURL:678 +basic/api/PlugletManager_postURL:679 +basic/api/PlugletManager_postURL:680 +basic/api/PlugletManager_postURL:681 +basic/api/PlugletManager_postURL:682 +basic/api/PlugletManager_postURL:683 +basic/api/PlugletManager_postURL:684 +basic/api/PlugletManager_postURL:685 +basic/api/PlugletManager_postURL:686 +basic/api/PlugletManager_postURL:687 +basic/api/PlugletManager_postURL:688 +basic/api/PlugletManager_postURL:689 +basic/api/PlugletManager_postURL:690 +basic/api/PlugletManager_postURL:691 +basic/api/PlugletManager_postURL:692 +basic/api/PlugletManager_postURL:693 +basic/api/PlugletManager_postURL:694 +basic/api/PlugletManager_postURL:695 +basic/api/PlugletManager_postURL:696 +basic/api/PlugletManager_postURL:697 +basic/api/PlugletManager_postURL:698 +basic/api/PlugletManager_postURL:699 +basic/api/PlugletManager_postURL:700 +basic/api/PlugletManager_postURL:701 +basic/api/PlugletManager_postURL:702 +basic/api/PlugletManager_postURL:703 +basic/api/PlugletManager_postURL:704 +basic/api/PlugletManager_postURL:705 +basic/api/PlugletManager_postURL:706 +basic/api/PlugletManager_postURL:707 +basic/api/PlugletManager_postURL:708 +basic/api/PlugletManager_postURL:709 +basic/api/PlugletManager_postURL:710 +basic/api/PlugletManager_postURL:711 +basic/api/PlugletManager_postURL:712 +basic/api/PlugletManager_postURL:713 +basic/api/PlugletManager_postURL:714 +basic/api/PlugletManager_postURL:715 +basic/api/PlugletManager_postURL:716 +basic/api/PlugletManager_postURL:717 +basic/api/PlugletManager_postURL:718 +basic/api/PlugletManager_postURL:719 +basic/api/PlugletManager_postURL:720 +basic/api/PlugletManager_postURL:721 +basic/api/PlugletManager_postURL:722 +basic/api/PlugletManager_postURL:723 +basic/api/PlugletManager_postURL:724 +basic/api/PlugletManager_postURL:725 +basic/api/PlugletManager_postURL:726 +basic/api/PlugletManager_postURL:727 +basic/api/PlugletManager_postURL:728 +basic/api/PlugletManager_postURL:729 +basic/api/PlugletManager_postURL:730 +basic/api/PlugletManager_postURL:731 +basic/api/PlugletManager_postURL:732 +basic/api/PlugletManager_postURL:733 +basic/api/PlugletManager_postURL:734 +basic/api/PlugletManager_postURL:735 +basic/api/PlugletManager_postURL:736 +basic/api/PlugletManager_postURL:737 +basic/api/PlugletManager_postURL:738 +basic/api/PlugletManager_postURL:739 +basic/api/PlugletManager_postURL:740 +basic/api/PlugletManager_postURL:741 +basic/api/PlugletManager_postURL:742 +basic/api/PlugletManager_postURL:743 +basic/api/PlugletManager_postURL:744 +basic/api/PlugletManager_postURL:745 +basic/api/PlugletManager_postURL:746 +basic/api/PlugletManager_postURL:747 +basic/api/PlugletManager_postURL:748 +basic/api/PlugletManager_postURL:749 +basic/api/PlugletManager_postURL:750 +basic/api/PlugletManager_postURL:751 +basic/api/PlugletManager_postURL:752 +basic/api/PlugletManager_postURL:753 +basic/api/PlugletManager_postURL:754 +basic/api/PlugletManager_postURL:755 +basic/api/PlugletManager_postURL:756 +basic/api/PlugletManager_postURL:757 +basic/api/PlugletManager_postURL:758 +basic/api/PlugletManager_postURL:759 +basic/api/PlugletManager_postURL:760 +basic/api/PlugletManager_postURL:761 +basic/api/PlugletManager_postURL:762 +basic/api/PlugletManager_postURL:763 +basic/api/PlugletManager_postURL:764 +basic/api/PlugletManager_postURL:765 +basic/api/PlugletManager_postURL:766 +basic/api/PlugletManager_postURL:767 +basic/api/PlugletManager_postURL:768 +basic/api/PlugletManager_postURL:769 +basic/api/PlugletManager_postURL:770 +basic/api/PlugletManager_postURL:771 +basic/api/PlugletManager_postURL:772 +basic/api/PlugletManager_postURL:773 +basic/api/PlugletManager_postURL:774 +basic/api/PlugletManager_postURL:775 +basic/api/PlugletManager_postURL:776 +basic/api/PlugletManager_postURL:777 +basic/api/PlugletManager_postURL:778 +basic/api/PlugletManager_postURL:779 +basic/api/PlugletManager_postURL:780 +basic/api/PlugletManager_postURL:781 +basic/api/PlugletManager_postURL:782 +basic/api/PlugletManager_postURL:783 +basic/api/PlugletManager_postURL:784 +basic/api/PlugletManager_postURL:785 +basic/api/PlugletManager_postURL:786 +basic/api/PlugletManager_postURL:787 +basic/api/PlugletManager_postURL:788 +basic/api/PlugletManager_postURL:789 +basic/api/PlugletManager_postURL:790 +basic/api/PlugletManager_postURL:791 +basic/api/PlugletManager_postURL:792 +basic/api/PlugletManager_postURL:793 +basic/api/PlugletManager_postURL:794 +basic/api/PlugletManager_postURL:795 +basic/api/PlugletManager_postURL:796 +basic/api/PlugletManager_postURL:797 +basic/api/PlugletManager_postURL:798 +basic/api/PlugletManager_postURL:799 +basic/api/PlugletManager_postURL:800 +basic/api/PlugletManager_postURL:801 +basic/api/PlugletManager_postURL:802 +basic/api/PlugletManager_postURL:803 +basic/api/PlugletManager_postURL:804 +basic/api/PlugletManager_postURL:805 +basic/api/PlugletManager_postURL:806 +basic/api/PlugletManager_postURL:807 +basic/api/PlugletManager_postURL:808 +basic/api/PlugletManager_postURL:809 +basic/api/PlugletManager_postURL:810 +basic/api/PlugletManager_postURL:811 +basic/api/PlugletManager_postURL:812 +basic/api/PlugletManager_postURL:813 +basic/api/PlugletManager_postURL:814 +basic/api/PlugletManager_postURL:815 +basic/api/PlugletManager_postURL:816 +basic/api/PlugletManager_postURL:817 +basic/api/PlugletManager_postURL:818 +basic/api/PlugletManager_postURL:819 +basic/api/PlugletManager_postURL:820 +basic/api/PlugletManager_postURL:821 +basic/api/PlugletManager_postURL:822 +basic/api/PlugletManager_postURL:823 +basic/api/PlugletManager_postURL:824 +basic/api/PlugletManager_postURL:825 +basic/api/PlugletManager_postURL:826 +basic/api/PlugletManager_postURL:827 +basic/api/PlugletManager_postURL:828 +basic/api/PlugletManager_postURL:829 +basic/api/PlugletManager_postURL:830 +basic/api/PlugletManager_postURL:831 +basic/api/PlugletManager_postURL:832 +basic/api/PlugletManager_postURL:833 +basic/api/PlugletManager_postURL:834 +basic/api/PlugletManager_postURL:835 +basic/api/PlugletManager_postURL:836 +basic/api/PlugletManager_postURL:837 +basic/api/PlugletManager_postURL:838 +basic/api/PlugletManager_postURL:839 +basic/api/PlugletManager_postURL:840 +basic/api/PlugletManager_postURL:841 +basic/api/PlugletManager_postURL:842 +basic/api/PlugletManager_postURL:843 +basic/api/PlugletManager_postURL:844 +basic/api/PlugletManager_postURL:845 +basic/api/PlugletManager_postURL:846 +basic/api/PlugletManager_postURL:847 +basic/api/PlugletManager_postURL:848 +basic/api/PlugletManager_postURL:849 +basic/api/PlugletManager_postURL:850 +basic/api/PlugletManager_postURL:851 +basic/api/PlugletManager_postURL:852 +basic/api/PlugletManager_postURL:853 +basic/api/PlugletManager_postURL:854 +basic/api/PlugletManager_postURL:855 +basic/api/PlugletManager_postURL:856 +basic/api/PlugletManager_postURL:857 +basic/api/PlugletManager_postURL:858 +basic/api/PlugletManager_postURL:859 +basic/api/PlugletManager_postURL:860 +basic/api/PlugletManager_postURL:861 +basic/api/PlugletManager_postURL:862 +basic/api/PlugletManager_postURL:863 +basic/api/PlugletManager_postURL:864 +basic/api/PlugletManager_postURL:865 +basic/api/PlugletManager_postURL:866 +basic/api/PlugletManager_postURL:867 +basic/api/PlugletManager_postURL:868 +basic/api/PlugletManager_postURL:869 +basic/api/PlugletManager_postURL:870 +basic/api/PlugletManager_postURL:871 +basic/api/PlugletManager_postURL:872 +basic/api/PlugletManager_postURL:873 +basic/api/PlugletManager_postURL:874 +basic/api/PlugletManager_postURL:875 +basic/api/PlugletManager_postURL:876 +basic/api/PlugletManager_postURL:877 +basic/api/PlugletManager_postURL:878 +basic/api/PlugletManager_postURL:879 +basic/api/PlugletManager_postURL:880 +basic/api/PlugletManager_postURL:881 +basic/api/PlugletManager_postURL:882 +basic/api/PlugletManager_postURL:883 +basic/api/PlugletManager_postURL:884 +basic/api/PlugletManager_postURL:885 +basic/api/PlugletManager_postURL:886 +basic/api/PlugletManager_postURL:887 +basic/api/PlugletManager_postURL:888 +basic/api/PlugletManager_postURL:889 +basic/api/PlugletManager_postURL:890 +basic/api/PlugletManager_postURL:891 +basic/api/PlugletManager_postURL:892 +basic/api/PlugletManager_postURL:893 +basic/api/PlugletManager_postURL:894 +basic/api/PlugletManager_postURL:895 +basic/api/PlugletManager_postURL:896 +basic/api/PlugletManager_postURL:897 +basic/api/PlugletManager_postURL:898 +basic/api/PlugletManager_postURL:899 +basic/api/PlugletManager_postURL:900 +basic/api/PlugletManager_postURL:901 +basic/api/PlugletManager_postURL:902 +basic/api/PlugletManager_postURL:903 +basic/api/PlugletManager_postURL:904 +basic/api/PlugletManager_postURL:905 +basic/api/PlugletManager_postURL:906 +basic/api/PlugletManager_postURL:907 +basic/api/PlugletManager_postURL:908 +basic/api/PlugletManager_postURL:909 +basic/api/PlugletManager_postURL:910 +basic/api/PlugletManager_postURL:911 +basic/api/PlugletManager_postURL:912 +basic/api/PlugletManager_postURL:913 +basic/api/PlugletManager_postURL:914 +basic/api/PlugletManager_postURL:915 +basic/api/PlugletManager_postURL:916 +basic/api/PlugletManager_postURL:917 +basic/api/PlugletManager_postURL:918 +basic/api/PlugletManager_postURL:919 +basic/api/PlugletManager_postURL:920 +basic/api/PlugletManager_postURL:921 +basic/api/PlugletManager_postURL:922 +basic/api/PlugletManager_postURL:923 +basic/api/PlugletManager_postURL:924 +basic/api/PlugletManager_postURL:925 +basic/api/PlugletManager_postURL:926 +basic/api/PlugletManager_postURL:927 +basic/api/PlugletManager_postURL:928 +basic/api/PlugletManager_postURL:929 +basic/api/PlugletManager_postURL:930 +basic/api/PlugletManager_postURL:931 +basic/api/PlugletManager_postURL:932 +basic/api/PlugletManager_postURL:933 +basic/api/PlugletManager_postURL:934 +basic/api/PlugletManager_postURL:935 +basic/api/PlugletManager_postURL:936 +basic/api/PlugletManager_postURL:937 +basic/api/PlugletManager_postURL:938 +basic/api/PlugletManager_postURL:939 +basic/api/PlugletManager_postURL:940 +basic/api/PlugletManager_postURL:941 +basic/api/PlugletManager_postURL:942 +basic/api/PlugletManager_postURL:943 +basic/api/PlugletManager_postURL:944 +basic/api/PlugletManager_postURL:945 +basic/api/PlugletManager_postURL:946 +basic/api/PlugletManager_postURL:947 +basic/api/PlugletManager_postURL:948 +basic/api/PlugletManager_postURL:949 +basic/api/PlugletManager_postURL:950 +basic/api/PlugletManager_postURL:951 +basic/api/PlugletManager_postURL:952 +basic/api/PlugletManager_postURL:953 +basic/api/PlugletManager_postURL:954 +basic/api/PlugletManager_postURL:955 +basic/api/PlugletManager_postURL:956 +basic/api/PlugletManager_postURL:957 +basic/api/PlugletManager_postURL:958 +basic/api/PlugletManager_postURL:959 +basic/api/PlugletManager_postURL:960 +basic/api/PlugletManager_postURL:961 +basic/api/PlugletManager_postURL:962 +basic/api/PlugletManager_postURL:963 +basic/api/PlugletManager_postURL:964 +basic/api/PlugletManager_postURL:965 +basic/api/PlugletManager_postURL:966 +basic/api/PlugletManager_postURL:967 +basic/api/PlugletManager_postURL:968 +basic/api/PlugletManager_postURL:969 +basic/api/PlugletManager_postURL:970 +basic/api/PlugletManager_postURL:971 +basic/api/PlugletManager_postURL:972 +basic/api/PlugletManager_postURL:973 +basic/api/PlugletManager_postURL:974 +basic/api/PlugletManager_postURL:975 +basic/api/PlugletManager_postURL:976 +basic/api/PlugletManager_postURL:977 +basic/api/PlugletManager_postURL:978 +basic/api/PlugletManager_postURL:979 +basic/api/PlugletManager_postURL:980 +basic/api/PlugletManager_postURL:981 +basic/api/PlugletManager_postURL:982 +basic/api/PlugletManager_postURL:983 +basic/api/PlugletManager_postURL:984 +basic/api/PlugletManager_postURL:985 +basic/api/PlugletManager_postURL:986 +basic/api/PlugletManager_postURL:987 +basic/api/PlugletManager_postURL:988 +basic/api/PlugletManager_postURL:989 +basic/api/PlugletManager_postURL:990 +basic/api/PlugletManager_postURL:991 +basic/api/PlugletManager_postURL:992 +basic/api/PlugletManager_postURL:993 +basic/api/PlugletManager_postURL:994 +basic/api/PlugletManager_postURL:995 +basic/api/PlugletManager_postURL:996 +basic/api/PlugletManager_postURL:997 +basic/api/PlugletManager_postURL:998 +basic/api/PlugletManager_postURL:999 +basic/api/PlugletManager_postURL:1000 +basic/api/PlugletManager_postURL:1001 +basic/api/PlugletManager_postURL:1002 +basic/api/PlugletManager_postURL:1003 +basic/api/PlugletManager_postURL:1004 +basic/api/PlugletManager_postURL:1005 +basic/api/PlugletManager_postURL:1006 +basic/api/PlugletManager_postURL:1007 +basic/api/PlugletManager_postURL:1008 +basic/api/PlugletManager_postURL:1009 +basic/api/PlugletManager_postURL:1010 +basic/api/PlugletManager_postURL:1011 +basic/api/PlugletManager_postURL:1012 +basic/api/PlugletManager_postURL:1013 +basic/api/PlugletManager_postURL:1014 +basic/api/PlugletManager_postURL:1015 +basic/api/PlugletManager_postURL:1016 +basic/api/PlugletManager_postURL:1017 +basic/api/PlugletManager_postURL:1018 +basic/api/PlugletManager_postURL:1019 +basic/api/PlugletManager_postURL:1020 +basic/api/PlugletManager_postURL:1021 +basic/api/PlugletManager_postURL:1022 +basic/api/PlugletManager_postURL:1023 +basic/api/PlugletManager_postURL:1024 +basic/api/PlugletManager_postURL:1025 +basic/api/PlugletManager_postURL:1026 +basic/api/PlugletManager_postURL:1027 +basic/api/PlugletManager_postURL:1028 +basic/api/PlugletManager_postURL:1029 +basic/api/PlugletManager_postURL:1030 +basic/api/PlugletManager_postURL:1031 +basic/api/PlugletManager_postURL:1032 +basic/api/PlugletManager_postURL:1033 +basic/api/PlugletManager_postURL:1034 +basic/api/PlugletManager_postURL:1035 +basic/api/PlugletManager_postURL:1036 +basic/api/PlugletManager_postURL:1037 +basic/api/PlugletManager_postURL:1038 +basic/api/PlugletManager_postURL:1039 +basic/api/PlugletManager_postURL:1040 +basic/api/PlugletManager_postURL:1041 +basic/api/PlugletManager_postURL:1042 +basic/api/PlugletManager_postURL:1043 +basic/api/PlugletManager_postURL:1044 +basic/api/PlugletManager_postURL:1045 +basic/api/PlugletManager_postURL:1046 +basic/api/PlugletManager_postURL:1047 +basic/api/PlugletManager_postURL:1048 +basic/api/PlugletManager_postURL:1049 +basic/api/PlugletManager_postURL:1050 +basic/api/PlugletManager_postURL:1051 +basic/api/PlugletManager_postURL:1052 +basic/api/PlugletManager_postURL:1053 +basic/api/PlugletManager_postURL:1054 +basic/api/PlugletManager_postURL:1055 +basic/api/PlugletManager_postURL:1056 +basic/api/PlugletManager_postURL:1057 +basic/api/PlugletManager_postURL:1058 +basic/api/PlugletManager_postURL:1059 +basic/api/PlugletManager_postURL:1060 +basic/api/PlugletManager_postURL:1061 +basic/api/PlugletManager_postURL:1062 +basic/api/PlugletManager_postURL:1063 +basic/api/PlugletManager_postURL:1064 +basic/api/PlugletManager_postURL:1065 +basic/api/PlugletManager_postURL:1066 +basic/api/PlugletManager_postURL:1067 +basic/api/PlugletManager_postURL:1068 +basic/api/PlugletManager_postURL:1069 +basic/api/PlugletManager_postURL:1070 +basic/api/PlugletManager_postURL:1071 +basic/api/PlugletManager_postURL:1072 +basic/api/PlugletManager_postURL:1073 +basic/api/PlugletManager_postURL:1074 +basic/api/PlugletManager_postURL:1075 +basic/api/PlugletManager_postURL:1076 +basic/api/PlugletManager_postURL:1077 +basic/api/PlugletManager_postURL:1078 +basic/api/PlugletManager_postURL:1079 +basic/api/PlugletManager_postURL:1080 +basic/api/PlugletManager_postURL:1081 +basic/api/PlugletManager_postURL:1082 +basic/api/PlugletManager_postURL:1083 +basic/api/PlugletManager_postURL:1084 +basic/api/PlugletManager_postURL:1085 +basic/api/PlugletManager_postURL:1086 +basic/api/PlugletManager_postURL:1087 +basic/api/PlugletManager_postURL:1088 +basic/api/PlugletManager_postURL:1089 +basic/api/PlugletManager_postURL:1090 +basic/api/PlugletManager_postURL:1091 +basic/api/PlugletManager_postURL:1092 +basic/api/PlugletManager_postURL:1093 +basic/api/PlugletManager_postURL:1094 +basic/api/PlugletManager_postURL:1095 +basic/api/PlugletManager_postURL:1096 +basic/api/PlugletManager_postURL:1097 +basic/api/PlugletManager_postURL:1098 +basic/api/PlugletManager_postURL:1099 +basic/api/PlugletManager_postURL:1100 +basic/api/PlugletManager_postURL:1101 +basic/api/PlugletManager_postURL:1102 +basic/api/PlugletManager_postURL:1103 +basic/api/PlugletManager_postURL:1104 +basic/api/PlugletManager_postURL:1105 +basic/api/PlugletManager_postURL:1106 +basic/api/PlugletManager_postURL:1107 +basic/api/PlugletManager_postURL:1108 +basic/api/PlugletManager_postURL:1109 +basic/api/PlugletManager_postURL:1110 +basic/api/PlugletManager_postURL:1111 +basic/api/PlugletManager_postURL:1112 +basic/api/PlugletManager_postURL:1113 +basic/api/PlugletManager_postURL:1114 +basic/api/PlugletManager_postURL:1115 +basic/api/PlugletManager_postURL:1116 +basic/api/PlugletManager_postURL:1117 +basic/api/PlugletManager_postURL:1118 +basic/api/PlugletManager_postURL:1119 +basic/api/PlugletManager_postURL:1120 +basic/api/PlugletManager_postURL:1121 +basic/api/PlugletManager_postURL:1122 +basic/api/PlugletManager_postURL:1123 +basic/api/PlugletManager_postURL:1124 +basic/api/PlugletManager_postURL:1125 +basic/api/PlugletManager_postURL:1126 +basic/api/PlugletManager_postURL:1127 +basic/api/PlugletManager_postURL:1128 +basic/api/PlugletManager_postURL:1129 +basic/api/PlugletManager_postURL:1130 +basic/api/PlugletManager_postURL:1131 +basic/api/PlugletManager_postURL:1132 +basic/api/PlugletManager_postURL:1133 +basic/api/PlugletManager_postURL:1134 +basic/api/PlugletManager_postURL:1135 +basic/api/PlugletManager_postURL:1136 +basic/api/PlugletManager_postURL:1137 +basic/api/PlugletManager_postURL:1138 +basic/api/PlugletManager_postURL:1139 +basic/api/PlugletManager_postURL:1140 +basic/api/PlugletManager_postURL:1141 +basic/api/PlugletManager_postURL:1142 +basic/api/PlugletManager_postURL:1143 +basic/api/PlugletManager_postURL:1144 +basic/api/PlugletManager_postURL:1145 +basic/api/PlugletManager_postURL:1146 +basic/api/PlugletManager_postURL:1147 +basic/api/PlugletManager_postURL:1148 +basic/api/PlugletManager_postURL:1149 +basic/api/PlugletManager_postURL:1150 +basic/api/PlugletManager_postURL:1151 +basic/api/PlugletManager_postURL:1152 +basic/api/PlugletManager_postURL:1153 +basic/api/PlugletManager_postURL:1154 +basic/api/PlugletManager_postURL:1155 +basic/api/PlugletManager_postURL:1156 +basic/api/PlugletManager_postURL:1157 +basic/api/PlugletManager_postURL:1158 +basic/api/PlugletManager_postURL:1159 +basic/api/PlugletManager_postURL:1160 +basic/api/PlugletManager_postURL:1161 +basic/api/PlugletManager_postURL:1162 +basic/api/PlugletManager_postURL:1163 +basic/api/PlugletManager_postURL:1164 +basic/api/PlugletManager_postURL:1165 +basic/api/PlugletManager_postURL:1166 +basic/api/PlugletManager_postURL:1167 +basic/api/PlugletManager_postURL:1168 +basic/api/PlugletManager_postURL:1169 +basic/api/PlugletManager_postURL:1170 +basic/api/PlugletManager_postURL:1171 +basic/api/PlugletManager_postURL:1172 +basic/api/PlugletManager_postURL:1173 +basic/api/PlugletManager_postURL:1174 +basic/api/PlugletManager_postURL:1175 +basic/api/PlugletManager_postURL:1176 +basic/api/PlugletManager_postURL:1177 +basic/api/PlugletManager_postURL:1178 +basic/api/PlugletManager_postURL:1179 +basic/api/PlugletManager_postURL:1180 +basic/api/PlugletManager_postURL:1181 +basic/api/PlugletManager_postURL:1182 +basic/api/PlugletManager_postURL:1183 +basic/api/PlugletManager_postURL:1184 +basic/api/PlugletManager_postURL:1185 +basic/api/PlugletManager_postURL:1186 +basic/api/PlugletManager_postURL:1187 +basic/api/PlugletManager_postURL:1188 +basic/api/PlugletManager_postURL:1189 +basic/api/PlugletManager_postURL:1190 +basic/api/PlugletManager_postURL:1191 +basic/api/PlugletManager_postURL:1192 +basic/api/PlugletManager_postURL:1193 +basic/api/PlugletManager_postURL:1194 +basic/api/PlugletManager_postURL:1195 +basic/api/PlugletManager_postURL:1196 +basic/api/PlugletManager_postURL:1197 +basic/api/PlugletManager_postURL:1198 +basic/api/PlugletManager_postURL:1199 +basic/api/PlugletPeer_newStream_0:0 +basic/api/PlugletPeer_newStream_0:1 +basic/api/PlugletPeer_newStream_0:2 +basic/api/PlugletPeer_newStream_0:3 +basic/api/PlugletPeer_newStream_0:4 +basic/api/PlugletPeer_newStream_0:5 +basic/api/PlugletPeer_newStream_0:6 +basic/api/PlugletPeer_newStream_0:7 +basic/api/PlugletPeer_newStream_0:8 +basic/api/PlugletPeer_newStream_0:9 +basic/api/PlugletPeer_newStream_0:10 +basic/api/PlugletPeer_newStream_0:11 +basic/api/PlugletPeer_newStream_0:12 +basic/api/PlugletPeer_newStream_0:13 +basic/api/PlugletPeer_newStream_0:14 +basic/api/PlugletPeer_newStream_0:15 +basic/api/PlugletPeer_newStream_0:16 +basic/api/PlugletPeer_newStream_0:17 +basic/api/PlugletPeer_newStream_0:18 +basic/api/PlugletPeer_newStream_0:19 +basic/api/PlugletPeer_newStream_0:20 +basic/api/PlugletPeer_newStream_0:21 +basic/api/PlugletPeer_newStream_0:22 +basic/api/PlugletPeer_newStream_0:23 +basic/api/PlugletPeer_newStream_0:24 +basic/api/PlugletPeer_newStream_0:25 +basic/api/PlugletPeer_newStream_0:26 +basic/api/PlugletPeer_newStream_0:27 +basic/api/PlugletPeer_newStream_0:28 +basic/api/PlugletPeer_newStream_0:29 +basic/api/PlugletPeer_newStream_0:30 +basic/api/PlugletPeer_newStream_0:31 +basic/api/PlugletPeer_newStream_0:32 +basic/api/PlugletPeer_newStream_0:33 +basic/api/PlugletPeer_newStream_0:34 +basic/api/PlugletPeer_newStream_0:35 +basic/api/PlugletPeer_newStream_0:36 +basic/api/PlugletPeer_newStream_0:37 +basic/api/PlugletPeer_newStream_0:38 +basic/api/PlugletPeer_newStream_0:39 +basic/api/PlugletPeer_newStream_0:40 +basic/api/PlugletPeer_newStream_0:41 +basic/api/PlugletPeer_newStream_0:42 +basic/api/PlugletPeer_newStream_0:43 +basic/api/PlugletPeer_newStream_0:44 +basic/api/PlugletPeer_newStream_1:0 +basic/api/PlugletPeer_newStream_1:1 +basic/api/PlugletPeer_newStream_1:2 +basic/api/PlugletPeer_newStream_1:3 +basic/api/PlugletPeer_newStream_1:4 +basic/api/PlugletPeer_newStream_1:5 diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Makefile new file mode 100644 index 00000000000..230031e3927 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Makefile @@ -0,0 +1,62 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +DEPTH=../../../../../.. +BUILD_DIR=$(DEPTH)/build +BUILD_DIR_CLASSES=$(BUILD_DIR)/classes +JAVAC=javac +BASIC_PATH=org/mozilla/pluglet/test/basic +CLASSPATH=$(MOZILLA_FIVE_HOME)/../classes:$(BUILD_DIR_CLASSES) + +TEST_DIRS=api params security returns scenario + +all: basic tests + +tests: + @if [ -z $(HTML_ROOT_DIR) ] ; then \ + echo "======================================"; \ + echo "Error. You MUST specify \$HTML_ROOT_DIR"; \ + echo "variable for make in test dirs."; \ + echo "======================================"; \ + exit -1; \ + fi + @for i in $(TEST_DIRS) ;do \ + cd $$i;$(MAKE) $(MAKE_ARGS); cd ..;\ + done + +basic: classes TestLoaderPluglet.jar + +classes: + @echo "Building .basic classes ..." + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done +#$(JDKHOME)/bin/jar cfm + +TestLoaderPluglet.jar: classes add_files + @cd $(BUILD_DIR_CLASSES);$(JDKHOME)/bin/jar cfm \ + $(BASIC_PATH)/TestLoaderPluglet.jar \ + $(BASIC_PATH)/manifest \ + $(BASIC_PATH)/*.class +add_files: + @cp -f manifest $(BUILD_DIR_CLASSES)/$(BASIC_PATH) + +clobber: + @cd $(BUILD_DIR_CLASSES)/$(BASIC_PATH);rm -f *.class *.jar manifest + @$(MAKE) tests MAKE_ARGS=$@ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/NS.list b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/NS.list new file mode 100644 index 00000000000..54fa2b50086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/NS.list @@ -0,0 +1,1550 @@ +basic/api/PlugletPeer_newStream_0:23 +basic/api/PlugletPeer_newStream_0:24 +basic/api/PlugletPeer_newStream_0:25 +basic/api/PlugletPeer_newStream_0:26 +basic/api/PlugletPeer_newStream_0:27 +basic/api/PlugletPeer_newStream_0:28 +basic/api/PlugletPeer_newStream_0:29 +basic/api/PlugletPeer_newStream_0:30 +basic/api/PlugletPeer_newStream_0:31 +basic/api/PlugletPeer_newStream_0:32 +basic/api/PlugletPeer_newStream_0:33 +basic/api/PlugletPeer_newStream_0:34 +basic/api/PlugletPeer_newStream_0:35 +basic/api/PlugletPeer_newStream_0:36 +basic/api/PlugletPeer_newStream_0:37 +basic/api/PlugletPeer_newStream_0:38 +basic/api/PlugletPeer_newStream_0:39 +basic/api/PlugletPeer_newStream_0:40 +basic/api/PlugletPeer_newStream_0:41 +basic/api/PlugletPeer_newStream_0:42 +basic/api/PlugletPeer_newStream_0:43 +basic/api/PlugletPeer_newStream_0:44 +basic/api/PlugletPeer_newStream_1:0 +basic/api/PlugletPeer_newStream_1:1 +basic/api/PlugletPeer_newStream_1:2 +basic/api/PlugletPeer_newStream_1:3 +basic/api/PlugletPeer_newStream_1:4 +basic/api/PlugletPeer_newStream_1:5 +basic/api/PlugletPeer_setWindowSize:0 +basic/api/PlugletPeer_setWindowSize:1 +basic/api/PlugletPeer_setWindowSize:2 +basic/api/PlugletPeer_setWindowSize:3 +basic/api/PlugletPeer_setWindowSize:4 +basic/api/PlugletPeer_setWindowSize:5 +basic/api/PlugletPeer_setWindowSize:6 +basic/api/PlugletPeer_showStatus:0 +basic/api/PlugletPeer_showStatus:1 +basic/api/PlugletPeer_getTagInfo +basic/api/PlugletManager_getURL:0 +basic/api/PlugletManager_getURL:1 +basic/api/PlugletManager_getURL:2 +basic/api/PlugletManager_getURL:3 +basic/api/PlugletManager_getURL:4 +basic/api/PlugletManager_getURL:5 +basic/api/PlugletManager_getURL:6 +basic/api/PlugletManager_getURL:7 +basic/api/PlugletManager_getURL:8 +basic/api/PlugletManager_getURL:9 +basic/api/PlugletManager_getURL:10 +basic/api/PlugletManager_getURL:11 +basic/api/PlugletManager_getURL:12 +basic/api/PlugletManager_getURL:13 +basic/api/PlugletManager_getURL:14 +basic/api/PlugletManager_getURL:15 +basic/api/PlugletManager_getURL:16 +basic/api/PlugletManager_getURL:17 +basic/api/PlugletManager_getURL:18 +basic/api/PlugletManager_getURL:19 +basic/api/PlugletManager_getURL:20 +basic/api/PlugletManager_getURL:21 +basic/api/PlugletManager_getURL:22 +basic/api/PlugletManager_getURL:23 +basic/api/PlugletManager_getURL:24 +basic/api/PlugletManager_getURL:25 +basic/api/PlugletManager_getURL:26 +basic/api/PlugletManager_getURL:27 +basic/api/PlugletManager_getURL:28 +basic/api/PlugletManager_getURL:29 +basic/api/PlugletManager_getURL:30 +basic/api/PlugletManager_getURL:31 +basic/api/PlugletManager_getURL:32 +basic/api/PlugletManager_getURL:33 +basic/api/PlugletManager_getURL:34 +basic/api/PlugletManager_getURL:35 +basic/api/PlugletManager_getURL:36 +basic/api/PlugletManager_getURL:37 +basic/api/PlugletManager_getURL:38 +basic/api/PlugletManager_getURL:39 +basic/api/PlugletManager_getURL:40 +basic/api/PlugletManager_getURL:41 +basic/api/PlugletManager_getURL:42 +basic/api/PlugletManager_getURL:43 +basic/api/PlugletManager_getURL:44 +basic/api/PlugletManager_getURL:45 +basic/api/PlugletManager_getURL:46 +basic/api/PlugletManager_getURL:47 +basic/api/PlugletManager_getURL:48 +basic/api/PlugletManager_getURL:49 +basic/api/PlugletManager_getURL:50 +basic/api/PlugletManager_getURL:51 +basic/api/PlugletManager_getURL:52 +basic/api/PlugletManager_getURL:53 +basic/api/PlugletManager_getURL:54 +basic/api/PlugletManager_getURL:55 +basic/api/PlugletManager_getURL:56 +basic/api/PlugletManager_getURL:57 +basic/api/PlugletManager_getURL:58 +basic/api/PlugletManager_getURL:59 +basic/api/PlugletManager_getURL:60 +basic/api/PlugletManager_getURL:61 +basic/api/PlugletManager_getURL:62 +basic/api/PlugletManager_getURL:63 +basic/api/PlugletManager_getURL:64 +basic/api/PlugletManager_getURL:65 +basic/api/PlugletManager_getURL:66 +basic/api/PlugletManager_getURL:67 +basic/api/PlugletManager_getURL:68 +basic/api/PlugletManager_getURL:69 +basic/api/PlugletManager_getURL:70 +basic/api/PlugletManager_getURL:71 +basic/api/PlugletManager_getURL:72 +basic/api/PlugletManager_getURL:73 +basic/api/PlugletManager_getURL:74 +basic/api/PlugletManager_getURL:75 +basic/api/PlugletManager_getURL:76 +basic/api/PlugletManager_getURL:77 +basic/api/PlugletManager_getURL:78 +basic/api/PlugletManager_getURL:79 +basic/api/PlugletManager_getURL:80 +basic/api/PlugletManager_getURL:81 +basic/api/PlugletManager_getURL:82 +basic/api/PlugletManager_getURL:83 +basic/api/PlugletManager_getURL:84 +basic/api/PlugletManager_getURL:85 +basic/api/PlugletManager_getURL:86 +basic/api/PlugletManager_getURL:87 +basic/api/PlugletManager_getURL:88 +basic/api/PlugletManager_getURL:89 +basic/api/PlugletManager_getURL:90 +basic/api/PlugletManager_getURL:91 +basic/api/PlugletManager_getURL:92 +basic/api/PlugletManager_getURL:93 +basic/api/PlugletManager_getURL:94 +basic/api/PlugletManager_getURL:95 +basic/api/PlugletManager_getURL:96 +basic/api/PlugletManager_getURL:97 +basic/api/PlugletManager_getURL:98 +basic/api/PlugletManager_getURL:99 +basic/api/PlugletManager_getURL:100 +basic/api/PlugletManager_getURL:101 +basic/api/PlugletManager_getURL:102 +basic/api/PlugletManager_getURL:103 +basic/api/PlugletManager_getURL:104 +basic/api/PlugletManager_getURL:105 +basic/api/PlugletManager_getURL:106 +basic/api/PlugletManager_getURL:107 +basic/api/PlugletManager_getURL:108 +basic/api/PlugletManager_getURL:109 +basic/api/PlugletManager_getURL:110 +basic/api/PlugletManager_getURL:111 +basic/api/PlugletManager_getURL:112 +basic/api/PlugletManager_getURL:113 +basic/api/PlugletManager_getURL:114 +basic/api/PlugletManager_getURL:115 +basic/api/PlugletManager_getURL:116 +basic/api/PlugletManager_getURL:117 +basic/api/PlugletManager_getURL:118 +basic/api/PlugletManager_getURL:119 +basic/api/PlugletManager_getURL:120 +basic/api/PlugletManager_getURL:121 +basic/api/PlugletManager_getURL:122 +basic/api/PlugletManager_getURL:123 +basic/api/PlugletManager_getURL:124 +basic/api/PlugletManager_getURL:125 +basic/api/PlugletManager_getURL:126 +basic/api/PlugletManager_getURL:127 +basic/api/PlugletManager_getURL:128 +basic/api/PlugletManager_getURL:129 +basic/api/PlugletManager_getURL:130 +basic/api/PlugletManager_getURL:131 +basic/api/PlugletManager_getURL:132 +basic/api/PlugletManager_getURL:133 +basic/api/PlugletManager_getURL:134 +basic/api/PlugletManager_getURL:135 +basic/api/PlugletManager_getURL:136 +basic/api/PlugletManager_getURL:137 +basic/api/PlugletManager_getURL:138 +basic/api/PlugletManager_getURL:139 +basic/api/PlugletManager_getURL:140 +basic/api/PlugletManager_getURL:141 +basic/api/PlugletManager_getURL:142 +basic/api/PlugletManager_getURL:143 +basic/api/PlugletManager_getURL:144 +basic/api/PlugletManager_getURL:145 +basic/api/PlugletManager_getURL:146 +basic/api/PlugletManager_getURL:147 +basic/api/PlugletManager_getURL:148 +basic/api/PlugletManager_getURL:149 +basic/api/PlugletManager_getURL:150 +basic/api/PlugletManager_getURL:151 +basic/api/PlugletManager_getURL:152 +basic/api/PlugletManager_getURL:153 +basic/api/PlugletManager_getURL:154 +basic/api/PlugletManager_getURL:155 +basic/api/PlugletManager_getURL:156 +basic/api/PlugletManager_getURL:157 +basic/api/PlugletManager_getURL:158 +basic/api/PlugletManager_getURL:159 +basic/api/PlugletManager_getURL:160 +basic/api/PlugletManager_getURL:161 +basic/api/PlugletManager_getURL:162 +basic/api/PlugletManager_getURL:163 +basic/api/PlugletManager_getURL:164 +basic/api/PlugletManager_getURL:165 +basic/api/PlugletManager_getURL:166 +basic/api/PlugletManager_getURL:167 +basic/api/PlugletManager_getURL:168 +basic/api/PlugletManager_getURL:169 +basic/api/PlugletManager_getURL:170 +basic/api/PlugletManager_getURL:171 +basic/api/PlugletManager_getURL:172 +basic/api/PlugletManager_getURL:173 +basic/api/PlugletManager_getURL:174 +basic/api/PlugletManager_getURL:175 +basic/api/PlugletManager_getURL:176 +basic/api/PlugletManager_getURL:177 +basic/api/PlugletManager_getURL:178 +basic/api/PlugletManager_getURL:179 +basic/api/PlugletManager_getURL:180 +basic/api/PlugletManager_getURL:181 +basic/api/PlugletManager_getURL:182 +basic/api/PlugletManager_getURL:183 +basic/api/PlugletManager_postURL:0 +basic/api/PlugletManager_postURL:1 +basic/api/PlugletManager_postURL:2 +basic/api/PlugletManager_postURL:3 +basic/api/PlugletManager_postURL:4 +basic/api/PlugletManager_postURL:5 +basic/api/PlugletManager_postURL:6 +basic/api/PlugletManager_postURL:7 +basic/api/PlugletManager_postURL:8 +basic/api/PlugletManager_postURL:9 +basic/api/PlugletManager_postURL:10 +basic/api/PlugletManager_postURL:11 +basic/api/PlugletManager_postURL:12 +basic/api/PlugletManager_postURL:13 +basic/api/PlugletManager_postURL:14 +basic/api/PlugletManager_postURL:15 +basic/api/PlugletManager_postURL:16 +basic/api/PlugletManager_postURL:17 +basic/api/PlugletManager_postURL:18 +basic/api/PlugletManager_postURL:19 +basic/api/PlugletManager_postURL:20 +basic/api/PlugletManager_postURL:21 +basic/api/PlugletManager_postURL:22 +basic/api/PlugletManager_postURL:23 +basic/api/PlugletManager_postURL:24 +basic/api/PlugletManager_postURL:25 +basic/api/PlugletManager_postURL:26 +basic/api/PlugletManager_postURL:27 +basic/api/PlugletManager_postURL:28 +basic/api/PlugletManager_postURL:29 +basic/api/PlugletManager_postURL:30 +basic/api/PlugletManager_postURL:31 +basic/api/PlugletManager_postURL:32 +basic/api/PlugletManager_postURL:33 +basic/api/PlugletManager_postURL:34 +basic/api/PlugletManager_postURL:35 +basic/api/PlugletManager_postURL:36 +basic/api/PlugletManager_postURL:37 +basic/api/PlugletManager_postURL:38 +basic/api/PlugletManager_postURL:39 +basic/api/PlugletManager_postURL:40 +basic/api/PlugletManager_postURL:41 +basic/api/PlugletManager_postURL:42 +basic/api/PlugletManager_postURL:43 +basic/api/PlugletManager_postURL:44 +basic/api/PlugletManager_postURL:45 +basic/api/PlugletManager_postURL:46 +basic/api/PlugletManager_postURL:47 +basic/api/PlugletManager_postURL:48 +basic/api/PlugletManager_postURL:49 +basic/api/PlugletManager_postURL:50 +basic/api/PlugletManager_postURL:51 +basic/api/PlugletManager_postURL:52 +basic/api/PlugletManager_postURL:53 +basic/api/PlugletManager_postURL:54 +basic/api/PlugletManager_postURL:55 +basic/api/PlugletManager_postURL:56 +basic/api/PlugletManager_postURL:57 +basic/api/PlugletManager_postURL:58 +basic/api/PlugletManager_postURL:59 +basic/api/PlugletManager_postURL:60 +basic/api/PlugletManager_postURL:61 +basic/api/PlugletManager_postURL:62 +basic/api/PlugletManager_postURL:63 +basic/api/PlugletManager_postURL:64 +basic/api/PlugletManager_postURL:65 +basic/api/PlugletManager_postURL:66 +basic/api/PlugletManager_postURL:67 +basic/api/PlugletManager_postURL:68 +basic/api/PlugletManager_postURL:69 +basic/api/PlugletManager_postURL:70 +basic/api/PlugletManager_postURL:71 +basic/api/PlugletManager_postURL:72 +basic/api/PlugletManager_postURL:73 +basic/api/PlugletManager_postURL:74 +basic/api/PlugletManager_postURL:75 +basic/api/PlugletManager_postURL:76 +basic/api/PlugletManager_postURL:77 +basic/api/PlugletManager_postURL:78 +basic/api/PlugletManager_postURL:79 +basic/api/PlugletManager_postURL:80 +basic/api/PlugletManager_postURL:81 +basic/api/PlugletManager_postURL:82 +basic/api/PlugletManager_postURL:83 +basic/api/PlugletManager_postURL:84 +basic/api/PlugletManager_postURL:85 +basic/api/PlugletManager_postURL:86 +basic/api/PlugletManager_postURL:87 +basic/api/PlugletManager_postURL:88 +basic/api/PlugletManager_postURL:89 +basic/api/PlugletManager_postURL:90 +basic/api/PlugletManager_postURL:91 +basic/api/PlugletManager_postURL:92 +basic/api/PlugletManager_postURL:93 +basic/api/PlugletManager_postURL:94 +basic/api/PlugletManager_postURL:95 +basic/api/PlugletManager_postURL:96 +basic/api/PlugletManager_postURL:97 +basic/api/PlugletManager_postURL:98 +basic/api/PlugletManager_postURL:99 +basic/api/PlugletManager_postURL:100 +basic/api/PlugletManager_postURL:101 +basic/api/PlugletManager_postURL:102 +basic/api/PlugletManager_postURL:103 +basic/api/PlugletManager_postURL:104 +basic/api/PlugletManager_postURL:105 +basic/api/PlugletManager_postURL:106 +basic/api/PlugletManager_postURL:107 +basic/api/PlugletManager_postURL:108 +basic/api/PlugletManager_postURL:109 +basic/api/PlugletManager_postURL:110 +basic/api/PlugletManager_postURL:111 +basic/api/PlugletManager_postURL:112 +basic/api/PlugletManager_postURL:113 +basic/api/PlugletManager_postURL:114 +basic/api/PlugletManager_postURL:115 +basic/api/PlugletManager_postURL:116 +basic/api/PlugletManager_postURL:117 +basic/api/PlugletManager_postURL:118 +basic/api/PlugletManager_postURL:119 +basic/api/PlugletManager_postURL:120 +basic/api/PlugletManager_postURL:121 +basic/api/PlugletManager_postURL:122 +basic/api/PlugletManager_postURL:123 +basic/api/PlugletManager_postURL:124 +basic/api/PlugletManager_postURL:125 +basic/api/PlugletManager_postURL:126 +basic/api/PlugletManager_postURL:127 +basic/api/PlugletManager_postURL:128 +basic/api/PlugletManager_postURL:129 +basic/api/PlugletManager_postURL:130 +basic/api/PlugletManager_postURL:131 +basic/api/PlugletManager_postURL:132 +basic/api/PlugletManager_postURL:133 +basic/api/PlugletManager_postURL:134 +basic/api/PlugletManager_postURL:135 +basic/api/PlugletManager_postURL:136 +basic/api/PlugletManager_postURL:137 +basic/api/PlugletManager_postURL:138 +basic/api/PlugletManager_postURL:139 +basic/api/PlugletManager_postURL:140 +basic/api/PlugletManager_postURL:141 +basic/api/PlugletManager_postURL:142 +basic/api/PlugletManager_postURL:143 +basic/api/PlugletManager_postURL:144 +basic/api/PlugletManager_postURL:145 +basic/api/PlugletManager_postURL:146 +basic/api/PlugletManager_postURL:147 +basic/api/PlugletManager_postURL:148 +basic/api/PlugletManager_postURL:149 +basic/api/PlugletManager_postURL:150 +basic/api/PlugletManager_postURL:151 +basic/api/PlugletManager_postURL:152 +basic/api/PlugletManager_postURL:153 +basic/api/PlugletManager_postURL:154 +basic/api/PlugletManager_postURL:155 +basic/api/PlugletManager_postURL:156 +basic/api/PlugletManager_postURL:157 +basic/api/PlugletManager_postURL:158 +basic/api/PlugletManager_postURL:159 +basic/api/PlugletManager_postURL:160 +basic/api/PlugletManager_postURL:161 +basic/api/PlugletManager_postURL:162 +basic/api/PlugletManager_postURL:163 +basic/api/PlugletManager_postURL:164 +basic/api/PlugletManager_postURL:165 +basic/api/PlugletManager_postURL:166 +basic/api/PlugletManager_postURL:167 +basic/api/PlugletManager_postURL:168 +basic/api/PlugletManager_postURL:169 +basic/api/PlugletManager_postURL:170 +basic/api/PlugletManager_postURL:171 +basic/api/PlugletManager_postURL:172 +basic/api/PlugletManager_postURL:173 +basic/api/PlugletManager_postURL:174 +basic/api/PlugletManager_postURL:175 +basic/api/PlugletManager_postURL:176 +basic/api/PlugletManager_postURL:177 +basic/api/PlugletManager_postURL:178 +basic/api/PlugletManager_postURL:179 +basic/api/PlugletManager_postURL:180 +basic/api/PlugletManager_postURL:181 +basic/api/PlugletManager_postURL:182 +basic/api/PlugletManager_postURL:183 +basic/api/PlugletManager_postURL:184 +basic/api/PlugletManager_postURL:185 +basic/api/PlugletManager_postURL:186 +basic/api/PlugletManager_postURL:187 +basic/api/PlugletManager_postURL:188 +basic/api/PlugletManager_postURL:189 +basic/api/PlugletManager_postURL:190 +basic/api/PlugletManager_postURL:191 +basic/api/PlugletManager_postURL:192 +basic/api/PlugletManager_postURL:193 +basic/api/PlugletManager_postURL:194 +basic/api/PlugletManager_postURL:195 +basic/api/PlugletManager_postURL:196 +basic/api/PlugletManager_postURL:197 +basic/api/PlugletManager_postURL:198 +basic/api/PlugletManager_postURL:199 +basic/api/PlugletManager_postURL:200 +basic/api/PlugletManager_postURL:201 +basic/api/PlugletManager_postURL:202 +basic/api/PlugletManager_postURL:203 +basic/api/PlugletManager_postURL:204 +basic/api/PlugletManager_postURL:205 +basic/api/PlugletManager_postURL:206 +basic/api/PlugletManager_postURL:207 +basic/api/PlugletManager_postURL:208 +basic/api/PlugletManager_postURL:209 +basic/api/PlugletManager_postURL:210 +basic/api/PlugletManager_postURL:211 +basic/api/PlugletManager_postURL:212 +basic/api/PlugletManager_postURL:213 +basic/api/PlugletManager_postURL:214 +basic/api/PlugletManager_postURL:215 +basic/api/PlugletManager_postURL:216 +basic/api/PlugletManager_postURL:217 +basic/api/PlugletManager_postURL:218 +basic/api/PlugletManager_postURL:219 +basic/api/PlugletManager_postURL:220 +basic/api/PlugletManager_postURL:221 +basic/api/PlugletManager_postURL:222 +basic/api/PlugletManager_postURL:223 +basic/api/PlugletManager_postURL:224 +basic/api/PlugletManager_postURL:225 +basic/api/PlugletManager_postURL:226 +basic/api/PlugletManager_postURL:227 +basic/api/PlugletManager_postURL:228 +basic/api/PlugletManager_postURL:229 +basic/api/PlugletManager_postURL:230 +basic/api/PlugletManager_postURL:231 +basic/api/PlugletManager_postURL:232 +basic/api/PlugletManager_postURL:233 +basic/api/PlugletManager_postURL:234 +basic/api/PlugletManager_postURL:235 +basic/api/PlugletManager_postURL:236 +basic/api/PlugletManager_postURL:237 +basic/api/PlugletManager_postURL:238 +basic/api/PlugletManager_postURL:239 +basic/api/PlugletManager_postURL:240 +basic/api/PlugletManager_postURL:241 +basic/api/PlugletManager_postURL:242 +basic/api/PlugletManager_postURL:243 +basic/api/PlugletManager_postURL:244 +basic/api/PlugletManager_postURL:245 +basic/api/PlugletManager_postURL:246 +basic/api/PlugletManager_postURL:247 +basic/api/PlugletManager_postURL:248 +basic/api/PlugletManager_postURL:249 +basic/api/PlugletManager_postURL:250 +basic/api/PlugletManager_postURL:251 +basic/api/PlugletManager_postURL:252 +basic/api/PlugletManager_postURL:253 +basic/api/PlugletManager_postURL:254 +basic/api/PlugletManager_postURL:255 +basic/api/PlugletManager_postURL:256 +basic/api/PlugletManager_postURL:257 +basic/api/PlugletManager_postURL:258 +basic/api/PlugletManager_postURL:259 +basic/api/PlugletManager_postURL:260 +basic/api/PlugletManager_postURL:261 +basic/api/PlugletManager_postURL:262 +basic/api/PlugletManager_postURL:263 +basic/api/PlugletManager_postURL:264 +basic/api/PlugletManager_postURL:265 +basic/api/PlugletManager_postURL:266 +basic/api/PlugletManager_postURL:267 +basic/api/PlugletManager_postURL:268 +basic/api/PlugletManager_postURL:269 +basic/api/PlugletManager_postURL:270 +basic/api/PlugletManager_postURL:271 +basic/api/PlugletManager_postURL:272 +basic/api/PlugletManager_postURL:273 +basic/api/PlugletManager_postURL:274 +basic/api/PlugletManager_postURL:275 +basic/api/PlugletManager_postURL:276 +basic/api/PlugletManager_postURL:277 +basic/api/PlugletManager_postURL:278 +basic/api/PlugletManager_postURL:279 +basic/api/PlugletManager_postURL:280 +basic/api/PlugletManager_postURL:281 +basic/api/PlugletManager_postURL:282 +basic/api/PlugletManager_postURL:283 +basic/api/PlugletManager_postURL:284 +basic/api/PlugletManager_postURL:285 +basic/api/PlugletManager_postURL:286 +basic/api/PlugletManager_postURL:287 +basic/api/PlugletManager_postURL:288 +basic/api/PlugletManager_postURL:289 +basic/api/PlugletManager_postURL:290 +basic/api/PlugletManager_postURL:291 +basic/api/PlugletManager_postURL:292 +basic/api/PlugletManager_postURL:293 +basic/api/PlugletManager_postURL:294 +basic/api/PlugletManager_postURL:295 +basic/api/PlugletManager_postURL:296 +basic/api/PlugletManager_postURL:297 +basic/api/PlugletManager_postURL:298 +basic/api/PlugletManager_postURL:299 +basic/api/PlugletManager_postURL:300 +basic/api/PlugletManager_postURL:301 +basic/api/PlugletManager_postURL:302 +basic/api/PlugletManager_postURL:303 +basic/api/PlugletManager_postURL:304 +basic/api/PlugletManager_postURL:305 +basic/api/PlugletManager_postURL:306 +basic/api/PlugletManager_postURL:307 +basic/api/PlugletManager_postURL:308 +basic/api/PlugletManager_postURL:309 +basic/api/PlugletManager_postURL:310 +basic/api/PlugletManager_postURL:311 +basic/api/PlugletManager_postURL:312 +basic/api/PlugletManager_postURL:313 +basic/api/PlugletManager_postURL:314 +basic/api/PlugletManager_postURL:315 +basic/api/PlugletManager_postURL:316 +basic/api/PlugletManager_postURL:317 +basic/api/PlugletManager_postURL:318 +basic/api/PlugletManager_postURL:319 +basic/api/PlugletManager_postURL:320 +basic/api/PlugletManager_postURL:321 +basic/api/PlugletManager_postURL:322 +basic/api/PlugletManager_postURL:323 +basic/api/PlugletManager_postURL:324 +basic/api/PlugletManager_postURL:325 +basic/api/PlugletManager_postURL:326 +basic/api/PlugletManager_postURL:327 +basic/api/PlugletManager_postURL:328 +basic/api/PlugletManager_postURL:329 +basic/api/PlugletManager_postURL:330 +basic/api/PlugletManager_postURL:331 +basic/api/PlugletManager_postURL:332 +basic/api/PlugletManager_postURL:333 +basic/api/PlugletManager_postURL:334 +basic/api/PlugletManager_postURL:335 +basic/api/PlugletManager_postURL:336 +basic/api/PlugletManager_postURL:337 +basic/api/PlugletManager_postURL:338 +basic/api/PlugletManager_postURL:339 +basic/api/PlugletManager_postURL:340 +basic/api/PlugletManager_postURL:341 +basic/api/PlugletManager_postURL:342 +basic/api/PlugletManager_postURL:343 +basic/api/PlugletManager_postURL:344 +basic/api/PlugletManager_postURL:345 +basic/api/PlugletManager_postURL:346 +basic/api/PlugletManager_postURL:347 +basic/api/PlugletManager_postURL:348 +basic/api/PlugletManager_postURL:349 +basic/api/PlugletManager_postURL:350 +basic/api/PlugletManager_postURL:351 +basic/api/PlugletManager_postURL:352 +basic/api/PlugletManager_postURL:353 +basic/api/PlugletManager_postURL:354 +basic/api/PlugletManager_postURL:355 +basic/api/PlugletManager_postURL:356 +basic/api/PlugletManager_postURL:357 +basic/api/PlugletManager_postURL:358 +basic/api/PlugletManager_postURL:359 +basic/api/PlugletManager_postURL:360 +basic/api/PlugletManager_postURL:361 +basic/api/PlugletManager_postURL:362 +basic/api/PlugletManager_postURL:363 +basic/api/PlugletManager_postURL:364 +basic/api/PlugletManager_postURL:365 +basic/api/PlugletManager_postURL:366 +basic/api/PlugletManager_postURL:367 +basic/api/PlugletManager_postURL:368 +basic/api/PlugletManager_postURL:369 +basic/api/PlugletManager_postURL:370 +basic/api/PlugletManager_postURL:371 +basic/api/PlugletManager_postURL:372 +basic/api/PlugletManager_postURL:373 +basic/api/PlugletManager_postURL:374 +basic/api/PlugletManager_postURL:375 +basic/api/PlugletManager_postURL:376 +basic/api/PlugletManager_postURL:377 +basic/api/PlugletManager_postURL:378 +basic/api/PlugletManager_postURL:379 +basic/api/PlugletManager_postURL:380 +basic/api/PlugletManager_postURL:381 +basic/api/PlugletManager_postURL:382 +basic/api/PlugletManager_postURL:383 +basic/api/PlugletManager_postURL:384 +basic/api/PlugletManager_postURL:385 +basic/api/PlugletManager_postURL:386 +basic/api/PlugletManager_postURL:387 +basic/api/PlugletManager_postURL:388 +basic/api/PlugletManager_postURL:389 +basic/api/PlugletManager_postURL:390 +basic/api/PlugletManager_postURL:391 +basic/api/PlugletManager_postURL:392 +basic/api/PlugletManager_postURL:393 +basic/api/PlugletManager_postURL:394 +basic/api/PlugletManager_postURL:395 +basic/api/PlugletManager_postURL:396 +basic/api/PlugletManager_postURL:397 +basic/api/PlugletManager_postURL:398 +basic/api/PlugletManager_postURL:399 +basic/api/PlugletManager_postURL:400 +basic/api/PlugletManager_postURL:401 +basic/api/PlugletManager_postURL:402 +basic/api/PlugletManager_postURL:403 +basic/api/PlugletManager_postURL:404 +basic/api/PlugletManager_postURL:405 +basic/api/PlugletManager_postURL:406 +basic/api/PlugletManager_postURL:407 +basic/api/PlugletManager_postURL:408 +basic/api/PlugletManager_postURL:409 +basic/api/PlugletManager_postURL:410 +basic/api/PlugletManager_postURL:411 +basic/api/PlugletManager_postURL:412 +basic/api/PlugletManager_postURL:413 +basic/api/PlugletManager_postURL:414 +basic/api/PlugletManager_postURL:415 +basic/api/PlugletManager_postURL:416 +basic/api/PlugletManager_postURL:417 +basic/api/PlugletManager_postURL:418 +basic/api/PlugletManager_postURL:419 +basic/api/PlugletManager_postURL:420 +basic/api/PlugletManager_postURL:421 +basic/api/PlugletManager_postURL:422 +basic/api/PlugletManager_postURL:423 +basic/api/PlugletManager_postURL:424 +basic/api/PlugletManager_postURL:425 +basic/api/PlugletManager_postURL:426 +basic/api/PlugletManager_postURL:427 +basic/api/PlugletManager_postURL:428 +basic/api/PlugletManager_postURL:429 +basic/api/PlugletManager_postURL:430 +basic/api/PlugletManager_postURL:431 +basic/api/PlugletManager_postURL:432 +basic/api/PlugletManager_postURL:433 +basic/api/PlugletManager_postURL:434 +basic/api/PlugletManager_postURL:435 +basic/api/PlugletManager_postURL:436 +basic/api/PlugletManager_postURL:437 +basic/api/PlugletManager_postURL:438 +basic/api/PlugletManager_postURL:439 +basic/api/PlugletManager_postURL:440 +basic/api/PlugletManager_postURL:441 +basic/api/PlugletManager_postURL:442 +basic/api/PlugletManager_postURL:443 +basic/api/PlugletManager_postURL:444 +basic/api/PlugletManager_postURL:445 +basic/api/PlugletManager_postURL:446 +basic/api/PlugletManager_postURL:447 +basic/api/PlugletManager_postURL:448 +basic/api/PlugletManager_postURL:449 +basic/api/PlugletManager_postURL:450 +basic/api/PlugletManager_postURL:451 +basic/api/PlugletManager_postURL:452 +basic/api/PlugletManager_postURL:453 +basic/api/PlugletManager_postURL:454 +basic/api/PlugletManager_postURL:455 +basic/api/PlugletManager_postURL:456 +basic/api/PlugletManager_postURL:457 +basic/api/PlugletManager_postURL:458 +basic/api/PlugletManager_postURL:459 +basic/api/PlugletManager_postURL:460 +basic/api/PlugletManager_postURL:461 +basic/api/PlugletManager_postURL:462 +basic/api/PlugletManager_postURL:463 +basic/api/PlugletManager_postURL:464 +basic/api/PlugletManager_postURL:465 +basic/api/PlugletManager_postURL:466 +basic/api/PlugletManager_postURL:467 +basic/api/PlugletManager_postURL:468 +basic/api/PlugletManager_postURL:469 +basic/api/PlugletManager_postURL:470 +basic/api/PlugletManager_postURL:471 +basic/api/PlugletManager_postURL:472 +basic/api/PlugletManager_postURL:473 +basic/api/PlugletManager_postURL:474 +basic/api/PlugletManager_postURL:475 +basic/api/PlugletManager_postURL:476 +basic/api/PlugletManager_postURL:477 +basic/api/PlugletManager_postURL:478 +basic/api/PlugletManager_postURL:479 +basic/api/PlugletManager_postURL:480 +basic/api/PlugletManager_postURL:481 +basic/api/PlugletManager_postURL:482 +basic/api/PlugletManager_postURL:483 +basic/api/PlugletManager_postURL:484 +basic/api/PlugletManager_postURL:485 +basic/api/PlugletManager_postURL:486 +basic/api/PlugletManager_postURL:487 +basic/api/PlugletManager_postURL:488 +basic/api/PlugletManager_postURL:489 +basic/api/PlugletManager_postURL:490 +basic/api/PlugletManager_postURL:491 +basic/api/PlugletManager_postURL:492 +basic/api/PlugletManager_postURL:493 +basic/api/PlugletManager_postURL:494 +basic/api/PlugletManager_postURL:495 +basic/api/PlugletManager_postURL:496 +basic/api/PlugletManager_postURL:497 +basic/api/PlugletManager_postURL:498 +basic/api/PlugletManager_postURL:499 +basic/api/PlugletManager_postURL:500 +basic/api/PlugletManager_postURL:501 +basic/api/PlugletManager_postURL:502 +basic/api/PlugletManager_postURL:503 +basic/api/PlugletManager_postURL:504 +basic/api/PlugletManager_postURL:505 +basic/api/PlugletManager_postURL:506 +basic/api/PlugletManager_postURL:507 +basic/api/PlugletManager_postURL:508 +basic/api/PlugletManager_postURL:509 +basic/api/PlugletManager_postURL:510 +basic/api/PlugletManager_postURL:511 +basic/api/PlugletManager_postURL:512 +basic/api/PlugletManager_postURL:513 +basic/api/PlugletManager_postURL:514 +basic/api/PlugletManager_postURL:515 +basic/api/PlugletManager_postURL:516 +basic/api/PlugletManager_postURL:517 +basic/api/PlugletManager_postURL:518 +basic/api/PlugletManager_postURL:519 +basic/api/PlugletManager_postURL:520 +basic/api/PlugletManager_postURL:521 +basic/api/PlugletManager_postURL:522 +basic/api/PlugletManager_postURL:523 +basic/api/PlugletManager_postURL:524 +basic/api/PlugletManager_postURL:525 +basic/api/PlugletManager_postURL:526 +basic/api/PlugletManager_postURL:527 +basic/api/PlugletManager_postURL:528 +basic/api/PlugletManager_postURL:529 +basic/api/PlugletManager_postURL:530 +basic/api/PlugletManager_postURL:531 +basic/api/PlugletManager_postURL:532 +basic/api/PlugletManager_postURL:533 +basic/api/PlugletManager_postURL:534 +basic/api/PlugletManager_postURL:535 +basic/api/PlugletManager_postURL:536 +basic/api/PlugletManager_postURL:537 +basic/api/PlugletManager_postURL:538 +basic/api/PlugletManager_postURL:539 +basic/api/PlugletManager_postURL:540 +basic/api/PlugletManager_postURL:541 +basic/api/PlugletManager_postURL:542 +basic/api/PlugletManager_postURL:543 +basic/api/PlugletManager_postURL:544 +basic/api/PlugletManager_postURL:545 +basic/api/PlugletManager_postURL:546 +basic/api/PlugletManager_postURL:547 +basic/api/PlugletManager_postURL:548 +basic/api/PlugletManager_postURL:549 +basic/api/PlugletManager_postURL:550 +basic/api/PlugletManager_postURL:551 +basic/api/PlugletManager_postURL:552 +basic/api/PlugletManager_postURL:553 +basic/api/PlugletManager_postURL:554 +basic/api/PlugletManager_postURL:555 +basic/api/PlugletManager_postURL:556 +basic/api/PlugletManager_postURL:557 +basic/api/PlugletManager_postURL:558 +basic/api/PlugletManager_postURL:559 +basic/api/PlugletManager_postURL:560 +basic/api/PlugletManager_postURL:561 +basic/api/PlugletManager_postURL:562 +basic/api/PlugletManager_postURL:563 +basic/api/PlugletManager_postURL:564 +basic/api/PlugletManager_postURL:565 +basic/api/PlugletManager_postURL:566 +basic/api/PlugletManager_postURL:567 +basic/api/PlugletManager_postURL:568 +basic/api/PlugletManager_postURL:569 +basic/api/PlugletManager_postURL:570 +basic/api/PlugletManager_postURL:571 +basic/api/PlugletManager_postURL:572 +basic/api/PlugletManager_postURL:573 +basic/api/PlugletManager_postURL:574 +basic/api/PlugletManager_postURL:575 +basic/api/PlugletManager_postURL:576 +basic/api/PlugletManager_postURL:577 +basic/api/PlugletManager_postURL:578 +basic/api/PlugletManager_postURL:579 +basic/api/PlugletManager_postURL:580 +basic/api/PlugletManager_postURL:581 +basic/api/PlugletManager_postURL:582 +basic/api/PlugletManager_postURL:583 +basic/api/PlugletManager_postURL:584 +basic/api/PlugletManager_postURL:585 +basic/api/PlugletManager_postURL:586 +basic/api/PlugletManager_postURL:587 +basic/api/PlugletManager_postURL:588 +basic/api/PlugletManager_postURL:589 +basic/api/PlugletManager_postURL:590 +basic/api/PlugletManager_postURL:591 +basic/api/PlugletManager_postURL:592 +basic/api/PlugletManager_postURL:593 +basic/api/PlugletManager_postURL:594 +basic/api/PlugletManager_postURL:595 +basic/api/PlugletManager_postURL:596 +basic/api/PlugletManager_postURL:597 +basic/api/PlugletManager_postURL:598 +basic/api/PlugletManager_postURL:599 +basic/api/PlugletManager_postURL:600 +basic/api/PlugletManager_postURL:601 +basic/api/PlugletManager_postURL:602 +basic/api/PlugletManager_postURL:603 +basic/api/PlugletManager_postURL:604 +basic/api/PlugletManager_postURL:605 +basic/api/PlugletManager_postURL:606 +basic/api/PlugletManager_postURL:607 +basic/api/PlugletManager_postURL:608 +basic/api/PlugletManager_postURL:609 +basic/api/PlugletManager_postURL:610 +basic/api/PlugletManager_postURL:611 +basic/api/PlugletManager_postURL:612 +basic/api/PlugletManager_postURL:613 +basic/api/PlugletManager_postURL:614 +basic/api/PlugletManager_postURL:615 +basic/api/PlugletManager_postURL:616 +basic/api/PlugletManager_postURL:617 +basic/api/PlugletManager_postURL:618 +basic/api/PlugletManager_postURL:619 +basic/api/PlugletManager_postURL:620 +basic/api/PlugletManager_postURL:621 +basic/api/PlugletManager_postURL:622 +basic/api/PlugletManager_postURL:623 +basic/api/PlugletManager_postURL:624 +basic/api/PlugletManager_postURL:625 +basic/api/PlugletManager_postURL:626 +basic/api/PlugletManager_postURL:627 +basic/api/PlugletManager_postURL:628 +basic/api/PlugletManager_postURL:629 +basic/api/PlugletManager_postURL:630 +basic/api/PlugletManager_postURL:631 +basic/api/PlugletManager_postURL:632 +basic/api/PlugletManager_postURL:633 +basic/api/PlugletManager_postURL:634 +basic/api/PlugletManager_postURL:635 +basic/api/PlugletManager_postURL:636 +basic/api/PlugletManager_postURL:637 +basic/api/PlugletManager_postURL:638 +basic/api/PlugletManager_postURL:639 +basic/api/PlugletManager_postURL:640 +basic/api/PlugletManager_postURL:641 +basic/api/PlugletManager_postURL:642 +basic/api/PlugletManager_postURL:643 +basic/api/PlugletManager_postURL:644 +basic/api/PlugletManager_postURL:645 +basic/api/PlugletManager_postURL:646 +basic/api/PlugletManager_postURL:647 +basic/api/PlugletManager_postURL:648 +basic/api/PlugletManager_postURL:649 +basic/api/PlugletManager_postURL:650 +basic/api/PlugletManager_postURL:651 +basic/api/PlugletManager_postURL:652 +basic/api/PlugletManager_postURL:653 +basic/api/PlugletManager_postURL:654 +basic/api/PlugletManager_postURL:655 +basic/api/PlugletManager_postURL:656 +basic/api/PlugletManager_postURL:657 +basic/api/PlugletManager_postURL:658 +basic/api/PlugletManager_postURL:659 +basic/api/PlugletManager_postURL:660 +basic/api/PlugletManager_postURL:661 +basic/api/PlugletManager_postURL:662 +basic/api/PlugletManager_postURL:663 +basic/api/PlugletManager_postURL:664 +basic/api/PlugletManager_postURL:665 +basic/api/PlugletManager_postURL:666 +basic/api/PlugletManager_postURL:667 +basic/api/PlugletManager_postURL:668 +basic/api/PlugletManager_postURL:669 +basic/api/PlugletManager_postURL:670 +basic/api/PlugletManager_postURL:671 +basic/api/PlugletManager_postURL:672 +basic/api/PlugletManager_postURL:673 +basic/api/PlugletManager_postURL:674 +basic/api/PlugletManager_postURL:675 +basic/api/PlugletManager_postURL:676 +basic/api/PlugletManager_postURL:677 +basic/api/PlugletManager_postURL:678 +basic/api/PlugletManager_postURL:679 +basic/api/PlugletManager_postURL:680 +basic/api/PlugletManager_postURL:681 +basic/api/PlugletManager_postURL:682 +basic/api/PlugletManager_postURL:683 +basic/api/PlugletManager_postURL:684 +basic/api/PlugletManager_postURL:685 +basic/api/PlugletManager_postURL:686 +basic/api/PlugletManager_postURL:687 +basic/api/PlugletManager_postURL:688 +basic/api/PlugletManager_postURL:689 +basic/api/PlugletManager_postURL:690 +basic/api/PlugletManager_postURL:691 +basic/api/PlugletManager_postURL:692 +basic/api/PlugletManager_postURL:693 +basic/api/PlugletManager_postURL:694 +basic/api/PlugletManager_postURL:695 +basic/api/PlugletManager_postURL:696 +basic/api/PlugletManager_postURL:697 +basic/api/PlugletManager_postURL:698 +basic/api/PlugletManager_postURL:699 +basic/api/PlugletManager_postURL:700 +basic/api/PlugletManager_postURL:701 +basic/api/PlugletManager_postURL:702 +basic/api/PlugletManager_postURL:703 +basic/api/PlugletManager_postURL:704 +basic/api/PlugletManager_postURL:705 +basic/api/PlugletManager_postURL:706 +basic/api/PlugletManager_postURL:707 +basic/api/PlugletManager_postURL:708 +basic/api/PlugletManager_postURL:709 +basic/api/PlugletManager_postURL:710 +basic/api/PlugletManager_postURL:711 +basic/api/PlugletManager_postURL:712 +basic/api/PlugletManager_postURL:713 +basic/api/PlugletManager_postURL:714 +basic/api/PlugletManager_postURL:715 +basic/api/PlugletManager_postURL:716 +basic/api/PlugletManager_postURL:717 +basic/api/PlugletManager_postURL:718 +basic/api/PlugletManager_postURL:719 +basic/api/PlugletManager_postURL:720 +basic/api/PlugletManager_postURL:721 +basic/api/PlugletManager_postURL:722 +basic/api/PlugletManager_postURL:723 +basic/api/PlugletManager_postURL:724 +basic/api/PlugletManager_postURL:725 +basic/api/PlugletManager_postURL:726 +basic/api/PlugletManager_postURL:727 +basic/api/PlugletManager_postURL:728 +basic/api/PlugletManager_postURL:729 +basic/api/PlugletManager_postURL:730 +basic/api/PlugletManager_postURL:731 +basic/api/PlugletManager_postURL:732 +basic/api/PlugletManager_postURL:733 +basic/api/PlugletManager_postURL:734 +basic/api/PlugletManager_postURL:735 +basic/api/PlugletManager_postURL:736 +basic/api/PlugletManager_postURL:737 +basic/api/PlugletManager_postURL:738 +basic/api/PlugletManager_postURL:739 +basic/api/PlugletManager_postURL:740 +basic/api/PlugletManager_postURL:741 +basic/api/PlugletManager_postURL:742 +basic/api/PlugletManager_postURL:743 +basic/api/PlugletManager_postURL:744 +basic/api/PlugletManager_postURL:745 +basic/api/PlugletManager_postURL:746 +basic/api/PlugletManager_postURL:747 +basic/api/PlugletManager_postURL:748 +basic/api/PlugletManager_postURL:749 +basic/api/PlugletManager_postURL:750 +basic/api/PlugletManager_postURL:751 +basic/api/PlugletManager_postURL:752 +basic/api/PlugletManager_postURL:753 +basic/api/PlugletManager_postURL:754 +basic/api/PlugletManager_postURL:755 +basic/api/PlugletManager_postURL:756 +basic/api/PlugletManager_postURL:757 +basic/api/PlugletManager_postURL:758 +basic/api/PlugletManager_postURL:759 +basic/api/PlugletManager_postURL:760 +basic/api/PlugletManager_postURL:761 +basic/api/PlugletManager_postURL:762 +basic/api/PlugletManager_postURL:763 +basic/api/PlugletManager_postURL:764 +basic/api/PlugletManager_postURL:765 +basic/api/PlugletManager_postURL:766 +basic/api/PlugletManager_postURL:767 +basic/api/PlugletManager_postURL:768 +basic/api/PlugletManager_postURL:769 +basic/api/PlugletManager_postURL:770 +basic/api/PlugletManager_postURL:771 +basic/api/PlugletManager_postURL:772 +basic/api/PlugletManager_postURL:773 +basic/api/PlugletManager_postURL:774 +basic/api/PlugletManager_postURL:775 +basic/api/PlugletManager_postURL:776 +basic/api/PlugletManager_postURL:777 +basic/api/PlugletManager_postURL:778 +basic/api/PlugletManager_postURL:779 +basic/api/PlugletManager_postURL:780 +basic/api/PlugletManager_postURL:781 +basic/api/PlugletManager_postURL:782 +basic/api/PlugletManager_postURL:783 +basic/api/PlugletManager_postURL:784 +basic/api/PlugletManager_postURL:785 +basic/api/PlugletManager_postURL:786 +basic/api/PlugletManager_postURL:787 +basic/api/PlugletManager_postURL:788 +basic/api/PlugletManager_postURL:789 +basic/api/PlugletManager_postURL:790 +basic/api/PlugletManager_postURL:791 +basic/api/PlugletManager_postURL:792 +basic/api/PlugletManager_postURL:793 +basic/api/PlugletManager_postURL:794 +basic/api/PlugletManager_postURL:795 +basic/api/PlugletManager_postURL:796 +basic/api/PlugletManager_postURL:797 +basic/api/PlugletManager_postURL:798 +basic/api/PlugletManager_postURL:799 +basic/api/PlugletManager_postURL:800 +basic/api/PlugletManager_postURL:801 +basic/api/PlugletManager_postURL:802 +basic/api/PlugletManager_postURL:803 +basic/api/PlugletManager_postURL:804 +basic/api/PlugletManager_postURL:805 +basic/api/PlugletManager_postURL:806 +basic/api/PlugletManager_postURL:807 +basic/api/PlugletManager_postURL:808 +basic/api/PlugletManager_postURL:809 +basic/api/PlugletManager_postURL:810 +basic/api/PlugletManager_postURL:811 +basic/api/PlugletManager_postURL:812 +basic/api/PlugletManager_postURL:813 +basic/api/PlugletManager_postURL:814 +basic/api/PlugletManager_postURL:815 +basic/api/PlugletManager_postURL:816 +basic/api/PlugletManager_postURL:817 +basic/api/PlugletManager_postURL:818 +basic/api/PlugletManager_postURL:819 +basic/api/PlugletManager_postURL:820 +basic/api/PlugletManager_postURL:821 +basic/api/PlugletManager_postURL:822 +basic/api/PlugletManager_postURL:823 +basic/api/PlugletManager_postURL:824 +basic/api/PlugletManager_postURL:825 +basic/api/PlugletManager_postURL:826 +basic/api/PlugletManager_postURL:827 +basic/api/PlugletManager_postURL:828 +basic/api/PlugletManager_postURL:829 +basic/api/PlugletManager_postURL:830 +basic/api/PlugletManager_postURL:831 +basic/api/PlugletManager_postURL:832 +basic/api/PlugletManager_postURL:833 +basic/api/PlugletManager_postURL:834 +basic/api/PlugletManager_postURL:835 +basic/api/PlugletManager_postURL:836 +basic/api/PlugletManager_postURL:837 +basic/api/PlugletManager_postURL:838 +basic/api/PlugletManager_postURL:839 +basic/api/PlugletManager_postURL:840 +basic/api/PlugletManager_postURL:841 +basic/api/PlugletManager_postURL:842 +basic/api/PlugletManager_postURL:843 +basic/api/PlugletManager_postURL:844 +basic/api/PlugletManager_postURL:845 +basic/api/PlugletManager_postURL:846 +basic/api/PlugletManager_postURL:847 +basic/api/PlugletManager_postURL:848 +basic/api/PlugletManager_postURL:849 +basic/api/PlugletManager_postURL:850 +basic/api/PlugletManager_postURL:851 +basic/api/PlugletManager_postURL:852 +basic/api/PlugletManager_postURL:853 +basic/api/PlugletManager_postURL:854 +basic/api/PlugletManager_postURL:855 +basic/api/PlugletManager_postURL:856 +basic/api/PlugletManager_postURL:857 +basic/api/PlugletManager_postURL:858 +basic/api/PlugletManager_postURL:859 +basic/api/PlugletManager_postURL:860 +basic/api/PlugletManager_postURL:861 +basic/api/PlugletManager_postURL:862 +basic/api/PlugletManager_postURL:863 +basic/api/PlugletManager_postURL:864 +basic/api/PlugletManager_postURL:865 +basic/api/PlugletManager_postURL:866 +basic/api/PlugletManager_postURL:867 +basic/api/PlugletManager_postURL:868 +basic/api/PlugletManager_postURL:869 +basic/api/PlugletManager_postURL:870 +basic/api/PlugletManager_postURL:871 +basic/api/PlugletManager_postURL:872 +basic/api/PlugletManager_postURL:873 +basic/api/PlugletManager_postURL:874 +basic/api/PlugletManager_postURL:875 +basic/api/PlugletManager_postURL:876 +basic/api/PlugletManager_postURL:877 +basic/api/PlugletManager_postURL:878 +basic/api/PlugletManager_postURL:879 +basic/api/PlugletManager_postURL:880 +basic/api/PlugletManager_postURL:881 +basic/api/PlugletManager_postURL:882 +basic/api/PlugletManager_postURL:883 +basic/api/PlugletManager_postURL:884 +basic/api/PlugletManager_postURL:885 +basic/api/PlugletManager_postURL:886 +basic/api/PlugletManager_postURL:887 +basic/api/PlugletManager_postURL:888 +basic/api/PlugletManager_postURL:889 +basic/api/PlugletManager_postURL:890 +basic/api/PlugletManager_postURL:891 +basic/api/PlugletManager_postURL:892 +basic/api/PlugletManager_postURL:893 +basic/api/PlugletManager_postURL:894 +basic/api/PlugletManager_postURL:895 +basic/api/PlugletManager_postURL:896 +basic/api/PlugletManager_postURL:897 +basic/api/PlugletManager_postURL:898 +basic/api/PlugletManager_postURL:899 +basic/api/PlugletManager_postURL:900 +basic/api/PlugletManager_postURL:901 +basic/api/PlugletManager_postURL:902 +basic/api/PlugletManager_postURL:903 +basic/api/PlugletManager_postURL:904 +basic/api/PlugletManager_postURL:905 +basic/api/PlugletManager_postURL:906 +basic/api/PlugletManager_postURL:907 +basic/api/PlugletManager_postURL:908 +basic/api/PlugletManager_postURL:909 +basic/api/PlugletManager_postURL:910 +basic/api/PlugletManager_postURL:911 +basic/api/PlugletManager_postURL:912 +basic/api/PlugletManager_postURL:913 +basic/api/PlugletManager_postURL:914 +basic/api/PlugletManager_postURL:915 +basic/api/PlugletManager_postURL:916 +basic/api/PlugletManager_postURL:917 +basic/api/PlugletManager_postURL:918 +basic/api/PlugletManager_postURL:919 +basic/api/PlugletManager_postURL:920 +basic/api/PlugletManager_postURL:921 +basic/api/PlugletManager_postURL:922 +basic/api/PlugletManager_postURL:923 +basic/api/PlugletManager_postURL:924 +basic/api/PlugletManager_postURL:925 +basic/api/PlugletManager_postURL:926 +basic/api/PlugletManager_postURL:927 +basic/api/PlugletManager_postURL:928 +basic/api/PlugletManager_postURL:929 +basic/api/PlugletManager_postURL:930 +basic/api/PlugletManager_postURL:931 +basic/api/PlugletManager_postURL:932 +basic/api/PlugletManager_postURL:933 +basic/api/PlugletManager_postURL:934 +basic/api/PlugletManager_postURL:935 +basic/api/PlugletManager_postURL:936 +basic/api/PlugletManager_postURL:937 +basic/api/PlugletManager_postURL:938 +basic/api/PlugletManager_postURL:939 +basic/api/PlugletManager_postURL:940 +basic/api/PlugletManager_postURL:941 +basic/api/PlugletManager_postURL:942 +basic/api/PlugletManager_postURL:943 +basic/api/PlugletManager_postURL:944 +basic/api/PlugletManager_postURL:945 +basic/api/PlugletManager_postURL:946 +basic/api/PlugletManager_postURL:947 +basic/api/PlugletManager_postURL:948 +basic/api/PlugletManager_postURL:949 +basic/api/PlugletManager_postURL:950 +basic/api/PlugletManager_postURL:951 +basic/api/PlugletManager_postURL:952 +basic/api/PlugletManager_postURL:953 +basic/api/PlugletManager_postURL:954 +basic/api/PlugletManager_postURL:955 +basic/api/PlugletManager_postURL:956 +basic/api/PlugletManager_postURL:957 +basic/api/PlugletManager_postURL:958 +basic/api/PlugletManager_postURL:959 +basic/api/PlugletManager_postURL:960 +basic/api/PlugletManager_postURL:961 +basic/api/PlugletManager_postURL:962 +basic/api/PlugletManager_postURL:963 +basic/api/PlugletManager_postURL:964 +basic/api/PlugletManager_postURL:965 +basic/api/PlugletManager_postURL:966 +basic/api/PlugletManager_postURL:967 +basic/api/PlugletManager_postURL:968 +basic/api/PlugletManager_postURL:969 +basic/api/PlugletManager_postURL:970 +basic/api/PlugletManager_postURL:971 +basic/api/PlugletManager_postURL:972 +basic/api/PlugletManager_postURL:973 +basic/api/PlugletManager_postURL:974 +basic/api/PlugletManager_postURL:975 +basic/api/PlugletManager_postURL:976 +basic/api/PlugletManager_postURL:977 +basic/api/PlugletManager_postURL:978 +basic/api/PlugletManager_postURL:979 +basic/api/PlugletManager_postURL:980 +basic/api/PlugletManager_postURL:981 +basic/api/PlugletManager_postURL:982 +basic/api/PlugletManager_postURL:983 +basic/api/PlugletManager_postURL:984 +basic/api/PlugletManager_postURL:985 +basic/api/PlugletManager_postURL:986 +basic/api/PlugletManager_postURL:987 +basic/api/PlugletManager_postURL:988 +basic/api/PlugletManager_postURL:989 +basic/api/PlugletManager_postURL:990 +basic/api/PlugletManager_postURL:991 +basic/api/PlugletManager_postURL:992 +basic/api/PlugletManager_postURL:993 +basic/api/PlugletManager_postURL:994 +basic/api/PlugletManager_postURL:995 +basic/api/PlugletManager_postURL:996 +basic/api/PlugletManager_postURL:997 +basic/api/PlugletManager_postURL:998 +basic/api/PlugletManager_postURL:999 +basic/api/PlugletManager_postURL:1000 +basic/api/PlugletManager_postURL:1001 +basic/api/PlugletManager_postURL:1002 +basic/api/PlugletManager_postURL:1003 +basic/api/PlugletManager_postURL:1004 +basic/api/PlugletManager_postURL:1005 +basic/api/PlugletManager_postURL:1006 +basic/api/PlugletManager_postURL:1007 +basic/api/PlugletManager_postURL:1008 +basic/api/PlugletManager_postURL:1009 +basic/api/PlugletManager_postURL:1010 +basic/api/PlugletManager_postURL:1011 +basic/api/PlugletManager_postURL:1012 +basic/api/PlugletManager_postURL:1013 +basic/api/PlugletManager_postURL:1014 +basic/api/PlugletManager_postURL:1015 +basic/api/PlugletManager_postURL:1016 +basic/api/PlugletManager_postURL:1017 +basic/api/PlugletManager_postURL:1018 +basic/api/PlugletManager_postURL:1019 +basic/api/PlugletManager_postURL:1020 +basic/api/PlugletManager_postURL:1021 +basic/api/PlugletManager_postURL:1022 +basic/api/PlugletManager_postURL:1023 +basic/api/PlugletManager_postURL:1024 +basic/api/PlugletManager_postURL:1025 +basic/api/PlugletManager_postURL:1026 +basic/api/PlugletManager_postURL:1027 +basic/api/PlugletManager_postURL:1028 +basic/api/PlugletManager_postURL:1029 +basic/api/PlugletManager_postURL:1030 +basic/api/PlugletManager_postURL:1031 +basic/api/PlugletManager_postURL:1032 +basic/api/PlugletManager_postURL:1033 +basic/api/PlugletManager_postURL:1034 +basic/api/PlugletManager_postURL:1035 +basic/api/PlugletManager_postURL:1036 +basic/api/PlugletManager_postURL:1037 +basic/api/PlugletManager_postURL:1038 +basic/api/PlugletManager_postURL:1039 +basic/api/PlugletManager_postURL:1040 +basic/api/PlugletManager_postURL:1041 +basic/api/PlugletManager_postURL:1042 +basic/api/PlugletManager_postURL:1043 +basic/api/PlugletManager_postURL:1044 +basic/api/PlugletManager_postURL:1045 +basic/api/PlugletManager_postURL:1046 +basic/api/PlugletManager_postURL:1047 +basic/api/PlugletManager_postURL:1048 +basic/api/PlugletManager_postURL:1049 +basic/api/PlugletManager_postURL:1050 +basic/api/PlugletManager_postURL:1051 +basic/api/PlugletManager_postURL:1052 +basic/api/PlugletManager_postURL:1053 +basic/api/PlugletManager_postURL:1054 +basic/api/PlugletManager_postURL:1055 +basic/api/PlugletManager_postURL:1056 +basic/api/PlugletManager_postURL:1057 +basic/api/PlugletManager_postURL:1058 +basic/api/PlugletManager_postURL:1059 +basic/api/PlugletManager_postURL:1060 +basic/api/PlugletManager_postURL:1061 +basic/api/PlugletManager_postURL:1062 +basic/api/PlugletManager_postURL:1063 +basic/api/PlugletManager_postURL:1064 +basic/api/PlugletManager_postURL:1065 +basic/api/PlugletManager_postURL:1066 +basic/api/PlugletManager_postURL:1067 +basic/api/PlugletManager_postURL:1068 +basic/api/PlugletManager_postURL:1069 +basic/api/PlugletManager_postURL:1070 +basic/api/PlugletManager_postURL:1071 +basic/api/PlugletManager_postURL:1072 +basic/api/PlugletManager_postURL:1073 +basic/api/PlugletManager_postURL:1074 +basic/api/PlugletManager_postURL:1075 +basic/api/PlugletManager_postURL:1076 +basic/api/PlugletManager_postURL:1077 +basic/api/PlugletManager_postURL:1078 +basic/api/PlugletManager_postURL:1079 +basic/api/PlugletManager_postURL:1080 +basic/api/PlugletManager_postURL:1081 +basic/api/PlugletManager_postURL:1082 +basic/api/PlugletManager_postURL:1083 +basic/api/PlugletManager_postURL:1084 +basic/api/PlugletManager_postURL:1085 +basic/api/PlugletManager_postURL:1086 +basic/api/PlugletManager_postURL:1087 +basic/api/PlugletManager_postURL:1088 +basic/api/PlugletManager_postURL:1089 +basic/api/PlugletManager_postURL:1090 +basic/api/PlugletManager_postURL:1091 +basic/api/PlugletManager_postURL:1092 +basic/api/PlugletManager_postURL:1093 +basic/api/PlugletManager_postURL:1094 +basic/api/PlugletManager_postURL:1095 +basic/api/PlugletManager_postURL:1096 +basic/api/PlugletManager_postURL:1097 +basic/api/PlugletManager_postURL:1098 +basic/api/PlugletManager_postURL:1099 +basic/api/PlugletManager_postURL:1100 +basic/api/PlugletManager_postURL:1101 +basic/api/PlugletManager_postURL:1102 +basic/api/PlugletManager_postURL:1103 +basic/api/PlugletManager_postURL:1104 +basic/api/PlugletManager_postURL:1105 +basic/api/PlugletManager_postURL:1106 +basic/api/PlugletManager_postURL:1107 +basic/api/PlugletManager_postURL:1108 +basic/api/PlugletManager_postURL:1109 +basic/api/PlugletManager_postURL:1110 +basic/api/PlugletManager_postURL:1111 +basic/api/PlugletManager_postURL:1112 +basic/api/PlugletManager_postURL:1113 +basic/api/PlugletManager_postURL:1114 +basic/api/PlugletManager_postURL:1115 +basic/api/PlugletManager_postURL:1116 +basic/api/PlugletManager_postURL:1117 +basic/api/PlugletManager_postURL:1118 +basic/api/PlugletManager_postURL:1119 +basic/api/PlugletManager_postURL:1120 +basic/api/PlugletManager_postURL:1121 +basic/api/PlugletManager_postURL:1122 +basic/api/PlugletManager_postURL:1123 +basic/api/PlugletManager_postURL:1124 +basic/api/PlugletManager_postURL:1125 +basic/api/PlugletManager_postURL:1126 +basic/api/PlugletManager_postURL:1127 +basic/api/PlugletManager_postURL:1128 +basic/api/PlugletManager_postURL:1129 +basic/api/PlugletManager_postURL:1130 +basic/api/PlugletManager_postURL:1131 +basic/api/PlugletManager_postURL:1132 +basic/api/PlugletManager_postURL:1133 +basic/api/PlugletManager_postURL:1134 +basic/api/PlugletManager_postURL:1135 +basic/api/PlugletManager_postURL:1136 +basic/api/PlugletManager_postURL:1137 +basic/api/PlugletManager_postURL:1138 +basic/api/PlugletManager_postURL:1139 +basic/api/PlugletManager_postURL:1140 +basic/api/PlugletManager_postURL:1141 +basic/api/PlugletManager_postURL:1142 +basic/api/PlugletManager_postURL:1143 +basic/api/PlugletManager_postURL:1144 +basic/api/PlugletManager_postURL:1145 +basic/api/PlugletManager_postURL:1146 +basic/api/PlugletManager_postURL:1147 +basic/api/PlugletManager_postURL:1148 +basic/api/PlugletManager_postURL:1149 +basic/api/PlugletManager_postURL:1150 +basic/api/PlugletManager_postURL:1151 +basic/api/PlugletManager_postURL:1152 +basic/api/PlugletManager_postURL:1153 +basic/api/PlugletManager_postURL:1154 +basic/api/PlugletManager_postURL:1155 +basic/api/PlugletManager_postURL:1156 +basic/api/PlugletManager_postURL:1157 +basic/api/PlugletManager_postURL:1158 +basic/api/PlugletManager_postURL:1159 +basic/api/PlugletManager_postURL:1160 +basic/api/PlugletManager_postURL:1161 +basic/api/PlugletManager_postURL:1162 +basic/api/PlugletManager_postURL:1163 +basic/api/PlugletManager_postURL:1164 +basic/api/PlugletManager_postURL:1165 +basic/api/PlugletManager_postURL:1166 +basic/api/PlugletManager_postURL:1167 +basic/api/PlugletManager_postURL:1168 +basic/api/PlugletManager_postURL:1169 +basic/api/PlugletManager_postURL:1170 +basic/api/PlugletManager_postURL:1171 +basic/api/PlugletManager_postURL:1172 +basic/api/PlugletManager_postURL:1173 +basic/api/PlugletManager_postURL:1174 +basic/api/PlugletManager_postURL:1175 +basic/api/PlugletManager_postURL:1176 +basic/api/PlugletManager_postURL:1177 +basic/api/PlugletManager_postURL:1178 +basic/api/PlugletManager_postURL:1179 +basic/api/PlugletManager_postURL:1180 +basic/api/PlugletManager_postURL:1181 +basic/api/PlugletManager_postURL:1182 +basic/api/PlugletManager_postURL:1183 +basic/api/PlugletManager_postURL:1184 +basic/api/PlugletManager_postURL:1185 +basic/api/PlugletManager_postURL:1186 +basic/api/PlugletManager_postURL:1187 +basic/api/PlugletManager_postURL:1188 +basic/api/PlugletManager_postURL:1189 +basic/api/PlugletManager_postURL:1190 +basic/api/PlugletManager_postURL:1191 +basic/api/PlugletManager_postURL:1192 +basic/api/PlugletManager_postURL:1193 +basic/api/PlugletManager_postURL:1194 +basic/api/PlugletManager_postURL:1195 +basic/api/PlugletManager_postURL:1196 +basic/api/PlugletManager_postURL:1197 +basic/api/PlugletManager_postURL:1198 +basic/api/PlugletManager_postURL:1199 +basic/api/PlugletManager_reloadPluglets:0 +basic/api/PlugletManager_reloadPluglets:1 +basic/api/PlugletManager_userAgent +basic/api/PlugletStreamInfo_getContentType +basic/api/PlugletStreamInfo_getLastModified +basic/api/PlugletStreamInfo_getLength +basic/api/PlugletStreamInfo_getURL +basic/api/PlugletStreamInfo_isSeekable +basic/api/PlugletStreamInfo_requestRead:0 +basic/api/PlugletStreamInfo_requestRead:1 +basic/api/PlugletStreamInfo_requestRead:2 +basic/api/PlugletTagInfo2_getAlignment +basic/api/PlugletTagInfo_getAttribute:0 +basic/api/PlugletTagInfo_getAttribute:1 +basic/api/PlugletTagInfo_getAttribute:2 +basic/api/PlugletTagInfo_getAttribute:3 +basic/api/PlugletTagInfo_getAttributes +basic/api/PlugletTagInfo2_getAttribute:0 +basic/api/PlugletTagInfo2_getAttribute:1 +basic/api/PlugletTagInfo2_getAttribute:2 +basic/api/PlugletTagInfo2_getAttribute:3 +basic/api/PlugletTagInfo2_getAttributes +basic/api/PlugletTagInfo2_getBorderHorizSpace +basic/api/PlugletTagInfo2_getBorderHorizSpace_1 +basic/api/PlugletTagInfo2_getBorderVertSpace +basic/api/PlugletTagInfo2_getBorderVertSpace_1 +basic/api/PlugletTagInfo2_getDocumentBase +basic/api/PlugletTagInfo2_getDocumentEncoding +basic/api/PlugletTagInfo2_getHeight +basic/api/PlugletTagInfo2_getHeight_1 +basic/api/PlugletTagInfo2_getTagText +basic/api/PlugletTagInfo2_getTagType +basic/api/PlugletTagInfo2_getTagType_1 +basic/api/PlugletTagInfo2_getUniqueID +basic/api/PlugletTagInfo2_getWidth +basic/api/PlugletTagInfo2_getWidth_1 +basic/scenario/1 +basic/scenario/2 +basic/scenario/3 +basic/scenario/4 +basic/scenario/5 +basic/scenario/8 +basic/scenario/9 +basic/scenario/fr1 +basic/scenario/fr2 +basic/scenario/fr3 +basic/params/Pluglet_createPlugletInstance_mimeType_1 +basic/params/Pluglet_createPlugletInstance_mimeType_2 +basic/params/Pluglet_createPlugletInstance_mimeType_3 +basic/params/Pluglet_createPlugletInstance_mimeType_4 +basic/params/Pluglet_createPlugletInstance_mimeType_5 +basic/params/Pluglet_createPlugletInstance_mimeType_6 +basic/params/PlugletStreamListener_onDataAvailable_input_1 +basic/params/PlugletStreamListener_onDataAvailable_input_2 +basic/params/PlugletStreamListener_onDataAvailable_input_3 +basic/params/PlugletStreamListener_onDataAvailable_input_4 +basic/params/PlugletStreamListener_onDataAvailable_input_5 +basic/params/PlugletStreamListener_onDataAvailable_input_6 +basic/params/PlugletStreamListener_onDataAvailable_input_7 +basic/params/PlugletStreamListener_onDataAvailable_input_8 +basic/params/PlugletStreamListener_onDataAvailable_input_9 +basic/params/PlugletStreamListener_onDataAvailable_input_10 +basic/returns/Pluglet_createPlugletInstance +basic/returns/PlugletInstance_newStream +basic/security/DeleteFileTest +basic/security/GetClipboardTest +basic/security/GetSysPropsTest +basic/security/OpenWinTest +basic/security/PrintTest +basic/security/ReadFileTest +basic/security/RemoteConnectTest +basic/security/RunProgramTest +basic/security/WriteFileTest +basic/security/automation/SecTestCanRead +basic/security/automation/SecTestCanWrite +basic/security/automation/SecTestClipboard +basic/security/automation/SecTestDelete +basic/security/automation/SecTestEnv +basic/security/automation/SecTestExists +basic/security/automation/SecTestFileDescriptorIn +basic/security/automation/SecTestFileDescriptorOut +basic/security/automation/SecTestFileInputStream +basic/security/automation/SecTestFileOutputStream +basic/security/automation/SecTestGetAbsolutePath +basic/security/automation/SecTestGetCanonicalPath +basic/security/automation/SecTestGetContent +basic/security/automation/SecTestGetParent +basic/security/automation/SecTestGetPath +basic/security/automation/SecTestGetProps +basic/security/automation/SecTestGetSecMgr +basic/security/automation/SecTestIsDirectory +basic/security/automation/SecTestIsFile +basic/security/automation/SecTestLastModified +basic/security/automation/SecTestLength +basic/security/automation/SecTestList +basic/security/automation/SecTestListJSFilter +basic/security/automation/SecTestMkdir +basic/security/automation/SecTestMkdirs +basic/security/automation/SecTestOpenConx +basic/security/automation/SecTestPrintStream +basic/security/automation/SecTestRandomAccess +basic/security/automation/SecTestRandomAccessRW +basic/security/automation/SecTestRenameTo +basic/security/automation/SecTestRunExec +basic/security/automation/SecTestRunExit +basic/security/automation/SecTestRunLoad +basic/security/automation/SecTestRunLoadLib +basic/security/automation/SecTestSetSecMgr +basic/security/automation/SecTestSocket +basic/security/automation/SecTestSysExit +basic/security/automation/SecTestURLFac +basic/security/automation/SecTestXAccept +basic/security/automation/SecTestXAccess +basic/security/automation/SecTestXAccessTG +basic/security/automation/SecTestXAccessTop +basic/security/automation/SecTestXCCL +basic/security/automation/SecTestXConn +basic/security/automation/SecTestXDelete +basic/security/automation/SecTestXExec +basic/security/automation/SecTestXExit +basic/security/automation/SecTestXLink +basic/security/automation/SecTestXListen +basic/security/automation/SecTestXPakAcc +basic/security/automation/SecTestXPakDef +basic/security/automation/SecTestXPropAcc +basic/security/automation/SecTestXRead +basic/security/automation/SecTestXSetFac +basic/security/automation/SecTestXWrite diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Other.list b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Other.list new file mode 100644 index 00000000000..0b6a01dd679 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Other.list @@ -0,0 +1,92 @@ +basic/scenario/1 +basic/scenario/2 +basic/scenario/3 +basic/scenario/4 +basic/scenario/5 +basic/scenario/8 +basic/scenario/9 +basic/scenario/fr1 +basic/scenario/fr2 +basic/scenario/fr3 +basic/params/Pluglet_createPlugletInstance_mimeType_1 +basic/params/Pluglet_createPlugletInstance_mimeType_2 +basic/params/Pluglet_createPlugletInstance_mimeType_3 +basic/params/Pluglet_createPlugletInstance_mimeType_4 +basic/params/Pluglet_createPlugletInstance_mimeType_5 +basic/params/Pluglet_createPlugletInstance_mimeType_6 +basic/params/PlugletStreamListener_onDataAvailable_input_1 +basic/params/PlugletStreamListener_onDataAvailable_input_2 +basic/params/PlugletStreamListener_onDataAvailable_input_3 +basic/params/PlugletStreamListener_onDataAvailable_input_4 +basic/params/PlugletStreamListener_onDataAvailable_input_5 +basic/params/PlugletStreamListener_onDataAvailable_input_6 +basic/params/PlugletStreamListener_onDataAvailable_input_7 +basic/params/PlugletStreamListener_onDataAvailable_input_8 +basic/params/PlugletStreamListener_onDataAvailable_input_9 +basic/params/PlugletStreamListener_onDataAvailable_input_10 +basic/returns/Pluglet_createPlugletInstance +basic/returns/PlugletInstance_newStream +basic/security/DeleteFileTest +basic/security/GetClipboardTest +basic/security/GetSysPropsTest +basic/security/OpenWinTest +basic/security/PrintTest +basic/security/ReadFileTest +basic/security/RemoteConnectTest +basic/security/RunProgramTest +basic/security/WriteFileTest +basic/security/automation/SecTestCanRead +basic/security/automation/SecTestCanWrite +basic/security/automation/SecTestClipboard +basic/security/automation/SecTestDelete +basic/security/automation/SecTestEnv +basic/security/automation/SecTestExists +basic/security/automation/SecTestFileDescriptorIn +basic/security/automation/SecTestFileDescriptorOut +basic/security/automation/SecTestFileInputStream +basic/security/automation/SecTestFileOutputStream +basic/security/automation/SecTestGetAbsolutePath +basic/security/automation/SecTestGetCanonicalPath +basic/security/automation/SecTestGetContent +basic/security/automation/SecTestGetParent +basic/security/automation/SecTestGetPath +basic/security/automation/SecTestGetProps +basic/security/automation/SecTestGetSecMgr +basic/security/automation/SecTestIsDirectory +basic/security/automation/SecTestIsFile +basic/security/automation/SecTestLastModified +basic/security/automation/SecTestLength +basic/security/automation/SecTestList +basic/security/automation/SecTestListJSFilter +basic/security/automation/SecTestMkdir +basic/security/automation/SecTestMkdirs +basic/security/automation/SecTestOpenConx +basic/security/automation/SecTestPrintStream +basic/security/automation/SecTestRandomAccess +basic/security/automation/SecTestRandomAccessRW +basic/security/automation/SecTestRenameTo +basic/security/automation/SecTestRunExec +basic/security/automation/SecTestRunExit +basic/security/automation/SecTestRunLoad +basic/security/automation/SecTestRunLoadLib +basic/security/automation/SecTestSetSecMgr +basic/security/automation/SecTestSocket +basic/security/automation/SecTestSysExit +basic/security/automation/SecTestURLFac +basic/security/automation/SecTestXAccept +basic/security/automation/SecTestXAccess +basic/security/automation/SecTestXAccessTG +basic/security/automation/SecTestXAccessTop +basic/security/automation/SecTestXCCL +basic/security/automation/SecTestXConn +basic/security/automation/SecTestXDelete +basic/security/automation/SecTestXExec +basic/security/automation/SecTestXExit +basic/security/automation/SecTestXLink +basic/security/automation/SecTestXListen +basic/security/automation/SecTestXPakAcc +basic/security/automation/SecTestXPakDef +basic/security/automation/SecTestXPropAcc +basic/security/automation/SecTestXRead +basic/security/automation/SecTestXSetFac +basic/security/automation/SecTestXWrite diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Test.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Test.java new file mode 100644 index 00000000000..9bf0d05bd7a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/Test.java @@ -0,0 +1,27 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic; + +public interface Test { + + public void execute(TestContext context); + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestContext.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestContext.java new file mode 100644 index 00000000000..36dbb646451 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestContext.java @@ -0,0 +1,334 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic; + +import java.util.*; +import java.io.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.util.*; + +public class TestContext { + + public static String TEST_PARAMETERS_FILE_NAME = "TestProperties"; + public static String COMMON_PROPERTIES_FILE_NAME = "CommonProperties"; + public static String START_PROPERTIES_FILE_NAME = "StartProperties"; + + public static String LOG_FILE_NAME_PROP_NAME = "LOG_FILE"; + public static String RESULT_FILE_NAME_PROP_NAME = "RESULT_FILE"; + public static String TEST_TOP_DIR_PROP_NAME = "TEST_TOP_DIR"; + public static String TEST_DIR_PROP_NAME = "TEST_DIR"; + + public static int FAILED = 0; + public static int NOT_DEF = 1; + public static int PASSED = 3; + + + private static String logFile; + private static String resFile; + private static int result = NOT_DEF; + + private static String tmpString; + private static String tmpFile; + private static boolean tmpFromStart; + + TestLoaderPluglet plugletFactory = null; + String mimeType = null; + Pluglet plugletInstance = null; + PlugletStreamListener plugletStreamListener = null; + PlugletManager pm = null; + PlugletPeer peer = null; + PlugletStreamInfo plugletStreamInfo = null; + InputStream is = null; + int length; + String fileName = null; + int status; + int streamType; + TestStage stage = null; + TestDescr descr = null; + Vector parameters = null; + + Properties props = new Properties(); + + public TestContext() { + + } + + public void initialize() { + try { + File propsFile = new File(START_PROPERTIES_FILE_NAME); + props.load(new FileInputStream(propsFile)); + propsFile = new File(getTopDir() + "/config/" + COMMON_PROPERTIES_FILE_NAME); + props.load(new FileInputStream(propsFile)); + logFile = props.getProperty(LOG_FILE_NAME_PROP_NAME); + resFile = props.getProperty(RESULT_FILE_NAME_PROP_NAME); + + propsFile = new File(getTestDir() + "/" + TEST_PARAMETERS_FILE_NAME); + props.load(new FileInputStream(propsFile)); + } catch (Exception e) { + printLog("Cann't load properties file - exception:"); + printLog(e.getMessage()); + e.printStackTrace(); + } + descr = new TestDescr(); + descr.initialize(props, this); + } + + public TestContext getCopy() { + TestContext tc = new TestContext(); + + tc.plugletFactory = this.plugletFactory; + tc.plugletInstance = this.plugletInstance; + tc.plugletStreamListener = this.plugletStreamListener; + tc.pm = this.pm; + tc.peer = this.peer; + tc.plugletStreamInfo = this.plugletStreamInfo; + tc.is = this.is; + tc.length = this.length; + tc.status = this.status; + tc.stage = this.stage; + tc.descr = this.descr; + tc.parameters = this.parameters; + tc.props = props; + return tc; + } + + + public void setMimeType(String mimeType) { + this.mimeType = mimeType; + } + + public String getMimeType() { + return mimeType; + } + + public void setPlugletFactory(TestLoaderPluglet plugletFactory) { + this.plugletFactory = plugletFactory; + } + + public PlugletFactory getPlugletFactory() { + return plugletFactory; + } + + public void setPlugletManager(PlugletManager pm) { + this.pm = pm; + } + + public PlugletManager getPlugletManager() { + return pm; + } + + public void setPluglet(Pluglet plugletInstance) { + this.plugletInstance = plugletInstance; + } + + public Pluglet getPluglet() { + return plugletInstance; + } + + public void setPlugletStreamListener(PlugletStreamListener plugletStreamListener) { + this.plugletStreamListener = plugletStreamListener; + } + + public PlugletStreamListener getPlugletStreamListener() { + return plugletStreamListener; + } + + public void setPlugletPeer(PlugletPeer peer) { + this.peer = peer; + } + + public PlugletPeer getPlugletPeer() { + return peer; + } + + public void setTestStage(TestStage stage) { + this.stage = stage; + } + + public TestStage getTestStage() { + return stage; + } + + public TestDescr getTestDescr() { + return descr; + } + + public void setPlugletStreamInfo(PlugletStreamInfo plugletStreamInfo){ + this.plugletStreamInfo = plugletStreamInfo; + } + + public PlugletStreamInfo getPlugletStreamInfo(){ + return plugletStreamInfo; + } + + public void setStatus(int status){ + this.status = status; + } + + public int getStatus(){ + return status; + } + + public void setInputStream(InputStream is) { + this.is = is; + } + + public InputStream getInputStream() { + return is; + } + + public void setLength(int length) { + this.length = length; + } + + public int getLength() { + return length; + } + + public void setFileName(String fileName){ + this.fileName = fileName; + } + + public String getFileName(){ + return fileName; + } + + public void setStreamType(int streamType) { + this.streamType = streamType; + } + + public int getStreamType() { + return streamType; + } + + // nb: move to TestDescr + public void setParameters(Vector parameters){ + this.parameters = parameters; + } + + public Vector getParameters(){ + return parameters; + } + + public static Pluglet getOtherPluglet(){ + return null; + } + + public String getTopDir() { + return props.getProperty(TEST_TOP_DIR_PROP_NAME); + } + + public String getTestDir() { + return props.getProperty(TEST_DIR_PROP_NAME); + } + + public String getProperty(String propName){ + return props.getProperty(propName); + } + + public TestStage getStageByPropertyName(String propName) { + + String stageName = props.getProperty(propName); + if (stageName == null) { + printLog(propName + " isn't set"); + return null; + } else { + TestStage stage = TestStage.getStageByName(stageName); + if (stage == null) { + printLog(propName +" is set into non-existent value"); + return null; + } + return stage; + } + + } + + + public static void registerIfNotRegistered(int res) { + if (result == NOT_DEF){ + if (res == FAILED) { + registerFAILED("By checking thread"); + } else { + registerPASSED("By checking thread"); + } + } + } + + public static void registerFAILED(String comment) { + result = FAILED; + appendToFile(logFile, "FAILED: "+comment+"\n", false); + appendToFile(resFile, "FAILED\n", true); + } + + public static void registerPASSED(String comment) { + if (result == NOT_DEF) { + result = PASSED; + appendToFile(logFile, "PASSED: "+comment+"\n", false); + appendToFile(resFile, "PASSED\n", true); + } + } + + public static boolean failedIsRegistered(){ + return (result == FAILED); + } + + public static void printLog(String logStr) { + appendToFile(logFile, logStr+"\n", false); + } + + private static void appendToFile(String file, String str, boolean fromStart) { + tmpString = str; + tmpFile = file; + tmpFromStart = fromStart; + java.security.AccessController + .doPrivileged(new java.security.PrivilegedAction(){ + public Object run(){ + try { + RandomAccessFile f = new RandomAccessFile(tmpFile, "rw"); + if (tmpFromStart) { + f.seek(0); + } else { + long length = f.length(); + f.seek(length); + } + f.writeBytes(tmpString); + f.close(); + } catch (IOException e) { + DebugPluglet.print("IOException appending to file "+tmpFile); + DebugPluglet.print(e.toString()); + } + return null; + } + }); + } + + +} + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestInstance.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestInstance.java new file mode 100644 index 00000000000..a80b1fa07ce --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestInstance.java @@ -0,0 +1,110 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic; + +import java.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import java.awt.*; +import java.awt.print.*; +import java.io.*; +import java.net.URL; + +public class TestInstance implements Pluglet{ + + TestContext context = null; + + public TestInstance(TestContext context){ + this.context = context; + context.setPluglet(this); + } + + public void initialize(PlugletPeer peer) { + + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_INITIALIZE)); + context.setPlugletPeer(peer); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void start() { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_START)); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void stop() { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_STOP)); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void destroy() { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_DESTROY)); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public PlugletStreamListener newStream() { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_NEW_STREAM)); + context.setPlugletStreamListener(new TestStreamListener(context.getCopy())); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + return context.getPlugletStreamListener(); + } + + public void setWindow(Frame frame) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_SET_WINDOW)); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void print(PrinterJob printerJob) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INSTANCE_PRINT)); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestListIterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestListIterator.java new file mode 100644 index 00000000000..e8944987a78 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestListIterator.java @@ -0,0 +1,33 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic; + +public interface TestListIterator { + + public boolean initialize(TestContext context); + + public boolean next(); + +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestLoaderPluglet.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestLoaderPluglet.java new file mode 100644 index 00000000000..e192dc53b70 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestLoaderPluglet.java @@ -0,0 +1,110 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic; + +import java.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import java.awt.*; +import java.awt.print.*; +import java.io.*; +import java.net.URL; + + +public class TestLoaderPluglet implements PlugletFactory { + + public static String DELAY_INTERNAL_PROP_NAME = "DELAY_INTERNAL"; + + public static int defaultResult = TestContext.FAILED; + + public TestContext context = new TestContext(); + + public TestLoaderPluglet(){ + System.out.println("--TestLoaderPluglet()"); + context.initialize(); + context.setPlugletFactory(this); + try { + PlugletCheckingThread checkingThread = + new PlugletCheckingThread((new Integer(context.getProperty(DELAY_INTERNAL_PROP_NAME))).intValue()*1000); + checkingThread.start(); + } catch (Exception e) { + TestContext.printLog(DELAY_INTERNAL_PROP_NAME+" props isn't correctly set"); + } + } + + + public void initialize(PlugletManager manager) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_INITIALIZE)); + context.setPlugletManager(manager); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public Pluglet createPluglet(String mimeType) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_CREATE_PLUGLET_INSTANCE)); + context.setMimeType(mimeType); + context.setPluglet(new TestInstance(context.getCopy())); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + return context.getPluglet(); + } + + public void shutdown() { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_SHUTDOWN)); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } +} + + +class PlugletCheckingThread extends Thread { + int timeout = Integer.MAX_VALUE; + + PlugletCheckingThread(int timeout){ + this.timeout = timeout; + } + + public void run(){ + System.out.println("started thread to sleep "+timeout); + try { + sleep(timeout); + } catch (Exception e) { + TestContext.printLog("Checking thread had been interrupted"); + } + TestContext.registerIfNotRegistered(TestLoaderPluglet.defaultResult); + } + +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestProperties new file mode 100644 index 00000000000..578ab112d4a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestProperties @@ -0,0 +1,3 @@ +RUN_STAGES=PLUGLET_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_9216 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_Iterator \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestStage.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestStage.java new file mode 100644 index 00000000000..fde837e2298 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestStage.java @@ -0,0 +1,115 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic; + +import java.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; + +public class TestStage { + + public static String NO_ANY_STAGE = "NO_ANY_STAGE"; + public static String PLUGLET_INITIALIZE = "PLUGLET_INITIALIZE"; + public static String PLUGLET_CREATE_PLUGLET_INSTANCE = "PLUGLET_CREATE_PLUGLET_INSTANCE"; + public static String PLUGLET_SHUTDOWN = "PLUGLET_SHUTDOWN"; + public static String PLUGLET_INSTANCE_INITIALIZE = "PLUGLET_INSTANCE_INITIALIZE"; + public static String PLUGLET_INSTANCE_START = "PLUGLET_INSTANCE_START" ; + public static String PLUGLET_INSTANCE_NEW_STREAM = "PLUGLET_INSTANCE_NEW_STREAM"; + public static String PLUGLET_INSTANCE_SET_WINDOW = "PLUGLET_INSTANCE_SET_WINDOW"; + public static String PLUGLET_INSTANCE_PRINT = "PLUGLET_INSTANCE_PRINT"; + public static String PLUGLET_INSTANCE_STOP = "PLUGLET_INSTANCE_STOP"; + public static String PLUGLET_INSTANCE_DESTROY = "PLUGLET_INSTANCE_DESTROY"; + public static String PLUGLET_STREAM_LISTENER_ON_START_BINDING = "PLUGLET_STREAM_LISTENER_ON_START_BINDING"; + public static String PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE = "PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE"; + public static String PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE = "PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE"; + public static String PLUGLET_STREAM_LISTENER_GET_STREAM_TYPE = "PLUGLET_STREAM_LISTENER_GET_STREAM_TYPE"; + public static String PLUGLET_STREAM_LISTENER_ON_STOP_BINDING = "PLUGLET_STREAM_LISTENER_ON_STOP_BINDING"; + public static String ANY = "ANY"; + + static Hashtable names = new Hashtable(); + static { + names.put(NO_ANY_STAGE, new TestStage(NO_ANY_STAGE)); + names.put(PLUGLET_INITIALIZE, new TestStage(PLUGLET_INITIALIZE)); + names.put(PLUGLET_CREATE_PLUGLET_INSTANCE, new TestStage(PLUGLET_CREATE_PLUGLET_INSTANCE)); + names.put(PLUGLET_SHUTDOWN, new TestStage(PLUGLET_SHUTDOWN)); + names.put(PLUGLET_INSTANCE_INITIALIZE, new TestStage(PLUGLET_INSTANCE_INITIALIZE)); + names.put(PLUGLET_INSTANCE_START, new TestStage(PLUGLET_INSTANCE_START)); + names.put(PLUGLET_INSTANCE_NEW_STREAM, new TestStage(PLUGLET_INSTANCE_NEW_STREAM)); + names.put(PLUGLET_INSTANCE_SET_WINDOW, new TestStage(PLUGLET_INSTANCE_SET_WINDOW)); + names.put(PLUGLET_INSTANCE_PRINT, new TestStage(PLUGLET_INSTANCE_PRINT)); + names.put(PLUGLET_INSTANCE_STOP, new TestStage(PLUGLET_INSTANCE_STOP)); + names.put(PLUGLET_INSTANCE_DESTROY, new TestStage(PLUGLET_INSTANCE_DESTROY)); + names.put(PLUGLET_STREAM_LISTENER_ON_START_BINDING, new TestStage(PLUGLET_STREAM_LISTENER_ON_START_BINDING)); + names.put(PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE, new TestStage(PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE)); + names.put(PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE, new TestStage(PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE)); + names.put(PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE, new TestStage(PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE)); + names.put(PLUGLET_STREAM_LISTENER_GET_STREAM_TYPE, new TestStage(PLUGLET_STREAM_LISTENER_GET_STREAM_TYPE)); + names.put(PLUGLET_STREAM_LISTENER_ON_STOP_BINDING, new TestStage(PLUGLET_STREAM_LISTENER_ON_STOP_BINDING)); + names.put(ANY, new TestStage(ANY)); + } + + private String id; + + private TestStage(String id) { + this.id = id; + } + + private String getId() { + return id; + } + + public String getName() { + return id; + } + + public static TestStage getStageById(String id) { + return (TestStage)names.get(id); + } + + public static TestStage getStageByName(String name) { + return (TestStage)names.get(name.toUpperCase()); + } + + public boolean consist(TestStage stage) { + + if (stage.getId().equals(this.id)) { + return true; + } + if (stage.getId().equals(TestStage.ANY)) { + return true; + } + return false; + } + + public boolean equals(Object stage) { + //System.out.println("to test "+this.id+" and "+((TestStage)stage).getId()); + if (stage != null) { + if (((TestStage)stage).getId().equals(this.id)) { + return true; + } + } + return false; + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestStreamListener.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestStreamListener.java new file mode 100644 index 00000000000..5d74ed976e5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestStreamListener.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic; + +import java.util.*; +import org.mozilla.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import java.awt.*; +import java.awt.print.*; +import java.io.*; +import java.net.URL; + +public class TestStreamListener implements PlugletStreamListener { + + TestContext context = null; + + public TestStreamListener(TestContext context){ + this.context = context; + context.setPlugletStreamListener(this); + } + + public void onStartBinding(PlugletStreamInfo streamInfo) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_ON_START_BINDING)); + context.setPlugletStreamInfo(streamInfo); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void onDataAvailable(PlugletStreamInfo streamInfo, InputStream input,int length) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE)); + context.setPlugletStreamInfo(streamInfo); + context.setInputStream(input); + context.setLength(length); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void onFileAvailable(PlugletStreamInfo streamInfo, String fileName) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_ON_FILE_AVAILABLE)); + context.setPlugletStreamInfo(streamInfo); + context.setFileName(fileName); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public void onStopBinding(PlugletStreamInfo streamInfo,int status) { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_ON_STOP_BINDING)); + context.setPlugletStreamInfo(streamInfo); + context.setStatus(status); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + } + + public int getStreamType() { + context.setTestStage(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_GET_STREAM_TYPE)); + context.setStreamType(STREAM_TYPE_NORMAL); + Test test = null; + test = context.getTestDescr().getTestInstance(context.getTestStage()); + if (test !=null) { + test.execute(context); + } + return context.getStreamType(); + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/Makefile new file mode 100644 index 00000000000..7449fa2bac5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/Makefile @@ -0,0 +1,130 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +DEPTH=../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +LST_FILE=test/basic/api/BWTest.lst.ORIG +BUILD_DIR_CLASSES=$(BUILD_DIR)/classes +BASIC_PATH=org/mozilla/pluglet/test/basic +TEST_DIRS=test/basic/api +CLASSES_LOCATION=$(BUILD_DIR_CLASSES)/$(BASIC_PATH)/api +API_HTML_ROOT_DIR=$(HTML_ROOT_DIR)/api +JSRC= *.java +JAVAC=$(JDKHOME)/bin/javac +JAVA=$(JDKHOME)/bin/java +CLASSPATH=$(MOZILLA_FIVE_HOME)/../classes:$(BUILD_DIR_CLASSES):$$(CLASSPATH) + +#All tests list +#PlugletManager_getValue was excluded from test list, method removed +#PlugletStreamInfo_requestRead commented,method doesn't work +TESTS = PlugletPeer_getMIMEType \ + PlugletPeer_getMode \ + PlugletPeer_getValue \ + PlugletPeer_setWindowSize \ + PlugletPeer_showStatus \ + PlugletPeer_getTagInfo \ + PlugletManager_reloadPluglets \ + PlugletManager_userAgent \ + PlugletStreamInfo_getContentType \ + PlugletStreamInfo_getLastModified \ + PlugletStreamInfo_getLength \ + PlugletStreamInfo_getURL \ + PlugletStreamInfo_isSeekable \ + PlugletStreamInfo_requestRead \ + PlugletTagInfo2_getAlignment \ + PlugletTagInfo_getAttribute \ + PlugletTagInfo_getAttributes \ + PlugletTagInfo2_getParameter \ + PlugletTagInfo2_getParameters \ + PlugletTagInfo2_getParameters_1 \ + PlugletTagInfo2_getAttribute \ + PlugletTagInfo2_getDOMElement \ + PlugletTagInfo2_getAttributes \ + PlugletTagInfo2_getBorderHorizSpace \ + PlugletTagInfo2_getBorderHorizSpace_1 \ + PlugletTagInfo2_getBorderVertSpace \ + PlugletTagInfo2_getBorderVertSpace_1 \ + PlugletTagInfo2_getDocumentBase \ + PlugletTagInfo2_getDocumentEncoding \ + PlugletTagInfo2_getHeight \ + PlugletTagInfo2_getHeight_1 \ + PlugletTagInfo2_getTagText \ + PlugletTagInfo2_getTagType \ + PlugletTagInfo2_getTagType_1 \ + PlugletTagInfo2_getUniqueID \ + PlugletTagInfo2_getWidth \ + PlugletTagInfo2_getWidth_1 \ + PlugletManager_getURL \ + PlugletManager_getURL_1 \ + PlugletManager_postURL \ + PlugletPeer_newStream_0 \ + PlugletPeer_newStream_1 + +default: classes tests test_pluglet + +classes: + @echo Compile classes .. + @$(JAVAC) -d $(BUILD_DIR_CLASSES) Pluglet*.java + +test_pluglet: + @mkdir -p $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/api + @cp -f manifest $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/api + @cd $(BUILD_DIR_CLASSES); \ + $(JDKHOME)/bin/jar cfm $(BASIC_PATH)/api/TestAPIPluglet.jar $(BASIC_PATH)/api/manifest $(BASIC_PATH)/*.class $(BASIC_PATH)/api/*.class + +tests: + @$(MAKE) tests_rec MAKE_ARGS=all + +combinations: + @echo Make combinations .. + @echo -- NOTE: You need to do combinations only if you change + @echo -- ParamCombination files in test dirs. + @echo -- For rest cases defult LST files exists in test dirs + @mkdir -p $(BUILD_DIR)/$(TEST_DIRS) + @$(MAKE) tests_rec MAKE_ARGS=$@ COMMON_LST_FILE=$(LST_FILE) + +clobber: + @if [ -e $(CLASSES_LOCATION) ]; then \ + rm -rf $(CLASSES_LOCATION)/* ; \ + fi + @$(MAKE) tests_rec MAKE_ARGS=$@ + +tests_rec: + @for i in $(TESTS);do \ + echo Making $(MAKE_ARGS) in $${i}; \ + cd $${i}; \ + $(MAKE) $(MAKE_ARGS) HTML_DEST_DIR=$(API_HTML_ROOT_DIR); \ + cd ..; \ + done + + + + + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_128.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_128.java new file mode 100644 index 00000000000..a99ec79eb11 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_128.java @@ -0,0 +1,171 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletManager_getURL_128 implements Test +{ + private static Pluglet plugletInstance = null; + private static URL url = null; + private static String target = null; + private static PlugletStreamListener listener = null; + private static String altHost = null; + private static URL referer = null; + private static Boolean JSEnabled = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_getURL_128() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletManager PlugletManager_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletManager_getURL_128"); + System.err.println("ERROR:null context passed in execute(TestContext) of PlugletManager_getURL_128"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletManager_obj = context.getPlugletManager(); + if( PlugletManager_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletManager passed in execute(TestContext) of PlugletManager_getURL_128"); + System.err.println("ERROR:null PlugletManager passed in execute(TestContext) of PlugletManager_getURL_128"); + return; + } + //Initialization of parameters + plugletInstance = (Pluglet)vectorOfParameters.elementAt(0); + url = (URL)vectorOfParameters.elementAt(1); + target = (String)vectorOfParameters.elementAt(2); + listener = (PlugletStreamListener)vectorOfParameters.elementAt(3); + altHost = (String)vectorOfParameters.elementAt(4); + referer = (URL)vectorOfParameters.elementAt(5); + JSEnabled = (Boolean)vectorOfParameters.elementAt(6); + + //Call tested method + PlugletManager_obj.getURL(plugletInstance,url,target,listener,altHost,referer,JSEnabled.booleanValue()); + + TestContext.printLog("DEBUG: Void method PlugletManager_getURL(" + + plugletInstance + "," + + url + "," + + target + "," + + listener + "," + + altHost + "," + + referer + "," + + JSEnabled + ")"); + } + + public static void checkResult_target(String winName, boolean isTop) + { + if (target.equals("_top")&&isTop) { + TestContext.registerPASSED("All data was posted in _top window."); + return; + } + if (target.equals(winName)) { + TestContext.registerPASSED("All data was posted in right window with name: " + winName); + } else { + TestContext.registerFAILED("Data was posted to the wrong window with name: " + winName + + " instead of: " + target); + } + } + + public static void checkResult_referer(String ref) + { + if (ref.equals(referer)) { + TestContext.registerPASSED("Right HTTP_REFERER passed to CGI script: " + ref); + } else { + TestContext.registerFAILED("Wrong HTTP_REFERER: \"" + ref + + "\" instead of: \"" + referer + "\""); + } + } + + public static void setResult(boolean res,String comment) + { + if(res) { + TestContext.registerPASSED("Result from JavaScript: " + comment); + } else { + TestContext.registerFAILED("Result from JavaScript: " + comment); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/Makefile new file mode 100644 index 00000000000..83fc1c7bbf0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/Makefile @@ -0,0 +1,47 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_getURL_2 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)/$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/$(TEST_NAME).lst + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/ParamCombinations new file mode 100644 index 00000000000..13dc9661620 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/ParamCombinations @@ -0,0 +1,7 @@ +this_PlugletInstance'0 +null'1, HTTP_URL_FOR_GET'0, FTP_URL_FOR_GET'0, MAILTO_URL_FOR_GET'0, FILE_URL_FOR_GET'0, FILE_WIN_URL_FOR_GET'0, JAVASCRIPT_URL_FOR_GET'0 +EXISTING_TARGET_FOR_GET'0 +null_streamListener'0 +null'0 +null'0 +false'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL.html new file mode 100644 index 00000000000..ab6b3f3a358 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html new file mode 100644 index 00000000000..a5a85ab0c23 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html @@ -0,0 +1,24 @@ + + +This HTML used for getURL call of PlugletManager + + + +This is first line of this HTML
+
+PlugletManager_getURL test. +Results will be passed to test via JavaScript.
+This is last line of this HTML
+ + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_empty.html new file mode 100644 index 00000000000..fb12a9c8a8a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_empty.html @@ -0,0 +1,6 @@ + + +

Depth 0

+
This a empty winow. Just for making depth 1 for pluglet frame.
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_exist_target.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_exist_target.html new file mode 100644 index 00000000000..452d61f98c9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_exist_target.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window has a name "exist_target_for_get" that eguivalent a value specified +in properties file. So it's really existing target for PlugletManager_getURL test
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_pluglet.html new file mode 100644 index 00000000000..d14405b9425 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_pluglet.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window contains a pluglet with PlugletManager_getURL test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_plugletFrameset.html new file mode 100644 index 00000000000..b050a14993b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_plugletFrameset.html @@ -0,0 +1,6 @@ + + + + name=exist_target_for_get + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/README new file mode 100644 index 00000000000..e124fee1717 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/README @@ -0,0 +1,21 @@ +PlugletManager_getURL Information. + +Test name: PlugletManager_getURL + +Synopsis: getURL method of class PlugletManager + +Goals: this test case test possible URL types. +, and should be specified. + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getURL method of the PlugletManager object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletManager_getURL.lst file. Each line in PlugletManager_getURL.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/TestParameters new file mode 100644 index 00000000000..4bead70a5b8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/TestParameters @@ -0,0 +1,7 @@ +EXISTING_TARGET_FOR_GET=exist_target_for_get +FILE_WIN_URL_FOR_GET=file:////api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html +MAILTO_URL_FOR_GET=mailto:avm@sparc.spb.su +HTTP_URL_FOR_GET=http:///api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html +FILE_URL_FOR_GET=file:////api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html +FTP_URL_FOR_GET=ftp://anonymous@localhost//api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html +JAVASCRIPT_URL_FOR_GET=javascript:Packages.org.mozilla.pluglet.test.basic.api.PlugletManaget_getURL_128.setResult(true,'JAVASCRIPT_URL_WORKS'); diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/TestProperties new file mode 100644 index 00000000000..b54ddb36eb7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_getURL_128 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_getURL_Iterator +TEST_HTML=api/PlugletManager_getURL_2/PlugletManager_getURL.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/Makefile new file mode 100644 index 00000000000..2ded446a1d4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/Makefile @@ -0,0 +1,46 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_getURL_3 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)/$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/$(TEST_NAME).lst + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/ParamCombinations new file mode 100644 index 00000000000..4519f84267a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/ParamCombinations @@ -0,0 +1,7 @@ +this_PlugletInstance'0 +null'1, HTTP_URL_FOR_GET'0 +EXISTING_TARGET_FOR_GET'0 +null_streamListener'0 +null'0 +null'0, CURRENT_REFERER_URL'0, HTTP_OTHER_REFERER_URL'0 +true'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL.html new file mode 100644 index 00000000000..ab6b3f3a358 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_empty.html new file mode 100644 index 00000000000..fb12a9c8a8a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_empty.html @@ -0,0 +1,6 @@ + + +

Depth 0

+
This a empty winow. Just for making depth 1 for pluglet frame.
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_exist_target.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_exist_target.html new file mode 100644 index 00000000000..452d61f98c9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_exist_target.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window has a name "exist_target_for_get" that eguivalent a value specified +in properties file. So it's really existing target for PlugletManager_getURL test
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_pluglet.html new file mode 100644 index 00000000000..d14405b9425 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_pluglet.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window contains a pluglet with PlugletManager_getURL test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_plugletFrameset.html new file mode 100644 index 00000000000..b050a14993b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/PlugletManager_getURL_plugletFrameset.html @@ -0,0 +1,6 @@ + + + + name=exist_target_for_get + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/README new file mode 100644 index 00000000000..6e64b89afcd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/README @@ -0,0 +1,18 @@ +PlugletManager_getURL Information. + +Test name: PlugletManager_getURL + +Synopsis: getURL method of class PlugletManager + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getURL method of the PlugletManager object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletManager_getURL.lst file. Each line in PlugletManager_getURL.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestParameters new file mode 100644 index 00000000000..d6743806120 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestParameters @@ -0,0 +1,4 @@ +EXISTING_TARGET_FOR_GET=exist_target_for_get +HTTP_OTHER_REFERER_URL=http://www.mozilla.org/index.html +CURRENT_REFERER_URL=/api/PlugletManager_getURL_3/PlugletManager_getURL.html +HTTP_URL_FOR_GET=/api/PlugletManager_getURL_3/verify_referer.cgi diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestProperties new file mode 100644 index 00000000000..f4c6521d6c3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_getURL_128 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_getURL_Iterator +TEST_HTML=api/PlugletManager_getURL_3/PlugletManager_getURL.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/makefile.win new file mode 100644 index 00000000000..a9ed52542b1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/makefile.win @@ -0,0 +1,47 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_getURL_3 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/verify_referer.cgi b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/verify_referer.cgi new file mode 100644 index 00000000000..1ea2cd9c7c4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/verify_referer.cgi @@ -0,0 +1,11 @@ +#!/usr/local/bin/perl +$referer = $ENV{HTTP_REFERER}; +print "Content-Type: text/html\n\n"; +print "\n"; +print "This script make verification of HTTP_REFERER variable and tranfer it to pluglet\n"; +print ""; diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/Makefile new file mode 100644 index 00000000000..1374b50e45c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/Makefile @@ -0,0 +1,47 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_getURL_4 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)/$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/$(TEST_NAME).lst + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/ParamCombinations new file mode 100644 index 00000000000..92a9cd56f4c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/ParamCombinations @@ -0,0 +1,7 @@ +this_PlugletInstance'0 +GOOD_HTTP_URL_FOR_GET'0, BAD_HOST_HTTP_URL_FOR_GET'1 +EXISTING_TARGET_FOR_GET'0 +null_streamListener'0 +null'1, GOOD_ALT_HOST'0, BAD_ALT_HOST'1, OTHER_GOOD_ALT_HOST'0 +null'0 +true'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL.html new file mode 100644 index 00000000000..ab6b3f3a358 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_empty.html new file mode 100644 index 00000000000..fb12a9c8a8a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_empty.html @@ -0,0 +1,6 @@ + + +

Depth 0

+
This a empty winow. Just for making depth 1 for pluglet frame.
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_exist_target.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_exist_target.html new file mode 100644 index 00000000000..452d61f98c9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_exist_target.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window has a name "exist_target_for_get" that eguivalent a value specified +in properties file. So it's really existing target for PlugletManager_getURL test
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_pluglet.html new file mode 100644 index 00000000000..d14405b9425 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_pluglet.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window contains a pluglet with PlugletManager_getURL test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_plugletFrameset.html new file mode 100644 index 00000000000..b050a14993b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/PlugletManager_getURL_plugletFrameset.html @@ -0,0 +1,6 @@ + + + + name=exist_target_for_get + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/README new file mode 100644 index 00000000000..6e64b89afcd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/README @@ -0,0 +1,18 @@ +PlugletManager_getURL Information. + +Test name: PlugletManager_getURL + +Synopsis: getURL method of class PlugletManager + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getURL method of the PlugletManager object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletManager_getURL.lst file. Each line in PlugletManager_getURL.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestParameters new file mode 100644 index 00000000000..9b46ea25947 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestParameters @@ -0,0 +1,6 @@ +EXISTING_TARGET_FOR_GET=exist_target_for_get +GOOD_HTTP_URL_FOR_GET=/good_host.cgi +BAD_HOST_HTTP_URL_FOR_GET=/bad_host.cgi +BAD_ALT_HOST=111.111.222.222 +GOOD_ALT_HOST=192.168.205.165 +OTHER_GOOD_ALT_HOST=192.168.205.182 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestProperties new file mode 100644 index 00000000000..203c3463cd5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_getURL_128 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_getURL_Iterator +TEST_HTML=api/PlugletManager_getURL_4/PlugletManager_getURL.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/makefile.win new file mode 100644 index 00000000000..c10b7e2c87f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_getURL_4 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_Iterator.java new file mode 100644 index 00000000000..ad8ab889fb4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_Iterator.java @@ -0,0 +1,240 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletManager_getURL_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + Properties testProps = null; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_getURL_Iterator() + { + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + return false; + } + return true; + } + public boolean next() + { + String[] paramValue = new String[7]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL.lst new file mode 100644 index 00000000000..555d373d278 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL.lst @@ -0,0 +1,1200 @@ +0: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +2: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +3: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +4: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +5: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +6: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +7: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +8: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +9: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +10: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +11: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +12: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +13: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +14: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +15: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +16: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +17: null, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +18: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +19: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +20: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +21: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +22: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +23: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +24: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +25: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +26: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +27: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +28: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +29: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +30: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +31: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +32: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +33: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +34: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +35: null, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +36: this_Pluglet, null, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +37: this_Pluglet, null, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +38: this_Pluglet, null, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +39: this_Pluglet, null, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +40: this_Pluglet, null, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +41: this_Pluglet, null, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +42: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +43: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +44: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +45: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +46: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +47: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +48: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +49: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +50: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +51: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +52: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +53: this_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +54: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +55: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +56: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +57: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +58: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +59: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +60: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +61: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +62: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +63: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +64: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +65: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +66: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +67: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +68: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +69: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +70: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +71: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +72: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +73: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +74: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +75: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +76: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +77: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +78: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +79: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +80: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +81: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +82: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +83: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +84: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +85: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +86: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +87: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +88: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +89: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +90: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +91: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +92: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +93: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +94: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +95: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +96: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +97: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +98: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +99: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +100: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +101: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +102: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +103: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +104: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +105: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +106: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +107: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +108: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +109: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +110: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +111: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +112: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +113: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +114: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +115: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +116: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +117: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +118: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +119: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +120: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +121: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +122: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +123: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +124: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +125: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +126: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +127: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +128: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +129: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +130: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +131: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +132: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +133: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +134: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +135: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +136: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +137: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +138: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +139: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +140: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +141: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +142: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +143: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +144: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +145: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +146: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +147: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +148: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +149: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +150: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +151: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +152: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +153: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +154: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +155: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +156: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +157: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +158: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +159: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +160: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +161: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +162: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +163: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +164: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +165: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +166: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +167: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +168: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +169: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +170: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +171: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +172: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +173: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +174: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +175: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +176: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +177: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +178: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +179: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +180: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +181: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +182: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +183: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +184: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +185: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +186: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +187: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +188: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +189: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +190: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +191: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +192: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +193: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +194: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +195: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +196: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +197: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +198: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +199: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +200: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +201: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +202: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +203: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +204: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +205: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +206: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +207: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +208: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +209: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +210: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +211: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +212: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +213: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +214: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +215: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +216: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +217: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +218: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +219: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +220: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +221: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +222: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +223: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +224: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +225: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +226: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +227: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +228: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +229: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +230: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +231: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +232: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +233: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +234: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +235: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +236: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +237: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +238: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +239: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +240: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +241: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +242: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +243: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +244: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +245: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +246: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +247: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +248: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +249: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +250: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +251: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +252: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +253: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +254: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +255: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +256: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +257: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +258: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +259: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +260: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +261: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +262: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +263: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +264: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +265: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +266: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +267: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +268: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +269: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +270: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +271: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +272: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +273: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +274: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +275: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +276: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +277: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +278: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +279: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +280: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +281: this_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +282: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +283: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +284: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +285: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +286: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +287: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +288: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +289: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +290: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +291: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +292: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +293: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +294: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +295: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +296: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +297: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +298: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +299: this_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +300: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +301: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +302: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +303: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +304: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +305: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +306: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +307: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +308: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +309: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +310: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +311: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +312: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +313: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +314: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +315: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +316: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +317: this_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +318: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +319: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +320: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +321: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +322: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +323: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +324: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +325: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +326: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +327: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +328: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +329: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +330: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +331: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +332: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +333: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +334: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +335: this_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +336: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +337: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +338: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +339: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +340: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +341: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +342: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +343: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +344: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +345: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +346: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +347: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +348: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +349: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +350: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +351: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +352: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +353: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +354: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +355: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +356: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +357: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +358: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +359: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +360: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +361: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +362: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +363: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +364: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +365: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +366: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +367: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +368: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +369: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +370: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +371: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +372: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +373: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +374: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +375: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +376: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +377: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +378: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +379: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +380: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +381: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +382: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +383: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +384: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +385: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +386: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +387: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +388: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +389: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +390: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +391: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +392: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +393: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +394: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +395: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +396: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +397: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +398: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +399: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +400: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +401: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +402: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +403: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +404: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +405: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +406: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +407: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +408: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +409: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +410: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +411: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +412: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +413: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +414: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +415: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +416: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +417: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +418: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +419: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +420: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +421: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +422: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +423: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +424: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +425: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +426: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +427: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +428: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +429: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +430: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +431: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +432: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +433: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +434: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +435: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +436: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +437: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +438: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +439: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +440: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +441: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +442: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +443: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +444: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +445: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +446: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +447: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +448: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +449: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +450: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +451: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +452: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +453: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +454: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +455: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +456: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +457: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +458: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +459: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +460: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +461: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +462: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +463: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +464: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +465: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +466: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +467: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +468: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +469: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +470: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +471: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +472: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +473: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +474: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +475: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +476: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +477: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +478: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +479: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +480: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +481: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +482: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +483: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +484: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +485: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +486: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +487: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +488: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +489: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +490: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +491: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +492: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +493: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +494: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +495: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +496: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +497: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +498: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +499: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +500: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +501: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +502: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +503: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +504: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +505: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +506: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +507: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +508: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +509: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +510: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +511: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +512: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +513: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +514: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +515: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +516: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +517: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +518: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +519: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +520: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +521: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +522: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +523: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +524: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +525: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +526: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +527: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +528: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +529: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +530: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +531: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +532: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +533: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +534: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +535: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +536: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +537: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +538: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +539: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +540: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +541: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +542: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +543: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +544: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +545: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +546: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +547: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +548: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +549: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +550: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +551: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +552: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +553: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +554: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +555: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +556: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +557: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +558: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +559: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +560: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +561: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +562: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +563: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +564: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +565: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +566: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +567: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +568: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +569: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +570: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +571: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +572: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +573: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +574: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +575: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +576: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +577: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +578: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +579: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +580: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +581: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +582: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +583: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +584: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +585: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +586: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +587: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +588: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +589: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +590: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +591: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +592: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +593: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +594: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +595: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +596: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +597: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +598: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +599: this_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +600: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +601: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +602: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +603: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +604: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +605: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +606: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +607: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +608: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +609: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +610: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +611: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +612: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +613: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +614: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +615: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +616: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +617: this_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +618: other_Pluglet, null, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +619: other_Pluglet, null, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +620: other_Pluglet, null, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +621: other_Pluglet, null, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +622: other_Pluglet, null, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +623: other_Pluglet, null, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +624: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +625: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +626: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +627: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +628: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +629: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +630: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +631: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +632: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +633: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +634: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +635: other_Pluglet, null, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +636: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +637: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +638: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +639: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +640: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +641: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +642: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +643: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +644: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +645: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +646: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +647: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +648: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +649: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +650: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +651: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +652: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +653: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +654: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +655: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +656: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +657: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +658: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +659: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +660: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +661: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +662: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +663: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +664: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +665: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +666: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +667: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +668: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +669: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +670: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +671: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +672: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +673: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +674: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +675: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +676: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +677: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +678: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +679: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +680: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +681: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +682: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +683: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +684: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +685: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +686: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +687: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +688: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +689: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +690: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +691: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +692: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +693: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +694: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +695: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +696: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +697: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +698: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +699: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +700: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +701: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +702: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +703: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +704: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +705: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +706: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +707: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +708: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +709: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +710: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +711: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +712: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +713: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +714: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +715: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +716: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +717: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +718: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +719: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +720: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +721: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +722: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +723: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +724: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +725: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +726: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +727: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +728: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +729: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +730: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +731: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +732: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +733: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +734: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +735: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +736: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +737: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +738: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +739: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +740: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +741: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +742: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +743: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +744: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +745: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +746: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +747: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +748: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +749: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +750: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +751: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +752: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +753: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +754: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +755: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +756: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +757: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +758: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +759: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +760: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +761: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +762: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +763: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +764: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +765: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +766: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +767: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +768: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +769: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +770: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +771: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +772: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +773: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +774: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +775: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +776: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +777: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +778: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +779: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +780: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +781: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +782: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +783: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +784: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +785: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +786: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +787: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +788: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +789: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +790: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +791: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +792: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +793: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +794: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +795: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +796: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +797: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +798: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +799: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +800: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +801: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +802: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +803: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +804: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +805: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +806: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +807: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +808: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +809: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +810: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +811: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +812: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +813: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +814: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +815: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +816: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +817: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +818: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +819: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +820: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +821: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +822: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +823: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +824: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +825: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +826: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +827: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +828: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +829: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +830: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +831: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +832: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +833: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +834: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +835: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +836: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +837: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +838: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +839: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +840: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +841: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +842: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +843: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +844: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +845: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +846: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +847: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +848: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +849: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +850: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +851: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +852: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +853: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +854: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +855: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +856: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +857: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +858: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +859: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +860: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +861: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +862: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +863: other_Pluglet, HTTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +864: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +865: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +866: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +867: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +868: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +869: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +870: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +871: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +872: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +873: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +874: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +875: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +876: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +877: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +878: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +879: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +880: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +881: other_Pluglet, HTTP_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +882: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +883: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +884: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +885: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +886: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +887: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +888: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +889: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +890: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +891: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +892: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +893: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +894: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +895: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +896: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +897: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +898: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +899: other_Pluglet, HTTP_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +900: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +901: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +902: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +903: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +904: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +905: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +906: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +907: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +908: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +909: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +910: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +911: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +912: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +913: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +914: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +915: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +916: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +917: other_Pluglet, FTP_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +918: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +919: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +920: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +921: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +922: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +923: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +924: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +925: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +926: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +927: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +928: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +929: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +930: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +931: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +932: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +933: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +934: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +935: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +936: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +937: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +938: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +939: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +940: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +941: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +942: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +943: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +944: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +945: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +946: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +947: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +948: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +949: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +950: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +951: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +952: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +953: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +954: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +955: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +956: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +957: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +958: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +959: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +960: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +961: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +962: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +963: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +964: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +965: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +966: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +967: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +968: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +969: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +970: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +971: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +972: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +973: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +974: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +975: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +976: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +977: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +978: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +979: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +980: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +981: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +982: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +983: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +984: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +985: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +986: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +987: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +988: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +989: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +990: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +991: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +992: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +993: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +994: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +995: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +996: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +997: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +998: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +999: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1000: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1001: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1002: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1003: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1004: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1005: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1006: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1007: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1008: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1009: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1010: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1011: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1012: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1013: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1014: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1015: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1016: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1017: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1018: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1019: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1020: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1021: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1022: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1023: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1024: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1025: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1026: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1027: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1028: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1029: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1030: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1031: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1032: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1033: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1034: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1035: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1036: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1037: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1038: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1039: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1040: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1041: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1042: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1043: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1044: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1045: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1046: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1047: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1048: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1049: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1050: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1051: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1052: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1053: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1054: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1055: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1056: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1057: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1058: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1059: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1060: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1061: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1062: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1063: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_NOT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1064: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1065: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1066: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1067: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1068: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1069: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1070: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1071: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1072: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1073: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1074: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1075: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1076: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1077: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1078: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1079: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1080: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1081: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1082: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1083: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1084: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1085: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1086: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1087: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1088: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1089: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1090: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1091: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1092: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1093: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1094: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1095: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1096: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1097: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1098: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1099: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1100: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1101: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1102: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1103: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1104: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1105: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1106: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1107: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1108: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1109: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1110: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1111: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1112: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1113: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1114: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1115: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1116: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1117: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1118: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1119: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1120: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1121: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _parent, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1122: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, null, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1123: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, null, null, false, HEADER_BUF_LENGTH +1124: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, true, HEADER_BUF_LENGTH +1125: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1126: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, MORE_THEN_HEADER_BUF_LENGTH +1127: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, LESS_THEN_HEADER_BUF_LENGTH +1128: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false, HEADER_BUF_LENGTH +1129: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false, HEADER_BUF_LENGTH +1130: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, OTHER_ALT_HOST, null, false, HEADER_BUF_LENGTH +1131: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, INCORRECT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1132: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, new_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1133: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, NONEXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1134: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1135: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1136: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1137: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1138: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1139: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1140: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1141: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1142: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1143: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1144: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1145: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_INCORRECT_PATH, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1146: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1147: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1148: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1149: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1150: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1151: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1152: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1153: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1154: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1155: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1156: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1157: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1158: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1159: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1160: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1161: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1162: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1163: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, LESS_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1164: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1165: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1166: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1167: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1168: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1169: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1170: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1171: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1172: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1173: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1174: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1175: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1176: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1177: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1178: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1179: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1180: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1181: other_Pluglet, MAILTO_TARGET_URL_FOR_POST, MORE_THEN_DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1182: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1183: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1184: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1185: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1186: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1187: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, null, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1188: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1189: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1190: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1191: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1192: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1193: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_CORRECT_FULL_BUF, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1194: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1195: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1196: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, true, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1197: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, null, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1198: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, _self, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH +1199: other_Pluglet, FILE_TARGET_URL_FOR_POST, DATA_LEN_FOR_POST, FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST, false, EXISTING_TARGET_FOR_POST, current_streamListener, CURRENT_ALT_HOST, null, false, HEADER_BUF_LENGTH diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_empty.html new file mode 100644 index 00000000000..fb12a9c8a8a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_empty.html @@ -0,0 +1,6 @@ + + +

Depth 0

+
This a empty winow. Just for making depth 1 for pluglet frame.
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_exist_target.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_exist_target.html new file mode 100644 index 00000000000..5146ec72efe --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_exist_target.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window has a name "exist_target_for_post" that eguivalent a value specified +in properties file. So it's really existing target for PlugletManager_postURL test
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_pluglet.html new file mode 100644 index 00000000000..65ed77a4bbd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_pluglet.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window contains a pluglet with PlugletManager_postURL test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_plugletFrameset.html new file mode 100644 index 00000000000..7645fd29644 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/PlugletManager_postURL_plugletFrameset.html @@ -0,0 +1,6 @@ + + + + name=exist_target_for_post + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/README new file mode 100644 index 00000000000..6e166f4e085 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/README @@ -0,0 +1,18 @@ +PlugletManager_postURL Information. + +Test name: PlugletManager_postURL + +Synopsis: postURL method of class PlugletManager + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the postURL method of the PlugletManager object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletManager_postURL.lst file. Each line in PlugletManager_postURL.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/TestParameters new file mode 100644 index 00000000000..c2aaa24a51b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/TestParameters @@ -0,0 +1,27 @@ +FILE_NAME_WITH_NONEXISTING_FULL_PATH_FOR_POST=with_nonexist_path_for_post.buf +FILE_NAME_WITH_EXISTING_FULL_PATH_FOR_POST=with_exst_path_for_post.buf +FILE_NAME_WITH_CORRECT_NOT_FULL_HEADERS=with_correct_nf_headers_for_post.buf +FILE_NAME_WITH_INCORRECT_FULL_HEADERS=with_incorrect_nf_headers_for_post.buf +FILE_NAME_WITH_CORRECT_NOT_FULL_BUF=with_correct_nf_data_for_post.buf +FILE_NAME_WITH_CORRECT_FULL_HEADERS=with_correct_f_headers_for_post.buf +FILE_NAME_WITH_CORRECT_FULL_BUF=with_correct_f_data_for_post.buf +FILE_NAME_WITH_INCORRECT_PATH=with_incorrect_path_for_post.buf +LESS_THEN_DATA_LEN_FOR_POST=101 +MORE_THEN_DATA_LEN_FOR_POST=103 +NONEXISTING_TARGET_FOR_POST=nonexist +MORE_THEN_HEADER_BUF_LENGTH=503 +LESS_THEN_HEADER_BUF_LENGTH=501 +MAILTO_TARGET_URL_FOR_POST=mailto:avm@sparc.spb.su +HTTP_TARGET_URL_FOR_POST=http://earth:11000/cgi-bin/test_post.cgi +NEWS_TARGET_URL_FOR_POST=news://blah +FILE_TARGET_URL_FOR_POST=file:/tmp/post_file +EXISTING_TARGET_FOR_POST=exist_target_for_post +FTP_TARGET_URL_FOR_POST=ftp://ftp.funet.fi +HTTP_OTHER_REFERER_URL=http://router/index.html +INCORRECT_REFERER_URL=this_is_incorrect +CURRENT_REFERER_URL=http://earth:11000/PlugletAPITests/PlugletManager_postURL.html +INCORRECT_ALT_HOST=no_ip_addr +DATA_LEN_FOR_POST=102 +HEADER_BUF_LENGTH=502 +CURRENT_ALT_HOST=192.168.205.165 +OTHER_ALT_HOST=192.168.205.182 diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/TestProperties new file mode 100644 index 00000000000..4673b3abbb4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_9216 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_Iterator +TEST_HTML=api/PlugletManager_postURL/PlugletManager_postURL.html +LST_FILE_NAME=PlugletManager_postURL.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/makefile.win new file mode 100644 index 00000000000..5cbb7aec243 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_postURL +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL_9216.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL_9216.java new file mode 100644 index 00000000000..84da114d539 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL_9216.java @@ -0,0 +1,126 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletManager_postURL_9216 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_postURL_9216() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletManager PlugletManager_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletManager_postURL_9216"); + System.err.println("ERROR:null context passed in execute(TestContext) of PlugletManager_postURL_9216"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletManager_obj = context.getPlugletManager(); + if( PlugletManager_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletManager passed in execute(TestContext) of PlugletManager_postURL_9216"); + System.err.println("ERROR:null PlugletManager passed in execute(TestContext) of PlugletManager_postURL_9216"); + return; + } + PlugletManager_obj.postURL((Pluglet)vectorOfParameters.elementAt(0),(URL)vectorOfParameters.elementAt(1),((Integer)vectorOfParameters.elementAt(2)).intValue(),(byte[])vectorOfParameters.elementAt(3),((Boolean)vectorOfParameters.elementAt(4)).booleanValue(),(String)vectorOfParameters.elementAt(5),(PlugletStreamListener)vectorOfParameters.elementAt(6),(String)vectorOfParameters.elementAt(7),(URL)vectorOfParameters.elementAt(8),((Boolean)vectorOfParameters.elementAt(9)).booleanValue(),((Integer)vectorOfParameters.elementAt(10)).intValue(),(byte[])vectorOfParameters.elementAt(11)); + System.err.println("DEBUG: Void method PlugletManager_postURL(" + "," + + (Pluglet)vectorOfParameters.elementAt(0) + "," + + (URL)vectorOfParameters.elementAt(1) + "," + + ((Integer)vectorOfParameters.elementAt(2)).intValue() + "," + + (byte[])vectorOfParameters.elementAt(3) + "," + + ((Boolean)vectorOfParameters.elementAt(4)).booleanValue() + "," + + (String)vectorOfParameters.elementAt(5) + "," + + (PlugletStreamListener)vectorOfParameters.elementAt(6) + "," + + (String)vectorOfParameters.elementAt(7) + "," + + (URL)vectorOfParameters.elementAt(8) + "," + + ((Boolean)vectorOfParameters.elementAt(9)).booleanValue() + "," + + ((Integer)vectorOfParameters.elementAt(10)).intValue() + "," + + (byte[])vectorOfParameters.elementAt(11) + ")"); + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL_Iterator.java new file mode 100644 index 00000000000..82f3d5fd416 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_postURL_Iterator.java @@ -0,0 +1,332 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletManager_postURL_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + Properties testProps = null; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_postURL_Iterator() + { + + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + return false; + } + return true; + } + public boolean next() + { + String[] paramValue = new String[12]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement
+ */ + public void onStartBinding(PlugletStreamInfo streamInfo) { + } + /** + * Notify the client that data is available in the input stream. This + * method is called whenver data is written into the input stream by the + * networking library...

+ * + * @param input The input stream containing the data. This stream can + * be either a blocking or non-blocking stream. + * @param length The amount of data that was just pushed into the stream. + */ + public void onDataAvailable(PlugletStreamInfo plugletInfo, InputStream input,int length) { + } + public void onFileAvailable(PlugletStreamInfo plugletInfo, String fileName) { + } + /** + * Notify the observer that the URL has finished loading. + */ + public void onStopBinding(PlugletStreamInfo plugletInfo,int status) { + } + public int getStreamType() { + return 1; //:) + } +} + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/manifest new file mode 100644 index 00000000000..6ece386c525 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-second-pluglet::Second Pluglet +Pluglet-Class: SecondPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java new file mode 100644 index 00000000000..8314ab9f9bb --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets_2.java @@ -0,0 +1,179 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import java.security.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; +import java.lang.reflect.*; + +public class PlugletManager_reloadPluglets_2 implements Test +{ + private static String destPluglet = "unset"; + public static Vector msgVect = new Vector(); + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_reloadPluglets_2() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletManager PlugletManager_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletManager_reloadPluglets_2"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletManager_obj = context.getPlugletManager(); + if( PlugletManager_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletManager passed in execute(TestContext) of PlugletManager_reloadPluglets_2"); + return; + } + String destDir = context.getProperty("PLUGLET_DIR"); + String sourceDir = context.getTestDir(); + String fileName = context.getProperty("SECOND_PLUGLET_FILE"); + TestContext.printLog("Delete Applet says{ " ); + for(int i=0;i>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/PlugletManager_userAgent.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/PlugletManager_userAgent.html new file mode 100644 index 00000000000..eea7c0e77ba --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/PlugletManager_userAgent.html @@ -0,0 +1,30 @@ + + + + + +

Depth 0

+
+This window contains a pluglet with PlugletManager_userAgent test. +UserAgent value will be passed to pluglet via JavaScript +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/README new file mode 100644 index 00000000000..4e8e7a8d36c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/README @@ -0,0 +1,18 @@ +PlugletManager_userAgent Information. + +Test name: PlugletManager_userAgent + +Synopsis: userAgent method of class PlugletManager + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the userAgent method of the PlugletManager object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletManager_userAgent.lst file. Each line in PlugletManager_userAgent.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/TestProperties new file mode 100644 index 00000000000..6f5fe4dfd8d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_userAgent_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_userAgent_Iterator +TEST_HTML=api/PlugletManager_userAgent/PlugletManager_userAgent.html +#CURRENT_USER_AGENT=Mozilla/5.0 [en] (Windows;I) +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/makefile.win new file mode 100644 index 00000000000..520d7c32903 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/makefile.win @@ -0,0 +1,46 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletManager_userAgent +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent_0.java new file mode 100644 index 00000000000..750d7ad064b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent_0.java @@ -0,0 +1,127 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletManager_userAgent_0 implements Test +{ + public static boolean actionPerformed = false; + private static String userAgent = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_userAgent_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletManager PlugletManager_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletManager_userAgent_0"); + return; + } + if (context.failedIsRegistered()) { + return; + } + PlugletManager_obj = context.getPlugletManager(); + if( PlugletManager_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletManager passed in execute(TestContext)" + + " of PlugletManager_userAgent_0"); + return; + } + userAgent = PlugletManager_obj.userAgent(); + actionPerformed = true; + System.err.println("DEBUG: PlugletManager_userAgent returns \"" + userAgent + "\" value"); + } + public static void verifyUserAgent(String curUserAgent) + { + if (userAgent == null) { + TestContext.registerFAILED("PlugletManager_userAgent returns null value"); + return; + } + if ( curUserAgent.equals(userAgent)) { + TestContext.registerPASSED("PlugletManager_userAgent returns \"" + userAgent + "\" value"); + } else { + TestContext.registerFAILED("PlugletManager_userAgent returns \"" + userAgent + + "\" value. Legal value is \"" + curUserAgent + "\""); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent_Iterator.java new file mode 100644 index 00000000000..5d0737d82fb --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletManager_userAgent_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletManager_userAgent_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/Makefile new file mode 100644 index 00000000000..99e155b99f7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/Makefile @@ -0,0 +1,43 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getMIMEType +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/PlugletPeer_getMIMEType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/PlugletPeer_getMIMEType.html new file mode 100644 index 00000000000..1cf46cf46d2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/PlugletPeer_getMIMEType.html @@ -0,0 +1,26 @@ + + + + + +

Depth 0

+
This window contains a pluglet with PlugletPeer_getMIMEType test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/README new file mode 100644 index 00000000000..1baf34bbfd8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/README @@ -0,0 +1,18 @@ +PlugletPeer_getMIMEType Information. + +Test name: PlugletPeer_getMIMEType + +Synopsis: getMIMEType method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getMIMEType method of the PlugletPeer object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletPeer_getMIMEType.lst file. Each line in PlugletPeer_getMIMEType.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/TestProperties new file mode 100644 index 00000000000..5d346765d67 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/TestProperties @@ -0,0 +1,8 @@ +#TestProperties file +#At PLUGLET_INSTANCE_INITIALIZE good value isn't passed from JS, so should use START or later +RUN_STAGES=PLUGLET_INSTANCE_START +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getMIMEType_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getMIMEType_Iterator +TEST_HTML=api/PlugletPeer_getMIMEType/PlugletPeer_getMIMEType.html +#TEST_PLUGLET_MIME_TYPE=application/x-simple-pluglet +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/makefile.win new file mode 100644 index 00000000000..4d81d326379 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/makefile.win @@ -0,0 +1,44 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getMIMEType +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType_0.java new file mode 100644 index 00000000000..48627b0d257 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType_0.java @@ -0,0 +1,129 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getMIMEType_0 implements Test +{ + public static boolean actionPerformed = false; + private static String MIMEType = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getMIMEType_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletPeer PlugletPeer_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletPeer_getMIMEType_0"); + return; + } + PlugletPeer_obj = context.getPlugletPeer(); + if( PlugletPeer_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletPeer passed in execute(TestContext)" + + " of PlugletPeer_getMIMEType_0"); + return; + } + MIMEType = PlugletPeer_obj.getMIMEType(); + actionPerformed = true; + System.err.println("DEBUG: PlugletPeer_obj.getMIMEType returns \"" + MIMEType + "\" value"); + } + public static void verifyMIMEType(String type) + { + if (MIMEType == null) { + TestContext.registerFAILED("null MIME type returned instead of \"" + type +"\""); + } + if (type.equals(MIMEType)) { + TestContext.registerPASSED("PlugletPeer_obj.getMIMEType returns \"" + MIMEType + "\" value"); + } else { + TestContext.registerFAILED("PlugletPeer_obj.getMIMEType returns \"" + MIMEType + + "\" value, different from \"" + type +"\""); + } + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType_Iterator.java new file mode 100644 index 00000000000..6a620baf76f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getMIMEType_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getMIMEType_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/Makefile new file mode 100644 index 00000000000..116c57eb2c7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/Makefile @@ -0,0 +1,48 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getMode +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/PlugletPeer_getMode.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/PlugletPeer_getMode.html new file mode 100644 index 00000000000..883f5bc38fd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/PlugletPeer_getMode.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet with PlugletPeer_getMode test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/README new file mode 100644 index 00000000000..8c9bc9ae005 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/README @@ -0,0 +1,18 @@ +PlugletPeer_getMode Information. + +Test name: PlugletPeer_getMode + +Synopsis: getMode method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getMode method of the PlugletPeer object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletPeer_getMode.lst file. Each line in PlugletPeer_getMode.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/TestProperties new file mode 100644 index 00000000000..905979da157 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getMode_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getMode_Iterator +TEST_HTML=api/PlugletPeer_getMode/PlugletPeer_getMode.html +EXPECTED_VALUE=1 +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/makefile.win new file mode 100644 index 00000000000..0906659a050 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/makefile.win @@ -0,0 +1,44 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getMode +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode_0.java new file mode 100644 index 00000000000..382e97fcc0c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode_0.java @@ -0,0 +1,117 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getMode_0 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getMode_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletPeer PlugletPeer_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletPeer_getMode_0"); + return; + } + + PlugletPeer_obj = context.getPlugletPeer(); + if( PlugletPeer_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletPeer passed in execute(TestContext) of PlugletPeer_getMode_0"); + return; + } + int rt = PlugletPeer_obj.getMode(); + System.err.println("DEBUG: PlugletPeer_getMode returns \"" + rt + "\"value"); + //Get expected value from properties, for embedded pluglets it equals 1 + int expVal = (new Integer(context.getProperty("EXPECTED_VALUE"))).intValue(); + TestContext.printLog("Expected value for this test is " + expVal + "\n"); + if (rt == expVal) { + TestContext.registerPASSED("PlugletPeer_getMode returns \"" + rt + "\"value."); + } else { + TestContext.registerFAILED("PlugletPeer_getMode returns \"" + rt + "\"value."); + } + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode_Iterator.java new file mode 100644 index 00000000000..777514ebbc2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getMode_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getMode_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/Makefile new file mode 100644 index 00000000000..f8f5afc304a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getTagInfo +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/PlugletPeer_getTagInfo.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/PlugletPeer_getTagInfo.html new file mode 100644 index 00000000000..a16b5b73fe0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/PlugletPeer_getTagInfo.html @@ -0,0 +1,39 @@ + + + + + +

Depth 0

+
This window contains a pluglet with PlugletPeer_getTagInfo test.
+ + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/README new file mode 100644 index 00000000000..a1d841a51fc --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/README @@ -0,0 +1,15 @@ +PlugletPeer_getTagInfo Information. + +Test name: PlugletPeer_getTagInfo + +Synopsis: getTagInfo method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getTagInfo method of the PlugletPeer object +at runstages, specified at TestProperties file. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/TestProperties new file mode 100644 index 00000000000..ed2a63debab --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getTagInfo_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getTagInfo_Iterator +TEST_HTML=api/PlugletPeer_getTagInfo/PlugletPeer_getTagInfo.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/makefile.win new file mode 100644 index 00000000000..4e29156e8d5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getTagInfo +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo_0.java new file mode 100644 index 00000000000..c3e42c942f4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo_0.java @@ -0,0 +1,139 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getTagInfo_0 implements Test +{ + public static boolean actionPerformed = false; + private static String TEST_ATTRIBUTE_NAME = "type"; + private static PlugletTagInfo info = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getTagInfo_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletPeer PlugletPeer_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletPeer_getTagInfo_0"); + return; + } + PlugletPeer_obj = context.getPlugletPeer(); + info = PlugletPeer_obj.getTagInfo(); + actionPerformed = true; + System.err.println("DEBUG: PlugletPeer_getTagInfo returns \"" + info + "\"value"); + } + public static void verifyAttr(String allAttrs) + { + if (info == null) { + TestContext.registerFAILED("PlugletPeer_getTagInfo returns null value"); + return; + } + Properties attr = new Properties(); + try { + attr.load((InputStream)new ByteArrayInputStream(allAttrs.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + String attrValue = info.getAttribute(TEST_ATTRIBUTE_NAME); + if (attrValue == null) { + TestContext.registerFAILED("null value returned for attribute \"" + TEST_ATTRIBUTE_NAME + + "\" from PlugletTagInfo object"); + return; + } + String goodAttrValue = attr.getProperty(TEST_ATTRIBUTE_NAME,null); + if (goodAttrValue == null) { + TestContext.registerFAILED("Attribute with name \"" + TEST_ATTRIBUTE_NAME + "\" isn't passed from JS"); + return; + } + if (goodAttrValue.equals(attrValue)) { + TestContext.registerPASSED("Good TagInfo object returned"); + return; + } else { + TestContext.registerFAILED("Strange TagInfo object returned, " + TEST_ATTRIBUTE_NAME + "=\"" + + attrValue + "\" instead of \"" + goodAttrValue + "\""); + return; + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo_Iterator.java new file mode 100644 index 00000000000..a594daf5647 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo_Iterator.java @@ -0,0 +1,97 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getTagInfo_Iterator implements TestListIterator +{ + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getTagInfo_Iterator() + { + //Method has 0 parameters + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } + + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/Makefile new file mode 100644 index 00000000000..200f4e9d574 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/Makefile @@ -0,0 +1,50 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getValue +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)/$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/ParamCombinations new file mode 100644 index 00000000000..c01ea088047 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/ParamCombinations @@ -0,0 +1 @@ +0'0, Integer.MIN_VALUE'0, Integer.MAX_VALUE'0, NETSCAPE_WINDOW_FOR_GET_VALUE'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.html new file mode 100644 index 00000000000..1b7d1044da0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet with PlugletPeer_getValue test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.lst new file mode 100644 index 00000000000..d3dc44ee1b0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.lst @@ -0,0 +1,4 @@ +0: 0 +1: Integer.MIN_VALUE +2: Integer.MAX_VALUE +3: NETSCAPE_WINDOW_FOR_GET_VALUE diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/README new file mode 100644 index 00000000000..7b50ce84d5d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/README @@ -0,0 +1,18 @@ +PlugletPeer_getValue Information. + +Test name: PlugletPeer_getValue + +Synopsis: getValue method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getValue method of the PlugletPeer object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletPeer_getValue.lst file. Each line in PlugletPeer_getValue.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestParameters new file mode 100644 index 00000000000..0f97065e2ec --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestParameters @@ -0,0 +1 @@ +NETSCAPE_WINDOW_FOR_GET_VALUE=3 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestProperties new file mode 100644 index 00000000000..d07e36f9e14 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestProperties @@ -0,0 +1,7 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getValue_3 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_getValue_Iterator +TEST_HTML=api/PlugletPeer_getValue/PlugletPeer_getValue.html +LST_FILE_NAME=PlugletPeer_getValue.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar +VARIABLES=3 diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/makefile.win new file mode 100644 index 00000000000..bd432940841 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_getValue +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue_3.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue_3.java new file mode 100644 index 00000000000..05edfb3589a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue_3.java @@ -0,0 +1,133 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_getValue_3 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_getValue_3() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletPeer PlugletPeer_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletPeer_getValue_3"); + return; + } + Vector vectorOfParameters = context.getParameters(); + if( vectorOfParameters == null ) { + TestContext.registerFAILED("ERROR:null parameters vector passed in execute(TestContext)" + + " of PlugletPeer_getValue_3"); + return; + } + PlugletPeer_obj = context.getPlugletPeer(); + if( PlugletPeer_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletPeer passed in execute(TestContext)" + + " of PlugletPeer_getValue_3"); + return; + } + String variables = context.getProperty("VARIABLES"); + System.err.println("Variables is \"" + variables + "\""); + StringTokenizer st = new StringTokenizer(variables,","); + int[] goodVars = new int[st.countTokens()]; + for(int i=0;i + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_0.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_0.lst new file mode 100644 index 00000000000..a58056a9231 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_0.lst @@ -0,0 +1,45 @@ +0: null, null +1: null, _self +2: null, _parent +3: null, _top +4: null, EXISTING_TARGET_FOR_NEW_STREAM +5: null, NONEXISTING_TARGET_FOR_NEW_STREAM +6: text/plain, null +7: text/plain, _self +8: text/plain, _parent +9: text/plain, _top +10: text/plain, EXISTING_TARGET_FOR_NEW_STREAM +11: text/plain, NONEXISTING_TARGET_FOR_NEW_STREAM +12: text/html, null +13: text/html, _self +14: text/html, _parent +15: text/html, _top +16: text/html, EXISTING_TARGET_FOR_NEW_STREAM +17: text/html, NONEXISTING_TARGET_FOR_NEW_STREAM +18: image/gif, null +19: image/gif, _self +20: image/gif, _parent +21: image/gif, _top +22: image/gif, EXISTING_TARGET_FOR_NEW_STREAM +23: image/gif, NONEXISTING_TARGET_FOR_NEW_STREAM +24: application/x-java-vm, null +25: application/x-java-vm, _self +26: application/x-java-vm, _parent +27: application/x-java-vm, _top +28: application/x-java-vm, EXISTING_TARGET_FOR_NEW_STREAM +29: application/x-java-vm, NONEXISTING_TARGET_FOR_NEW_STREAM +30: dummy, null +31: dummy, _self +32: dummy, _parent +33: dummy, _top +34: dummy, EXISTING_TARGET_FOR_NEW_STREAM +35: dummy, NONEXISTING_TARGET_FOR_NEW_STREAM +36: dummy_type/dummy_subtype, null +37: dummy_type/dummy_subtype, _self +38: dummy_type/dummy_subtype, EXISTING_TARGET_FOR_NEW_STREAM +39: *, null +40: *, _self +41: *, EXISTING_TARGET_FOR_NEW_STREAM +42: */*, null +43: */*, _self +44: */*, EXISTING_TARGET_FOR_NEW_STREAM diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_empty.html new file mode 100644 index 00000000000..20c385938b1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_empty.html @@ -0,0 +1,6 @@ + + +

Depth 0

+
This a empty winow. Just for making depth 1 for pluglet frame.
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_exist_target.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_exist_target.html new file mode 100644 index 00000000000..4b55a02a64f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_exist_target.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window has a name "exist_target_for_new_stream" that equivalent a value specified +in properties file. So it's really existing target for PlugletPeer_newStream test
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_inputData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_inputData.html new file mode 100644 index 00000000000..238016e90fd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_inputData.html @@ -0,0 +1,26 @@ + + +This HTML was written to new stream and shold be shown correctly with last and firs labels + + + +This is first line of this HTML
+
+PlugletPeer_newStream test. +Results will be passed to test via JavaScript.
+This is last line of this HTML
+ + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_pluglet.html new file mode 100644 index 00000000000..40809422786 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_pluglet.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window contains a pluglet with PlugletPeer_newStream test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_plugletFrameset.html new file mode 100644 index 00000000000..d24ebf9c31b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_plugletFrameset.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/README new file mode 100644 index 00000000000..f7ed4da9df2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/README @@ -0,0 +1,18 @@ +PlugletPeer_newStream Information. + +Test name: PlugletPeer_newStream + +Synopsis: newStream method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the newStream method of the PlugletPeer object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletPeer_newStream.lst file. Each line in PlugletPeer_newStream.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/TestParameters new file mode 100644 index 00000000000..c139acb630d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/TestParameters @@ -0,0 +1,2 @@ +NONEXISTING_TARGET_FOR_NEW_STREAM=nonexist_target_for_new_stream +EXISTING_TARGET_FOR_NEW_STREAM=exist_target_for_new_stream diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/TestProperties new file mode 100644 index 00000000000..3021910f5c2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/TestProperties @@ -0,0 +1,10 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_newStream_4 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_newStream_Iterator +TEST_HTML=api/PlugletPeer_newStream_0/PlugletPeer_newStream.html +#Note that property LST_FILE_NAME supported not for all tests +LST_FILE_NAME=PlugletPeer_newStream_0.lst.TEMP +#Note, that INPUT_FILE will be read directly from filesystem, so you shoul +# use \ as file separator on Win32 and / on UNIX-like system's +INPUT_FILE=PlugletPeer_newStream_inputData.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/makefile.win new file mode 100644 index 00000000000..3b1929fe25d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_newStream_0 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I +properties: + @-1 mkdir $(DEST_DIR) + @xcopy PlugletPeer_newStream_inputData.html $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/Makefile new file mode 100644 index 00000000000..fdae849bcfb --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/Makefile @@ -0,0 +1,52 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_newStream_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @cp -f PlugletPeer_newStream_inputData.html $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)/$(TEST_NAME).lst + @echo Done +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/ParamCombinations new file mode 100644 index 00000000000..f495f94c9fa --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/ParamCombinations @@ -0,0 +1,2 @@ +text/html'0 +null'0, _self'0, _parent'1, _top'1, EXISTING_TARGET_FOR_NEW_STREAM'0, NONEXISTING_TARGET_FOR_NEW_STREAM'1 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream.html new file mode 100644 index 00000000000..02e498fbabe --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_1.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_1.lst new file mode 100644 index 00000000000..4ad7fd0e37d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_1.lst @@ -0,0 +1,6 @@ +0: text/html, null +1: text/html, _self +2: text/html, _parent +3: text/html, _top +4: text/html, EXISTING_TARGET_FOR_NEW_STREAM +5: text/html, NONEXISTING_TARGET_FOR_NEW_STREAM diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_empty.html new file mode 100644 index 00000000000..20c385938b1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_empty.html @@ -0,0 +1,6 @@ + + +

Depth 0

+
This a empty winow. Just for making depth 1 for pluglet frame.
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_exist_target.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_exist_target.html new file mode 100644 index 00000000000..4b55a02a64f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_exist_target.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window has a name "exist_target_for_new_stream" that equivalent a value specified +in properties file. So it's really existing target for PlugletPeer_newStream test
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_inputData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_inputData.html new file mode 100644 index 00000000000..238016e90fd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_inputData.html @@ -0,0 +1,26 @@ + + +This HTML was written to new stream and shold be shown correctly with last and firs labels + + + +This is first line of this HTML
+
+PlugletPeer_newStream test. +Results will be passed to test via JavaScript.
+This is last line of this HTML
+ + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_pluglet.html new file mode 100644 index 00000000000..40809422786 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_pluglet.html @@ -0,0 +1,7 @@ + + +

Depth 1

+
This window contains a pluglet with PlugletPeer_newStream test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_plugletFrameset.html new file mode 100644 index 00000000000..d24ebf9c31b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_plugletFrameset.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/README new file mode 100644 index 00000000000..f7ed4da9df2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/README @@ -0,0 +1,18 @@ +PlugletPeer_newStream Information. + +Test name: PlugletPeer_newStream + +Synopsis: newStream method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the newStream method of the PlugletPeer object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletPeer_newStream.lst file. Each line in PlugletPeer_newStream.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/TestParameters new file mode 100644 index 00000000000..c139acb630d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/TestParameters @@ -0,0 +1,2 @@ +NONEXISTING_TARGET_FOR_NEW_STREAM=nonexist_target_for_new_stream +EXISTING_TARGET_FOR_NEW_STREAM=exist_target_for_new_stream diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/TestProperties new file mode 100644 index 00000000000..cefde242411 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/TestProperties @@ -0,0 +1,10 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_newStream_4 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_newStream_Iterator +TEST_HTML=api/PlugletPeer_newStream_1/PlugletPeer_newStream.html +#Note that property LST_FILE_NAME supported not for all tests +LST_FILE_NAME=PlugletPeer_newStream_1.lst.TEMP +#Note, that INPUT_FILE will be read directly from filesystem, so you shoul +# use \ as file separator on Win32 and / on UNIX-like system's +INPUT_FILE=PlugletPeer_newStream_inputData.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/makefile.win new file mode 100644 index 00000000000..8df41926ffa --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/makefile.win @@ -0,0 +1,50 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_newStream_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @xcopy PlugletPeer_newStream_inputData.html $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst + @echo Done +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_4.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_4.java new file mode 100644 index 00000000000..f32acdbfd6d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_4.java @@ -0,0 +1,196 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_newStream_4 implements Test +{ + private static String targetWindow = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_newStream_4() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletPeer PlugletPeer_obj = null; + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) " + + "of PlugletPeer_newStream_4"); + return; + } + if (context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletPeer_obj = context.getPlugletPeer(); + if( PlugletPeer_obj == null ) { + TestContext.registerFAILED("ERROR:null PlugletPeer passed in execute(TestContext) " + + "of PlugletPeer_newStream_4"); + + return; + } + targetWindow = (String)vectorOfParameters.elementAt(1); + OutputStream rt = PlugletPeer_obj.newStream((String)vectorOfParameters.elementAt(0),targetWindow); + if ( rt == null ) { + TestContext.registerFAILED("PlugletPeer_newStream(" + (String)vectorOfParameters.elementAt(0) + + "," + targetWindow + ") returns null"); + return; + } + TestContext.printLog("DEBUG: PlugletPeer_newStream(" + (String)vectorOfParameters.elementAt(0) + + "," + targetWindow + ") returns \"" + rt + "\" value"); + //Prepare to writing to new stream + String inputFileName = context.getProperty("INPUT_FILE"); + String testDir = context.getTestDir(); + String fileSeparator = System.getProperty("file.separator"); + String fullName = testDir + fileSeparator + inputFileName; + if (inputFileName == null) { + TestContext.registerFAILED("Property \"INPUT_FILE\" isn't set. So test can't read input file"); + return; + } + FileInputStream fis = null; + File inputFile = new File(fullName); + int dataLength = (int)inputFile.length(); + int dataRead = 0; + byte[] buf = new byte[dataLength]; + try { + fis = new FileInputStream(inputFile); + } catch (Exception e) { + TestContext.registerFAILED("Can't open file for post to new stream: " + fullName); + e.printStackTrace(); + return; + } + try{ + while(dataRead + + +PlugletPeer.showStatus(String) test + + + + +

Depth 0

+
This window contains a pluglet with PlugletPeer_showStatus test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/PlugletPeer_showStatus.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/PlugletPeer_showStatus.lst new file mode 100644 index 00000000000..7db7f79c4e3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/PlugletPeer_showStatus.lst @@ -0,0 +1,2 @@ +0: null +1: STATUS_STRING diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/README new file mode 100644 index 00000000000..e117d493605 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/README @@ -0,0 +1,18 @@ +PlugletPeer_showStatus Information. + +Test name: PlugletPeer_showStatus + +Synopsis: showStatus method of class PlugletPeer + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the showStatus method of the PlugletPeer object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletPeer_showStatus.lst file. Each line in PlugletPeer_showStatus.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/TestParameters new file mode 100644 index 00000000000..9aabf4d3e93 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/TestParameters @@ -0,0 +1 @@ +STATUS_STRING=This is a STATUS STRING for PlugletPeer_showStatus test !!!!!!!!!!!! diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/TestProperties new file mode 100644 index 00000000000..ac02959118b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_START +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_showStatus_2 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_showStatus_Iterator +TEST_HTML=api/PlugletPeer_showStatus/PlugletPeer_showStatus.html +LST_FILE_NAME=PlugletPeer_showStatus.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/makefile.win new file mode 100644 index 00000000000..dd784a8ca70 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletPeer_showStatus +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @$(MAKE_PARAM) TestParameters $(TEST_NAME).lst $(DEST_DIR)\$(TEST_NAME).lst +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus_2.java new file mode 100644 index 00000000000..be1a7680525 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus_2.java @@ -0,0 +1,131 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import java.lang.Thread; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_showStatus_2 implements Test +{ + private static String curStatus = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_showStatus_2() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletPeer PlugletPeer_obj = null; + + if ( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletPeer_showStatus_2"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletPeer_obj = context.getPlugletPeer(); + if (PlugletPeer_obj == null) { + TestContext.registerFAILED("ERROR:null PlugletPeer passed in execute(TestContext)" + + " of PlugletPeer_showStatus_2"); + return; + } + System.err.println("DEBUG: Void method PlugletPeer_showStatus(" + + (String)vectorOfParameters.elementAt(0) + ")"); + curStatus = (String)vectorOfParameters.elementAt(0); + PlugletPeer_obj.showStatus(curStatus); + actionPerformed = true; + } + + public static void verifyStatus(String realStatus) { + if (curStatus == null) { + TestContext.registerPASSED("Pluglet doesn't crashed when null status was trasfered"); + return; + } + if (curStatus.equals(realStatus)) { + TestContext.registerPASSED("\"" + realStatus + "\" value passed from JavaScript"); + } else { + TestContext.registerFAILED("\"" + realStatus + "\" value passed from JavaScript" + + " instead of \"" + curStatus + "\""); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus_Iterator.java new file mode 100644 index 00000000000..fc19623394f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_showStatus_Iterator.java @@ -0,0 +1,142 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletPeer_showStatus_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + Properties testProps = null; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletPeer_showStatus_Iterator() + { + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + return false; + } + return true; + } + public boolean next() + { + String[] paramValue = new String[1]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement >$(BUILD_DIR)/$(COMMON_LST_FILE) +data_files: + @cp -f TestImage.gif $(HTML_DEST_DIR)/$(TEST_NAME) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/PlugletStreamInfo_getContentType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/PlugletStreamInfo_getContentType.html new file mode 100644 index 00000000000..ba9e0a59556 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/PlugletStreamInfo_getContentType.html @@ -0,0 +1,27 @@ + + + + + +

Depth 0

+
This window contains a pluglet with PlugletStreamInfo_getContentType test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/README new file mode 100644 index 00000000000..6f6e112a3d6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/README @@ -0,0 +1,18 @@ +PlugletStreamInfo_getContentType Information. + +Test name: PlugletStreamInfo_getContentType + +Synopsis: getContentType method of class PlugletStreamInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getContentType method of the PlugletStreamInfo object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletStreamInfo_getContentType.lst file. Each line in PlugletStreamInfo_getContentType.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestImage.gif new file mode 100644 index 00000000000..f89d6811665 Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestImage.gif differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestProperties new file mode 100644 index 00000000000..dcb7a56de45 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestProperties @@ -0,0 +1,7 @@ +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_START_BINDING +#PLUGLET_INSTANCE_NEW_STREAM +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getContentType_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getContentType_Iterator +TEST_HTML=api/PlugletStreamInfo_getContentType/PlugletStreamInfo_getContentType.html +#STREAM_CONTENT_TYPE=image/gif +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/makefile.win new file mode 100644 index 00000000000..2026539a240 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getContentType +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties data_files +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +data_files: + @xcopy TestImage.gif $(HTML_DEST_DIR)\$(TEST_NAME) +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties + @del $(DEST_DIR)\TestImage.gif diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType_0.java new file mode 100644 index 00000000000..ffbef198c75 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType_0.java @@ -0,0 +1,127 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getContentType_0 implements Test +{ + private static String contentType = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getContentType_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletStreamInfo PlugletStreamInfo_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletStreamInfo_getContentType_0"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + PlugletStreamInfo_obj = context.getPlugletStreamInfo(); + if(PlugletStreamInfo_obj == null) { + TestContext.registerFAILED("ERROR:null PlugletStreamInfo passed in execute(TestContext)" + + " of PlugletStreamInfo_getContentType_0"); + return; + } + contentType = PlugletStreamInfo_obj.getContentType(); + actionPerformed = true; + System.err.println("DEBUG: PlugletStreamInfo_getContentType returns \"" + contentType + "\" value"); + } + public static void verifyContentType(String type) + { + if (contentType == null) { + TestContext.registerFAILED("null contentType value returned."); + return; + } + if (type.equals(contentType)) { + TestContext.registerPASSED("PlugletStreamInfo_getContentType returns \"" + contentType + "\" value"); + } else { + TestContext.registerFAILED("PlugletStreamInfo_getContentType returns \"" + contentType + + "\" value instead of \"" + type + "\""); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType_Iterator.java new file mode 100644 index 00000000000..1c4be01a588 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getContentType_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getContentType_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/Makefile new file mode 100644 index 00000000000..a07d5a3a322 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/Makefile @@ -0,0 +1,49 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getLastModified +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties data_files +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +data_files: + @cp -f TestImage.gif $(HTML_DEST_DIR)/$(TEST_NAME) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/PlugletStreamInfo_getLastModified.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/PlugletStreamInfo_getLastModified.html new file mode 100644 index 00000000000..359e4ee555c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/PlugletStreamInfo_getLastModified.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet with PlugletStreamInfo_getLastModified test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/README new file mode 100644 index 00000000000..c9f91dd6215 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/README @@ -0,0 +1,18 @@ +PlugletStreamInfo_getLastModified Information. + +Test name: PlugletStreamInfo_getLastModified + +Synopsis: getLastModified method of class PlugletStreamInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getLastModified method of the PlugletStreamInfo object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletStreamInfo_getLastModified.lst file. Each line in PlugletStreamInfo_getLastModified.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestImage.gif new file mode 100644 index 00000000000..f89d6811665 Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestImage.gif differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestProperties new file mode 100644 index 00000000000..89ec8fedf9d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_START_BINDING +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getLastModified_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getLastModified_Iterator +TEST_HTML=api/PlugletStreamInfo_getLastModified/PlugletStreamInfo_getLastModified.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/makefile.win new file mode 100644 index 00000000000..2079ad01cfd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/makefile.win @@ -0,0 +1,46 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getLastModified +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties data_files +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +data_files: + @xcopy TestImage.gif $(HTML_DEST_DIR)\$(TEST_NAME) +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified_0.java new file mode 100644 index 00000000000..131eae51fe3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified_0.java @@ -0,0 +1,115 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getLastModified_0 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getLastModified_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletStreamInfo PlugletStreamInfo_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletStreamInfo_getLastModified_0"); + System.err.println("ERROR:null context passed in execute(TestContext) of PlugletStreamInfo_getLastModified_0"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletStreamInfo_obj = context.getPlugletStreamInfo(); + if (PlugletStreamInfo_obj == null) { + TestContext.registerFAILED("ERROR:null PlugletStreamInfo passed in execute(TestContext) of PlugletStreamInfo_getLastModified_0"); + System.err.println("ERROR:null PlugletStreamInfo passed in execute(TestContext) of PlugletStreamInfo_getLastModified_0"); + return; + } + int rt = PlugletStreamInfo_obj.getLastModified(); + String str = PlugletStreamInfo_obj.getContentType(); + System.err.println("DEBUG: PlugletStreamInfo_getLastModified returns \"" + rt + "\" value .. " + str); + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified_Iterator.java new file mode 100644 index 00000000000..a461cf967e1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getLastModified_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getLastModified_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/Makefile new file mode 100644 index 00000000000..e3b1d2f6835 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/Makefile @@ -0,0 +1,50 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getLength +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties data_files +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +data_files: + @cp -f TestImage.gif $(HTML_DEST_DIR)/$(TEST_NAME) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/PlugletStreamInfo_getLength.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/PlugletStreamInfo_getLength.html new file mode 100644 index 00000000000..c95d7c4a59d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/PlugletStreamInfo_getLength.html @@ -0,0 +1,32 @@ + + + + + + +

Depth 0

+
This window contains a pluglet with PlugletStreamInfo_getLength test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/README new file mode 100644 index 00000000000..d58812062c0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/README @@ -0,0 +1,18 @@ +PlugletStreamInfo_getLength Information. + +Test name: PlugletStreamInfo_getLength + +Synopsis: getLength method of class PlugletStreamInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getLength method of the PlugletStreamInfo object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletStreamInfo_getLength.lst file. Each line in PlugletStreamInfo_getLength.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestImage.gif new file mode 100644 index 00000000000..f89d6811665 Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestImage.gif differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestProperties new file mode 100644 index 00000000000..97645428713 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_START_BINDING +#PLUGLET_STREAM_LISTENER_ON_START_BINDING PLUGLET_STREAM_LISTENER_ON_STOP_BINDING PLUGLET_STREAM_LISTENER_GET_STREAM_TYPE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getLength_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getLength_Iterator +TEST_HTML=api/PlugletStreamInfo_getLength/PlugletStreamInfo_getLength.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/makefile.win new file mode 100644 index 00000000000..722900b4e4f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/makefile.win @@ -0,0 +1,47 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getLength +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties data_files +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +data_files: + @xcopy TestImage.gif $(HTML_DEST_DIR)\$(TEST_NAME) /H +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength_0.java new file mode 100644 index 00000000000..c1854fbf032 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength_0.java @@ -0,0 +1,155 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getLength_0 implements Test +{ + private static int length = 0; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getLength_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletStreamInfo PlugletStreamInfo_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletStreamInfo_getLength_0"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + PlugletStreamInfo_obj = context.getPlugletStreamInfo(); + if (PlugletStreamInfo_obj == null) { + TestContext.registerFAILED("ERROR:null PlugletStreamInfo passed in execute(TestContext)" + + " of PlugletStreamInfo_getLength_0"); + return; + } + length = PlugletStreamInfo_obj.getLength(); + actionPerformed = true; + System.err.println("DEBUG: PlugletStreamInfo_getLength returns \"" + length + "\" value"); + } + public static void verifySrcLength(String src) + { + System.err.println("Src is:" + src); + if (src == null) { + TestContext.registerFAILED("SORRY, but value of src URL isn't passed from JavaScript"); + return; + } + try { + URL sURL = new URL(src); + //Workaround for starnge JDK1.3.0G(Win32) behaviour when proceed + //url with file:/// and different drive labels. + if (sURL.getProtocol().equals("file")) { + String file = sURL.getFile(); + int index = file.indexOf("|/"); + if (index != -1) { + file = file.charAt(index - 1) + ":" + file.substring(index+1); + sURL = new URL("file",null,-1,file); + } + } + int goodLength = sURL.openConnection().getContentLength(); + if (length!=goodLength) { + TestContext.registerFAILED("PlugletStreamInfo_getLength returns \"" + length + + "\" value instead of \"" + goodLength + "\""); + return; + } else { + TestContext.registerPASSED("PlugletStreamInfo_getLength returns \"" + length + + "\" value "); + return; + } + } catch(Exception e) { + e.printStackTrace(); + TestContext.registerFAILED("Exception " + e ); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength_Iterator.java new file mode 100644 index 00000000000..e4aae1c530c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getLength_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getLength_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/Makefile new file mode 100644 index 00000000000..db94796851e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/Makefile @@ -0,0 +1,49 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getURL +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties data_files +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) +data_files: + @cp -f TestImage.gif $(HTML_DEST_DIR)/$(TEST_NAME) +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/PlugletStreamInfo_getURL.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/PlugletStreamInfo_getURL.html new file mode 100644 index 00000000000..42d62843d52 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/PlugletStreamInfo_getURL.html @@ -0,0 +1,31 @@ + + + + + +

Depth 0

+
This window contains a pluglet with PlugletStreamInfo_getURL test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/README new file mode 100644 index 00000000000..94b85d0f91f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/README @@ -0,0 +1,18 @@ +PlugletStreamInfo_getURL Information. + +Test name: PlugletStreamInfo_getURL + +Synopsis: getURL method of class PlugletStreamInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getURL method of the PlugletStreamInfo object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletStreamInfo_getURL.lst file. Each line in PlugletStreamInfo_getURL.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestImage.gif new file mode 100644 index 00000000000..f89d6811665 Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestImage.gif differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestProperties new file mode 100644 index 00000000000..82be88f1362 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_START_BINDING +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getURL_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_getURL_Iterator +TEST_HTML=api/PlugletStreamInfo_getURL/PlugletStreamInfo_getURL.html +#USED_SRC_FILE=PlugletStreamInfo_getURL/TestImage.gif +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/makefile.win new file mode 100644 index 00000000000..ea333d40e8b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/makefile.win @@ -0,0 +1,46 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_getURL +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties data_files +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I +data_files: + @xcopy TestImage.gif $(HTML_DEST_DIR)\$(TEST_NAME) +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL_0.java new file mode 100644 index 00000000000..af1c87e071a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL_0.java @@ -0,0 +1,133 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getURL_0 implements Test +{ + private static String srcURL = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getURL_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletStreamInfo PlugletStreamInfo_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletStreamInfo_getURL_0"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + PlugletStreamInfo_obj = context.getPlugletStreamInfo(); + if(PlugletStreamInfo_obj == null) { + TestContext.registerFAILED("ERROR:null PlugletStreamInfo passed in execute(TestContext)" + + " of PlugletStreamInfo_getURL_0"); + return; + } + srcURL = PlugletStreamInfo_obj.getURL(); + actionPerformed = true; + } + public static void verifyUrl(String src) + { + if (srcURL == null) { + TestContext.registerFAILED("null value returned by getURL method"); + return; + } + try { + URL sURL = new URL(srcURL); + if( sURL.equals(new URL(src)) ) { + TestContext.registerPASSED("PlugletStreamInfo_getURL returns \"" + srcURL + "\" value"); + } else { + TestContext.registerFAILED("PlugletStreamInfo_getURL returns \"" + srcURL + + "\" value istead of \"" + src + "\""); + } + } catch (Exception e) { + TestContext.printLog("Exception during compile URL's for test: " + e); + TestContext.registerFAILED("PlugletStreamInfo_getURL returns \"" + srcURL + "\" value"); + e.printStackTrace(); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL_Iterator.java new file mode 100644 index 00000000000..77a7a6800da --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_getURL_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_getURL_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/Makefile new file mode 100644 index 00000000000..e76a642fc03 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/Makefile @@ -0,0 +1,50 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_isSeekable +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties data_files +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +data_files: + @cp -f TestImage.gif $(DEST_DIR) +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/PlugletStreamInfo_isSeekable.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/PlugletStreamInfo_isSeekable.html new file mode 100644 index 00000000000..23976a75039 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/PlugletStreamInfo_isSeekable.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet with PlugletStreamInfo_isSeekable test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/README new file mode 100644 index 00000000000..c986095875f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/README @@ -0,0 +1,18 @@ +PlugletStreamInfo_isSeekable Information. + +Test name: PlugletStreamInfo_isSeekable + +Synopsis: isSeekable method of class PlugletStreamInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the isSeekable method of the PlugletStreamInfo object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletStreamInfo_isSeekable.lst file. Each line in PlugletStreamInfo_isSeekable.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestImage.gif new file mode 100644 index 00000000000..f89d6811665 Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestImage.gif differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestProperties new file mode 100644 index 00000000000..cb14a33d111 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_START_BINDING +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_isSeekable_0 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_isSeekable_Iterator +TEST_HTML=api/PlugletStreamInfo_isSeekable/PlugletStreamInfo_isSeekable.html +EXPECTED_RESULT=false +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/makefile.win new file mode 100644 index 00000000000..67335f8777c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/makefile.win @@ -0,0 +1,47 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_isSeekable +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties data_files +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +data_files: + @xcopy TestImage.gif $(DEST_DIR) +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable_0.java new file mode 100644 index 00000000000..cb7b007efd6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable_0.java @@ -0,0 +1,121 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_isSeekable_0 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_isSeekable_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletStreamInfo PlugletStreamInfo_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletStreamInfo_isSeekable_0"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + PlugletStreamInfo_obj = context.getPlugletStreamInfo(); + if (PlugletStreamInfo_obj == null) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletStreamInfo_isSeekable_0"); + return; + } + Boolean rt = new Boolean(PlugletStreamInfo_obj.isSeekable()); + Boolean eV = new Boolean(context.getProperty("EXPECTED_RESULT")); + System.err.println("DEBUG: " + eV); + if (rt.equals(eV)) { + TestContext.registerPASSED("PlugletStreamInfo_isSeekable returns \"" + rt + + "\" value, that equals to expected value from TestProperties"); + } else { + TestContext.registerFAILED("PlugletStreamInfo_isSeekable returns \"" + rt + + "\" value, that not equals to expected value from TestProperties"); + } + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable_Iterator.java new file mode 100644 index 00000000000..50d430707c3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_isSeekable_Iterator implements TestListIterator +{ + TestContext context = null; + int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_isSeekable_Iterator() + { + //Method has 0 parameters + //Constructor is empty + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/Makefile new file mode 100644 index 00000000000..be94151642b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/Makefile @@ -0,0 +1,56 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_requestRead +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @cp -f $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/$(TEST_NAME).lst + @rm -f $(DEST_DIR)/TestProperties + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/ParamCombinations new file mode 100644 index 00000000000..409d0257cec --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/ParamCombinations @@ -0,0 +1 @@ +null'0, correct_ranges'0, incorrect_ranges'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.html new file mode 100644 index 00000000000..e97e65ca728 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet with PlugletStreamInfo_requestRead test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.lst new file mode 100644 index 00000000000..64f7f5f3f0d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.lst @@ -0,0 +1,3 @@ +0: null +1: correct_ranges +2: incorrect_ranges diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/README new file mode 100644 index 00000000000..520b6da4ade --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/README @@ -0,0 +1,18 @@ +PlugletStreamInfo_requestRead Information. + +Test name: PlugletStreamInfo_requestRead + +Synopsis: requestRead method of class PlugletStreamInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the requestRead method of the PlugletStreamInfo object +at runstages, specified at TestProperties file. With parameters, +specified in PlugletStreamInfo_requestRead.lst file. Each line in PlugletStreamInfo_requestRead.lst file describes +one test of this method. See the test number and corresponding +line in LST file for viewing partameters of you test. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/TestProperties new file mode 100644 index 00000000000..164d564ac1c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_START_BINDING +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_requestRead_2 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletStreamInfo_requestRead_Iterator +TEST_HTML=api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.html +LST_FILE_NAME=PlugletStreamInfo_requestRead.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/makefile.win new file mode 100644 index 00000000000..df10a3ed44c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/makefile.win @@ -0,0 +1,49 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletStreamInfo_requestRead +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @xcopy $(TEST_NAME).lst $(DEST_DIR) /H /R /I /E +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead_2.java new file mode 100644 index 00000000000..5446d4d342e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead_2.java @@ -0,0 +1,119 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_requestRead_2 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_requestRead_2() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + Properties paramProps = null; + PlugletStreamInfo PlugletStreamInfo_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletStreamInfo_requestRead_2"); + return; + } + if ( context.failedIsRegistered()) { + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletStreamInfo_obj = context.getPlugletStreamInfo(); + if(PlugletStreamInfo_obj == null) { + TestContext.registerFAILED("ERROR:null PlugletStreamInfo passed in execute(TestContext) of PlugletStreamInfo_requestRead_2"); + return; + } + ByteRanges br = (ByteRanges)vectorOfParameters.elementAt(0); + PlugletStreamInfo_obj.requestRead(br); + if(br == null) { + TestContext.registerPASSED("Mozilla isn't crashed when passed null parameter to requestRead"); + return; + } else { + TestContext.registerFAILED("Test shoul be calibrated when method requestRead will work"); + return; + } + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead_Iterator.java new file mode 100644 index 00000000000..0465e91daf3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead_Iterator.java @@ -0,0 +1,159 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletStreamInfo_requestRead_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + Properties testProps = null; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletStreamInfo_requestRead_Iterator() + { + + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + return false; + } + return true; + } + public boolean next() + { + String[] paramValue = new String[1]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + System.err.println("context not initialized" ); + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement >$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/PlugletTagInfo2_getAlignment.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/PlugletTagInfo2_getAlignment.html new file mode 100644 index 00000000000..9aaf6c8e4ab --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/PlugletTagInfo2_getAlignment.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getAlignment test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/README new file mode 100644 index 00000000000..ab368278134 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getAlignment Information. + +Test name: PlugletTagInfo2_getAlignment + +Synopsis: getAlignment method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getAlignment method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getAlignment has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/TestProperties new file mode 100644 index 00000000000..9310832b6b2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_0 +TEST_HTML=api/PlugletTagInfo2_getAlignment/PlugletTagInfo2_getAlignment.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/makefile.win new file mode 100644 index 00000000000..2761c1e2129 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getAlignment +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment_0.java new file mode 100644 index 00000000000..9873a960527 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment_0.java @@ -0,0 +1,111 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getAlignment_0 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getAlignment_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getAlignment_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + String rt = PlugletTagInfo2_obj.getAlignment(); + System.err.println("PlugletTagInfo2_getAlignment returns \"" + rt + "\" value"); + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment_Iterator.java new file mode 100644 index 00000000000..55031ca6f7c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAlignment_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getAlignment_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getAlignment_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/Makefile new file mode 100644 index 00000000000..b6dc44fa42b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/Makefile @@ -0,0 +1,47 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getAttribute +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +parameters: + @cp -f $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/$(TEST_NAME).lst + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/ParamCombinations new file mode 100644 index 00000000000..6cf7935b72a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/ParamCombinations @@ -0,0 +1 @@ +type'0, name'0, DUMMY_ATTR_NAME'0, null'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.html new file mode 100644 index 00000000000..bc3cdc96507 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.html @@ -0,0 +1,38 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getAttribute test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.lst new file mode 100644 index 00000000000..96eb10925cd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.lst @@ -0,0 +1,4 @@ +0: type +1: name +2: DUMMY_ATTR_NAME +3: null diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/README new file mode 100644 index 00000000000..358a9b9990b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getAttribute Information. + +Test name: PlugletTagInfo2_getAttribute + +Synopsis: getAttribute method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getAttribute method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. This test has 1 String parameter. +For parameter values please see TestParameters and ParamCombinations files in this +test directory. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/TestProperties new file mode 100644 index 00000000000..20ef3b32d86 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAttribute_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAttribute_2 +TEST_HTML=api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.html +LST_FILE_NAME=PlugletTagInfo2_getAttribute.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/makefile.win new file mode 100644 index 00000000000..40b5ef00d0b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getAttribute +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +parameters: + @xcopy $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute_2.java new file mode 100644 index 00000000000..3ea4580e7a4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute_2.java @@ -0,0 +1,152 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getAttribute_2 implements Test +{ + private static String attrName = null; + private static String attrVal = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getAttribute_2() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo2_getAttribute_2"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + attrName = (String)vectorOfParameters.elementAt(0); + attrVal = PlugletTagInfo2_obj.getAttribute(attrName); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getAttribute(" + attrName + ") returns \"" + attrVal + "\" value"); + + } + + public static void verifyAttribute(String attrString) + { + Properties attrReal = new Properties(); + if (attrName == null) { + if (attrVal == null) { + TestContext.registerPASSED("Pluglet doesn't crashed when call getAttribute(null) and return null value"); + } else { + TestContext.registerFAILED("Pluglet doesn't crashed when call getAttribute(null)" + + " but return not null value + \"" + attrVal + "\""); + } + return; + } + try { + attrReal.load((InputStream)new ByteArrayInputStream(attrString.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + if (attrReal.getProperty(attrName,null) == null) { + if (attrVal == null) { + TestContext.registerPASSED("null value returned for unexisting attribute " + attrName); + } else { + TestContext.registerFAILED("Not null value returned for unexisting attribute " + attrName); + } + return; + } + if (attrReal.getProperty(attrName,null).equals(attrVal)) { + TestContext.registerPASSED(attrVal + " value returned for existing attribute " + attrName); + } else { + TestContext.registerFAILED("Wrong value " + attrVal + " returned for attribute " + attrName + + " .Good value is " + attrReal.getProperty(attrName,null)); + } + return; + } + + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute_Iterator.java new file mode 100644 index 00000000000..2a18708e0e1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute_Iterator.java @@ -0,0 +1,141 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getAttribute_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getAttribute_Iterator() + { + + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + System.err.println("Can't close parameters file: " + paramFile); + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + } + return true; + } + public boolean next() + { + String[] paramValue = new String[1]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement >$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/PlugletTagInfo2_getAttributes.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/PlugletTagInfo2_getAttributes.html new file mode 100644 index 00000000000..64875936ba6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/PlugletTagInfo2_getAttributes.html @@ -0,0 +1,39 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getAttributes test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/README new file mode 100644 index 00000000000..17f3ce03c13 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getAttributes Information. + +Test name: PlugletTagInfo2_getAttributes + +Synopsis: getAttributes method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getAttributes method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getAttributes has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/TestProperties new file mode 100644 index 00000000000..c9840c109d1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAttributes_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAttributes_0 +TEST_HTML=api/PlugletTagInfo2_getAttributes/PlugletTagInfo2_getAttributes.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/makefile.win new file mode 100644 index 00000000000..e60f1ab126f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getAttributes +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes_0.java new file mode 100644 index 00000000000..83db934ca73 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes_0.java @@ -0,0 +1,140 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getAttributes_0 implements Test +{ + public static boolean actionPerformed = false; + private static Properties attrsForVerify = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getAttributes_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo2_getAttributes_0"); + return; + } + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + attrsForVerify = PlugletTagInfo2_obj.getAttributes(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getAttributes returns \"" + attrsForVerify + "\" value"); + } + public static void verifyAttributes(String attrString) + { + Properties attr = new Properties(); + try { + attr.load((InputStream)new ByteArrayInputStream(attrString.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + if (attrsForVerify == null) { + TestContext.registerFAILED("null value returned by PlugletTagInfo2_getAttributes"); + return; + } + for (Enumeration e = attr.propertyNames();e.hasMoreElements();) { + String pName = (String)e.nextElement(); + if ((attrsForVerify.getProperty(pName,null)) == null) { + TestContext.registerFAILED("Attribute " + pName + " not found in returned attributes"); + return; + } else { + if (!attr.getProperty(pName).equals(attrsForVerify.getProperty(pName))) { + TestContext.registerFAILED("Values of attribute " + pName + " are different"); + return; + } + } + } + TestContext.registerPASSED("All attributes transfered from JavaScript exists in attributes, " + + " returned by PlugletTagInfo2_getAttributes"); + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes_Iterator.java new file mode 100644 index 00000000000..19acac1d74d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttributes_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getAttributes_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getAttributes_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/Makefile new file mode 100644 index 00000000000..a7d76f049a0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderHorizSpace +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/PlugletTagInfo2_getBorderHorizSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/PlugletTagInfo2_getBorderHorizSpace.html new file mode 100644 index 00000000000..184806f0299 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/PlugletTagInfo2_getBorderHorizSpace.html @@ -0,0 +1,30 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getBorderHorizSpace test. + EMBED tag hasn't hspace attribute, so default value 0 should be returned.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/README new file mode 100644 index 00000000000..5bb82be2eed --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getBorderHorizSpace Information. + +Test name: PlugletTagInfo2_getBorderHorizSpace + +Synopsis: getBorderHorizSpace method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getBorderHorizSpace method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getBorderHorizSpace has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/TestProperties new file mode 100644 index 00000000000..2d4b49af257 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_START +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderHorizSpace_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderHorizSpace_0 +TEST_HTML=api/PlugletTagInfo2_getBorderHorizSpace/PlugletTagInfo2_getBorderHorizSpace.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/makefile.win new file mode 100644 index 00000000000..9d695ddd27a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderHorizSpace +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_0.java new file mode 100644 index 00000000000..ec1d6c435da --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_0.java @@ -0,0 +1,122 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getBorderHorizSpace_0 implements Test +{ + private static int HSpace = -1; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getBorderHorizSpace_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo2_getBorderHorizSpace_0"); + return; + } + + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + HSpace = PlugletTagInfo2_obj.getBorderHorizSpace(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getBorderHorizSpace returns \"" + HSpace + "\" value"); + + } + public static void verifyHSpace(int hspace) { + if (hspace == HSpace) { + TestContext.registerPASSED("Good value \"" + HSpace + + "\" was returned by PlugletTagInfo2_getBorderHorizSpace"); + } else { + TestContext.registerFAILED("PlugletTagInfo2_getBorderHorizSpace returns \"" + HSpace + "\" value " + + "instead of \"" + hspace + "\""); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/Makefile new file mode 100644 index 00000000000..b5b53ea4676 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderHorizSpace_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/PlugletTagInfo2_getBorderHorizSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/PlugletTagInfo2_getBorderHorizSpace.html new file mode 100644 index 00000000000..21722e2c93a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/PlugletTagInfo2_getBorderHorizSpace.html @@ -0,0 +1,33 @@ + + + + + +

Depth 0

+
+This window contains a pluglet PlugletTagInfo2_getBorderHorizSpace test. +EMBED tag has a hspace attribute, equals to 11.This value will be transfered +to test pluglet via Java Script. +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/README new file mode 100644 index 00000000000..5bb82be2eed --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getBorderHorizSpace Information. + +Test name: PlugletTagInfo2_getBorderHorizSpace + +Synopsis: getBorderHorizSpace method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getBorderHorizSpace method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getBorderHorizSpace has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/TestProperties new file mode 100644 index 00000000000..b73de1dc94c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_START +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderHorizSpace_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderHorizSpace_0 +TEST_HTML=api/PlugletTagInfo2_getBorderHorizSpace_1/PlugletTagInfo2_getBorderHorizSpace.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/makefile.win new file mode 100644 index 00000000000..9741d3cc011 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderHorizSpace_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_Iterator.java new file mode 100644 index 00000000000..ae1fb705860 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getBorderHorizSpace_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getBorderHorizSpace_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/Makefile new file mode 100644 index 00000000000..bdb8185d711 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderVertSpace +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/PlugletTagInfo2_getBorderVertSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/PlugletTagInfo2_getBorderVertSpace.html new file mode 100644 index 00000000000..5685d832fe1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/PlugletTagInfo2_getBorderVertSpace.html @@ -0,0 +1,30 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getBorderVertSpace test. +The EMBED tag hasn't vspace attribute so 0 should be returned
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/README new file mode 100644 index 00000000000..d70b1b4964f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getBorderVertSpace Information. + +Test name: PlugletTagInfo2_getBorderVertSpace + +Synopsis: getBorderVertSpace method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getBorderVertSpace method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getBorderVertSpace has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/TestProperties new file mode 100644 index 00000000000..cb7ee122b66 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderVertSpace_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderVertSpace_0 +TEST_HTML=api/PlugletTagInfo2_getBorderVertSpace/PlugletTagInfo2_getBorderVertSpace.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/makefile.win new file mode 100644 index 00000000000..3ca9bb1c06d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderVertSpace +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_0.java new file mode 100644 index 00000000000..195dd9a8a77 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_0.java @@ -0,0 +1,121 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getBorderVertSpace_0 implements Test +{ + private static int VSpace = -1; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getBorderVertSpace_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getBorderVertSpace_0"); + return; + } + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead " + + "of PlugletTagInfo2 returned"); + return; + } + + VSpace = PlugletTagInfo2_obj.getBorderVertSpace(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getBorderVertSpace returns \"" + VSpace + "\" value"); + } + public static void verifyVSpace(int vspace) { + if (vspace == VSpace) { + TestContext.registerPASSED("Good value \"" + VSpace + + "\" was returned by PlugletTagInfo2_getBorderVertSpace"); + } else { + TestContext.registerFAILED("PlugletTagInfo2_getBorderVertSpace returns \"" + VSpace + "\" value " + + "instead of \"" + vspace + "\""); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/Makefile new file mode 100644 index 00000000000..8bf29cc8d51 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderVertSpace_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/PlugletTagInfo2_getBorderVertSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/PlugletTagInfo2_getBorderVertSpace.html new file mode 100644 index 00000000000..9b245236e27 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/PlugletTagInfo2_getBorderVertSpace.html @@ -0,0 +1,32 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getBorderVertSpace test. + The EMBED's vspace attribute set to 11 and this value will be passed to + pluglet via JavaScript. +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/README new file mode 100644 index 00000000000..d70b1b4964f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getBorderVertSpace Information. + +Test name: PlugletTagInfo2_getBorderVertSpace + +Synopsis: getBorderVertSpace method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getBorderVertSpace method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getBorderVertSpace has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/TestProperties new file mode 100644 index 00000000000..ea8b24e87e5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderVertSpace_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getBorderVertSpace_0 +TEST_HTML=api/PlugletTagInfo2_getBorderVertSpace_1/PlugletTagInfo2_getBorderVertSpace.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/makefile.win new file mode 100644 index 00000000000..2c4116b0892 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getBorderVertSpace_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_Iterator.java new file mode 100644 index 00000000000..31c4403bc54 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getBorderVertSpace_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getBorderVertSpace_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/Makefile new file mode 100644 index 00000000000..1af7d0fd962 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getDOMElement +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/PlugletTagInfo2_getDOMElement.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/PlugletTagInfo2_getDOMElement.html new file mode 100644 index 00000000000..eb584a267ce --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/PlugletTagInfo2_getDOMElement.html @@ -0,0 +1,9 @@ + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getDOMElement test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/README new file mode 100644 index 00000000000..5e2c8245055 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getDOMElement Information. + +Test name: PlugletTagInfo2_getDOMElement + +Synopsis: getDOMElement method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getDOMElement method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getDOMElement has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/TestProperties new file mode 100644 index 00000000000..f6973af7f47 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getDOMElement_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getDOMElement_0 +TEST_HTML=api/PlugletTagInfo2_getDOMElement/PlugletTagInfo2_getDOMElement.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/makefile.win new file mode 100644 index 00000000000..b34b0b943a8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getDOMElement +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement_0.java new file mode 100644 index 00000000000..09e196b3a95 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement_0.java @@ -0,0 +1,128 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getDOMElement_0 implements Test +{ + private static String docBase = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getDOMElement_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + "of PlugletTagInfo2_getDOMElement_0"); + return; + } + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + Object element = PlugletTagInfo2_obj.getDOMElement(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getDOMElement returns \"" + element + "\" value"); + if( element == null) { + TestContext.registerFAILED("Null returned by PlugletTagInfo2_obj.getDOMElement"); + } else { + TestContext.registerPASSED("Not null value returned."); + } + + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement_Iterator.java new file mode 100644 index 00000000000..99defea6618 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getDOMElement_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getDOMElement_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/Makefile new file mode 100644 index 00000000000..bc25add6c69 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getDocumentBase +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/PlugletTagInfo2_getDocumentBase.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/PlugletTagInfo2_getDocumentBase.html new file mode 100644 index 00000000000..cbfac45b99f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/PlugletTagInfo2_getDocumentBase.html @@ -0,0 +1,30 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getDocumentBase test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/README new file mode 100644 index 00000000000..b893ef450ee --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getDocumentBase Information. + +Test name: PlugletTagInfo2_getDocumentBase + +Synopsis: getDocumentBase method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getDocumentBase method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getDocumentBase has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/TestProperties new file mode 100644 index 00000000000..2f6fcbb1588 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getDocumentBase_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getDocumentBase_0 +TEST_HTML=api/PlugletTagInfo2_getDocumentBase/PlugletTagInfo2_getDocumentBase.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/makefile.win new file mode 100644 index 00000000000..74b9dc78cde --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getDocumentBase +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase_0.java new file mode 100644 index 00000000000..ba2930fc02f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase_0.java @@ -0,0 +1,130 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getDocumentBase_0 implements Test +{ + private static String docBase = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getDocumentBase_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + "of PlugletTagInfo2_getDocumentBase_0"); + return; + } + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + docBase = PlugletTagInfo2_obj.getDocumentBase(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getDocumentBase returns \"" + docBase + "\" value"); + } + public static void verifyDocBase(String curDocBase) + { + URL realBase = null; + URL base = null; + try { + realBase = new URL(curDocBase); + base = new URL(docBase); + } catch (Exception e) { + TestContext.registerFAILED("Exception during compiling URLs: " + e); + return; + } + if (realBase.equals(base)) { + TestContext.registerPASSED("Good value " + docBase + " returned"); + return; + } else { + TestContext.registerFAILED("Value " + docBase + " returned instead of " + curDocBase); + } + + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase_Iterator.java new file mode 100644 index 00000000000..7c90191e2da --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getDocumentBase_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getDocumentBase_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/Makefile new file mode 100644 index 00000000000..2b58df4830b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getDocumentEncoding +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/PlugletTagInfo2_getDocumentEncoding.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/PlugletTagInfo2_getDocumentEncoding.html new file mode 100644 index 00000000000..82670d885fe --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/PlugletTagInfo2_getDocumentEncoding.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getDocumentEncoding test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/README new file mode 100644 index 00000000000..2ba3ae229d7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getDocumentEncoding Information. + +Test name: PlugletTagInfo2_getDocumentEncoding + +Synopsis: getDocumentEncoding method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getDocumentEncoding method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getDocumentEncoding has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/TestProperties new file mode 100644 index 00000000000..1f5e4e7c8e1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getDocumentEncoding_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getDocumentEncoding_0 +TEST_HTML=api/PlugletTagInfo2_getDocumentEncoding/PlugletTagInfo2_getDocumentEncoding.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/makefile.win new file mode 100644 index 00000000000..d49a4c0167b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getDocumentEncoding +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding_0.java new file mode 100644 index 00000000000..9b2eacc9d20 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding_0.java @@ -0,0 +1,111 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getDocumentEncoding_0 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getDocumentEncoding_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getDocumentEncoding_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + String rt = PlugletTagInfo2_obj.getDocumentEncoding(); + System.err.println("PlugletTagInfo2_getDocumentEncoding returns \"" + rt + "\" value"); + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding_Iterator.java new file mode 100644 index 00000000000..0d2d06d4896 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getDocumentEncoding_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getDocumentEncoding_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/Makefile new file mode 100644 index 00000000000..1a2e57888e2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getHeight +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/PlugletTagInfo2_getHeight.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/PlugletTagInfo2_getHeight.html new file mode 100644 index 00000000000..3f3a1a145e1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/PlugletTagInfo2_getHeight.html @@ -0,0 +1,32 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getHeight test. +EMBED tag hasn't height attribute so default value should be returned
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/README new file mode 100644 index 00000000000..56b4e577277 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getHeight Information. + +Test name: PlugletTagInfo2_getHeight + +Synopsis: getHeight method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getHeight method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getHeight has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/TestProperties new file mode 100644 index 00000000000..70c34c81d0e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getHeight_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getHeight_0 +TEST_HTML=api/PlugletTagInfo2_getHeight/PlugletTagInfo2_getHeight.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/makefile.win new file mode 100644 index 00000000000..edd32174cc9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getHeight +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_0.java new file mode 100644 index 00000000000..de89475a48c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_0.java @@ -0,0 +1,123 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getHeight_0 implements Test +{ + private static int height = -1; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getHeight_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getHeight_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + height = PlugletTagInfo2_obj.getHeight(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getHeight returns \"" + height + "\" value"); + } + public static void verifyHeight(int realHeight) + { + if (height == realHeight) { + TestContext.registerPASSED("Good value \"" + height + + "\" was returned by PlugletTagInfo2_getHeight"); + } else { + TestContext.registerFAILED("PlugletTagInfo2_getHeight returns \"" + height + "\" value " + + "instead of \"" + realHeight + "\""); + } + + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/Makefile new file mode 100644 index 00000000000..18c6e79d455 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getHeight_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/PlugletTagInfo2_getHeight.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/PlugletTagInfo2_getHeight.html new file mode 100644 index 00000000000..8b00ed71f2c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/PlugletTagInfo2_getHeight.html @@ -0,0 +1,32 @@ + + + + + +

Depth 0

+
+This window contains a pluglet PlugletTagInfo2_getHeight test. +Attribute "height" of EMBED tag is set to 111, +this value will be passed to pluglet via JavaScript +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/README new file mode 100644 index 00000000000..56b4e577277 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getHeight Information. + +Test name: PlugletTagInfo2_getHeight + +Synopsis: getHeight method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getHeight method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getHeight has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/TestProperties new file mode 100644 index 00000000000..9f9c10031f9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getHeight_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getHeight_0 +TEST_HTML=api/PlugletTagInfo2_getHeight_1/PlugletTagInfo2_getHeight.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/makefile.win new file mode 100644 index 00000000000..fdf5b645f1d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getHeight_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_Iterator.java new file mode 100644 index 00000000000..9b3be343db6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getHeight_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getHeight_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/Makefile new file mode 100644 index 00000000000..d2cb8c39731 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/Makefile @@ -0,0 +1,47 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getParameter +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/$(TEST_NAME).lst + @rm -f $(DEST_DIR)/TestProperties +parameters: + @cp -f $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/ParamCombinations new file mode 100644 index 00000000000..be6f7b30c38 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/ParamCombinations @@ -0,0 +1 @@ +Description'0, TestID'0, DUMMY_ATTR_NAME'0, null'0 diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.html new file mode 100644 index 00000000000..d84116fd4fb --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.html @@ -0,0 +1,45 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getParameter test.
+ + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.lst new file mode 100644 index 00000000000..d3dcabcb24f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.lst @@ -0,0 +1,4 @@ +0: Description +1: TestID +2: DUMMY_ATTR_NAME +3: null diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/README new file mode 100644 index 00000000000..9720ea455db --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getParameter Information. + +Test name: PlugletTagInfo2_getParameter + +Synopsis: getParameter method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getParameter method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. This test has 1 String parameter. +For parameter values please see TestParameters and ParamCombinations files in this +test directory. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/TestProperties new file mode 100644 index 00000000000..b9e67112b74 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getParameter_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getParameter_2 +TEST_HTML=api/PlugletTagInfo2_getParameter/PlugletTagInfo2_getParameter.html +LST_FILE_NAME=PlugletTagInfo2_getParameter.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/makefile.win new file mode 100644 index 00000000000..bd67edd1a8c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getParameter +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties +parameters: + @xcopy $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter_2.java new file mode 100644 index 00000000000..fc878e2ca84 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter_2.java @@ -0,0 +1,153 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getParameter_2 implements Test +{ + private static String paramName = null; + private static String paramVal = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getParameter_2() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo2_getParameter_2"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + paramName = (String)vectorOfParameters.elementAt(0); + paramVal = PlugletTagInfo2_obj.getParameter(paramName); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getParameter(" + paramName + ") returns \"" + paramVal + "\" value"); + } + public static void verifyParameter(String paramString) + { + Properties paramReal = new Properties(); + if (paramName == null) { + if (paramVal == null) { + TestContext.registerPASSED("Pluglet doesn't crashed when call getParameter(null) and return null value"); + } else { + TestContext.registerFAILED("Pluglet doesn't crashed when call getParameter(null)" + + " but return not null value + \"" + paramVal + "\""); + } + return; + } + try { + paramReal.load((InputStream)new ByteArrayInputStream(paramString.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + if (paramReal.getProperty(paramName,null) == null) { + if (paramVal == null) { + TestContext.registerPASSED("null value returned for unexisting Parameter " + paramName); + } else { + TestContext.registerFAILED("Not null value returned for unexisting Parameter " + paramName); + } + return; + } + if (paramReal.getProperty(paramName,null).equals(paramVal)) { + TestContext.registerPASSED(paramVal + " value returned for existing Parameter " + paramName); + } else { + TestContext.registerFAILED("Wrong value " + paramVal + " returned for Parameter " + paramName + + " .Good value is " + paramReal.getProperty(paramName,null)); + } + return; + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter_Iterator.java new file mode 100644 index 00000000000..4feeefc4360 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter_Iterator.java @@ -0,0 +1,140 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getParameter_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getParameter_Iterator() + { + + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + System.err.println("Can't close parameters file: " + paramFile); + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + } + return true; + } + public boolean next() + { + String[] paramValue = new String[1]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement >$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/PlugletTagInfo2_getParameters.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/PlugletTagInfo2_getParameters.html new file mode 100644 index 00000000000..3911ccf3cac --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/PlugletTagInfo2_getParameters.html @@ -0,0 +1,47 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getParameters test.
+ + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/README new file mode 100644 index 00000000000..a3f9a8e7222 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getParameters Information. + +Test name: PlugletTagInfo2_getParameters + +Synopsis: getParameters method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getParameters method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getParameters has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/TestProperties new file mode 100644 index 00000000000..b632e251c7f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getParameters_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getParameters_0 +TEST_HTML=api/PlugletTagInfo2_getParameters/PlugletTagInfo2_getParameters.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/makefile.win new file mode 100644 index 00000000000..72b10a02961 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getParameters +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_0.java new file mode 100644 index 00000000000..db26e07333e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_0.java @@ -0,0 +1,154 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getParameters_0 implements Test +{ + public static boolean actionPerformed = false; + private static Properties attrsForVerify = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getParameters_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getParameters_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + attrsForVerify = PlugletTagInfo2_obj.getParameters(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getParameters returns \"" + attrsForVerify + "\" value"); + } + public static void verifyParameters(String attrString) + { + if(attrString.equals("")) { //No parameters set + if(attrsForVerify.isEmpty()) { + TestContext.registerPASSED("Empty properties returned when PARAMS isn't set."); + } else { + TestContext.registerFAILED("Not empty properties \"" + attrsForVerify + "\" returned when PARAMS isn't set."); + } + return; + } + Properties attr = new Properties(); + try { + attr.load((InputStream)new ByteArrayInputStream(attrString.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + if (attrsForVerify == null) { + TestContext.registerFAILED("null value returned by PlugletTagInfo2_getParameters"); + return; + } + for (Enumeration e = attr.propertyNames();e.hasMoreElements();) { + String pName = (String)e.nextElement(); + if ((attrsForVerify.getProperty(pName,null)) == null) { + TestContext.registerFAILED("Attribute \"" + pName + "\" not found in returned Parameters"); + return; + } else { + if (!attr.getProperty(pName).equals(attrsForVerify.getProperty(pName))) { + TestContext.registerFAILED("Values of attribute \"" + pName + "\" are different"); + return; + } + } + } + TestContext.registerPASSED("All Parameters transfered from JavaScript exists in Parameters, " + + " returned by PlugletTagInfo2_getParameters"); + + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/Makefile new file mode 100644 index 00000000000..d789ff040a1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getParameters_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/PlugletTagInfo2_getParameters.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/PlugletTagInfo2_getParameters.html new file mode 100644 index 00000000000..7436eb745ed --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/PlugletTagInfo2_getParameters.html @@ -0,0 +1,34 @@ + + + + + +

Depth 0

+
+This window contains a pluglet PlugletTagInfo2_getParameters test. +Pluglet embedded to this page via EMBED tag, getParameters should return empty properties. +
+ + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/README new file mode 100644 index 00000000000..a3f9a8e7222 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getParameters Information. + +Test name: PlugletTagInfo2_getParameters + +Synopsis: getParameters method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getParameters method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getParameters has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/TestProperties new file mode 100644 index 00000000000..aa16f739570 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getParameters_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getParameters_0 +TEST_HTML=api/PlugletTagInfo2_getParameters_1/PlugletTagInfo2_getParameters.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/makefile.win new file mode 100644 index 00000000000..236188f7f44 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getParameters_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_Iterator.java new file mode 100644 index 00000000000..09940763ade --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getParameters_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getParameters_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/Makefile new file mode 100644 index 00000000000..00e8ac94c35 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getTagText +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/PlugletTagInfo2_getTagText.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/PlugletTagInfo2_getTagText.html new file mode 100644 index 00000000000..f2b3f70c6f4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/PlugletTagInfo2_getTagText.html @@ -0,0 +1,7 @@ + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getTagText test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/README new file mode 100644 index 00000000000..ba352a61575 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getTagText Information. + +Test name: PlugletTagInfo2_getTagText + +Synopsis: getTagText method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getTagText method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getTagText has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/TestProperties new file mode 100644 index 00000000000..a1486e869f8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getTagText_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getTagText_0 +TEST_HTML=api/PlugletTagInfo2_getTagText/PlugletTagInfo2_getTagText.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/makefile.win new file mode 100644 index 00000000000..2258ea39fdb --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getTagText +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText_0.java new file mode 100644 index 00000000000..11cd7e5f650 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText_0.java @@ -0,0 +1,111 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getTagText_0 implements Test +{ + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getTagText_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getTagText_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + String rt = PlugletTagInfo2_obj.getTagText(); + System.err.println("PlugletTagInfo2_getTagText returns \"" + rt + "\" value"); + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText_Iterator.java new file mode 100644 index 00000000000..b07914bccba --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getTagText_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getTagText_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/Makefile new file mode 100644 index 00000000000..5464afd9c2d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getTagType +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/PlugletTagInfo2_getTagType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/PlugletTagInfo2_getTagType.html new file mode 100644 index 00000000000..a562a34f70e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/PlugletTagInfo2_getTagType.html @@ -0,0 +1,32 @@ + + + + + +

Depth 0

+
+This window contains a pluglet PlugletTagInfo2_getTagType test. +Pluglet created with EMBED tag, so EMBED value should be returned. +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/README new file mode 100644 index 00000000000..d1c472b1467 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getTagType Information. + +Test name: PlugletTagInfo2_getTagType + +Synopsis: getTagType method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getTagType method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getTagType has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/TestProperties new file mode 100644 index 00000000000..a756adffef6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getTagType_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getTagType_0 +TEST_HTML=api/PlugletTagInfo2_getTagType/PlugletTagInfo2_getTagType.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/makefile.win new file mode 100644 index 00000000000..8288519bc90 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getTagType +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_0.java new file mode 100644 index 00000000000..2623072f8ab --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_0.java @@ -0,0 +1,134 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getTagType_0 implements Test +{ + private static String type = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getTagType_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo2_getTagType_0"); + return; + } + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + type = PlugletTagInfo2_obj.getTagType(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getTagType returns \"" + type + "\" value"); + } + public static void verifyType(String realType) { + if (type == null) { + TestContext.registerFAILED("PlugletTagInfo2_getTagType returns null value "); + return; + } + if (type.equals(realType)) { + TestContext.registerPASSED("Good value \"" + type + + "\" was returned by PlugletTagInfo2_getTagType"); + } else { + TestContext.registerFAILED("PlugletTagInfo2_getTagType returns \"" + type + "\" value " + + "instead of \"" + realType + "\""); + } + } + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/Makefile new file mode 100644 index 00000000000..b4816321b67 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getTagType_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/PlugletTagInfo2_getTagType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/PlugletTagInfo2_getTagType.html new file mode 100644 index 00000000000..ed86025023d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/PlugletTagInfo2_getTagType.html @@ -0,0 +1,33 @@ + + + + + +

Depth 0

+
+This window contains a pluglet PlugletTagInfo2_getTagType test. +OBJECT tag used to embed a pluglet to page, so "OBJECT" value should be returned. +
+ +This place for Pluglet + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/README new file mode 100644 index 00000000000..d1c472b1467 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getTagType Information. + +Test name: PlugletTagInfo2_getTagType + +Synopsis: getTagType method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getTagType method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getTagType has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/TestProperties new file mode 100644 index 00000000000..37d08afc1ec --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getTagType_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getTagType_0 +TEST_HTML=api/PlugletTagInfo2_getTagType_1/PlugletTagInfo2_getTagType.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/makefile.win new file mode 100644 index 00000000000..b71a5341557 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getTagType_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_Iterator.java new file mode 100644 index 00000000000..e7e7eb4f930 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getTagType_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getTagType_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/IDPluglet.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/IDPluglet.java new file mode 100644 index 00000000000..f34d8e28c8a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/IDPluglet.java @@ -0,0 +1,165 @@ + /* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + */ + + +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import java.io.*; +import java.awt.print.*; +import java.awt.Frame; +import org.mozilla.pluglet.test.basic.TestContext; + +public class IDPluglet implements PlugletFactory { + public IDPluglet() { + } + /** + * Creates a new pluglet instance, based on a MIME type. This + * allows different impelementations to be created depending on + * the specified MIME type. + */ + public Pluglet createPluglet(String mimeType) { + return new TestInstance(); + } + /** + * Initializes the pluglet and will be called before any new instances are + * created. + */ + public void initialize(PlugletManager manager) { + } + /** + * Called when the browser is done with the pluglet factory, or when + * the pluglet is disabled by the user. + */ + public void shutdown() { + } +} + +class TestInstance implements Pluglet { + PlugletPeer peer; + public TestInstance() { + } + /** + * Initializes a newly created pluglet instance, passing to it the pluglet + * instance peer which it should use for all communication back to the browser. + * + * @param peer the corresponding pluglet instance peer + */ + + public void initialize(PlugletPeer peer) { + this.peer = peer; + PlugletTagInfo2 info2 = null; + PlugletTagInfo info = peer.getTagInfo(); + if (info instanceof PlugletTagInfo2) { + info2 = (PlugletTagInfo2)info; + } else { + TestContext.printLog("Instance of PlugletTagInfo instead of PlugletTagInfo2 passed,\n" + + "can't call getUniqueID."); + return; + } + int ID = info2.getUniqueID(); + org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getUniqueID_0.addID(ID); + } + /** + * Called to instruct the pluglet instance to start. This will be called after + * the pluglet is first created and initialized, and may be called after the + * pluglet is stopped (via the Stop method) if the pluglet instance is returned + * to in the browser window's history. + */ + public void start() { + + } + /** + * Called to instruct the pluglet instance to stop, thereby suspending its state. + * This method will be called whenever the browser window goes on to display + * another page and the page containing the pluglet goes into the window's history + * list. + */ + public void stop() { + } + /** + * Called to instruct the pluglet instance to destroy itself. This is called when + * it become no longer possible to return to the pluglet instance, either because + * the browser window's history list of pages is being trimmed, or because the + * window containing this page in the history is being closed. + */ + public void destroy() { + } + /** + * Called to tell the pluglet that the initial src/data stream is + * ready. + * + * @result PlugletStreamListener + */ + public PlugletStreamListener newStream() { + return new TestStreamListener(); + } + /** + * Called when the window containing the pluglet instance changes. + * + * @param frame the pluglet panel + */ + public void setWindow(Frame frame) { + } + /** + * Called to instruct the pluglet instance to print itself to a printer. + * + * @param print printer information. + */ + public void print(PrinterJob printerJob) { + } +} + +class TestStreamListener implements PlugletStreamListener { + public TestStreamListener() { + } + /** + * Notify the observer that the URL has started to load. This method is + * called only once, at the beginning of a URL load.

+ */ + public void onStartBinding(PlugletStreamInfo streamInfo) { + } + /** + * Notify the client that data is available in the input stream. This + * method is called whenver data is written into the input stream by the + * networking library...

+ * + * @param input The input stream containing the data. This stream can + * be either a blocking or non-blocking stream. + * @param length The amount of data that was just pushed into the stream. + */ + public void onDataAvailable(PlugletStreamInfo plugletInfo, InputStream input,int length) { + } + public void onFileAvailable(PlugletStreamInfo plugletInfo, String fileName) { + } + /** + * Notify the observer that the URL has finished loading. + */ + public void onStopBinding(PlugletStreamInfo plugletInfo,int status) { + } + public int getStreamType() { + return 1; //:) + } +} + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/manifest new file mode 100644 index 00000000000..607ff32c778 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-id-pluglet::Unique ID Pluglet +Pluglet-Class: IDPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/Makefile new file mode 100644 index 00000000000..d3b12a3db9b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/Makefile @@ -0,0 +1,63 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getUniqueID +DEPTH=../../../../../../../.. +#DEPTH1 used to build in the subdirectories +DEPTH1=../../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +BASIC_CLASSES=org/mozilla/pluglet/test/basic +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl +CLASSPATH=$(MOZILLA_FIVE_HOME)/../classes:$(DEPTH1)/build/classes + +#$(BUID_DIR)/classes/$(BASIC_CLASSES)/*.class +default: all +all: ID_pluglet html properties data +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +ID_pluglet: + @cd IDPluglet; \ + $(JDKHOME)/bin/javac -classpath $(CLASSPATH) *.java; \ + $(JDKHOME)/bin/jar cvfm IDPluglet.jar manifest *.class; +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +data: + @cp -f IDPluglet/IDPluglet.jar $(BUILD_DIR)/classes/org/mozilla/pluglet/test/basic/api +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties + @rm -f $(BUILD_DIR)/classes/org/mozilla/pluglet/test/basic/api/IDPluglet.jar + @rm -f IDPluglet/IDPluglet.jar + @rm -f IDPluglet/*.class + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/PlugletTagInfo2_getUniqueID.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/PlugletTagInfo2_getUniqueID.html new file mode 100644 index 00000000000..3a6724fea30 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/PlugletTagInfo2_getUniqueID.html @@ -0,0 +1,11 @@ + + +

Depth 0

+ + + +
This window contains a pluglet PlugletTagInfo2_getUniqueID test.
+ +
And 3 test pluglets, just for verify uniqueID
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/README new file mode 100644 index 00000000000..18459fccbdf --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getUniqueID Information. + +Test name: PlugletTagInfo2_getUniqueID + +Synopsis: getUniqueID method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getUniqueID method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getUniqueID has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/TestProperties new file mode 100644 index 00000000000..4fbff57aa43 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/TestProperties @@ -0,0 +1,8 @@ +RUN_STAGES=PLUGLET_INSTANCE_START +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getUniqueID_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getUniqueID_0 +TEST_HTML=api/PlugletTagInfo2_getUniqueID/PlugletTagInfo2_getUniqueID.html +PLUGLET_COUNT=3 +#PLUGLET=c:homeavmpl_testbuildclassesorgmozillapluglettestbasic +#;c:\home\avm\pl_test\build\test\basic\api\PlugletTagInfo2_getUniqueID +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/makefile.win new file mode 100644 index 00000000000..87a3bdff9aa --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/makefile.win @@ -0,0 +1,60 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getUniqueID +DEPTH=..\..\..\..\..\..\..\.. +#DEPTH1 used to build in the subdirectories +DEPTH1=..\..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +BASIC_CLASSES=org\mozilla\pluglet\test\basic +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +CLASSPATH1=$(DEPTH1)\build\classes;$(CLASSPATH) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +#$(BUID_DIR)\classes\$(BASIC_CLASSES)\*.class +default: all +all: ID_pluglet html properties data +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +ID_pluglet: + @cd IDPluglet + @$(JDKHOME)\bin\javac -classpath $(CLASSPATH1) *.java + @$(JDKHOME)\bin\jar cvfm IDPluglet.jar manifest *.class + @cd .. +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +data: + @xcopy IDPluglet\IDPluglet.jar $(BUILD_DIR)\classes\org\mozilla\pluglet\test\basic\api +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties + @del $(BUILD_DIR)\classes\org\mozilla\pluglet\test\basic\api\IDPluglet.jar + @del IDPluglet\IDPluglet.jar + @del IDPluglet\*.class diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID_0.java new file mode 100644 index 00000000000..b3327626d19 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID_0.java @@ -0,0 +1,132 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getUniqueID_0 implements Test +{ + public static Vector idVect = new Vector(); + private static int plugletCount = -1; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getUniqueID_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo2_getUniqueID_0"); + return; + } + try { + plugletCount = (new Integer(context.getProperty("PLUGLET_COUNT"))).intValue(); + } catch (Exception e) { + TestContext.registerFAILED("Exception during parsing property PLUGLET_COUNT: " + e); + return; + } + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + int curID = PlugletTagInfo2_obj.getUniqueID(); + addID(curID); + } + public static void addID(int ID) { + idVect.addElement(new Integer(ID)); + if(plugletCount == -1) { + return; + } + if(idVect.size() == plugletCount + 1) { + int curID = ((Integer)idVect.elementAt(plugletCount)).intValue(); + for(int i=0;i>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/PlugletTagInfo2_getWidth.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/PlugletTagInfo2_getWidth.html new file mode 100644 index 00000000000..f2e05c262d1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/PlugletTagInfo2_getWidth.html @@ -0,0 +1,30 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo2_getWidth test. +The EMBED tag hasn't width attribute, so default value should be returned. +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/README new file mode 100644 index 00000000000..4bc8a442998 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getWidth Information. + +Test name: PlugletTagInfo2_getWidth + +Synopsis: getWidth method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getWidth method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getWidth has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/TestProperties new file mode 100644 index 00000000000..950b916c309 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getWidth_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getWidth_0 +TEST_HTML=api/PlugletTagInfo2_getWidth/PlugletTagInfo2_getWidth.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/makefile.win new file mode 100644 index 00000000000..af564c60cd6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getWidth +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_0.java new file mode 100644 index 00000000000..90d29f82ec8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_0.java @@ -0,0 +1,123 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getWidth_0 implements Test +{ + private static int width = -1; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getWidth_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + PlugletTagInfo2 PlugletTagInfo2_obj = null; + + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo2_getWidth_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + if (PlugletTagInfo_obj instanceof PlugletTagInfo2) { + PlugletTagInfo2_obj = (PlugletTagInfo2)PlugletTagInfo_obj; + } else { + TestContext.registerFAILED("Instance of PlugletTagInfo instead of PlugletTagInfo2 returned"); + return; + } + + width = PlugletTagInfo2_obj.getWidth(); + actionPerformed = true; + System.err.println("PlugletTagInfo2_getWidth returns \"" + width + "\" value"); + } + public static void verifyWidth(int realWidth) { + if (width == realWidth) { + TestContext.registerPASSED("Good value \"" + width + + "\" was returned by PlugletTagInfo2_getWidth"); + } else { + TestContext.registerFAILED("PlugletTagInfo2_getWidth returns \"" + width + "\" value " + + "instead of \"" + realWidth + "\""); + } + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/Makefile new file mode 100644 index 00000000000..128f6579e45 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/Makefile @@ -0,0 +1,44 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getWidth_1 +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/PlugletTagInfo2_getWidth.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/PlugletTagInfo2_getWidth.html new file mode 100644 index 00000000000..4f62f8fbb23 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/PlugletTagInfo2_getWidth.html @@ -0,0 +1,31 @@ + + + + + +

Depth 0

+
+This window contains a pluglet PlugletTagInfo2_getWidth test. +EMBED tag has a width attribute, equals to 111. +
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/README new file mode 100644 index 00000000000..4bc8a442998 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/README @@ -0,0 +1,18 @@ +PlugletTagInfo2_getWidth Information. + +Test name: PlugletTagInfo2_getWidth + +Synopsis: getWidth method of class PlugletTagInfo2 + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getWidth method of the PlugletTagInfo2 object +at runstages, specified at TestProperties file. +Method getWidth has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/TestProperties new file mode 100644 index 00000000000..bd772ce8b6f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getWidth_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getWidth_0 +TEST_HTML=api/PlugletTagInfo2_getWidth_1/PlugletTagInfo2_getWidth.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/makefile.win new file mode 100644 index 00000000000..396f8437850 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo2_getWidth_1 +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_Iterator.java new file mode 100644 index 00000000000..622ea9c694c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo2_getWidth_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo2_getWidth_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/Makefile new file mode 100644 index 00000000000..c3b1bf3bbbe --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/Makefile @@ -0,0 +1,50 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo_getAttribute +DEPTH=../../../../../../../.. +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +CONFIG_FILE=$(DEPTH)/config/CommonProperties +BASIC_PATH=test/basic/api +DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME) +MAKE_PARAM=perl ../makeParameters.pl +MAKE_COMB=perl ../makeCombinations.pl + +default: all +all: html properties parameters +html: + @mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME) + @cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME) + +properties: + @mkdir -p $(DEST_DIR) + @perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties +clobber: + @if [ -e $(HTML_DEST_DIR)/$(TEST_NAME) ]; then \ + rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/* ; \ + fi + @if [ -e $(DEST_DIR) ]; then \ + rm -f $(DEST_DIR)/* ; \ + fi +parameters: + @cp -f $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)/$(COMMON_LST_FILE) \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/ParamCombinations new file mode 100644 index 00000000000..6cf7935b72a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/ParamCombinations @@ -0,0 +1 @@ +type'0, name'0, DUMMY_ATTR_NAME'0, null'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.html new file mode 100644 index 00000000000..dc96ed9f3ce --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.html @@ -0,0 +1,39 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo_getAttribute test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.lst new file mode 100644 index 00000000000..96eb10925cd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.lst @@ -0,0 +1,4 @@ +0: type +1: name +2: DUMMY_ATTR_NAME +3: null diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/README new file mode 100644 index 00000000000..9eb559e0c4e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/README @@ -0,0 +1,18 @@ +PlugletTagInfo_getAttribute Information. + +Test name: PlugletTagInfo_getAttribute + +Synopsis: getAttribute method of class PlugletTagInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getAttribute method of the PlugletTagInfo object +at runstages, specified at TestProperties file. This test has 1 String parameter. +For parameter values please see TestParameters and ParamCombinations files in this +test directory. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/TestProperties new file mode 100644 index 00000000000..7f3b8dcdc34 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/TestProperties @@ -0,0 +1,6 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo_getAttribute_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo_getAttribute_2 +TEST_HTML=api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.html +LST_FILE_NAME=PlugletTagInfo_getAttribute.lst.TEMP +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/makefile.win new file mode 100644 index 00000000000..1c3bbde3136 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/makefile.win @@ -0,0 +1,48 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo_getAttribute +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties parameters +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties +parameters: + @xcopy $(TEST_NAME).lst $(DEST_DIR) +combinations: + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute_2.java new file mode 100644 index 00000000000..ad2fd68c2d1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute_2.java @@ -0,0 +1,146 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo_getAttribute_2 implements Test +{ + private static String attrName = null; + private static String attrVal = null; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo_getAttribute_2() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext)" + + " of PlugletTagInfo_getAttribute_2"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + attrName = (String)vectorOfParameters.elementAt(0); + attrVal = PlugletTagInfo_obj.getAttribute(attrName); + actionPerformed = true; + System.err.println("PlugletTagInfo_getAttribute(" + attrName + ") returns \"" + attrVal + "\" value"); + } + public static void verifyAttribute(String attrString) + { + Properties attrReal = new Properties(); + if (attrName == null) { + if (attrVal == null) { + TestContext.registerPASSED("Pluglet doesn't crashed when call getAttribute(null) and return null value"); + } else { + TestContext.registerFAILED("Pluglet doesn't crashed when call getAttribute(null)" + + " but return not null value + \"" + attrVal + "\""); + } + return; + } + try { + attrReal.load((InputStream)new ByteArrayInputStream(attrString.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + if (attrReal.getProperty(attrName,null) == null) { + if (attrVal == null) { + TestContext.registerPASSED("null value returned for unexisting attribute " + attrName); + } else { + TestContext.registerFAILED("Not null value returned for unexisting attribute " + attrName); + } + return; + } + if (attrReal.getProperty(attrName,null).equals(attrVal)) { + TestContext.registerPASSED(attrVal + " value returned for existing attribute " + attrName); + } else { + TestContext.registerFAILED("Wrong value " + attrVal + " returned for attribute " + attrName + + " .Good value is " + attrReal.getProperty(attrName,null)); + } + return; + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute_Iterator.java new file mode 100644 index 00000000000..0b7a0f6897e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute_Iterator.java @@ -0,0 +1,140 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo_getAttribute_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo_getAttribute_Iterator() + { + + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + BufferedReader br = null; + String paramString = new String(""); + String fileName = context.getProperty("LST_FILE_NAME"); + String separator = System.getProperty("file.separator"); + String paramFile = context.getTestDir() + separator + fileName; + try { + br = new BufferedReader(new InputStreamReader(new FileInputStream(paramFile))); + } catch (Exception e) { + TestContext.registerFAILED("Can't open parameters file: " + paramFile); + return false; + } + try{ + while((paramString = br.readLine())!= null) + { + combstr.addElement(paramString); + } + } catch (Exception e) { + TestContext.registerFAILED("Can't read from parameters file: " + paramFile); + return false; + } + try { + br.close(); + } catch (Exception e) { + System.err.println("Can't close parameters file: " + paramFile); + TestContext.registerFAILED("Can't close parameters file: " + paramFile); + } + return true; + } + public boolean next() + { + String[] paramValue = new String[1]; + Vector vectorOfParameters = new Vector(); + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if(curElement >$(BUILD_DIR)/$(COMMON_LST_FILE) +clobber: + @rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html + @rm -f $(DEST_DIR)/TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/PlugletTagInfo_getAttributes.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/PlugletTagInfo_getAttributes.html new file mode 100644 index 00000000000..c87630db268 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/PlugletTagInfo_getAttributes.html @@ -0,0 +1,39 @@ + + + + + +

Depth 0

+
This window contains a pluglet PlugletTagInfo_getAttributes test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/README new file mode 100644 index 00000000000..ca6e086add9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/README @@ -0,0 +1,18 @@ +PlugletTagInfo_getAttributes Information. + +Test name: PlugletTagInfo_getAttributes + +Synopsis: getAttributes method of class PlugletTagInfo + +Pre-Conditions: Build mozilla, setup enviroment as for running mozilla +and see api tests README for setup enviroment for run tests. + +Description: This test call the getAttributes method of the PlugletTagInfo object +at runstages, specified at TestProperties file. +Method getAttributes has 0 arguments, so in this test dir +file ParamCombinations and TestParameters isn't present. + +Results: See the PlugletTest.log and PlugletTest.res in +the $MOZILLA_FIVE_HOME/bin directory and additional logs in the +PLUGLET_TEST_DIR/log directory + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/TestProperties new file mode 100644 index 00000000000..19d2c295e2f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/TestProperties @@ -0,0 +1,5 @@ +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo_getAttributes_Iterator +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo_getAttributes_0 +TEST_HTML=api/PlugletTagInfo_getAttributes/PlugletTagInfo_getAttributes.html +PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/makefile.win new file mode 100644 index 00000000000..49ad20cae97 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes/makefile.win @@ -0,0 +1,45 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +TEST_NAME=PlugletTagInfo_getAttributes +DEPTH=..\..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +MAKE_PARAM=..\makeParameters.pl +MAKE_COMB=..\makeCombinations.pl + +default: all +all: html properties +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +properties: + @-1 mkdir $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +combinations: + echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(DEST_DIR)\TestProperties diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes_0.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes_0.java new file mode 100644 index 00000000000..b89039d541f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes_0.java @@ -0,0 +1,133 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo_getAttributes_0 implements Test +{ + public static boolean actionPerformed = false; + private static Properties attrsForVerify = null; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo_getAttributes_0() + { + } + + + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + + /** + *********************************************************** + * + * Execute Method + * + * @param contex TestContext reference with properties and parameters + * @return void, the result set to true or false via context + * + *********************************************************** + */ + public void execute(TestContext context) + { + if( context == null ) { + TestContext.registerFAILED("ERROR:null context passed in execute(TestContext) of PlugletTagInfo_getAttributes_0"); + return; + } + Vector vectorOfParameters = context.getParameters(); + PlugletTagInfo PlugletTagInfo_obj = context.getPlugletPeer().getTagInfo(); + attrsForVerify = PlugletTagInfo_obj.getAttributes(); + actionPerformed = true; + System.err.println("PlugletTagInfo_getAttributes returns \"" + attrsForVerify + "\" value"); + } + public static void verifyAttributes(String attrString) + { + Properties attr = new Properties(); + try { + attr.load((InputStream)new ByteArrayInputStream(attrString.getBytes())); + } catch (Exception e) { + TestContext.registerFAILED("Exception " + e + " ocurred"); + return; + } + if (attrsForVerify == null) { + TestContext.registerFAILED("null value returned by PlugletTagInfo_getAttributes"); + return; + } + for (Enumeration e = attr.propertyNames();e.hasMoreElements();) { + String pName = (String)e.nextElement(); + if ((attrsForVerify.getProperty(pName,null)) == null) { + TestContext.registerFAILED("Attribute " + pName + " not found in returned attributes"); + return; + } else { + if (!attr.getProperty(pName).equals(attrsForVerify.getProperty(pName))) { + TestContext.registerFAILED("Values of attribute " + pName + " are different"); + return; + } + } + } + TestContext.registerPASSED("All attributes transfered from JavaScript exists in attributes, " + + " returned by PlugletTagInfo_getAttributes"); + + } + + /** + * + *********************************************************** + * Routine where OS specific checks are made. + * + * @param os OS Name (SunOS/Linus/MacOS/...) + *********************************************************** + * + */ + private void osRoutine(String os) + { + if(os == null) return; + + os = os.trim(); + if(os.compareTo("SunOS") == 0) {} + else if(os.compareTo("Linux") == 0) {} + else if(os.compareTo("Windows") == 0) {} + else if(os.compareTo("MacOS") == 0) {} + else {} + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes_Iterator.java new file mode 100644 index 00000000000..8d4a30edc85 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttributes_Iterator.java @@ -0,0 +1,98 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.util.*; +import java.io.*; +import java.net.*; +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.*; + +public class PlugletTagInfo_getAttributes_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + TestContext context = null; + public static int flag = 0; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * + */ + public PlugletTagInfo_getAttributes_Iterator() + { + //Method has 0 arguments + } + /** + * + *********************************************************** + * Starting point of application + * + * @param args Array of command line arguments + * + *********************************************************** + */ + public static void main(String[] args) + { + } + /** + *********************************************************** + * + * Initialize Method + * + * This method initialize parameters array and prepare for + * access parameters via nextParams method + * + * @param contex TestContext reference with properties and parameters + * @return nothing + * + *********************************************************** + */ + public boolean initialize(TestContext context) + { + this.context = context; + return true; + } + public boolean next() + { + if (context == null) + { + TestContext.registerFAILED("context not initialized"); + return false; + + } + if (flag == 0) //Only one time we should work(In future may be stress test for many calls :) + { + context.setParameters(new Vector()); + flag = 1; + return true; + } else + { + return false; + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/README new file mode 100644 index 00000000000..edc1f5582d9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/README @@ -0,0 +1,52 @@ +CONTENTS: + This directory contains a java sources for Pluglet API tests + and subdirectories for each test with misc needed files. + 1. Naming convention. + 1.1 For tests: __.java + 1.2 For tests Iterators: __Iterator.java + 1.3 For test directories: _[_] + 2. Non java files, used for testing. + Each test subdirectory can contain: + 2.1 TestProperties file with test properties, bellow a example (for PlugletManager_postURL): + RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE + TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_9216 + ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_Iterator + TEST_HTML=PlugletManager_postURL/PlugletManager_postURL.html + 2.2 TestParameters file with user specific properties, bellow a example (for PlugletManager_getValue): + APPCONTEXT_GET_VALUE=2 + DISPLAY_GET_VALUE=1 + 2.3 ParamCombinations file contain a possible combinations each of parameters, + bellow a example (for PlugletManager_getValue): + 0'0, Integer.MIN_VALUE'0, Integer.MAX_VALUE'0, APPCONTEXT_GET_VALUE'0, DISPLAY_GET_VALUE'0 + Please see README.paramComb for more details about format of this file. + 2.4 Misc HTML files neeedd for executing current test. + 2.5 Other files needed for test + Note, that any of this files exclude TestProperties and main HTML file can be ommited for + some tests. +PRE_BUILD: + Verify and change if needed TestParameters file in each of test subdirs. + This file contains mashine and user specific parameters such as + URL's for post and get, referer URL's, file names for buffers, etc .. + if this file not exist in test dir then test havn't user specific parameters. +BUILD: + For buid Pluglet API tests you need to chgange HTML_ROOT_DIR and TEST_TOP_DIR + variables in set_env.bat script from Pluglet/config directory. + Execute this script, do nmake -f makefile.win in src/org/mozilla/pluglet/test/basic directory + and nmake -f makefile.win in src/org/mozilla/pluglet/test/basic/api directory +RUN: + For run Pluglet API test you can use autorun.pl perl script. + Verify that there is BWTest.lst.ORIG file with testcase's list in you current directory and + just type: perl autorun.pl + + Please verify script output in console and for test results view logs in Pluglet/log logs dir. + + + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/README.paramComb b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/README.paramComb new file mode 100644 index 00000000000..2058a450636 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/README.paramComb @@ -0,0 +1,46 @@ + +ParamCombinations file for function with N parameters: +-------------------------------------------------------------------- +value1'M, value2'M,.., value3'M - the list of values for parameter1 +value1'M, value2'M,.., value3'M - the list of values for parameter2 +.. +.. +value1'M, value2'M,.., value3'M - the list of values for parameterN +-------------------------------------------------------------------- +Comments: where M is modifier, the posible values of modifier are 0 and 1. +0 means what this value correct and must be used with all combinations + of all values for other parameters + +1 means that this is nonstandart value and must be used only with + combinations of other parameter values signed with 0 + +Another words, only one value signed with 1 can be present in combination. +For example ParamCombinations file for method setWindowSize(int,int) +of class PlugletInstacePeer looks: +--------------------------------------------------------------------- +NORMAL_WINDOW_SIZE_X'0, 0'1, Integer.MIN_VALUE'1, Integer.MAX_VALUE'1 +NORMAL_WINDOW_SIZE_Y'0, 0'1, Integer.MIN_VALUE'1, Integer.MAX_VALUE'1 +--------------------------------------------------------------------- +Where NORMAL_WINDOW_SIZE_X, NORMAL_WINDOW_SIZE_Y are user specific values and specified +in TestParameters file in PlugletPeer_setWindowSize directory. + +Also this ParamCombinations file say's that "0", "Integer.MIN_VALUE", "Integer.MAX_VALUE" +values(signed with '1) can be used only in combination with NORMAL_WINDOW_SIZE_X +and NORMAL_WINDOW_SIZE_Y. +So, if the TestParameters file looks: +--------------------------------------------------------------------- +NORMAL_WINDOW_SIZE_X=500 +NORMAL_WINDOW_SIZE_Y=600 +--------------------------------------------------------------------- +then PlugletPeer_setWindowSize.lst file for this test will be looks: +--------------------------------------------------------------------- +0: 500, 600 +1: 500, 0 +2: 500, Integer.MIN_VALUE +3: 500, Integer.MAX_VALUE +4: 0, 600 +5: Integer.MIN_VALUE, 600 +6: Integer.MAX_VALUE, 600 +--------------------------------------------------------------------- + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/ReflectionTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/ReflectionTest.java new file mode 100644 index 00000000000..7cc17bfa7d3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/ReflectionTest.java @@ -0,0 +1,141 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + +package org.mozilla.pluglet.test.basic.api; + +import java.lang.reflect.*; + + +public class ReflectionTest +{ public static void main(String[] args) + { String name = readLine("Please enter a class name (e.g. java.util.Date): "); + try + { Class cl = Class.forName(name); + Class supercl = cl.getSuperclass(); + System.out.print("class " + name); + if (supercl != null && !supercl.equals(Object.class)) + System.out.print(" extends " + supercl.getName()); + System.out.print("\n{\n"); + printConstructors(cl); + System.out.println(); + printMethods(cl); + System.out.println(); + printFields(cl); + System.out.println("}"); + } + catch(ClassNotFoundException e) + { System.out.println("Class not found."); + } + } + + public static String readLine(String str) + { int ch; + String r = ""; + boolean done = false; + System.out.println(str); + while (!done) + { try + { ch = System.in.read(); + if (ch < 0 || (char)ch == '\n') + done = true; + else if ((char)ch != '\r') // weird--it used to do \r\n translation + r = r + (char) ch; + } + catch(java.io.IOException e) + { done = true; + } + } + return r; + } + + + + public static void printConstructors(Class cl) + { Constructor[] constructors = cl.getDeclaredConstructors(); + + for (int i = 0; i < constructors.length; i++) + { Constructor c = constructors[i]; + Class[] paramTypes = c.getParameterTypes(); + String name = c.getName(); + System.out.print(Modifier.toString(c.getModifiers())); + System.out.print(" " + name + "("); + for (int j = 0; j < paramTypes.length; j++) + { if (j > 0) System.out.print(", "); + System.out.print(paramTypes[j].getName()); + } + System.out.println(");"); + } + } + + public static void printMethods(Class cl) + { Method[] methods = cl.getDeclaredMethods(); + + for (int i = 0; i < methods.length; i++) + { Method m = methods[i]; + Class retType = m.getReturnType(); + Class[] paramTypes = m.getParameterTypes(); + String name = m.getName(); + System.out.print(Modifier.toString(m.getModifiers())); + System.out.print(" " + retType.getName() + " " + name + + "("); + for (int j = 0; j < paramTypes.length; j++) + { if (j > 0) System.out.print(", "); + System.out.print(paramTypes[j].getName()); + } + System.out.println(");"); + } + } + + public static void printFields(Class cl) + { Field[] fields = cl.getDeclaredFields(); + + for (int i = 0; i < fields.length; i++) + { Field f = fields[i]; + Class type = f.getType(); + String name = f.getName(); + System.out.print(Modifier.toString(f.getModifiers())); + System.out.println(" " + type.getName() + " " + name + + ";"); + } + } + + + public Method[] getMethods(Class cl) + { + Method[] methods = cl.getDeclaredMethods(); + return methods; + } + + public Class[] getParameters(Method m) + { + Class[] paramTypes = m.getParameterTypes(); + return paramTypes; + } + + public Constructor[] getConstructors(Class cl) + { + Constructor[] constructors = cl.getDeclaredConstructors(); + return constructors; + } + + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/doProps.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/doProps.pl new file mode 100644 index 00000000000..51b638ddfe7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/doProps.pl @@ -0,0 +1,91 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +if($#ARGV != 2) { + die "Usage: doProps.pl propsFile inputFile outputFile \n"; +} + +#Sort properties for key length +sortProps(); +#read and replace +$file_data = readData($ARGV[1]); +open (PIH,$ARGV[0]) || die "Can't open file $ARGV[0]"; +while ($pLine=) { + $pLine=~s#\n$##; + @prop=split(/=/,$pLine); + $prop[0]=~s#^\s*|\s*$##; + $prop[1]=~s#^\s*|\s*$##; + if(($prop[0] eq "")||($prop[1] eq "")) { + die "Error in properties file $ARGV[0].\nEmpty property or property value."; + } + $file_data=~s#$prop[0]#$prop[1]#g; +} +#Save data +saveData($ARGV[2],$file_data); + +sub sortProps { + my @sort_arr; + print "Sorting props..\n"; + open (PIH,$ARGV[0]) || die "Can't open file $ARGV[0]"; + while ($pLine=) { + unless($pLine=~/^\s*$/) { + $pLine=~s#\n$##; + my @t=split(/=/,$pLine); + $t[0]=~s#^\s*|\s*$##; + if ($sort_arr[length($t[0])] eq "") { + $sort_arr[length($t[0])] = $pLine."\n"; + } else + { + $sort_arr[length($t[0])] .=$pLine."\n"; + } + } + } + close PIH; + open (POH,">".$ARGV[0]) || die "Can't open file $ARGV[0] rewrite. \nWe need rewrite it for sort props\n"; + for($i=$#sort_arr;$i>=0;$i--) { + unless($sort_arr[$i]=~/^\s*$/) { + print POH $sort_arr[$i]; + } + } + close POH; +} +sub readData { + my $fileName = $_[0]; + my $all_file; + open (IH,$fileName) || die "Can't open file $fileName"; + while ($line=) { + $all_file.=$line + } + return $all_file; +} + +sub saveData { + my ($fileName,$data) = @_; + if(-e $fileName) { + rename($fileName,$fileName.".old") || die "Can't rename $fileName in $fileName.old\n"; + print "Existing file $fileName renamed in $fileName.old\n"; + } + open (OH,">".$fileName) || die "Can't create file $fileName\n"; + print OH $data; + close OH || die "Can't close file $fileName\n"; + print "File $fileName created\n"; +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeCombinations.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeCombinations.pl new file mode 100644 index 00000000000..2615bc65188 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeCombinations.pl @@ -0,0 +1,147 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): +# +# +# This script used to create listing with all possible combinations of +# arguments. +# Input data: +# +# combinationsFile - a file with the values of each argument. See README.paramCombinations for +# more details about it's format. +# outputFile - output file name. Usually lst file in your src test dir. +# lstLogFile - Test id's will be added to this LST file. Usually is's your BWTests.lst.ORIG +# + +$SEPARATOR="\\"; +$DEBUG=0; + +if ($#ARGV != 2) { + die "Usage: makeCombinations.pl combinationsFile outputFile lstLogFile\n"; +} +$combinationsFile = $ARGV[0]; +$outputFile = $ARGV[1]; +$lstLogFile = $ARGV[2]; + +@s1=split(/\\/,$outputFile); +@s1=split(/\./,$s1[$#s1]); +$testId=$s1[0]; +@propsArr; + +#Read data, make combinations and save. +@file_data = readData($pcombDir.$combinationsFile); +@combs=allComb(\@file_data); +saveData($outputFile,\@combs); + +sub allComb { + my $strings = $_[0]; + my @tmp; + my @fields=split(/, /,$$strings[$#$strings]); + my $k=$#$strings-1; + while($k>=0) { + @tmp=split(/, /,$$strings[$k]); + @fields=getCombination(\@tmp,\@fields); + $k--; + } + if($DEBUG eq "0") { + for($k=0;$k<=$#fields;$k++) { + $fields[$k]=~s#\'0|\'1##g; + $fields[$k]=~s#,#, #g; + } + } + return @fields; +} +sub saveData { + my ($fileName,$combs) = @_; + if(-e $fileName) { + rename($fileName,$fileName.".old") || die "Can't rename $fileName in $fileName.old\n"; + } + my $testIdStr = "basic/api/".$testId; + open (OH,">".$fileName) || die "Can't create file $fileName\n"; + open (OLSTH,">>".$lstLogFile) || die "Can't create file $lstLogFile\n"; + my $case_count=0; + foreach $comb (@$combs) { + print OH $case_count,": "; + print OH $comb,"\n"; + print OLSTH $testIdStr,":",$case_count,"\n"; + $case_count++; + } + close OLSTH || die "Can't close file $lstLogFile\n"; + close OH || die "Can't close file $fileName\n"; + print "File $fileName created\n"; +} + +sub readData { + my $fileName = $_[0]; + my $i=0; + my @strings; + open (IH,$fileName) || die "Can't open file $fileName"; + while ($line=) { + chomp $line; + unless($line=~/^\s*$|^\s*\#/) { + $line=~s#^\s*|\s*$##g; + $strings[$i]=$line; + $i++; + } + } + return @strings; +} + +sub getCombination { + my ($arr1,$arr2) = @_; + my $i=0; + my $k=0; + my $count=0; + my @cr=(''); + while($i<=$#$arr1) { + $vstr1=$$arr1[$i]; + @t1=split(/'/,$vstr1); + $EXT_FLAG=$t1[1]; + $j=0; + while($j<=$#$arr2) { + $vstr2=$$arr2[$j]; + @t2=split(/,/,$vstr2); + $k=0; + $kFlag="0"; + while($k<=$#t2) { + if($t2[$k]=~/.*\'1.*/) { + $kFlag="1"; + $k=$#t2; + } + $k++; + } + if(($EXT_FLAG eq "0")||($kFlag eq "0")) { + $cr[$count]=$vstr1.",".$vstr2; + $count++; + } + $j++ + } + $i++; + } + return @cr; +} + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeParameters.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeParameters.pl new file mode 100644 index 00000000000..7e41e3f4e08 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeParameters.pl @@ -0,0 +1,128 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): +# +# +# This script used to replace parameter symbolic names with it values. +# +# Input data: +# +# parametersFile - file with test parameters(e.g. user/location specific values), +# usually TestParameters file in your src test directory +# inputLSTFile - wile with arguments, where symbolic names will be replaced +# outputFile - output lst file, usually lst file in your build test dir +# + +$SEPARATOR="\\"; +$DEBUG=0; + +if ($#ARGV != 2) { + die "Usage: makeProps.pl parametersFile inputLSTFile outputFile\n"; +} +$parametersFile = $ARGV[0]; +$inputFile = $ARGV[1]; +$outputFile = $ARGV[2]; + + +@propsArr = readAndSortProps($parametersFile); +@file_data = readData($inputFile); +$file_data_string = join("m47Grt",@file_data); + +for($i=$#propsArr;$i>=0;$i--) { + $pLine=$propsArr[$i]; + chomp($pLine); + unless($pLine=~/^\s*$/) { + @prop=split(/=/,$pLine); + $prop[0]=~s#^\s*|\s*$##; + $prop[1]=~s#^\s*|\s*$##; + if(($prop[0] eq "")||($prop[1] eq "")) { + die "Error in properties file $parametersFile.\nEmpty property or property value."; + } + $file_data_string=~s#$prop[0]#$prop[1]#g; + } + @file_data = split(/m47Grt/,$file_data_string); +} + +saveData($outputFile,\@file_data); + +sub readAndSortProps { + my $pFileName=@_[0]; + my @sort_arr; + open (PIH,$pFileName) || die "Can't open file $pFileName"; + while ($pLine=) { + unless($pLine=~/^\s*$|^\s*#/) { + chomp $pLine; + my @t=split(/=/,$pLine); + $t[0]=~s#^\s*|\s*$##g; + $t[1]=~s#^\s*|\s*$##g; + $pLine=$t[0]."=".$t[1]; + if ($sort_arr[length($t[0])] eq "") { + $sort_arr[length($t[0])] = $pLine."\n"; + } else + { + $sort_arr[length($t[0])] .=$pLine."\n"; + } + } + } + my $sort_arr=join(" ",@sort_arr); + #print $sort_arr; + @sort_arr=split(/\n/,$sort_arr); + close PIH; + return @sort_arr; + +} + +sub saveData { + my ($fileName,$data) = @_; + if(-e $fileName) { + rename($fileName,$fileName.".old") || die "Can't rename $fileName in $fileName.old\n"; + } + open (OH,">".$fileName) || die "Can't create file $fileName\n"; + my $case_count=0; + foreach $d (@$data) { + print OH $d,"\n"; + } + close OH || die "Can't close file $fileName\n"; + print "File $fileName created\n"; +} + +sub readData { + my $fileName = $_[0]; + my $i=0; + my @strings; + open (IH,$fileName) || die "Can't open file $fileName"; + while ($line=) { + chomp $line; + unless($line=~/^\s*$|^\s*\#/) { + $strings[$i]=$line; + $i++; + } + } + close IH; + return @strings; +} + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeProps.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeProps.pl new file mode 100644 index 00000000000..4634a2d6790 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeProps.pl @@ -0,0 +1,200 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +$SEPARATOR="\\"; +$DEBUG=0; + +if ($#ARGV < 0) { + die "Usage: makeProps.pl [-p parametersFile] combinationsFile outputFile lstLogFile\n"; +} +if ($ARGV[0] eq "-p") { + if ($#ARGV != 4) { + die "Usage: makeProps.pl [-p parametersFile] combinationsFile outputFile lstLogFile\n"; + } + unless (-e $ARGV[1]) { + die "Parameters file $ARGV[1] doesn't exist.\n" + } + $parametersFile = $ARGV[1]; + $combinationsFile = $ARGV[2]; + $outputFile = $ARGV[3]; + $lstLogFile = $ARGV[4]; +} else { + if ($#ARGV == 2) { + $combinationsFile = $ARGV[0]; + $outputFile = $ARGV[1]; + $lstLogFile = $ARGV[2]; + $parametersFile=""; + } else { + die "Usage: makeProps.pl [-p parametersFile] combinationsFile outputFile lstLogFile\n"; + } +} +@s1=split(/\\/,$outputFile); +@s1=split(/\./,$s1[$#s1]); +$testId=$s1[0]; +@propsArr; +unless ($parametersFile eq "") { + @propsArr = readAndSortProps($parametersFile); + @file_data = readData($combinationsFile); + $file_data_string = join("m47Grt",@file_data); + for($i=$#propsArr;$i>=0;$i--) { + $pLine=$propsArr[$i]; + unless($pLine=~/^\s*$/) { + $pLine=~s#\n$##; + $pLine=~s#\r$##; + @prop=split(/=/,$pLine); + $prop[0]=~s#^\s*|\s*$##; + $prop[1]=~s#^\s*|\s*$##; + if(($prop[0] eq "")||($prop[1] eq "")) { + die "Error in properties file $parametersFile.\nEmpty property or property value."; + } + $file_data_string=~s#$prop[0]#$prop[1]#g; + } + } + @file_data = split(/m47Grt/,$file_data_string); +} else { + @file_data = readData($pcombDir.$combinationsFile); +} +@combs=allComb(\@file_data); +saveData($outputFile,\@combs); + +sub readAndSortProps { + my $pFileName=@_[0]; + my @sort_arr; + open (PIH,$pFileName) || die "Can't open file $pFileName"; + while ($pLine=) { + unless($pLine=~/^\s*$/) { + $pLine=~s#\n$##; + my @t=split(/=/,$pLine); + $t[0]=~s#^\s*|\s*$##; + if ($sort_arr[length($t[0])] eq "") { + $sort_arr[length($t[0])] = $pLine."\n"; + } else + { + $sort_arr[length($t[0])] .=$pLine."\n"; + } + } + } + my $sort_arr=join(" ",@sort_arr); + #print $sort_arr; + @sort_arr=split(/\n/,$sort_arr); + close PIH; + return @sort_arr; + +} + + +sub allComb { + my $strings = $_[0]; + my @tmp; + my @fields=split(/, /,$$strings[$#$strings]); + my $k=$#$strings-1; + while($k>=0) { + @tmp=split(/, /,$$strings[$k]); + @fields=getCombination(\@tmp,\@fields); + $k--; + } + if($DEBUG eq "0") { + for($k=0;$k<=$#fields;$k++) { + $fields[$k]=~s#\'0|\'1##g; + $fields[$k]=~s#,#, #g; + } + } + return @fields; +} +sub saveData { + my ($fileName,$combs) = @_; + if(-e $fileName) { + rename($fileName,$fileName.".old") || die "Can't rename $fileName in $fileName.old\n"; + } + my $testIdStr = "basic/api/".$testId; + open (OH,">".$fileName) || die "Can't create file $fileName\n"; + open (OLSTH,">>".$lstLogFile) || die "Can't create file $lstLogFile\n"; + my $case_count=0; + foreach $comb (@$combs) { + print OH $case_count,": "; + print OH $comb,"\n"; + print OLSTH $testIdStr,":",$case_count,"\n"; + $case_count++; + } + close OLSTH || die "Can't close file $lstLogFile\n"; + close OH || die "Can't close file $fileName\n"; + print "File $fileName created\n"; +} + +sub readData { + my $fileName = $_[0]; + my $i=0; + my @strings; + open (IH,$fileName) || die "Can't open file $fileName"; + while ($line=) { + unless($line=~/^\s*$/) { + $line=~s#\n$##; + $line=~s#\r$##; + $strings[$i]=$line; + $i++; + } + } + return @strings; +} + + + +sub getCombination { + my ($arr1,$arr2) = @_; + my $i=0; + my $k=0; + my $count=0; + my @cr=(''); + while($i<=$#$arr1) { + $vstr1=$$arr1[$i]; + @t1=split(/'/,$vstr1); + $EXT_FLAG=$t1[1]; + $j=0; + while($j<=$#$arr2) { + $vstr2=$$arr2[$j]; + @t2=split(/,/,$vstr2); + $k=0; + $kFlag="0"; + while($k<=$#t2) { + if($t2[$k]=~/.*\'1.*/) { + $kFlag="1"; + $k=$#t2; + } + $k++; + } + if(($EXT_FLAG eq "0")||($kFlag eq "0")) { + $cr[$count]=$vstr1.",".$vstr2; + $count++; + } + $j++ + } + $i++; + } + return @cr; +} + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makePropsDir.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makePropsDir.pl new file mode 100644 index 00000000000..63effa33d23 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makePropsDir.pl @@ -0,0 +1,212 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +$DEBUG=0; + +if ($#ARGV < 0) { + die "Usage: makeProps.pl [-d outputDir] pcombDir propsDir \n"; +} +if ($ARGV[0] eq "-d") { + if ($#ARGV != 3) { + die "Usage: makeProps.pl [-d outputDir] pcombDir propsDir \n"; + } + unless (-d $ARGV[1]) { + die "Directory $ARGV[1] doesn't exist.\n" + } + $outputDir = $ARGV[1]; + $pcombDir = $ARGV[2]; + $propsDir = $ARGV[3]; +} else +{ + $pcombDir = $ARGV[0]; + $propsDir = $ARGV[1]; + $outputDir=""; +} + + +@cDir=readCDir($pcombDir); +@propsArr; +foreach $combinationFile (@cDir) { + $propsFile = $propsDir."/".$combinationFile.".properties"; + if (-e $propsFile) { + @propsArr = readAndSortProps($propsFile); + @file_data = readData($pcombDir.$combinationFile); + $file_data_string = join("m47Grt",@file_data); + for($i=$#propsArr;$i>=0;$i--) { + $pLine=$propsArr[$i]; + #print "<",$pLine,">\n"; + unless($pLine=~/^\s*$/) { + $pLine=~s#\n$##; + @prop=split(/=/,$pLine); + $prop[0]=~s#^\s*|\s*$##; + $prop[1]=~s#^\s*|\s*$##; + if(($prop[0] eq "")||($prop[1] eq "")) { + die "Error in properties file $propsFile.\nEmpty property or property value."; + } + $file_data_string=~s#$prop[0]#$prop[1]#g; + } + } + #print $file_data_string; + @file_data = split(/m47Grt/,$file_data_string); + } else { + @file_data = readData($pcombDir.$combinationFile); + } + @combs=allComb(\@file_data); + saveData($outputDir."/".$combinationFile.".lst",\@combs); + +} + +sub readAndSortProps { + my $pFileName=@_[0]; + my @sort_arr; + open (PIH,$pFileName) || die "Can't open file $pFileName"; + while ($pLine=) { + unless($pLine=~/^\s*$/) { + $pLine=~s#\n$##; + my @t=split(/=/,$pLine); + $t[0]=~s#^\s*|\s*$##; + if ($sort_arr[length($t[0])] eq "") { + $sort_arr[length($t[0])] = $pLine."\n"; + } else + { + $sort_arr[length($t[0])] .=$pLine."\n"; + } + } + } + my $sort_arr=join(" ",@sort_arr); + @sort_arr=split(/\n/,$sort_arr); + close PIH; + return @sort_arr; + +} +#sub readData { +# my $fileName = $_[0]; +# my $all_file; +# open (IH,$fileName) || die "Can't open file $fileName"; +# while ($line=) { +# $all_file.=$line +# } +# return $all_file; +#} + +sub allComb { + my $strings = $_[0]; + my @tmp; + my @fields=split(/, /,$$strings[$#$strings]); + my $k=$#$strings-1; + while($k>=0) { + @tmp=split(/, /,$$strings[$k]); + @fields=getCombination(\@tmp,\@fields); + $k--; + } + if($DEBUG eq "0") { + for($k=0;$k<=$#fields;$k++) { + $fields[$k]=~s#\'0|\'1##g; + $fields[$k]=~s#,#, #g; + } + } + return @fields; +} +sub saveData { + my ($fileName,$combs) = @_; + if(-e $fileName) { + rename($fileName,$fileName.".old") || die "Can't rename $fileName in $fileName.old\n"; + } + open (OH,">".$fileName) || die "Can't create file $fileName\n"; + foreach $comb (@$combs) { + print OH $comb,"\n"; + } + close OH || die "Can't close file $fileName\n"; + print "File $fileName created\n"; +} + +sub readData { + my $fileName = $_[0]; + my $i=0; + my @strings; + open (IH,$fileName) || die "Can't open file $fileName"; + while ($line=) { + unless($line=~/^\s*$/) { + $line=~s#\n$##; + $strings[$i]=$line; + $i++; + } + } + return @strings; +} + +sub readCDir { + my $dirName = $_[0]; + my $i=0; + my @strings; + opendir (DIH,$dirName) || die "Can't read directory $fileName"; + while ($line=readdir(DIH)) { + unless(($line=~/^\s*$/)||($line=~/^SCCS$/)||($line=~/^\.*$/)) { + $line=~s#\n$##; + $strings[$i]=$line; + $i++; + } + } + closedir (DIH); + return @strings; +} + +sub getCombination { + my ($arr1,$arr2) = @_; + my $i=0; + my $k=0; + my $count=0; + my @cr=(''); + while($i<=$#$arr1) { + $vstr1=$$arr1[$i]; + @t1=split(/'/,$vstr1); + $EXT_FLAG=$t1[1]; + $j=0; + while($j<=$#$arr2) { + $vstr2=$$arr2[$j]; + @t2=split(/,/,$vstr2); + $k=0; + $kFlag="0"; + while($k<=$#t2) { + if($t2[$k]=~/.*\'1.*/) { + $kFlag="1"; + $k=$#t2; + } + $k++; + } + if(($EXT_FLAG eq "0")||($kFlag eq "0")) { + $cr[$count]=$vstr1.",".$vstr2; + $count++; + } + $j++ + } + $i++; + } + return @cr; +} + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makefile.win new file mode 100644 index 00000000000..801e39773e0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makefile.win @@ -0,0 +1,152 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +DEPTH=..\..\..\..\..\..\.. +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BUILD_DIR_CLASSES=$(BUILD_DIR)\classes +BASIC_PATH=org\mozilla\pluglet\test\basic +TEST_DIRS=test\basic\api +CLASSES_LOCATION=$(BUILD_DIR_CLASSES)\$(BASIC_PATH)\api +API_HTML_ROOT_DIR=$(HTML_ROOT_DIR)\api +UTIL_SRC= ParamCombination.java \ + ReflectionTest.java \ + BWJavaTemplate.java +JSRC= *.java +JAVAC=$(JDKHOME)\bin\javac +JAVA=$(JDKHOME)\bin\java +CLASSPATH=$(BUILD_DIR_CLASSES);$(CLASSPATH) + +#All tests list +#PlugletManager_getValue was excluded from test list, method removed +#PlugletStreamInfo_requestRead commented,method doesn't work +TESTS = PlugletPeer_getMIMEType \ + PlugletPeer_getMode \ + PlugletPeer_getValue \ + PlugletPeer_setWindowSize \ + PlugletPeer_showStatus \ + PlugletPeer_getTagInfo \ + PlugletManager_reloadPluglets \ + PlugletManager_userAgent \ + PlugletStreamInfo_getContentType \ + PlugletStreamInfo_getLastModified \ + PlugletStreamInfo_getLength \ + PlugletStreamInfo_getURL \ + PlugletStreamInfo_isSeekable \ + PlugletStreamInfo_requestRead \ + PlugletTagInfo2_getAlignment \ + PlugletTagInfo_getAttribute \ + PlugletTagInfo_getAttributes \ + PlugletTagInfo2_getParameter \ + PlugletTagInfo2_getParameters \ + PlugletTagInfo2_getParameters_1 \ + PlugletTagInfo2_getDOMElement \ + PlugletTagInfo2_getAttribute \ + PlugletTagInfo2_getAttributes \ + PlugletTagInfo2_getBorderHorizSpace \ + PlugletTagInfo2_getBorderHorizSpace_1 \ + PlugletTagInfo2_getBorderVertSpace \ + PlugletTagInfo2_getBorderVertSpace_1 \ + PlugletTagInfo2_getDocumentBase \ + PlugletTagInfo2_getDocumentEncoding \ + PlugletTagInfo2_getHeight \ + PlugletTagInfo2_getHeight_1 \ + PlugletTagInfo2_getTagText \ + PlugletTagInfo2_getTagType \ + PlugletTagInfo2_getTagType_1 \ + PlugletTagInfo2_getUniqueID \ + PlugletTagInfo2_getWidth \ + PlugletTagInfo2_getWidth_1 \ + PlugletManager_getURL \ + PlugletManager_getURL_1 \ + PlugletManager_postURL \ + PlugletPeer_newStream_0 \ + PlugletPeer_newStream_1 +#Make all, needed for running Pluglet API tests +default: classes tests test_pluglet + +#Compile utils for creating test templates +util: + @$(JAVAC) -d $(BUILD_DIR_CLASSES) $(UTIL_SRC) + +#Copmile test and test iterators classes +classes: + @echo Compile classes .. + @$(JAVAC) -d $(BUILD_DIR_CLASSES) Pluglet*.java +test_pluglet: + copy manifest $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\api + cd $(BUILD_DIR_CLASSES) + $(JDKHOME)\bin\jar cvfm $(BASIC_PATH)\api\TestAPIPluglet.jar $(BASIC_PATH)\api\manifest $(BASIC_PATH)\*.class $(BASIC_PATH)\api\*.class +#Performs make in tests directories. +#Copy test htmls and props files to the build directory, +#make java files, if neccessary +tests: + @set MAKE_ARGS=all + @nmake -f makefile.win $(TESTS) +#Generate parameters combinations if needed +combinations: + @echo Make combinations .. + @echo -- NOTE: You need to do combinations only if you change + @echo -- ParamCombination files in test dirs. + @echo -- For rest cases defult LST files exists in test dirs + @-1 mkdir $(BUILD_DIR)\$(TEST_DIRS) + @set MAKE_ARGS=$@ + @nmake -f makefile.win $(TESTS) + +#Clobber all test class, data and html files +clobber: + @echo Make clobber .. + @echo Remove classes .. + @del $(CLASSES_LOCATION)\*.class + @set MAKE_ARGS=$@ + @nmake -f makefile.win $(TESTS) + +$(TESTS):: + @echo Making %MAKE_ARGS% in $@ + @cd $@ + @$(MAKE) /NOLOGO -f makefile.win %MAKE_ARGS% HTML_DEST_DIR=$(API_HTML_ROOT_DIR) + @cd .. + +#Commented now, becouse generated templates has many custom changes +#that can be overwriten by this target. +#src: +# $(JAVA) org.mozilla.pluglet.test.basic.api.BWJavaTemplate -d .\ \ +# org.mozilla.pluglet.mozilla.PlugletPeerImpl +# $(JAVA) org.mozilla.pluglet.test.basic.api.BWJavaTemplate -d .\ \ +# org.mozilla.pluglet.mozilla.PlugletManagerImpl +# $(JAVA) org.mozilla.pluglet.test.basic.api.BWJavaTemplate -d .\ \ +# org.mozilla.pluglet.mozilla.PlugletStreamInfoImpl + + + + + + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/manifest new file mode 100644 index 00000000000..d6678f5dfad --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-api-pluglet::Pluglet API Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/pcomb.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/pcomb.pl new file mode 100644 index 00000000000..f9463450d5e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/pcomb.pl @@ -0,0 +1,131 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +$DEBUG=0; + +if ($#ARGV < 0) { + die "Usage: pcomb.pl [-d outputDir] file1 file2 ...\n"; +} +if ($ARGV[0] eq "-d") { + if ($#ARGV < 2) { + die "Usage: pcomb.pl [-d outputDir] file1 file2 ...\n"; + } + unless (-e $ARGV[1]) { + die "Directory $ARGV[1] doesn't exist.\n" + } + $outputDir=$ARGV[1]; + $fc=2; +} else +{ + $fc=0; + $outputDir=""; +} + +for($l=$fc;$l<=$#ARGV;$l++) { + $file=$ARGV[$l]; + @strings=readData($file); + @combs=allComb(\@strings); + saveData($outputDir."/".$file.".lst",\@combs); +} + +sub allComb { + my $strings = $_[0]; + my @tmp; + my @fields=split(/, /,$$strings[$#$strings]); + my $k=$#$strings-1; + while($k>=0) { + @tmp=split(/, /,$$strings[$k]); + @fields=getCombination(\@tmp,\@fields); + $k--; + } + if($DEBUG eq "0") { + for($k=0;$k<=$#fields;$k++) { + $fields[$k]=~s#\'0|\'1##g; + $fields[$k]=~s#,#, #g; + } + } + return @fields; +} +sub saveData { + my ($fileName,$combs) = @_; + if(-e $fileName) { + rename($fileName,$fileName.".old") || die "Can't rename $fileName in $fileName.old\n"; + print "Existing file $fileName renamed in $fileName.old\n"; + } + open (OH,">".$fileName) || die "Can't create file $fileName\n"; + foreach $comb (@$combs) { + print OH $comb,"\n"; + } + close OH || die "Can't close file $fileName\n"; + print "File $fileName created\n"; +} +sub readData { + my $fileName = $_[0]; + my $i=0; + my @strings; + open (IH,$fileName) || die "Can't open file $fileName"; + while ($line=) { + unless($line=~/^\s*$/) { + $line=~s#\n$##; + $strings[$i]=$line; + $i++; + } + } + return @strings; +} +sub getCombination { + my ($arr1,$arr2) = @_; + my $i=0; + my $k=0; + my $count=0; + my @cr=(''); + while($i<=$#$arr1) { + $vstr1=$$arr1[$i]; + @t1=split(/'/,$vstr1); + $EXT_FLAG=$t1[1]; + $j=0; + while($j<=$#$arr2) { + $vstr2=$$arr2[$j]; + @t2=split(/,/,$vstr2); + $k=0; + $kFlag="0"; + while($k<=$#t2) { + if($t2[$k]=~/.*\'1.*/) { + $kFlag="1"; + $k=$#t2; + } + $k++; + } + if(($EXT_FLAG eq "0")||($kFlag eq "0")) { + $cr[$count]=$vstr1.",".$vstr2; + $count++; + } + $j++ + } + $i++; + } + return @cr; +} + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/type.list b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/type.list new file mode 100644 index 00000000000..34f25149ee1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/type.list @@ -0,0 +1,42 @@ +./PlugletManager_getURL/PlugletManager_getURL_pluglet.html +./PlugletManager_getURL_1/PlugletManager_getURL_pluglet.html +./PlugletManager_getURL_2/PlugletManager_getURL_pluglet.html +./PlugletManager_getURL_3/PlugletManager_getURL_pluglet.html +./PlugletManager_getURL_4/PlugletManager_getURL_pluglet.html +./PlugletManager_getValue/PlugletManager_getValue.html +./PlugletManager_postURL/PlugletManager_postURL_pluglet.html +./PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_pluglet.html +./PlugletManager_userAgent/PlugletManager_userAgent.html +./PlugletPeer_getMIMEType/PlugletPeer_getMIMEType.html +./PlugletPeer_getMode/PlugletPeer_getMode.html +./PlugletPeer_getTagInfo/PlugletPeer_getTagInfo.html +./PlugletPeer_getValue/PlugletPeer_getValue.html +./PlugletPeer_newStream_0/PlugletPeer_newStream_pluglet.html +./PlugletPeer_newStream_1/PlugletPeer_newStream_pluglet.html +./PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.html +./PlugletPeer_showStatus/PlugletPeer_showStatus.html +./PlugletStreamInfo_getContentType/PlugletStreamInfo_getContentType.html +./PlugletStreamInfo_getLastModified/PlugletStreamInfo_getLastModified.html +./PlugletStreamInfo_getLength/PlugletStreamInfo_getLength.html +./PlugletStreamInfo_getURL/PlugletStreamInfo_getURL.html +./PlugletStreamInfo_isSeekable/PlugletStreamInfo_isSeekable.html +./PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.html +./PlugletTagInfo2_getAlignment/PlugletTagInfo2_getAlignment.html +./PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.html +./PlugletTagInfo2_getAttributes/PlugletTagInfo2_getAttributes.html +./PlugletTagInfo2_getBorderHorizSpace/PlugletTagInfo2_getBorderHorizSpace.html +./PlugletTagInfo2_getBorderHorizSpace_1/PlugletTagInfo2_getBorderHorizSpace.html +./PlugletTagInfo2_getDocumentBase/PlugletTagInfo2_getDocumentBase.html +./PlugletTagInfo2_getBorderVertSpace/PlugletTagInfo2_getBorderVertSpace.html +./PlugletTagInfo2_getBorderVertSpace_1/PlugletTagInfo2_getBorderVertSpace.html +./PlugletTagInfo2_getDocumentEncoding/PlugletTagInfo2_getDocumentEncoding.html +./PlugletTagInfo2_getHeight/PlugletTagInfo2_getHeight.html +./PlugletTagInfo2_getHeight_1/PlugletTagInfo2_getHeight.html +./PlugletTagInfo2_getTagText/PlugletTagInfo2_getTagText.html +./PlugletTagInfo2_getTagType/PlugletTagInfo2_getTagType.html +./PlugletTagInfo2_getTagType_1/PlugletTagInfo2_getTagType.html +./PlugletTagInfo2_getUniqueID/PlugletTagInfo2_getUniqueID.html +./PlugletTagInfo2_getWidth/PlugletTagInfo2_getWidth.html +./PlugletTagInfo2_getWidth_1/PlugletTagInfo2_getWidth.html +./PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.html +./PlugletTagInfo_getAttributes/PlugletTagInfo_getAttributes.html diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/autorun.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/autorun.pl new file mode 100644 index 00000000000..b65ce1daad1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/autorun.pl @@ -0,0 +1,694 @@ +# !/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +################################################################### +# This script is used to invoke automated test cases for Pluglets +# and to record their results +# + +# Attach Perl Libraries +################################################################### +use Cwd; +use File::Copy; +#For waitpid +use POSIX ":sys_wait_h"; + +################################################################### + + +# delimiter for logfile +$delimiter="###################################################\n"; + +# win32 specific values +# STILL_ALIVE is a constant defined in winbase.h and indicates what +# process still alive +if ($^O=~/Win32/) { + $STILL_ALIVE = 0x103; + $path_separator = ";"; + $file_separator = "\\"; + $program_args = "-P mozProfile"; #Used in debug builds only + $program_name ="mozilla.exe"; +} else { #Unix systems + $path_separator = ":"; + $file_separator = "\/"; + $program_name ="mozilla-bin"; + $program_args = "-P mozProfile"; #Used in debug builds only +} + +################################################################## +# Usage +################################################################## +sub usage() { + + print "\n"; + print "##################################################################\n"; + print " perl autorun.pl [ -f ]\n"; + print "\n"; + print " where is file with test cases list\n"; + print "\n"; + print "\n"; + print "##################################################################\n"; + print "\n"; + +} + +################################################################## +# Title display +################################################################## +sub title() { + + print "\n"; + print "################################################\n"; + print " Automated Execution of Java Pluglet API TestSuite\n"; + print "################################################\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + print "\n"; + +} + +################################################################## +# +# +# +################################################################## +sub checkRun() { + $runtype = "1"; +} + + +######################################################################### +# +# Append table entries to Output HTML File +# +######################################################################### +sub appendEntries() { + print LOGHTML "\n"; + print LOGHTML "\n"; + print LOGHTML "Test Status (XML)Result\n"; + +} + +######################################################################### +# +# Construct Output HTML file Header +# +######################################################################### +sub constructHTMLHeader() { + print LOGHTML "\n"; + print LOGHTML "Pluglet API Test Status\n"; + print LOGHTML "\n"; + print LOGHTML "

\n"; + print LOGHTML "Pluglet API Automated TestRun Results\n"; + $date = localtime; + print LOGHTML "

", $date; + print LOGHTML "

\n"; + print LOGHTML "
"; + print LOGHTML "\n"; + print LOGHTML "\n"; + print LOGHTML "\n"; + print LOGHTML "\n"; + print LOGHTML "\n"; +} + +######################################################################### +# +# Construct Output HTML file indicating status of each run +# +######################################################################### +sub constructHTMLBody() { + + open( MYLOG, $LOGTXT ) || print "WARNING: Cann't open $LOGTXT,HTML_LOG may be incorrect\n"; + @all_lines = ; + close( MYLOG ) || print "WARNING: Cann't close $LOGTXT,HTML_LOG may be incorrect\n"; + + my $line; + foreach $line ( sort @all_lines ) { + # avoid linebreaks + chop $line; + # assuming that all lines are kind'of 'aaa=bbb' + ($class, $status) = split /=/, $line; + + print LOGHTML "\n"; + } +} + +######################################################################### +# +# Construct Output HTML file Footer +# +######################################################################### +sub constructHTMLFooter() { + print LOGHTML "
Test CaseResult
",$class,"",$status,"
\n"; +} + +######################################################################### +# +# Construct Output HTML file indicating status of each run +# +######################################################################### +sub constructHTML() { + constructHTMLHeader; + constructHTMLBody; +} + +######################################################################### +# +# Construct LogFile Header. The Log file is always appended with entries +# +######################################################################### +sub constructLogHeader() { + print LOGFILE "\n"; + print LOGFILE "\n"; + print LOGFILE $delimiter; + $date = localtime; + print LOGFILE "Logging Test Run on $date ...\n"; + print LOGFILE $delimiter; + print LOGFILE "\n"; + + print "All Log Entries are maintained in LogFile $LOGFILE\n"; + print "\n"; +} + +######################################################################### +# +# Construct LogFile Footer. +# +######################################################################### +sub constructLogFooter() { + print "\n"; + print LOGFILE $delimiter; + $date = localtime; + print LOGFILE "End of Logging Test $date ...\n"; + print LOGFILE $delimiter; + print "\n"; +} + +######################################################################## +# +# Construct Log String +# +######################################################################## +sub constructLogString { + my $logstring = shift(@_); + print LOGFILE "$logstring\n"; + +} + +######################################################################## +# +# Safely append to file : open, append, close. +# +######################################################################## +sub safeAppend { + my $file = shift(@_); + my $line = shift(@_); + open (FILE, ">>$file") or die ("Cann't open $file"); + print FILE $line; + close FILE; +} + +######################################################################## +# +# Loading parameters +# +######################################################################## +sub loadParams { + my $file = shift(@_); + my $key, $value, %params; + open (PARAMS, "<$file") || print "WARNING: Can't open parameters file $file\n"; + while ($pair = ) { + chomp($pair); + $pair=~s#^\s*|\s*$##g; + ($key,$value) = split('=', $pair); + $params{$key} = $value; + print "$key,$value\n"; + } + close(PARAMS) || print "WARNING: Can't close parameters file $file\n"; + return %params; +} +######################################################################## +# +# Getting global parameters for suite +# +######################################################################## +sub getGlobParam { + if (! $glob_params_loaded){ + %glob_params = loadParams("$topdir/config/$glob_params_file_name"); + $glob_params_loaded = 1; + } + return $glob_params{shift(@_)}; +} +######################################################################## +# +# Getting test parameters +# +######################################################################## +sub getTestParam { + my $path; + $path = getTestDir(shift(@_)); + print "TestDir is $path\n"; + if (! $test_params_loaded){ + %test_params = loadParams("$path/$test_params_file_name"); + $test_params_loaded = 1; + } + return $test_params{shift(@_)}; +} +######################################################################## +# +# Getting test directory from testcase +# +######################################################################## +sub getTestDir { + my $path = shift(@_); + $path =~ s/:.*$//; + return "$topdir/build/test/$path"; +} +######################################################################## +# +# copy set of test parameters +# +######################################################################## +sub copyTestDataIfAny { + my $testcase = shift(@_); + my $num = $testcase; + if (($num =~ /:/) and ($num =~ s/^.*://g)) { + my $path = getTestDir($testcase); + my $curdir = cwd(); + chdir($path); + my @list = <*.lst>; + #chdir($curdir); #Commented by avm + if ($list[0]) { + open (LST, $list[0]) || die "Cann't open file $list[0]\n"; + while ($tp = ){ + if ($tp =~ /$num: /) { + open (TP_OUT, ">$path/$list[0].TEMP") || die "Cann't open file >$path/$list[0].TEMP"; + $tp =~ s/$num: //; + print TP_OUT $tp; + chomp($tp); + print "--Save parameters line \"$tp\" to $path/$list[0].TEMP for test number $num\n"; + close TP_OUT || die "Cann't close file $path/$list[0].TEMP\n"; + chdir($curdir); + return "$path/$list[0].TEMP"; + } + } + } + chdir($curdir); + } + return ""; +} +######################################################################## +# +# copy set of test parameters +# +######################################################################## +sub checkResultFile { + open(TEST_RESULT, $test_result_file_name) || print "Cann't open $test_result_file_name,\n", + "test aborted or DELAY_FACTOR so small.\n"; + $result = ; + chomp $result; + $result=~s#^\s*|\s*$##g; + close(TEST_RESULT); + if ($result eq "PASSED") { + return 1; + } else { + return 0; + } +} +######################################################################## +# +# running one test case +# +######################################################################## +sub runTestCase { + my $testcase = shift(@_); + if ($^O=~/Win32/) { + runTestCaseWin($testcase); + } else { + runTestCaseUx($testcase); + } +} + +######################################################################## +# +# running one test case under Unix like systems +# +######################################################################## +sub runTestCaseUx { + my $testcase = shift(@_); + $test_params_loaded = 0; + + open(LST_OUT, ">$LST_OUT") or die ("Cann't open LST_OUT file... $!\n"); + print LST_OUT $testcase; + close(LST_OUT) || die ("Cann't close LST_OUT file...\n"); + + chdir( $mozhome ); + print "========================================\n"; + $logstr="Running TestCase $testcase...."; + print "$logstr\n"; + constructLogString "$logstr"; + + $nom = $testcase; + $nom =~ s/\/|:/_/g; + $testlog = "$logdir/$nom.log"; + + open( TST, ">$mozhome/StartProperties"); + print TST "TEST_TOP_DIR=$topdir\n"; + print TST "TEST_DIR=".getTestDir($testcase)."\n"; + print TST "TEST_CASE=$testcase\n"; + close( TST); + + #clear log files .. + unlink("$mozhome/$test_log_file_name") ; + unlink("$mozhome/$test_result_file_name"); + $testDataFile = copyTestDataIfAny($testcase); + $testhtml = getGlobParam("HTML_ROOT")."/".getTestParam($testcase, "TEST_HTML"); + if (!defined($pid = fork())) { + die "Can't fork: $!"; + } elsif ($pid == 0) { #Child process + $pluglet = getTestParam($testcase, "PLUGLET"); + if ($pluglet) { #prepare enviroment + $saved_classpath = $ENV{"CLASSPATH"}; + $ENV{"CLASSPATH"} = $ENV{"CLASSPATH"}.$path_separator.$pluglet; + $pluglet =~ s/$file_separator[^$file_separator]*$//; + $ENV{"PLUGLET"} = $pluglet; + } + print "--Use pluglet from: ", $ENV{"PLUGLET"},"\n"; + print "--Starting ","$mozhome/$program_name $program_args $testhtml\n"; + exec("$mozhome/$program_name $program_args $testhtml 2>&1 1>$testlog") or print STDERR "ERROR:cann't start $program_name\n"; + die "Unfortunately exec behaviour ."; + } + #parent .. + $flag = 0; + $cnt = 0; + $grppid = getpgrp(0); + print "Enter to parent ...."; + while (true) { + print "Sleep to $DELAY_OF_CYCLE -- $pid\n"; + sleep($DELAY_OF_CYCLE); + $ret = waitpid($pid,&WNOHANG); + if ($ret) { #Test exited + print "Test exited ..."; + if (-e "$mozhome/core") { + safeAppend $LOGTXT,"$testcase=FAILED\n"; + $logstr="Test dumped core..."; + constructLogString "$logstr"; + } + if (!checkResultFile()) { + safeAppend $LOGTXT, "$testcase=FAILED\n"; + $logstr = "Test FAILED by autorun.pl ..."; + constructLogString "$logstr"; + } else { + safeAppend $LOGTXT, "$testcase=PASSED\n"; + } + $logstr = "Check ErrorLog File $testlog "; + constructLogString "$logstr"; + constructLogString ""; + constructLogString ""; + $flag = 1; + last; + } + $cnt += $DELAY_OF_CYCLE; + if ( $cnt >= $DELAY_FACTOR ) { + $flag = 0; + if (checkResultFile) { + print("Register PASSED\n"); + safeAppend $LOGTXT, "$testcase=PASSED\n"; + } else { + print("Register FAILED\n"); + safeAppend $LOGTXT, "$testcase=FAILED\n"; + } + print "kill $pid by timeout\n"; + @processes=`ps -o pgid,pid,cmd|grep $grppid|grep $program_name`; + @pids; + for($i=0;$i<=$#processes;$i++) { + $processes[$i]=~/\s*$grppid\s+(.*?\s)/; + $pids[$i]=$1; + } + kill 9, @pids; + last; + } + } # while with sleep + print "\nWHILE exited\n"; + open(TEST_LOG, "$mozhome/$test_log_file_name") ; + #|| print "WARNING: Cann't open $mozhome/$test_log_file_name \n"; + while () { + chomp($_); + constructLogString $_; + } + close(TEST_LOG) ; + #|| print "WARNING: Cann't close $mozhome/$test_log_file_name \n"; + unlink("$mozhome/$test_log_file_name") || + print "WARNING: Cann't remove $mozhome/$test_log_file_name\n"; + unlink("$mozhome/$test_result_file_name") || + print "WARNING: Cann't remove $mozhome/$test_result_file_name\n"; + unlink($LST_OUT) || + print "WARNING: Cann't remove $LST_OUT\n"; + $testDataFile and unlink($testDataFile); + +} + + + +######################################################################## +# +# running one test case under Win32 +# +######################################################################## + +sub runTestCaseWin { + my $testcase = shift(@_); + $test_params_loaded = 0; + do 'Win32\Process.pm' || die "Can't do Win32\Process.pm $!"; + open(LST_OUT, ">$LST_OUT") or die ("Cann't open LST_OUT file...\n"); + print LST_OUT $testcase; + close(LST_OUT) || die ("Cann't close LST_OUT file...\n"); + + chdir( $mozhome ); + print "========================================\n"; + $logstr="Running TestCase $testcase...."; + print "$logstr\n"; + constructLogString "$logstr"; + + #($nom) = ($testcase =~ /([^\.]*)$/); + $nom = $testcase; + $nom =~ s/\/|:/_/g; + $testlog = "$logdir/$nom.log"; + + open( TST, ">$mozhome/StartProperties"); + print TST "TEST_TOP_DIR=$topdir\n"; + print TST "TEST_DIR=".getTestDir($testcase)."\n"; + print TST "TEST_CASE=$testcase\n"; + close( TST); + + unlink("$mozhome/$test_log_file_name") ; + #|| print "WARNING: Cann't remove$mozhome/$test_log_file_name\n"; + unlink("$mozhome/$test_result_file_name") ; + #|| print "WARNING: Cann't remove $mozhome/$test_result_file_name\n"; + $testDataFile = copyTestDataIfAny($testcase); + $testhtml = getGlobParam("HTML_ROOT")."/".getTestParam($testcase, "TEST_HTML"); + $pluglet = getTestParam($testcase, "PLUGLET"); + if ($pluglet) { + $saved_classpath = $ENV{"CLASSPATH"}; + $ENV{"CLASSPATH"} = $ENV{"CLASSPATH"}.$path_separator.$pluglet; + $pluglet =~ s/\\[^\\]*$//; + $ENV{"PLUGLET"} = $pluglet; + } + print "--Use pluglet from: ", $ENV{"PLUGLET"},"\n"; + print "--Starting ","$mozhome/$program_name $program_args $testhtml\n"; + open( SAVEOUT, ">&STDOUT" ) || print "WARNING: Cann't backup STDOUT\n"; + open( SAVEERR, ">&STDERR" ) || print "WARNING: Cann't backup STDERR\n"; + open( STDOUT, ">$testlog" ) || print "WARNING: Cann't redirect STDOUT\n"; + open( STDERR, ">&STDOUT" ) || print "WARNING: Cann't redirect STDOUT\n"; + Win32::Process::Create($ProcessObj, + "$mozhome/$program_name", + "$mozhome/$program_name $program_args $testhtml", + 1, + NORMAL_PRIORITY_CLASS, + "$mozhome" ) || die "ERROR:cann't start $program_name\n"; + close( STDOUT ) || print "WARNING: Cann't close redirected STDOUT\n"; + close( STDERR ) || print "WARNING: Cann't close redirected STDERR\n"; + open( STDOUT, ">&SAVEOUT" ) || print "WARNING: Cann't restore STDOUT\n"; + open( STDERR, ">&SAVEERR" ) || print "WARNING: Cann't restore STDERR\n"; + + #Restore CLASSPATH if it was changed + if ($pluglet) { + $ENV{"CLASSPATH"}=$saved_classpath; + } + + $flag = 0; + $cnt = 0; + while (true) { + sleep($DELAY_OF_CYCLE); + + $ProcessObj->GetExitCode($exit_code); + if ( $exit_code != $STILL_ALIVE ) { + + $logstr = "Test terminated with exit code $exit_code."; + constructLogString "$logstr"; + if ( (! checkResultFile) or ($exit_code != 0)) { + safeAppend $LOGTXT, "$testcase=FAILED\n"; + $logstr = "Test FAILED by autorun.pl ..."; + constructLogString "$logstr"; + } else { + safeAppend $LOGTXT, "$testcase=PASSED\n"; + } + $logstr = "Check ErrorLog File $testlog "; + constructLogString "$logstr"; + constructLogString ""; + constructLogString ""; + + $flag = 1; + last; + } + + $cnt += $DELAY_OF_CYCLE; + if ( $cnt >= $DELAY_FACTOR ) { + $flag = 0; + if (checkResultFile) { + print("Register PASSED\n"); + safeAppend $LOGTXT, "$testcase=PASSED\n"; + } else { + print("Register FAILED\n"); + safeAppend $LOGTXT, "$testcase=FAILED\n"; + } + $ProcessObj->Kill(0); + last; + } + } # while with sleep + + open(TEST_LOG, "$mozhome/$test_log_file_name") ; + #|| print "WARNING: Cann't open $mozhome/$test_log_file_name \n"; + while () { + chomp($_); + constructLogString $_; + } + close(TEST_LOG) ; + #|| print "WARNING: Cann't close $mozhome/$test_log_file_name \n"; + unlink("$mozhome/$test_log_file_name") || + print "WARNING: Cann't remove $mozhome/$test_log_file_name\n"; + unlink("$mozhome/$test_result_file_name") || + print "WARNING: Cann't remove $mozhome/$test_result_file_name\n"; + unlink($LST_OUT) || + print "WARNING: Cann't remove $LST_OUT\n"; + $testDataFile and unlink($testDataFile); + +} +################################################################## +# main +################################################################## +title; + +$curdir = cwd(); + +$topdir = "$curdir/../../../../../.."; +$date = localtime; +$date =~ s/[ :]/_/g; +$logdir = "$topdir/log/$date"; +mkdir($logdir, 0777); + +# Prepare file names +$LOGFILE = "$logdir/BWTestRun.log"; +$LOGTXT = "$logdir/BWTest.txt"; +$LOGHTML = "$logdir/BWTest.html"; + +$LST_OUT = "$logdir/BWTest.lst.out"; +$test_params_file_name = "TestProperties"; +$glob_params_file_name = "CommonProperties"; +$test_log_file_name = "PlugletTest.log"; +$test_result_file_name = "PlugletTest.res"; + +$HTML_ROOT = "HTML_ROOT"; +$TEST_HTML = "TEST_HTML"; + +$glob_params_loaded = 0; + +# process command-line parameters +# and check for valid usage +$testcase = ""; + +if ($#ARGV >= 0) { + if (($#ARGV == 1) and ($ARGV[0] eq "-t")) { + $testcase = $ARGV[1]; + $runtype = 1; + } elsif (($#ARGV == 1) and ($ARGV[0] eq "-f")) { + $LST_IN = "$curdir/$ARGV[1]"; + (-f $LST_IN ) or die "File $LST_IN doesn't exist"; + $runtype =2; + } else { + usage; + die; + } +} else { + $runtype = 3; + $LST_IN = "$curdir/BWTest.lst.ORIG"; + (-f $LST_IN ) or die "File $LST_IN doesn't exist"; +} + +$mozhome = $ENV{"MOZILLA_FIVE_HOME"}; +( $mozhome eq "" ) and die "MOZILLA_FIVE_HOME is not set. Please set it and rerun this script....\n"; + +( -f "$mozhome/$program_name" ) or die "Could not find $program_name in MOZILLA_FIVE_HOME.\n"; + +# Here must come a piece of code, that determinates +# apprunner instance, removes core, but there's no +# core under win32 + +$id=$$; + +# Prepare log streams +open( LOGFILE, ">>$LOGFILE" ) or die("Can't open LOG file... $!\n"); +select LOGFILE; $| = 1; select STDOUT; +open( LOGHTML, ">$LOGHTML" ) or die("Can't open HTML file... $!\n"); + +#$ENV{"CLASSPATH"} = "$topdir/build/classes".$path_separator.$ENV{"CLASSPATH"}; + +constructLogHeader(); +constructHTMLHeader(); + +$DELAY_FACTOR=getGlobParam("DELAY"); +$DELAY_OF_CYCLE=getGlobParam("DELAY_OF_CYCLE"); + +if ($runtype == 1){ + runTestCase($testcase); +} else { + open( LST_IN, $LST_IN ) or die("Can't open $LST_IN...\n"); + while( $line = ) { + chomp $line; + $line=~s#^\s*|\s*$##g; + $testcase = $line; + if ( $testcase =~ /^\s*#/ ) { + next; + } + runTestCase($testcase); + } +} + +constructLogFooter; +constructHTMLBody; +constructHTMLFooter; + +$newfile="$mozhome/BWProperties.$id"; +rename "$newfile", "$mozhome/BWProperties"; +chdir($curdir); diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/makefile.win new file mode 100644 index 00000000000..8713b91a5cd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/makefile.win @@ -0,0 +1,57 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + + +DEPTH=..\..\..\..\..\.. +BUILD_DIR=$(DEPTH)\build +BUILD_DIR_CLASSES=$(BUILD_DIR)\classes +JAVAC=javac +BASIC_PATH=org\mozilla\pluglet\test\basic +CLASSPATH=$(BUILD_DIR_CLASSES);$(CLASSPATH) + +TEST_DIRS=api params security returns scenario + +all: basic $(TEST_DIRS) + +$(TEST_DIRS):: + @cd $@ + @nmake -f makefile.win + @cd .. + +basic: classes TestLoaderPluglet.jar + +classes: + @echo Building .basic classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + +TestLoaderPluglet.jar: classes add_files + @cd $(BUILD_DIR_CLASSES) + @$(JDKHOME)\bin\jar cvfm $(BASIC_PATH)\TestLoaderPluglet.jar $(BASIC_PATH)\manifest $(BASIC_PATH)\*.class + @cd ..\..\src\$(BASIC_PATH) + +add_files: + @xcopy manifest $(BUILD_DIR_CLASSES)\$(BASIC_PATH) + +clobber: + @cd $(BUILD_DIR_CLASSES)\$(BASIC_PATH) + -del *.class *.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/manifest new file mode 100644 index 00000000000..b119a10dd2e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/manifest @@ -0,0 +1,2 @@ +MIMEDescription: *:*:Pluglet Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Makefile new file mode 100644 index 00000000000..93fec135345 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Makefile @@ -0,0 +1,107 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +DEPTH=../../../../../../.. +COMMON_CONFIG_FILE=$(DEPTH)/config/CommonProperties +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +BUILD_DIR_CLASSES=$(BUILD_DIR)/classes +JAVAC=javac +BASIC_PATH=org/mozilla/pluglet/test/basic +CLASSPATH=$(MOZILLA_FIVE_HOME)/../classes:$(BUILD_DIR_CLASSES):$$(CLASSPATH) +HTML_ROOT_DIR=/set/Mozilla/avm/pl_sol/build/htroot +#$$(HTML_ROOT_DIR) + +all: classes tests_common tests_onda + +classes: + @echo Building .basic.params classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + +ONDA_TESTS= \ + PlugletStreamListener_onDataAvailable_input_1 \ + PlugletStreamListener_onDataAvailable_input_2 \ + PlugletStreamListener_onDataAvailable_input_3 \ + PlugletStreamListener_onDataAvailable_input_4 \ + PlugletStreamListener_onDataAvailable_input_5 \ + PlugletStreamListener_onDataAvailable_input_6 \ + PlugletStreamListener_onDataAvailable_input_7 \ + PlugletStreamListener_onDataAvailable_input_8 \ + PlugletStreamListener_onDataAvailable_input_9 \ + PlugletStreamListener_onDataAvailable_input_11 \ + PlugletStreamListener_onDataAvailable_input_12 + +MIME_TESTS= \ + Pluglet_createPlugletInstance_mimeType_1 \ + Pluglet_createPlugletInstance_mimeType_2 \ + Pluglet_createPlugletInstance_mimeType_3 \ + Pluglet_createPlugletInstance_mimeType_4 \ + Pluglet_createPlugletInstance_mimeType_5 \ + Pluglet_createPlugletInstance_mimeType_6 + +# Pluglet_createPlugletInstance_mimeType_7 + +clobber: + @cd $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/params/;rm -rf * + @cd $(HTML_ROOT_DIR)/basic/params/;rm -rf * + @cd $(BUILD_DIR)/test/basic/params/;rm -rf * +tests_common: + @echo Performs common procedures for all PARAMS tests ... + #@mkdir -p $(HTML_ROOT_DIR)/basic/params #COMMENTED ... + #@cp -f *.html $(HTML_ROOT_DIR)/basic/params; # + @for i in $(MIME_TESTS) $(ONDA_TESTS) ; do \ + echo Making test $${i}; \ + mkdir -p $(BUILD_DIR)/test/basic/params/$${i}; \ + perl $(UTIL_DIR)/configurator.pl $(COMMON_CONFIG_FILE) $(BUILD_DIR)/test/basic/params/$${i}/TestProperties $${i}/TestProperties; \ + mkdir -p $(HTML_ROOT_DIR)/basic/params/$${i}; \ + mkdir -p $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/params/$${i}; \ + if [ -e $${i}/*.html ] ; then \ + cp -f $${i}/*.html $(HTML_ROOT_DIR)/basic/params/$${i}; \ + fi; \ + cp -f $${i}/manifest $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/params/$${i}; \ + cd $(BUILD_DIR_CLASSES); \ + $(JDKHOME)/bin/jar cfm $(BASIC_PATH)/params/$${i}/test.jar $(BASIC_PATH)/params/$${i}/manifest $(BASIC_PATH)/*.class $(BASIC_PATH)/params/*.class; \ + cd ../../src/$(BASIC_PATH)/params/; \ + done +#Additional procedures +#Pluglet_createPlugletInstance_mimeType_6 + @cp -f Pluglet_createPlugletInstance_mimeType_6/test.zip $(HTML_ROOT_DIR)/basic/params/Pluglet_createPlugletInstance_mimeType_6 + +#Additional procedures for tests on onDataAvailable +tests_onda: + @echo Copying test.tdt ... + @for i in $(ONDA_TESTS) ;do \ + cp -f $${i}/test.tdt $(HTML_ROOT_DIR)/basic/params/$${i}; \ + cp -f $${i}/test.tdt $(BUILD_DIR)/test/basic/params/$${i}; \ + done + + + + + + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1.java new file mode 100644 index 00000000000..a8e3989d925 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1.java @@ -0,0 +1,77 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method read(byte[],int,int) + * The data is read and compared with data from original + * file. + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_1 implements Test { + private int readLength = 0; + + public void execute(TestContext context){ + InputStream is = context.getInputStream(); + byte[] buf = new byte[1024]; + try { + RandomAccessFile testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + int l = is.read(buf, 0, 1024); + while ( l != -1 ) { + if (l <= 0) { + context.registerFAILED("Read length isn't great than zero "); + return; + } + testFile.seek(readLength); + byte b; + for (int i = 0; i < l; i++) { + b = testFile.readByte(); + if (b != buf[i]) { + context.registerFAILED("The bytes aren't equal: readLength "+readLength+" i "+i+" b "+b+" and b[i] "+buf[i] ); + return; + } + } + readLength += l; + l = is.read(buf, 0, 1024); + } + if (readLength == testFile.length()) { + context.registerPASSED(""); + } + + } catch (IOException e) { + context.registerFAILED("Exception occured "+e.toString()); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/TestProperties new file mode 100644 index 00000000000..812b52e9fc1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_1test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_1 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_1/test.html +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11.java new file mode 100644 index 00000000000..22e0fb4d8d4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11.java @@ -0,0 +1,134 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method read(byte[],int,int) + * The test try to pass the null value as first parameter. + * The NullPointerException should be thrown. + * + */ + +public class PlugletStreamListener_onDataAvailable_input_11 implements Test { + private int state = 0; + private boolean exceptionThrown = false; + private int readAmount = 0; + + public void execute(TestContext context){ + if (context.failedIsRegistered()) { + return; + } + if (state == 2) { + // onDataAvailable call after reading the whole stream + context.registerFAILED("onDataAvailable is still being called"); + return; + } + + InputStream is = context.getInputStream(); + + if (state == 0) { + state = 1; + try { + is.read(null, 0, 100); + } catch (IOException e) { + context.registerFAILED("Calling read method caused IOException"); + return; + } catch (NullPointerException npe) { + exceptionThrown = true; + } + if (!exceptionThrown){ + context.registerFAILED("Reading with null first argument didn't throw NullPointerException"); + } + } + // now check the absence of the side effect on the input stream + int length = context.getLength(); + if (length < 1) { + context.registerFAILED("Just pushed length is less than 1"); + return; + } + long fileLength; + RandomAccessFile testFile; + try { + testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + fileLength = testFile.length(); + } catch (IOException e) { + context.registerFAILED("The IOException on the test file"); + return; + } + if (!readAndCheckStreamIdentity(is, testFile, readAmount, length)) { + context.registerFAILED("The stream had been affected by reading 0 bytes"); + return; + } + readAmount += length; + if (readAmount == fileLength) { + // after that and only after that the onStopBinding call should be + state = 2; + context.registerPASSED(""); + } else if (readAmount > fileLength) { + context.registerFAILED("Read amount of data is great than should be"); + return; + } + + } + + private boolean readAndCheckStreamIdentity(InputStream stream, + RandomAccessFile file, + int off, + int len) + { + byte[] buf = new byte[len]; + int readLength = 0; + try { + file.seek(off); + do { + int l = stream.read(buf, readLength, len - readLength); + if (l <= 0) { + return false; + } + byte b; + for (int i = 0; i < l; i++) { + b = file.readByte(); + if (b != buf[readLength + i]) { + return false; + } + } + readLength += l; + } while ( readLength < len ); + } catch (IOException e) { + return false; + } + return true; + + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/TestProperties new file mode 100644 index 00000000000..b424eee4f61 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/TestProperties @@ -0,0 +1,6 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_11test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_11 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_11/test.html +RUN_STAGES= \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12.java new file mode 100644 index 00000000000..c18b1bc9524 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12.java @@ -0,0 +1,175 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method read(byte[],int,int) + * The test try to pass the 0 value as third parameter. + * The 0 should be returned. + * + */ + +public class PlugletStreamListener_onDataAvailable_input_12 implements Test { + private int state = 0; + private int readAmount = 0; + + public void execute(TestContext context){ + if (context.failedIsRegistered()) { + return; + } + if (state == 2) { + // onDataAvailable call after reading the whole stream + context.registerFAILED("onDataAvailable is still being called"); + return; + } + + InputStream is = context.getInputStream(); + + if (state == 0) { + state = 1; + byte[] buf = new byte[1024]; + + // fill buf with 0 + initBuf(buf, 0, 1024, (byte)0); + int l = 0; + try { + l = is.read(buf, 0, 0); + } catch (IOException e) { + context.registerFAILED("Calling read method caused IOException"); + return; + } + if (l != 0) { + context.registerFAILED("Reading with 0 3d argument didn't return 0"); + return; + } + if (!checkBuf(buf, 0, 1024, (byte)0)) { + context.registerFAILED("The buffer was affected"); + return; + } + + // repeat the same with initializing buffer with 1 + initBuf(buf, 0, 1024, (byte)1); + try { + l = is.read(buf, 0, 0); + } catch (IOException e) { + context.registerFAILED("Calling read method caused IOException"); + return; + } + if (l != 0) { + context.registerFAILED("Reading with 0 3d argument didn't return 0"); + return; + } + if (!checkBuf(buf, 0, 1024, (byte)1)) { + context.registerFAILED("The buffer was affected"); + return; + } + + } + // now check the absence of the side effect on the input stream + int length = context.getLength(); + if (length < 1) { + context.registerFAILED("Just pushed length is less than 1"); + return; + } + long fileLength; + RandomAccessFile testFile; + try { + testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + fileLength = testFile.length(); + } catch (IOException e) { + context.registerFAILED("The IOException on the test file"); + return; + } + if (!readAndCheckStreamIdentity(is, testFile, readAmount, length)) { + context.registerFAILED("The stream had been affected by reading 0 bytes"); + return; + } + readAmount += length; + if (readAmount == fileLength) { + // after that and only after that the onStopBinding call should be + state = 2; + context.registerPASSED(""); + } else if (readAmount > fileLength) { + context.registerFAILED("Read amount of data is great than should be"); + return; + } + + } + + private void initBuf(byte[] buf, int off, int len, byte fillingValue) { + for (int i = 0; i < len; i++) { + buf[off + i] = fillingValue; + } + } + + private boolean checkBuf(byte[] buf, int off, int len, byte goldValue) { + for (int i = 0; i < len; i++) { + if (buf[off + i] != goldValue) { + return false; + } + } + return true; + } + + private boolean readAndCheckStreamIdentity(InputStream stream, + RandomAccessFile file, + int off, + int len) + { + byte[] buf = new byte[len]; + int readLength = 0; + try { + file.seek(off); + do { + int l = stream.read(buf, readLength, len - readLength); + if (l <= 0) { + return false; + } + byte b; + for (int i = 0; i < l; i++) { + b = file.readByte(); + if (b != buf[readLength + i]) { + return false; + } + } + readLength += l; + } while ( readLength < len ); + } catch (IOException e) { + return false; + } + return true; + + } + + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/TestProperties new file mode 100644 index 00000000000..cb32af02625 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/TestProperties @@ -0,0 +1,6 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_12test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_12 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_12/test.html +RUN_STAGES= \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2.java new file mode 100644 index 00000000000..b7c7b4d048a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2.java @@ -0,0 +1,130 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +import org.mozilla.util.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The test reads at first the amount of data less than just + * pushed length. On the next onDataAvailable calls it is + * supposed to read all other data. Currently + * the incorectnesses of such behaviour isn't specified. + * + */ + +public class PlugletStreamListener_onDataAvailable_input_2 implements Test { + private int readLength = 0; + private int state = 0; + private long fileLength = 0; + + public void execute(TestContext context){ + if (context.getTestStage() + .equals(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE))) { + if (state == 2) { + context.registerFAILED("onStopBinding before onDataAvailble"); + return; + } else { + InputStream is = context.getInputStream(); + int length = context.getLength(); + if (length < 0) { + context.registerFAILED("The pushed data is less than 0"); + return; + } else if (length == 0) { + return; + } + byte[] buf = new byte[1024]; + int l; + if (state == 0) { + // first time the amount of read data is less than + // pointed by 3d parameter + state = 1; + int lengthToRead = Math.min(1024, length-1); + try { + l = is.read(buf, 0, lengthToRead); + } catch (IOException e) { + context.registerFAILED("The pushed data can't be read due to IOException"); + return; + } + if ( l != -1 ) { + if (l > 0) { + readLength += l; + } else if ( (l != 0) || (length != 0) ) { + context.registerFAILED("The read length is incorrect"); + return; + } + } else { + context.registerFAILED("The pushed data can't be read"); + return; + } + } else { + // if not first time then read all what can be read, and compare. + try { + RandomAccessFile testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + fileLength = testFile.length(); + testFile.seek(readLength); + l = is.read(buf, 0, 1024); + while (l != -1) { + if ( l <= 0) { + context.registerFAILED("The read length is less than 1"); + return; + } + byte b; + for (int i = 0; i < l; i++) { + b = testFile.readByte(); + if (b != buf[i]) { + context.registerFAILED("The bytes aren't equal: readLength "+readLength+" i "+i+" b "+b+" and b[i] "+buf[i] ); + return; + } + } + readLength += l; + l = is.read(buf, 0, 1024); + } + } catch (IOException e) { + context.registerFAILED("Exception occured "+e.toString()); + } + } + } + } else { + if (state != 1) { + context.registerFAILED("onStopBinding w/o onDataAvailble"); + } + state = 2; + if (readLength == fileLength) { + context.registerPASSED(""); + } else { + context.registerFAILED("onStopBinding was called, but all data wasn't read"); + } + } + + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/TestProperties new file mode 100644 index 00000000000..e0be68dee96 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/TestProperties @@ -0,0 +1,8 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_2test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_2 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_2/test.html +RUN_STAGES= \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE \ + PLUGLET_STREAM_LISTENER_ON_STOP_BINDING + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3.java new file mode 100644 index 00000000000..04577e5cfbe --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3.java @@ -0,0 +1,77 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method read(byte[]) + * The data is read and compared with data from original + * file. + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_3 implements Test { + private int readLength = 0; + + public void execute(TestContext context){ + InputStream is = context.getInputStream(); + byte[] buf = new byte[1024]; + try { + RandomAccessFile testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + int l = is.read(buf); + while (l != -1) { + if (l <= 0) { + context.registerFAILED("Read length isn't great than zero"); + return; + } + testFile.seek(readLength); + byte b; + for (int i = 0; i < l; i++) { + b = testFile.readByte(); + if (b != buf[i]) { + context.registerFAILED("The bytes aren't equal: readLength "+readLength+" i "+i+" b "+b+" and b[i] "+buf[i] ); + return; + } + } + readLength += l; + l = is.read(buf); + } + if (readLength == testFile.length()) { + context.registerPASSED(""); + } + + } catch (IOException e) { + context.registerFAILED("Exception occured "+e.toString()); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/TestProperties new file mode 100644 index 00000000000..c60c1f14488 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_3test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_3 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_3/test.html +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4.java new file mode 100644 index 00000000000..043964afbe8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4.java @@ -0,0 +1,69 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method read() + * The data is read and compared with data from original + * file. + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_4 implements Test { + private int readLength = 0; + + public void execute(TestContext context){ + InputStream is = context.getInputStream(); + try { + RandomAccessFile testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + int nextByte = is.read(); + while (nextByte != -1) { + testFile.seek(readLength); + byte b = testFile.readByte(); + if (b != nextByte) { + context.registerFAILED("The bytes aren't equal: readLength "+readLength+" b "+b+" and nextByte "+nextByte ); + return; + } + readLength += 1; + nextByte = is.read(); + } + if (readLength == testFile.length()) { + context.registerPASSED(""); + } + + } catch (IOException e) { + context.registerFAILED("Exception occured "+e.toString()); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/TestProperties new file mode 100644 index 00000000000..accdb8eb930 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_4test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_4 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_4/test.html +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5.java new file mode 100644 index 00000000000..b42354adf04 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5.java @@ -0,0 +1,85 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method skip(long) + * + * + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_5 implements Test { + private int readLength = 0; + private int state = 0; + + public void execute(TestContext context){ + InputStream is = context.getInputStream(); + try { + long skipped = 0; + if (state == 0) { + skipped = is.skip(1); + state = 1; + } else if (context.getLength() > 1) { + skipped = is.skip(1); + } + if (skipped > -1) { + readLength += skipped; + } + + RandomAccessFile testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + byte[] buf = new byte[1024]; + int l = is.read(buf); + while (l > 0) { + testFile.seek(readLength); + byte b; + for (int i = 0; i < l; i++) { + b = testFile.readByte(); + if (b != buf[i]) { + context.registerFAILED("The bytes aren't equal: readLength "+readLength+" i "+i+" b "+b+" and b[i] "+buf[i] ); + } + } + readLength += l; + l = is.read(buf); + } + if (readLength == testFile.length()) { + context.registerPASSED(""); + } + + } catch (IOException e) { + context.registerFAILED("Exception occured "+e.toString()); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/TestProperties new file mode 100644 index 00000000000..51dad5a918f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_5test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_5 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_5/test.html +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6.java new file mode 100644 index 00000000000..3000804cd79 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6.java @@ -0,0 +1,85 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method close() + * + * + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_6 implements Test { + private int readLength = 0; + private int state = 0; + + public void execute(TestContext context){ + if (state == 1) { + return; + } + state = 1; + + InputStream is = context.getInputStream(); + byte[] buf = new byte[1]; + int l; + //reading something from the stream + try { + l = is.read(buf); + } catch (IOException e) { + context.registerFAILED("The input cann't be read"); + return; + } + if (l < 0) { + context.registerFAILED("The input reported end of stream"); + return; + } + //closing the stream + try { + is.close(); + } catch (IOException e) { + context.registerFAILED("Exception while closing stream"); + return; + } + //trying to read something from the stream + try { + l = is.read(buf); + } catch (IOException e) { + context.registerPASSED(""); + return; + } + context.registerFAILED("The input haven't closed "+l); + + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/TestProperties new file mode 100644 index 00000000000..50e8e13cf41 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_6test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_6 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_6/test.html +RUN_STAGES=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7.java new file mode 100644 index 00000000000..98acf0776b7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7.java @@ -0,0 +1,96 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The goal is to check the correctnesses of its method close() + * The test reads the first whole portion of the data, closes the stream and returns. + * Passed result will be registered only if after that the + * onStopBinding method will be called. + * + */ + +public class PlugletStreamListener_onDataAvailable_input_7 implements Test { + private int readLength = 0; + private int state = 0; + + public void execute(TestContext context){ + if (context.failedIsRegistered()) { + return; + } + if (context.getTestStage() + .equals(TestStage.getStageById(TestStage.PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE))) { + + if (state == 1) { + context.registerFAILED("The onDataAvailable called after closing stream"); + return; + } + state = 1; + + InputStream is = context.getInputStream(); + int length = context.getLength(); + byte[] buf = new byte[1024]; + int l; + int readAmount = 0; + while (readAmount < length) { + try { + l = is.read(buf); + } catch (IOException e) { + context.registerFAILED("The pushed portion can't be read"); + return; + } + if (l > 0) { + readAmount += l; + } else if (l == 0) { + context.registerFAILED("The read length is 0"); + return; + } else { + context.registerFAILED("The pushed portion can't be read"); + return; + } + } + + try { + is.close(); + } catch (IOException e) { + context.registerFAILED("Exception while closing stream"); + return; + } + } else { + // it is on the TestStage.PLUGLET_STREAM_LISTENER_ON_STOP_BINDING + context.registerPASSED(""); + } + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/TestProperties new file mode 100644 index 00000000000..1e078bd57f2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/TestProperties @@ -0,0 +1,8 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_7test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_7 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_7/test.html +RUN_STAGES= \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE \ + PLUGLET_STREAM_LISTENER_ON_STOP_BINDING + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8.java new file mode 100644 index 00000000000..925103a6147 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8.java @@ -0,0 +1,135 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The mark-reset functionality is tested. + * The supporting of the mark-reset isn't specified so test is passed by default + * in case when stream doesn't supported this functionality. + * The testing is done with mark value less than just pushed length. + * + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_8 implements Test { + private int readLength = 0; + + public void execute(TestContext context){ + if (context.failedIsRegistered()) { + return; + } + InputStream is = context.getInputStream(); + int length = context.getLength(); + if (length < 1) { + context.registerFAILED("The pushed length is less than 1"); + } + if (is.markSupported()) { + is.mark(length-1); + byte[] buf = new byte[length-1]; + if (!fill(buf, is)) { + context.registerFAILED("The pushed portion can't be read"); + return; + } + // reset and reading again + try { + is.reset(); + } catch (IOException e) { + context.registerFAILED("The stream can't be reset"); + return; + } + byte[] repeatBuf = new byte[length]; + if (!fill(repeatBuf, is)) { + context.registerFAILED("The pushed portion can't be read again after reset"); + return; + } + // check the corectnesses of the read again data and the next byte + RandomAccessFile testFile; + try { + testFile = new RandomAccessFile(context.getTestDir()+"/test.tdt", "r"); + testFile.seek(readLength); + } catch (IOException e) { + context.registerFAILED("The file can't be seek"); + return; + } + byte b; + for (int i = 0; i < length; i++) { + try { + b = testFile.readByte(); + } catch (IOException e) { + context.registerFAILED("The file can't be read"); + return; + } + if (b != repeatBuf[i]) { + context.registerFAILED("The bytes aren't equal"); + return; + } + } + readLength += length; + try { + if (readLength == testFile.length()) { + context.registerPASSED(""); + } + } catch (IOException e) { + context.registerFAILED("The file length can't be got"); + return; + } + + + } else { + context.registerPASSED("Mark functionality isn't supported - passed by default"); + } + } + + private boolean fill(byte[] buf, InputStream is) { + int readAmount = 0; + int l = 0; + while (readAmount < buf.length) { + try { + l = is.read(buf, readAmount, buf.length - readAmount); + } catch (IOException e) { + return false; + } + if (l > 0) { + readAmount += l; + } else if (l == 0) { + return false; + } else { + return false; + } + } + return true; + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/TestProperties new file mode 100644 index 00000000000..5736f8f259d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/TestProperties @@ -0,0 +1,6 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_8test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_8 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_8/test.html +RUN_STAGES= \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9.java new file mode 100644 index 00000000000..ab2b339dcbe --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9.java @@ -0,0 +1,129 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * Test for passed in onDataAvailable method 2d parameter (input) + * The non-supporting of mark-reset functionality is tested. + * The supporting of the mark-reset isn't specified so test is passed by default + * in case when stream supports this functionality. + * + * + * + * + */ + +public class PlugletStreamListener_onDataAvailable_input_9 implements Test { + private int readLength = 0; + private int state = 0; + + public void execute(TestContext context){ + if (context.failedIsRegistered()) { + return; + } + if (state == 1) { + return; + } + state = 1; + InputStream is = context.getInputStream(); + int length = context.getLength(); + if (length < 1) { + context.registerFAILED("The pushed length is less than 1"); + } + if (!is.markSupported()) { + try { + is.reset(); + } catch (IOException e) { + context.registerPASSED(""); + return; + } + + // if there isn't IOException then check about fixed state + int avail; + try { + avail = is.available(); + } catch (IOException e) { + context.registerFAILED("Can't get available value - IOException"); + return; + } + byte[] buf = new byte[avail]; + if (!fill(buf, is)){ + context.registerFAILED("Can't read available amount"); + return; + } + try { + is.reset(); + } catch (IOException e) { + context.registerFAILED("Mark isn't supported, second (but not first) call throws IOException "); + return; + } + byte[] testBuf = new byte[avail]; + if (!fill(testBuf, is)){ + context.registerFAILED("Can't read again available amount"); + return; + } + for (int i = 0; i < avail; i++) { + if (buf[i] != testBuf[i]) { + context.registerFAILED("The data isn't the same after reset"); + return; + } + } + context.registerPASSED(""); + + } else { + context.registerPASSED("Mark functionality is supported - passed by default"); + } + + } + + private boolean fill(byte[] buf, InputStream is) { + int readAmount = 0; + int l = 0; + while (readAmount < buf.length) { + try { + l = is.read(buf, readAmount, buf.length - readAmount); + } catch (IOException e) { + return false; + } + if (l > 0) { + readAmount += l; + } else if (l == 0) { + return false; + } else { + return false; + } + } + return true; + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/TestProperties new file mode 100644 index 00000000000..14c1db845c7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/TestProperties @@ -0,0 +1,6 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPlugletStreamListener_onDataAvailable_input_9test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.PlugletStreamListener_onDataAvailable_input_9 +TEST_HTML=basic/params/PlugletStreamListener_onDataAvailable_input_9/test.html +RUN_STAGES= \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/manifest new file mode 100644 index 00000000000..49b187245c5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.html new file mode 100644 index 00000000000..4f143603086 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.tdt b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.tdt new file mode 100644 index 00000000000..16da86b2bcc Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.tdt differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType.java new file mode 100644 index 00000000000..a07fcc62928 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.params; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +/* + * Description: + * The test class compares the passed in mime type with + * gold value pointed in test properties. + * + * + * + */ + + + +public class Pluglet_createPlugletInstance_mimeType implements Test { + public static String TEST_MIME_TYPE_PROP_NAME = "TEST_MIME_TYPE"; + + + public void execute(TestContext context){ + String passedMimeType = context.getMimeType(); + String origMimeType = context.getProperty(TEST_MIME_TYPE_PROP_NAME); + if (origMimeType != null) { + if (origMimeType.equals(passedMimeType)) { + context.registerPASSED(""); + } else { + context.registerFAILED("MimeTypes aren't equal: received "+passedMimeType+" and required "+origMimeType); + } + } else { + context.registerFAILED(TEST_MIME_TYPE_PROP_NAME+" isn't correctly set"); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/TestProperties new file mode 100644 index 00000000000..16320c1305a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPluglet_createPlugletInstance_mimeType_1test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.Pluglet_createPlugletInstance_mimeType +TEST_HTML=basic/params/Pluglet_createPlugletInstance_mimeType_1/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE +TEST_MIME_TYPE=* \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/manifest new file mode 100644 index 00000000000..27c34060e84 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/manifest @@ -0,0 +1,2 @@ +MIMEDescription: multipart/x-pluglet-test-params;application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/test.html new file mode 100644 index 00000000000..6cbeef4026b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_1/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/TestProperties new file mode 100644 index 00000000000..42f6b20c442 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPluglet_createPlugletInstance_mimeType_2test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.Pluglet_createPlugletInstance_mimeType +TEST_HTML=basic/params/Pluglet_createPlugletInstance_mimeType_2/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE +TEST_MIME_TYPE=application/x-pluglet-test-params \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/manifest new file mode 100644 index 00000000000..27c34060e84 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/manifest @@ -0,0 +1,2 @@ +MIMEDescription: multipart/x-pluglet-test-params;application/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/test.html new file mode 100644 index 00000000000..ad3a07194d9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_2/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/TestProperties new file mode 100644 index 00000000000..92f08cd908b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPluglet_createPlugletInstance_mimeType_3test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.Pluglet_createPlugletInstance_mimeType +TEST_HTML=basic/params/Pluglet_createPlugletInstance_mimeType_3/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE +TEST_MIME_TYPE=multipart/x-pluglet-test-params; boundary=Some_Boundary diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/manifest new file mode 100644 index 00000000000..26253bcbf0e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/manifest @@ -0,0 +1,2 @@ +MIMEDescription: multipart/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/test.html new file mode 100644 index 00000000000..18eb33c3b70 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_3/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/TestProperties new file mode 100644 index 00000000000..9354224d9bb --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPluglet_createPlugletInstance_mimeType_4test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.Pluglet_createPlugletInstance_mimeType +TEST_HTML=basic/params/Pluglet_createPlugletInstance_mimeType_4/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE +TEST_MIME_TYPE=some_type diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/manifest new file mode 100644 index 00000000000..0eb6040aa97 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/manifest @@ -0,0 +1,2 @@ +MIMEDescription: some_type::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/test.html new file mode 100644 index 00000000000..efab25349e7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_4/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/TestProperties new file mode 100644 index 00000000000..c66b48a80bf --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPluglet_createPlugletInstance_mimeType_5test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.Pluglet_createPlugletInstance_mimeType +TEST_HTML=basic/params/Pluglet_createPlugletInstance_mimeType_5/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE +TEST_MIME_TYPE=MULTIPART/X-PLUGLET-TEST-PARAMS; boundary=Some_Boundary diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/manifest new file mode 100644 index 00000000000..26253bcbf0e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/manifest @@ -0,0 +1,2 @@ +MIMEDescription: multipart/x-pluglet-test-params::Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/test.html new file mode 100644 index 00000000000..079e5107ad7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_5/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/TestProperties new file mode 100644 index 00000000000..728eb752595 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/TestProperties @@ -0,0 +1,5 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicparamsPluglet_createPlugletInstance_mimeType_6test.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.params.Pluglet_createPlugletInstance_mimeType +TEST_HTML=basic/params/Pluglet_createPlugletInstance_mimeType_6/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE +TEST_MIME_TYPE=application/zip diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/manifest new file mode 100644 index 00000000000..2899c90baa0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/zip;application/x-zip-compressed:zip:Pluglet Params Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/test.html new file mode 100644 index 00000000000..061a9020aa6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/test.html @@ -0,0 +1,8 @@ + +Params test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/test.zip b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/test.zip new file mode 100644 index 00000000000..afdceff8b52 Binary files /dev/null and b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/Pluglet_createPlugletInstance_mimeType_6/test.zip differ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/makefile.win new file mode 100644 index 00000000000..3d2814912b1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/makefile.win @@ -0,0 +1,95 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + + +DEPTH=..\..\..\..\..\..\.. +COMMON_CONFIG_FILE=$(DEPTH)\config\CommonProperties +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +BUILD_DIR_CLASSES=$(BUILD_DIR)\classes +JAVAC=javac +BASIC_PATH=org\mozilla\pluglet\test\basic +CLASSPATH=$(BUILD_DIR_CLASSES);$(CLASSPATH) + +all: classes tests + +classes: + @echo Building .basic.params classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + + +TESTS= \ + Pluglet_createPlugletInstance_mimeType_1 \ + Pluglet_createPlugletInstance_mimeType_2 \ + Pluglet_createPlugletInstance_mimeType_3 \ + Pluglet_createPlugletInstance_mimeType_4 \ + Pluglet_createPlugletInstance_mimeType_5 \ + Pluglet_createPlugletInstance_mimeType_6 \ +# Pluglet_createPlugletInstance_mimeType_7 \ + PlugletStreamListener_onDataAvailable_input_1 \ + PlugletStreamListener_onDataAvailable_input_2 \ + PlugletStreamListener_onDataAvailable_input_3 \ + PlugletStreamListener_onDataAvailable_input_4 \ + PlugletStreamListener_onDataAvailable_input_5 \ + PlugletStreamListener_onDataAvailable_input_6 \ + PlugletStreamListener_onDataAvailable_input_7 \ + PlugletStreamListener_onDataAvailable_input_8 \ + PlugletStreamListener_onDataAvailable_input_9 \ + PlugletStreamListener_onDataAvailable_input_11 \ + PlugletStreamListener_onDataAvailable_input_12 + +tests: $(TESTS) + + +clobber: + @cd $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\params + -del *.class *.jar + + +$(TESTS) :: + @echo Making test $@ + + @ -1 mkdir $(HTML_ROOT_DIR)\basic + @ -1 mkdir $(HTML_ROOT_DIR)\basic\params + @ -1 copy *.html $(HTML_ROOT_DIR)\basic\params + + @ -1 mkdir $(BUILD_DIR)\test\basic\params\$@ + @ perl $(UTIL_DIR)\configurator.pl $(COMMON_CONFIG_FILE) $(BUILD_DIR)\test\basic\params\$@\TestProperties $@\TestProperties + @ -1 mkdir $(HTML_ROOT_DIR)\basic\params\$@ + @ -1 copy $@\*.html $(HTML_ROOT_DIR)\basic\params\$@ + + @ -1 mkdir $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\params\$@ + @ xcopy $@\manifest $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\params\$@ + + + @ cd $(BUILD_DIR_CLASSES) + @ $(JDKHOME)\bin\jar cvfm $(BASIC_PATH)\params\$@\test.jar $(BASIC_PATH)\params\$@\manifest $(BASIC_PATH)\*.class $(BASIC_PATH)\params\*.class + + @ cd ..\..\src\$(BASIC_PATH)\params\ + +Pluglet_createPlugletInstance_mimeType_6:: + @ -1 copy $@\test.zip $(HTML_ROOT_DIR)\basic\params\$@ + +PlugletStreamListener_onDataAvailable_input_1 PlugletStreamListener_onDataAvailable_input_2 PlugletStreamListener_onDataAvailable_input_3 PlugletStreamListener_onDataAvailable_input_4 PlugletStreamListener_onDataAvailable_input_5 PlugletStreamListener_onDataAvailable_input_6 PlugletStreamListener_onDataAvailable_input_7 PlugletStreamListener_onDataAvailable_input_8 PlugletStreamListener_onDataAvailable_input_9 PlugletStreamListener_onDataAvailable_input_11 PlugletStreamListener_onDataAvailable_input_12 :: + @ -1 copy $@\test.tdt $(HTML_ROOT_DIR)\basic\params\$@ + @ -1 copy $@\test.tdt $(BUILD_DIR)\test\basic\params\$@ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Makefile new file mode 100644 index 00000000000..eeb3072f9ba --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Makefile @@ -0,0 +1,66 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +DEPTH=../../../../../../.. +COMMON_CONFIG_FILE=$(DEPTH)/config/CommonProperties +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +BUILD_DIR_CLASSES=$(BUILD_DIR)/classes +JAVAC=javac +BASIC_PATH=org/mozilla/pluglet/test/basic +CLASSPATH=$(BUILD_DIR_CLASSES):$(MOZILLA_FIVE_HOME)/../classes + +all: classes tests + +classes: + @echo Building .basic.returns classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + + +TESTS= \ + Pluglet_createPlugletInstance \ + PlugletInstance_newStream + +#mkdir -p $(HTML_ROOT_DIR)/basic/returns/$${i}; +#cp -f $${i}/*.html $(HTML_ROOT_DIR)/basic/returns/$${i}; +tests: + @mkdir -p $(HTML_ROOT_DIR)/basic/returns + @cp -f *.html $(HTML_ROOT_DIR)/basic/returns + @for i in $(TESTS); do \ + mkdir -p $(BUILD_DIR)/test/basic/returns/$${i}; \ + perl $(UTIL_DIR)/configurator.pl $(COMMON_CONFIG_FILE) $(BUILD_DIR)/test/basic/returns/$${i}/TestProperties $${i}/TestProperties; \ + mkdir -p $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/returns/$${i}; \ + cp -f manifest $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/returns/$${i}; \ + cd $(BUILD_DIR_CLASSES); \ + $(JDKHOME)/bin/jar cfm $(BASIC_PATH)/returns/$${i}/test.jar $(BASIC_PATH)/returns/$${i}/manifest $(BASIC_PATH)/*.class $(BASIC_PATH)/returns/$${i}.class; \ + cd ../../src/$(BASIC_PATH)/returns/; \ + done + +clobber: + @if [ -e $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/returns ]; then \ + rm -rf $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/returns/* ; \ + fi + @if [ -e $(HTML_ROOT_DIR)/basic/returns ]; then \ + rm -rf $(HTML_ROOT_DIR)/basic/returns/*; \ + fi + @if [ -e $(BUILD_DIR)/test/basic/returns ]; then \ + rm -rf $(BUILD_DIR)/test/basic/returns/* ; \ + fi diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream.java new file mode 100644 index 00000000000..d625236b931 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream.java @@ -0,0 +1,35 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.returns; + +import org.mozilla.pluglet.test.basic.*; + +public class PlugletInstance_newStream implements Test { + + public void execute(TestContext context){ + context.setPlugletStreamListener(null); + TestLoaderPluglet.defaultResult = TestContext.PASSED; + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream/TestProperties new file mode 100644 index 00000000000..c7f1fefa5cf --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream/TestProperties @@ -0,0 +1,4 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicreturnsPlugletInstance_newStreamtest.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.returns.PlugletInstance_newStream +TEST_HTML=basic/returns/test.html +RUN_STAGES=PLUGLET_INSTANCE_NEW_STREAM diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Pluglet_createPlugletInstance.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Pluglet_createPlugletInstance.java new file mode 100644 index 00000000000..1f413393554 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Pluglet_createPlugletInstance.java @@ -0,0 +1,35 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.returns; + +import org.mozilla.pluglet.test.basic.*; + +public class Pluglet_createPlugletInstance implements Test { + + public void execute(TestContext context){ + context.setPluglet(null); + TestLoaderPluglet.defaultResult = TestContext.PASSED; + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Pluglet_createPlugletInstance/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Pluglet_createPlugletInstance/TestProperties new file mode 100644 index 00000000000..fe9e63fff75 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/Pluglet_createPlugletInstance/TestProperties @@ -0,0 +1,4 @@ +PLUGLET=buildclassesorgmozillapluglettestbasicreturnsPluglet_createPlugletInstancetest.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.returns.Pluglet_createPlugletInstance +TEST_HTML=basic/returns/test.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/makefile.win new file mode 100644 index 00000000000..174f767f8b3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/makefile.win @@ -0,0 +1,73 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + + +DEPTH=..\..\..\..\..\..\.. +COMMON_CONFIG_FILE=$(DEPTH)\config\CommonProperties +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +BUILD_DIR_CLASSES=$(BUILD_DIR)\classes +JAVAC=javac +BASIC_PATH=org\mozilla\pluglet\test\basic +CLASSPATH=$(BUILD_DIR_CLASSES);$(CLASSPATH) + +all: classes tests + +classes: + @echo Building .basic.returns classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + + +TESTS= \ + Pluglet_createPlugletInstance \ + PlugletInstance_newStream + +tests: $(TESTS) + + +clobber: + @cd $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\returns + -del *.class *.jar + + +$(TESTS) :: + @echo Making test $@ + + -1 mkdir $(HTML_ROOT_DIR)\basic + -1 mkdir $(HTML_ROOT_DIR)\basic\returns + -1 copy *.html $(HTML_ROOT_DIR)\basic\returns + + -1 mkdir $(BUILD_DIR)\test\basic\returns\$@ + perl $(UTIL_DIR)\configurator.pl $(COMMON_CONFIG_FILE) $(BUILD_DIR)\test\basic\returns\$@\TestProperties $@\TestProperties + -1 mkdir $(HTML_ROOT_DIR)\basic\returns\$@ + -1 copy $@\*.html $(HTML_ROOT_DIR)\basic\returns\$@ + + -1 mkdir $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\returns\$@ + xcopy manifest $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\returns\$@ + + + cd $(BUILD_DIR_CLASSES) + $(JDKHOME)\bin\jar cvfm $(BASIC_PATH)\returns\$@\test.jar $(BASIC_PATH)\returns\$@\manifest $(BASIC_PATH)\*.class $(BASIC_PATH)\returns\$@.class + + cd ..\..\src\$(BASIC_PATH)\returns\ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/manifest new file mode 100644 index 00000000000..7c13f7eb6b6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-pluglet-test-returns::Pluglet Returns Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/test.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/test.html new file mode 100644 index 00000000000..fd631bda937 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/test.html @@ -0,0 +1,8 @@ + +Test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/1/TestProperties new file mode 100644 index 00000000000..3c8dcb1bbab --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/1/TestProperties @@ -0,0 +1,22 @@ +# test for sequencial calling of methods of plugin during starting +# and closing the browser +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/bastest.html +RUN_STAGES= \ + PLUGLET_INITIALIZE \ + PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY \ + PLUGLET_SHUTDOWN +STAGES_NUMBER=7 +STAGE_1=PLUGLET_INITIALIZE +STAGE_2=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_3=PLUGLET_INSTANCE_INITIALIZE +STAGE_4=PLUGLET_INSTANCE_START +STAGE_4_ACTION=WINDOW_CLOSE +STAGE_5=PLUGLET_INSTANCE_STOP +STAGE_6=PLUGLET_INSTANCE_DESTROY +STAGE_7=PLUGLET_SHUTDOWN diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/2/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/2/TestProperties new file mode 100644 index 00000000000..2d4c8837cfd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/2/TestProperties @@ -0,0 +1,17 @@ +# test for calling of start-stop methods of plugin instance during loading +# new page and returning back to this page +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/bastest.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY +STAGES_NUMBER=5 +STAGE_1=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_2=PLUGLET_INSTANCE_INITIALIZE +STAGE_3=PLUGLET_INSTANCE_START +STAGE_3_ACTION=LOAD_DEFAULT_BACK_URL +STAGE_4=PLUGLET_INSTANCE_STOP +STAGE_5=PLUGLET_INSTANCE_START diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/3/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/3/TestProperties new file mode 100644 index 00000000000..485e70330f4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/3/TestProperties @@ -0,0 +1,18 @@ +# test for calling of start-stop methods of plugin instance +# during reloading of the page +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/bastest.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY +STAGES_NUMBER=5 +STAGE_1=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_2=PLUGLET_INSTANCE_INITIALIZE +STAGE_3=PLUGLET_INSTANCE_START +STAGE_3_ACTION=WINDOW_RELOAD +STAGE_4=PLUGLET_INSTANCE_STOP +STAGE_5=PLUGLET_INSTANCE_START + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/4/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/4/TestProperties new file mode 100644 index 00000000000..aa903bbaaba --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/4/TestProperties @@ -0,0 +1,17 @@ +# test for calling of start-stop methods of plugin instance during leaving back +# and returning to the page +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/forward.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY +STAGES_NUMBER=5 +STAGE_1=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_2=PLUGLET_INSTANCE_INITIALIZE +STAGE_3=PLUGLET_INSTANCE_START +STAGE_3_ACTION=BACK +STAGE_4=PLUGLET_INSTANCE_STOP +STAGE_5=PLUGLET_INSTANCE_START diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/5/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/5/TestProperties new file mode 100644 index 00000000000..72c7ccfff32 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/5/TestProperties @@ -0,0 +1,21 @@ +# test for sequencial calling of methods of plugin during +# opening and closing new window with plugin +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/5/newwindow.html +RUN_STAGES= \ + PLUGLET_INITIALIZE \ + PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY \ + PLUGLET_SHUTDOWN +STAGES_NUMBER=6 +STAGE_1=PLUGLET_INITIALIZE +STAGE_2=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_3=PLUGLET_INSTANCE_INITIALIZE +STAGE_4=PLUGLET_INSTANCE_START +STAGE_4_ACTION=WINDOW_CLOSE +STAGE_5=PLUGLET_INSTANCE_STOP +STAGE_6=PLUGLET_INSTANCE_DESTROY diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/5/newwindow.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/5/newwindow.html new file mode 100644 index 00000000000..cf5d18e8b73 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/5/newwindow.html @@ -0,0 +1,8 @@ + + + +This window automatically open new window with pluglet test. + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/8/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/8/TestProperties new file mode 100644 index 00000000000..98c043d42f5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/8/TestProperties @@ -0,0 +1,31 @@ +# test for calling of methods of plugin stream listener +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/bastestsrc.html +RUN_STAGES= \ + PLUGLET_INITIALIZE \ + PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_NEW_STREAM \ + PLUGLET_STREAM_LISTENER_ON_START_BINDING \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE \ + PLUGLET_STREAM_LISTENER_ON_STOP_BINDING + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY \ + PLUGLET_SHUTDOWN +STAGES_NUMBER=11 +STAGE_1=PLUGLET_INITIALIZE +STAGE_2=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_3=PLUGLET_INSTANCE_INITIALIZE +STAGE_4=PLUGLET_INSTANCE_START +STAGE_5=PLUGLET_INSTANCE_NEW_STREAM +STAGE_6=PLUGLET_STREAM_LISTENER_ON_START_BINDING +STAGE_7=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE +STAGE_7_REPEATABLE=TRUE +STAGE_7_ACTION=READ_STREAM +STAGE_8=PLUGLET_STREAM_LISTENER_ON_STOP_BINDING +STAGE_8_ACTION=WINDOW_CLOSE +STAGE_9=PLUGLET_INSTANCE_STOP +STAGE_10=PLUGLET_INSTANCE_DESTROY +STAGE_11=PLUGLET_SHUTDOWN diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/9/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/9/TestProperties new file mode 100644 index 00000000000..465d4d0645d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/9/TestProperties @@ -0,0 +1,38 @@ +# test for calling of methods of plugin stream listener after +# reload +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/bastestsrc.html +RUN_STAGES= \ + PLUGLET_INITIALIZE \ + PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_NEW_STREAM \ + PLUGLET_STREAM_LISTENER_ON_START_BINDING \ + PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE \ + PLUGLET_STREAM_LISTENER_ON_STOP_BINDING + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY \ + PLUGLET_SHUTDOWN +STAGES_NUMBER=14 +STAGE_1=PLUGLET_INITIALIZE +STAGE_2=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_3=PLUGLET_INSTANCE_INITIALIZE +STAGE_4=PLUGLET_INSTANCE_START +STAGE_5=PLUGLET_INSTANCE_NEW_STREAM +STAGE_6=PLUGLET_STREAM_LISTENER_ON_START_BINDING +STAGE_7=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE +STAGE_7_REPEATABLE=TRUE +STAGE_7_ACTION=READ_STREAM +STAGE_8=PLUGLET_STREAM_LISTENER_ON_STOP_BINDING +STAGE_8_ACTION=WINDOW_RELOAD +STAGE_9=PLUGLET_INSTANCE_STOP +# after reload +STAGE_10=PLUGLET_INSTANCE_START +STAGE_11=PLUGLET_INSTANCE_NEW_STREAM +STAGE_12=PLUGLET_STREAM_LISTENER_ON_START_BINDING +STAGE_13=PLUGLET_STREAM_LISTENER_ON_DATA_AVAILABLE +STAGE_13_REPEATABLE=TRUE +STAGE_13_ACTION=READ_STREAM +STAGE_14=PLUGLET_STREAM_LISTENER_ON_STOP_BINDING diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/Makefile new file mode 100644 index 00000000000..d153da667ca --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/Makefile @@ -0,0 +1,68 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +DEPTH=../../../../../../.. +COMMON_CONFIG_FILE=$(DEPTH)/config/CommonProperties +UTIL_DIR=$(DEPTH)/utils +BUILD_DIR=$(DEPTH)/build +BUILD_DIR_CLASSES=$(BUILD_DIR)/classes +JAVAC=javac +BASIC_PATH=org/mozilla/pluglet/test/basic +CLASSPATH=$(BUILD_DIR_CLASSES):$(MOZILLA_FIVE_HOME)/../classes +TESTS=1 2 3 4 5 8 9 fr1 fr2 fr3 + +all: tests TestSeqScenarioPluglet.jar + +classes: + @echo Building .basic.scenario classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + +add_files: + @cp -f manifest $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/scenario + +TestSeqScenarioPluglet.jar: classes add_files + @cd $(BUILD_DIR_CLASSES); \ + $(JDKHOME)/bin/jar cfm $(BASIC_PATH)/scenario/TestSeqScenarioPluglet.jar $(BASIC_PATH)/scenario/manifest $(BASIC_PATH)/*.class $(BASIC_PATH)/scenario/*.class + +clobber: + @if [ -e $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/scenario ]; then \ + rm -rf $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/scenario/* ; \ + fi + @if [ -e $(BUILD_DIR)/test/basic/scenario/ ]; then \ + rm -rf $(BUILD_DIR)/test/basic/scenario/*; \ + fi + @if [ -e $(HTML_ROOT_DIR)/basic/scenario ]; then \ + rm -rf $(HTML_ROOT_DIR)/basic/scenario/*; \ + fi +tests: + @mkdir -p $(HTML_ROOT_DIR)/basic/scenario + @for i in $(TESTS); do \ + cp -f *.html $(HTML_ROOT_DIR)/basic/scenario; \ + cp -f *.js $(HTML_ROOT_DIR)/basic/scenario; \ + mkdir -p $(BUILD_DIR)/test/basic/scenario/$${i}; \ + mkdir -p $(HTML_ROOT_DIR)/basic/scenario/$${i}; \ + perl $(UTIL_DIR)/configurator.pl $(COMMON_CONFIG_FILE) $(BUILD_DIR)/test/basic/scenario/$${i}/TestProperties $${i}/TestProperties; \ + if [ -e $${i}/*.html ]; then \ + cp -f $${i}/*.html $(HTML_ROOT_DIR)/basic/scenario/$${i}; \ + fi; \ + if [ -e $${i}/*.js ]; then \ + cp -f $${i}/*.js $(HTML_ROOT_DIR)/basic/scenario/$${i}; \ + fi; \ + done \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/SequencialScenarioTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/SequencialScenarioTest.java new file mode 100644 index 00000000000..d50e386390f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/SequencialScenarioTest.java @@ -0,0 +1,176 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + + + +package org.mozilla.pluglet.test.basic.scenario; + +import java.io.*; +import java.util.*; +import java.net.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; +import org.mozilla.pluglet.test.basic.*; + +public class SequencialScenarioTest implements Test { + + + private static String STAGE_PROP_NAME = "STAGE_"; + private static String STAGES_NUMBER_PROP_NAME = "STAGES_NUMBER"; + private static String STAGE_ACTION_PROP_SUFFIX = "_ACTION"; + private static String STAGE_ACTION_ARGUMENT_PROP_SUFFIX = "_ACTION_ARGUMENT"; + private static String STAGE_REPEATABLE_PROP_SUFFIX = "_REPEATABLE"; + private static String LOAD_STREAM_ACTION_NAME = "LOAD_STREAM"; + private static String LOAD_DEFAULT_BACK_URL_ACTION_NAME = "LOAD_DEFAULT_BACK_URL"; + private static String WINDOW_CLOSE_ACTION_NAME = "WINDOW_CLOSE"; + private static String WINDOW_RELOAD_ACTION_NAME = "WINDOW_RELOAD"; + private static String BACK_ACTION_NAME = "BACK"; + private static String WAITING_FOR_WRONG_ACTION_NAME = "WAITING_FOR_WRONG"; + private static String FORWARD_ACTION_NAME = "FORWARD"; + private static int stagesCounter = 0; + private static int stagesNumber = 0; + + private static String action = null; + + private TestStage prevStage = null; + private TestStage reqStage = null; + private boolean repeatable = false; + private String actionName = null; + private String actionArgument = null; + + public void execute(TestContext context){ + if (context.failedIsRegistered()) { + return; + } + //one time getting the number of stages + if (stagesCounter == 0) { + try { + stagesNumber = (new Integer(context.getProperty(STAGES_NUMBER_PROP_NAME))).intValue(); + } catch (Exception e) { + context.registerFAILED(STAGES_NUMBER_PROP_NAME + +" value isn't correctly set"); + return; + } + } + + TestStage curStage = context.getTestStage(); + if (!(curStage.equals(prevStage) && repeatable)){ + stagesCounter++; + repeatable = false; + if (stagesCounter > stagesNumber) { + context.registerFAILED("Extra stage "+curStage.getName()); + return; + } + reqStage = + context.getStageByPropertyName(STAGE_PROP_NAME+stagesCounter); + if (reqStage == null) { + context.registerFAILED(STAGE_PROP_NAME + +stagesCounter + +" value isn't correctly set"); + return; + } + //one time for one stage getting the action and repeatable if any + actionName = context.getProperty(STAGE_PROP_NAME + +stagesCounter + +STAGE_ACTION_PROP_SUFFIX); + + actionArgument = context.getProperty(STAGE_PROP_NAME + +stagesCounter + +STAGE_ACTION_ARGUMENT_PROP_SUFFIX); + + String rp = context.getProperty(STAGE_PROP_NAME + +stagesCounter + +STAGE_REPEATABLE_PROP_SUFFIX); + repeatable =(new Boolean(rp)).booleanValue(); + + } + + if (!reqStage.equals(curStage)) { + context.registerFAILED("Current "+curStage.getName() + +" isn't equal to required "+reqStage.getName()); + return; + } else if (stagesCounter == stagesNumber) { + context.registerPASSED(""); + } + + if (actionName != null && !runAction(actionName, actionArgument, context)) { + context.registerFAILED(STAGE_PROP_NAME+stagesCounter + +STAGE_ACTION_PROP_SUFFIX + +" value "+actionName+" isn't correct"); + return; + } + + + } + + public static String getActionClear(){ + String res = action; + action = null; + return res; + } + + private boolean runAction(String actionName, String actionArgument, TestContext context) { + if (actionName == null){ + return true; + } else if (actionName.equalsIgnoreCase(LOAD_STREAM_ACTION_NAME)){ + readStream(context); + return true; + } else if (actionName.equalsIgnoreCase(WINDOW_CLOSE_ACTION_NAME)) { + action = WINDOW_CLOSE_ACTION_NAME; + return true; + } else if (actionName.equalsIgnoreCase(WINDOW_RELOAD_ACTION_NAME)) { + action = WINDOW_RELOAD_ACTION_NAME; + return true; + } else if (actionName.equalsIgnoreCase(LOAD_DEFAULT_BACK_URL_ACTION_NAME)) { + action = LOAD_DEFAULT_BACK_URL_ACTION_NAME; + return true; + } else if (actionName.equalsIgnoreCase(BACK_ACTION_NAME)) { + action = BACK_ACTION_NAME; + return true; + } + return false; + + } + + + private boolean readStream(TestContext context) { + int lengthToRead = context.getLength(); + InputStream is = context.getInputStream(); + byte buf[] = new byte[1024]; + int readLength = 0; + try { + int l; + while (readLength < lengthToRead) { + l = is.read(buf, 0, 1024); + if (l > 0) { + readLength += l; + } else { + break; + } + } + } catch (IOException e) { + return false; + } + return true; + + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/back.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/back.html new file mode 100644 index 00000000000..ebb76efcbd6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/back.html @@ -0,0 +1,8 @@ + +Default document for returning back. + + +You should automatically return back from this page. + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/basframes.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/basframes.html new file mode 100644 index 00000000000..a6e486ad21e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/basframes.html @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/bastest.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/bastest.html new file mode 100644 index 00000000000..1afe12fdc34 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/bastest.html @@ -0,0 +1,16 @@ + +Scenario test page + + + + + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/bastestsrc.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/bastestsrc.html new file mode 100644 index 00000000000..2b45797da7b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/bastestsrc.html @@ -0,0 +1,16 @@ + +Scenario test page + + + + + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/empty.html new file mode 100644 index 00000000000..bf07f9eab34 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/empty.html @@ -0,0 +1,5 @@ + + +Intentionally empty page. + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/forward.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/forward.html new file mode 100644 index 00000000000..5ff6f1ac954 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/forward.html @@ -0,0 +1,14 @@ + + Page for automatically forward + + +After you have seen this page the forward should be done automatically + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr1/TestProperties new file mode 100644 index 00000000000..5f8903ea113 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr1/TestProperties @@ -0,0 +1,22 @@ +# test for sequencial calling of methods of plugin during starting +# and closing the browser +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/basframes.html +RUN_STAGES= \ + PLUGLET_INITIALIZE \ + PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY \ + PLUGLET_SHUTDOWN +STAGES_NUMBER=7 +STAGE_1=PLUGLET_INITIALIZE +STAGE_2=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_3=PLUGLET_INSTANCE_INITIALIZE +STAGE_4=PLUGLET_INSTANCE_START +STAGE_4_ACTION=WINDOW_CLOSE +STAGE_5=PLUGLET_INSTANCE_STOP +STAGE_6=PLUGLET_INSTANCE_DESTROY +STAGE_7=PLUGLET_SHUTDOWN diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr2/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr2/TestProperties new file mode 100644 index 00000000000..2009971cad4 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr2/TestProperties @@ -0,0 +1,17 @@ +# test for calling of start-stop methods of plugin instance during loading +# new page and returning back to this page +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/basframes.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY +STAGES_NUMBER=5 +STAGE_1=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_2=PLUGLET_INSTANCE_INITIALIZE +STAGE_3=PLUGLET_INSTANCE_START +STAGE_3_ACTION=LOAD_DEFAULT_BACK_URL +STAGE_4=PLUGLET_INSTANCE_STOP +STAGE_5=PLUGLET_INSTANCE_START diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr3/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr3/TestProperties new file mode 100644 index 00000000000..f751a5199a1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/fr3/TestProperties @@ -0,0 +1,18 @@ +# test for calling of start-stop methods of plugin instance +# during reloading of the page +PLUGLET=buildclassesorgmozillapluglettestbasicscenarioTestSeqScenarioPluglet.jar +TEST_CLASS=org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest +TEST_HTML=basic/scenario/basframes.html +RUN_STAGES=PLUGLET_CREATE_PLUGLET_INSTANCE \ + PLUGLET_INSTANCE_INITIALIZE \ + PLUGLET_INSTANCE_START \ + PLUGLET_INSTANCE_STOP \ + PLUGLET_INSTANCE_DESTROY +STAGES_NUMBER=5 +STAGE_1=PLUGLET_CREATE_PLUGLET_INSTANCE +STAGE_2=PLUGLET_INSTANCE_INITIALIZE +STAGE_3=PLUGLET_INSTANCE_START +STAGE_3_ACTION=WINDOW_RELOAD +STAGE_4=PLUGLET_INSTANCE_STOP +STAGE_5=PLUGLET_INSTANCE_START + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/makefile.win new file mode 100644 index 00000000000..74a86267a02 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/makefile.win @@ -0,0 +1,63 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + + +DEPTH=..\..\..\..\..\..\.. +COMMON_CONFIG_FILE=$(DEPTH)\config\CommonProperties +UTIL_DIR=$(DEPTH)\utils +BUILD_DIR=$(DEPTH)\build +BUILD_DIR_CLASSES=$(BUILD_DIR)\classes +JAVAC=javac +BASIC_PATH=org\mozilla\pluglet\test\basic +CLASSPATH=$(BUILD_DIR_CLASSES);$(CLASSPATH) + +all: 1 2 3 4 5 8 9 fr1 fr2 fr3 TestSeqScenarioPluglet.jar + +classes: + @echo Building .basic.scenario classes ... + @$(JAVAC) -d $(BUILD_DIR_CLASSES) *.java + @echo done + +add_files: + xcopy manifest $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\scenario + +TestSeqScenarioPluglet.jar: classes add_files + cd $(BUILD_DIR_CLASSES) + $(JDKHOME)\bin\jar cvfm $(BASIC_PATH)\scenario\TestSeqScenarioPluglet.jar $(BASIC_PATH)\scenario\manifest $(BASIC_PATH)\*.class $(BASIC_PATH)\scenario\*.class + + + +clobber: + @cd $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\scenario + -del *.class *.jar + +1 2 3 4 5 8 9 fr1 fr2 fr3 :: + @echo Making test $@ + -1 mkdir $(HTML_ROOT_DIR)\basic + -1 mkdir $(HTML_ROOT_DIR)\basic\scenario + -1 copy *.html $(HTML_ROOT_DIR)\basic\scenario + -1 copy *.js $(HTML_ROOT_DIR)\basic\scenario + -1 mkdir $(BUILD_DIR)\test\basic\scenario\$@ + -1 mkdir $(HTML_ROOT_DIR)\basic\scenario\$@ + perl $(UTIL_DIR)\configurator.pl $(COMMON_CONFIG_FILE) $(BUILD_DIR)\test\basic\scenario\$@\TestProperties $@\TestProperties + -1 copy $@\*.html $(HTML_ROOT_DIR)\basic\scenario\$@ + -1 copy $@\*.js $(HTML_ROOT_DIR)\basic\scenario\$@ diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/manifest new file mode 100644 index 00000000000..52973a00921 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-scenario-pluglet::Pluglet Scenario Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/performAction.js b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/performAction.js new file mode 100644 index 00000000000..0cc842a37a9 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/performAction.js @@ -0,0 +1,28 @@ +var timeout=2000; + +function performActionIfNeed() { + action = Packages.org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest.getActionClear(); + dump("performing "+action+"\n"); + if (action) { + if (action == "BACK") { + window.back(); + + } else if (action == "FORWARD") { + window.forward(); + + } else if (action == "LOAD_DEFAULT_BACK_URL") { + dump("performing "+action+"\n"); + window.location = "back.html"; + + } else if (action == "WINDOW_RELOAD") { + window.location.reload(); + + } else if (action == "WINDOW_CLOSE") { + window.close(); + } + + } + + setTimeout("performActionIfNeed()",timeout); +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/BasicSecurityTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/BasicSecurityTest.java new file mode 100644 index 00000000000..6bd028c0c64 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/BasicSecurityTest.java @@ -0,0 +1,32 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +public class BasicSecurityTest { + + boolean mustPass; + + public void doAction( ) { + }; + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/DeleteFileTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/DeleteFileTest.java new file mode 100644 index 00000000000..cebd77d9592 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/DeleteFileTest.java @@ -0,0 +1,77 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.io.*; + +public class DeleteFileTest extends BasicSecurityTest implements Test { + +private String filename; + +/** + * a dummy constructor + */ +public DeleteFileTest() { +}; + +/** + * do the specified legal or illegal action + */ +protected void doDeleteFile() throws Exception { + File file = new File(filename); + file.delete(); +}; + +/** + * The general test procedure - we define if test failed or passed + * using the mustPass variable, which was defined in the superclass. + * + */ +public void execute( TestContext c ) { + + System.out.println("Test execution goes...."); + mustPass = false; + + if ( (c.getProperty("DeleteFileTest.mustPass")).equals(new String("true")) ) { + mustPass = true; + }; + + + filename = c.getProperty("DeleteFileTest.FileName"); + + try { + doDeleteFile(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed - file was deleted!.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/GetClipboardTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/GetClipboardTest.java new file mode 100644 index 00000000000..bb9f2bfaa0f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/GetClipboardTest.java @@ -0,0 +1,67 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.io.*; + +public class GetClipboardTest extends BasicSecurityTest implements Test { + + public GetClipboardTest() { + } + + protected void doGetClipboard() throws Exception { + Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); + StringSelection contents = new StringSelection("This is the contents of the clipboard.\n"); + clipboard.setContents(contents,null); + Transferable content = clipboard.getContents(null); + if (content != null) { + String dstData = (String)(content.getTransferData(DataFlavor.stringFlavor)); + } + } + + public void execute( TestContext c ) { + + mustPass = false; + + if ((c.getProperty("GetClipboardTest.mustPass")).equals(new String("true"))) { + mustPass = true; + }; + + try { + doGetClipboard(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/GetSysPropsTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/GetSysPropsTest.java new file mode 100644 index 00000000000..5dd929a43b5 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/GetSysPropsTest.java @@ -0,0 +1,78 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class GetSysPropsTest extends BasicSecurityTest implements Test { + + public GetSysPropsTest() { + } + +protected void doGetProperties(String text) throws Exception { + + Properties props; + + if (text.equals("all")) { + props = System.getProperties(); + + for (Enumeration enum = props.propertyNames(); + enum.hasMoreElements();) { + String key = (String) enum.nextElement(); + } + } else { + System.getProperty(text); + } +} + +public void execute( TestContext c ) { + + mustPass = false; + + if ( (c.getProperty("GetSysPropsTest.mustPass")).equals( new String("true") ) ) { + mustPass = true; + }; + + String param = c.getProperty("GetSysPropsTest.propertyName"); + + try { + doGetProperties(param); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } +} + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile new file mode 100644 index 00000000000..e99243f9426 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile @@ -0,0 +1,73 @@ +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + +DEPTH =../../../../../../.. +PL_DEPTH =../../../../../../../.. +BUILD_DIR =$(DEPTH)/build +UTIL_DIR =$(DEPTH)/utils +BUILD_DIR_CLASSES =$(BUILD_DIR)/classes +BASIC_PATH =org/mozilla/pluglet/test/basic +SRC_PATH =. +AUTOMATION_PATH =./automation +CONFIG_DIR =$(DEPTH)/config +TEMPLATE_FILE =$(CONFIG_DIR)/SecurityTests.template +KEY_LIST_FILE =$(CONFIG_DIR)/SecurityTests.keys +TARGET_FILE =$(CONFIG_DIR)/SecurityTests.properties +CONFIG_SCRIPT =$(UTIL_DIR)/configurator.pl +TREE_GEN_SCRIPT =tree-gen.pl +CLASSPATH =$(BUILD_DIR_CLASSES) +#;$(CLASSPATH) +PERL =perl +JAVAC =javac + +all: config common_html test_pluglet + +# +# Call the configuration utility and prepare the .properties file +# +config: + @echo Configuring properties ... + @$(PERL) $(CONFIG_SCRIPT) $(KEY_LIST_FILE) $(TARGET_FILE) $(TEMPLATE_FILE) + @cd util; \ + $(PERL) $(TREE_GEN_SCRIPT) $(PL_DEPTH) +common_html: + @echo HTML_ROOT_DIR is "$(HTML_ROOT_DIR)" + @mkdir -p $(HTML_ROOT_DIR)/security + @cp -f bastest.html $(HTML_ROOT_DIR)/security +classes: + @echo Building security tests ... + @$(JAVAC) -classpath $(CLASSPATH) -d $(BUILD_DIR_CLASSES) $(SRC_PATH)/*.java + @echo Building security automation tests ... + @$(JAVAC) -classpath $(CLASSPATH) -d $(BUILD_DIR_CLASSES) $(AUTOMATION_PATH)/*.java +test_pluglet: classes + @cp -f manifest $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/security + @cd $(BUILD_DIR_CLASSES); \ + $(JDKHOME)/bin/jar cfm $(BASIC_PATH)/security/TestSecurityPluglet.jar \ + $(BASIC_PATH)/security/manifest $(BASIC_PATH)/*.class \ + $(BASIC_PATH)/security/*.class $(BASIC_PATH)/security/automation/*.class +clobber: + @if [ -e $(HTML_ROOT_DIR)/security ]; then \ + rm -rf $(HTML_ROOT_DIR)/security/*; \ + fi + @if [ -e $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/security ] ;then \ + rm -rf $(BUILD_DIR_CLASSES)/$(BASIC_PATH)/security/* ; \ + fi + @if [ -e $(BUILD_DIR)/test/basic/security ]; then \ + rm -rf $(BUILD_DIR)/test/basic/security/*; \ + fi diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile.win new file mode 100644 index 00000000000..1df2decefc7 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile.win @@ -0,0 +1,67 @@ +#!nmake +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): + + +DEPTH =..\..\..\..\..\..\.. +PL_DEPTH =../../../../../../../.. +BUILD_DIR =$(DEPTH)\build +UTIL_DIR =$(DEPTH)\utils +BUILD_DIR_CLASSES =$(BUILD_DIR)\classes +BASIC_PATH =org\mozilla\pluglet\test\basic +SRC_PATH =. +AUTOMATION_PATH =.\automation +CONFIG_DIR =$(DEPTH)\config +TEMPLATE_FILE =$(CONFIG_DIR)\SecurityTests.template +KEY_LIST_FILE =$(CONFIG_DIR)\SecurityTests.keys +TARGET_FILE =$(CONFIG_DIR)\SecurityTests.properties +CONFIG_SCRIPT =$(UTIL_DIR)\configurator.pl +TREE_GEN_SCRIPT =tree-gen.pl +CLASSPATH =$(BUILD_DIR_CLASSES) +#;$(CLASSPATH) +PERL =perl +JAVAC =javac + +all: config common_html test_pluglet + +# +# Call the configuration utility and prepare the .properties file +# +config: + @echo Configuring properties ... + @$(PERL) $(CONFIG_SCRIPT) $(KEY_LIST_FILE) $(TARGET_FILE) $(TEMPLATE_FILE) + @cd util + @$(PERL) $(TREE_GEN_SCRIPT) $(PL_DEPTH) + @cd .. +common_html: + @echo HTML_ROOT_DIR is "$(HTML_ROOT_DIR)" + @-1 mkdir $(HTML_ROOT_DIR)\security + @copy bastest.html $(HTML_ROOT_DIR)\security +classes: + @echo Building security tests ... + @$(JAVAC) -classpath $(CLASSPATH) -d $(BUILD_DIR_CLASSES) $(SRC_PATH)\*.java + @echo Building security automation tests ... + @$(JAVAC) -classpath $(CLASSPATH) -d $(BUILD_DIR_CLASSES) $(AUTOMATION_PATH)\*.java +test_pluglet: classes + @copy manifest $(BUILD_DIR_CLASSES)\$(BASIC_PATH)\security + @cd $(BUILD_DIR_CLASSES) + @$(JDKHOME)\bin\jar cvfm $(BASIC_PATH)\security\TestSecurityPluglet.jar $(BASIC_PATH)\security\manifest $(BASIC_PATH)\*.class $(BASIC_PATH)\security\*.class $(BASIC_PATH)\security\automation\*.class + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/OpenWinTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/OpenWinTest.java new file mode 100644 index 00000000000..b10f7e3a75c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/OpenWinTest.java @@ -0,0 +1,64 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class OpenWinTest extends BasicSecurityTest implements Test { + +public OpenWinTest() { +} + +protected void doOpenWindow() { + Frame dlg = new Frame("New Frame"); + dlg.show(); +} + +public void execute( TestContext c ) { + mustPass = false; + + if ((c.getProperty("OpenWinTest.mustPass")).equals(new String("true"))) { + mustPass = true; + }; + + try { + doOpenWindow(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/PrintTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/PrintTest.java new file mode 100644 index 00000000000..1f9acd29d3f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/PrintTest.java @@ -0,0 +1,83 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class PrintTest extends BasicSecurityTest implements Test { + +public PrintTest() { +} + +protected void doPrint() throws Exception { + + Toolkit tk = java.awt.Toolkit.getDefaultToolkit(); + Frame f = new Frame(""); + + PrintJob job = tk.getPrintJob(f, + "Security Test - Print", + new Properties()); + + if (job != null) { + Graphics g = job.getGraphics(); + + try { + f.print(g); + } finally { + g.dispose(); + } + + job.finalize(); + } + +} + +public void execute( TestContext c ) { + + mustPass = false; + + if ((c.getProperty("PrintTest.mustPass")).equals(new String("true"))) { + mustPass = true; + }; + + try { + doPrint(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed - file was deleted!.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } +} + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/ReadFileTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/ReadFileTest.java new file mode 100644 index 00000000000..a45a636b572 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/ReadFileTest.java @@ -0,0 +1,84 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class ReadFileTest extends BasicSecurityTest implements Test { + +private String filename; + +public ReadFileTest() { +} + +protected void doReadFile( ) throws Exception { + + byte[] buffer = new byte[1024]; + FileInputStream file; + file = new FileInputStream(filename); + + if (file == null) { + return; + } + + int len; + + while (file.available() > 0) { + len = file.read(buffer, 0, 1024); + } + + file.close(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if ((c.getProperty("ReadFileTest.mustPass")).equals(new String("true"))) { + mustPass = true; + }; + + filename = c.getProperty("ReadFileTest.FileName"); + + try { + doReadFile(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed - file was deleted!.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } +} + + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/RemoteConnectTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/RemoteConnectTest.java new file mode 100644 index 00000000000..f791d6bf109 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/RemoteConnectTest.java @@ -0,0 +1,75 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class RemoteConnectTest extends BasicSecurityTest implements Test { + +public RemoteConnectTest() { +} + +protected void doRemoteConnect(String str) throws Exception { + + URL url = new URL(str); + URLConnection conn = url.openConnection(); + + InputStream is = conn.getInputStream(); + DataInputStream data = new DataInputStream(new BufferedInputStream(is)); + String line; + + while ((line = data.readLine()) != null) { + } +} + +public void execute( TestContext c ) { + mustPass = false; + + if ((c.getProperty("RemoteConnectTest.mustPass")).equals(new String("true"))) { + mustPass = true; + }; + + String url = c.getProperty("RemoteConnectTest.URL"); + + try { + doRemoteConnect(url); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed.\nSeems to be a security hole.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + +} + +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/RunProgramTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/RunProgramTest.java new file mode 100644 index 00000000000..cef118ba8d2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/RunProgramTest.java @@ -0,0 +1,85 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class RunProgramTest extends BasicSecurityTest implements Test { + +public RunProgramTest() { +} + +protected void doRunProgram(String string) throws Exception { + + Runtime rt = Runtime.getRuntime(); + Process p1 = rt.exec(string); + + InputStream out = p1.getInputStream(); + + byte[] buf = new byte[2048]; + + while (out.read(buf) != -1) { + String str = new String(buf, 0); + } + out.close(); + + InputStream err = p1.getErrorStream(); + while (err.read(buf) != -1) { + String str = new String(buf, 0); + } + + err.close(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if ((c.getProperty("RunProgramTest.mustPass")).equals(new String("true")) ) { + mustPass = true; + }; + + String cmd = c.getProperty("RunProgramTest.command"); + + try { + doRunProgram(cmd); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed.\nSeems to be a security hole.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + +} + +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/SecurityTest.properties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/SecurityTest.properties new file mode 100644 index 00000000000..632f5e92042 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/SecurityTest.properties @@ -0,0 +1,37 @@ +# +# SecurityTests.properties +# +# + +# DeleteFileTest properties +DeleteFileTest.FileName = somefile.nul +DeleteFileTest.mustPass = false + +# GetClipboardTest properties +GetClipboardTest.mustPass = false + +# GetSysPropsTest properties +GetSysPropsTest.propertyName = all +GetSysPropsTest.mustPass = false + +# OpenWinTest properties +OpenWinTest.mustPass = false + +# PrintTest properties +PrintTest.mustPass = false + +# ReadFileTest properties +ReadFileTest.mustPass = false +ReadFileTest.FileName = somefile.read + +# RemoteConnectTest properties +ReadFileTest.mustPass = false +RemoteConnectTest.URL = http://www.sun.com + +# RunProgramTest properties +ReadFileTest.mustPass = false +RemoteConnectTest.command = cmd.exe + +# WriteFileTest properties +WriteFileTest.mustPass = false +WriteFileTest.FileName = somefile.nul \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/WriteFileTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/WriteFileTest.java new file mode 100644 index 00000000000..0348851736e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/WriteFileTest.java @@ -0,0 +1,75 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ +package org.mozilla.pluglet.test.basic.security; + +import org.mozilla.pluglet.test.basic.*; + +import java.awt.*; +import java.awt.datatransfer.*; +import java.applet.*; +import java.io.*; +import java.net.*; +import java.util.*; + +public class WriteFileTest extends BasicSecurityTest implements Test { + +private String filename; + +public WriteFileTest() { +} + +protected void doWriteFile() throws Exception { + + String text = "foo"; + FileOutputStream out = new FileOutputStream(filename); + PrintStream ps = new PrintStream(out, true); + ps.println(text); + ps.close(); + +} + +public void execute( TestContext c ) { + + mustPass = false; + + if ((c.getProperty("WriteFileTest.mustPass")).equals(new String("true"))) { + mustPass = true; + }; + + filename = c.getProperty("WriteFileTest.FileName"); + + try { + doWriteFile(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String("Illegal operation performed - file was saved.\nSeems to be a security hole.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } +} + +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestCanRead.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestCanRead.java new file mode 100644 index 00000000000..300ea5d8501 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestCanRead.java @@ -0,0 +1,63 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestCanRead implements Test { + +private String description = "File.canRead()"; +private boolean mustPass; +private String fName = null; + +public void doAction() { + File f = new File(fName); + f.canRead(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestCanRead.mustPass").equals( new String("true") )) { + mustPass = true; + }; + String testDir = c.getTestDir(); + fName = testDir + "/" + c.getProperty("SecTestCanRead.fName"); + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } +} + +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestCanWrite.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestCanWrite.java new file mode 100644 index 00000000000..22178e62091 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestCanWrite.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestCanWrite implements Test { + +private String description = "File.canWrite()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.canWrite(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestCanWrite.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestClipboard.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestClipboard.java new file mode 100644 index 00000000000..134a1222903 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestClipboard.java @@ -0,0 +1,72 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.awt.datatransfer.*; +import java.awt.*; +import java.io.*; + +public class SecTestClipboard implements Test { + +private String description = " read/write clipboard"; +private boolean mustPass; + +public void doAction() throws Exception { + Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); + StringSelection contents = new StringSelection("clipboard contents\n"); + + + clipboard.setContents( contents, null ); + + Transferable content = clipboard.getContents( this ); + + if (content != null) + { + String dstData = (String) + content.getTransferData( DataFlavor.stringFlavor ); + } +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestClipboard.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestDelete.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestDelete.java new file mode 100644 index 00000000000..cc8a6a72c0e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestDelete.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestDelete implements Test { + +private String description = " File.delete()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.delete(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestDelete.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestEnv.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestEnv.java new file mode 100644 index 00000000000..d31b417af19 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestEnv.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestEnv implements Test { + +private String description = "call getenv()"; +private boolean mustPass; + +public void doAction() throws Exception { + String value = System.getenv("PATH"); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestEnv.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch(Error e) { + c.registerFAILED("This test is valid only for use with JDK <= 1.2.x: " + e.toString()); + }catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + }catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestExists.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestExists.java new file mode 100644 index 00000000000..82441704171 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestExists.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestExists implements Test { + +private String description = " File.exists()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.exists(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestExists.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileDescriptorIn.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileDescriptorIn.java new file mode 100644 index 00000000000..7462dfc6676 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileDescriptorIn.java @@ -0,0 +1,58 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestFileDescriptorIn implements Test { + +private String description = " open FileDescriptor()"; +boolean mustPass; + +public void doAction() { + FileInputStream fi = new FileInputStream( FileDescriptor.in ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestFileDescriptorIn.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileDescriptorOut.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileDescriptorOut.java new file mode 100644 index 00000000000..278035a2176 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileDescriptorOut.java @@ -0,0 +1,59 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + + +public class SecTestFileDescriptorOut implements Test { + +private String description = " open FileDescriptor()"; +boolean mustPass; + +public void doAction() { + FileOutputStream f = new FileOutputStream( FileDescriptor.out ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestFileDescriptorOut.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileInputStream.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileInputStream.java new file mode 100644 index 00000000000..456d0f64c7e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileInputStream.java @@ -0,0 +1,63 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestFileInputStream implements Test { + +private String description = " new FileInputStream()"; +private boolean mustPass; +private String fName; + +public void doAction() throws Exception { + FileInputStream fs; + fs = new FileInputStream( fName ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestFileInputStream.mustPass").equals( new String("true") )) { + mustPass = true; + }; + String testDir = c.getTestDir(); + fName = testDir + "/" + c.getProperty("SecTestFileInputStream.fName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileOutputStream.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileOutputStream.java new file mode 100644 index 00000000000..789f520b35a --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestFileOutputStream.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestFileOutputStream implements Test { + +private String description = " new FileOutputStream()"; +private boolean mustPass; + +public void doAction() throws Exception { + FileOutputStream fs; + fs = new FileOutputStream("foo"); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestFileOutputStream.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetAbsolutePath.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetAbsolutePath.java new file mode 100644 index 00000000000..f48924723b2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetAbsolutePath.java @@ -0,0 +1,65 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestGetAbsolutePath implements Test { + +private String description = " File.getAbsolutePath()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + String value = f.getAbsolutePath(); + if (value != null) + { + System.out.println("Value of Absolute path is " + value); + } +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetAbsolutePath.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetCanonicalPath.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetCanonicalPath.java new file mode 100644 index 00000000000..0571d01c79d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetCanonicalPath.java @@ -0,0 +1,65 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestGetCanonicalPath implements Test { + +private String description = " File.getCanonicalPath()"; +private boolean mustPass; + +public void doAction() throws Exception { + File f = new File("foo"); + String value = f.getCanonicalPath(); + if (value != null) + { + System.out.println("Value of Absolute path is " + value); + } + +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetCanonicalPath.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetContent.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetContent.java new file mode 100644 index 00000000000..d1333bee0f2 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetContent.java @@ -0,0 +1,75 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.net.*; +import java.io.*; + +public class SecTestGetContent implements Test { + +private String description = "getContent "; +private String fName; +private boolean mustPass; + +void dumpInputStream( InputStream is, boolean doAll ) throws java.lang.Exception { + BufferedReader data = new BufferedReader( new InputStreamReader(is) ); + + String line; + while ((line = data.readLine()) != null) { + System.out.println( line ); + if (!doAll) break; + } +} + + +public void doAction() throws Exception { + URL url = new URL("file",null,fName); + Object content = url.getContent(); + dumpInputStream( (InputStream) content, true ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetContent.mustPass").equals( new String("true") )) { + mustPass = true; + }; + String testDir = c.getTestDir(); + fName = testDir + "/" + c.getProperty("SecTestGetContent.fName"); + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetParent.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetParent.java new file mode 100644 index 00000000000..5d0f6871e41 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetParent.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestGetParent implements Test { + +private String description = " File.getParent()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + String value = f.getParent(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetParent.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetPath.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetPath.java new file mode 100644 index 00000000000..1641fd94a40 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetPath.java @@ -0,0 +1,65 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + + +public class SecTestGetPath implements Test { + +private String description = " File.getPath()"; +private String fName; +private boolean mustPass; + +public void doAction() { + File f = new File( fName ); + String value = f.getPath(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetPath.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fName = c.getProperty("SecTestGetPath.fName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetProps.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetProps.java new file mode 100644 index 00000000000..a718efaa4bf --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetProps.java @@ -0,0 +1,60 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.util.*; + +public class SecTestGetProps implements Test { + +private String description = " call getProperties()"; +private boolean mustPass; + +public void doAction() { + Properties props = System.getProperties(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetProps.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetSecMgr.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetSecMgr.java new file mode 100644 index 00000000000..9a24a720098 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestGetSecMgr.java @@ -0,0 +1,59 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestGetSecMgr implements Test { + +private String description = " getSecurityManager"; +private boolean mustPass; + +public void doAction() { + SecurityManager x = System.getSecurityManager(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestGetSecMgr.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestIsDirectory.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestIsDirectory.java new file mode 100644 index 00000000000..47988133502 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestIsDirectory.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestIsDirectory implements Test { + +private String description = " File.isDirectory()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.isDirectory(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestIsDirectory.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestIsFile.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestIsFile.java new file mode 100644 index 00000000000..aaf8058a113 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestIsFile.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestIsFile implements Test { + +private String description = " File.isFile()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.isFile(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestIsFile.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestLastModified.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestLastModified.java new file mode 100644 index 00000000000..16ee779ce9c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestLastModified.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestLastModified implements Test { + +private String description = " File.lastModified()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.lastModified(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestLastModified.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestLength.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestLength.java new file mode 100644 index 00000000000..74ed910ff67 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestLength.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestLength implements Test { + +private String description = " File.length()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.length(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestLength.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestList.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestList.java new file mode 100644 index 00000000000..cf11fb17ec0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestList.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestList implements Test { + +private String description = " File.list(s)"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.list(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestList.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestListJSFilter.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestListJSFilter.java new file mode 100644 index 00000000000..633ddde6a7e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestListJSFilter.java @@ -0,0 +1,69 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestListJSFilter implements Test { + +private String description = " File.list(s) "; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.list( new JavaSrcFilter() ); + +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestListJSFilter.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + +class JavaSrcFilter implements FilenameFilter +{ + public boolean accept( File dir, String name ) + { + return( name.endsWith(".java") ); + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestMkdir.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestMkdir.java new file mode 100644 index 00000000000..8ddfb4782ff --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestMkdir.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestMkdir implements Test { + +private String description = " File.mkdir(s)"; +private boolean mustPass; + +public void doAction() { + File f = new File("testdir"); + f.mkdir (); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestMkdir.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestMkdirs.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestMkdirs.java new file mode 100644 index 00000000000..2998cdac02c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestMkdirs.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestMkdirs implements Test { + +private String description = " File.mkdir(s)"; +private boolean mustPass; + +public void doAction() { + File f = new File("testdir"); + f.mkdir (); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestMkdirs.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestOpenConx.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestOpenConx.java new file mode 100644 index 00000000000..8944835cb50 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestOpenConx.java @@ -0,0 +1,78 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.net.*; +import java.io.*; + +public class SecTestOpenConx implements Test { + +private String description = " openConnection "; +private String fName; +private boolean mustPass; + +void dumpInputStream( InputStream is, boolean doAll ) throws java.lang.Exception { + BufferedReader data = new BufferedReader( new InputStreamReader(is) ); + + String line; + while ((line = data.readLine()) != null) { + System.out.println( line ); + if (!doAll) break; + } +} + + +public void doAction() throws Exception { + URL url = new URL( fName ); + URLConnection conn = url.openConnection(); + InputStream is = conn.getInputStream(); + dumpInputStream( is, true ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestOpenConx.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fName = c.getProperty("SecTestOpenConx.URL"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestPrintStream.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestPrintStream.java new file mode 100644 index 00000000000..021c9d00955 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestPrintStream.java @@ -0,0 +1,67 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.awt.*; +import java.io.*; + +public class SecTestPrintStream implements Test { + +private String description = " PrintStream.print()"; +private boolean mustPass; + +public void doAction() throws Exception { + + PrintStream ps = new PrintStream( + new BufferedOutputStream( + new FileOutputStream("mrm"), + 128 ), + true ); + ps.println( "writing to mrm" ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestPrintStream.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRandomAccess.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRandomAccess.java new file mode 100644 index 00000000000..450e39f5ef0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRandomAccess.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestRandomAccess implements Test { + +private String description = " RandomAccessFile I/O"; +private boolean mustPass; + +public void doAction() throws Exception { + String access = "r"; + RandomAccessFile r = new RandomAccessFile( "foo", access ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestRandomAccess.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRandomAccessRW.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRandomAccessRW.java new file mode 100644 index 00000000000..8cdb6e8f263 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRandomAccessRW.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestRandomAccessRW implements Test { + +private String description = " RandomAccessFile I/O"; +private boolean mustPass; + +public void doAction() throws Exception { + String access = "rw"; + RandomAccessFile r = new RandomAccessFile( "foo", access ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestRandomAccessRW.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRenameTo.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRenameTo.java new file mode 100644 index 00000000000..19b3b63b0e0 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRenameTo.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; + +public class SecTestRenameTo implements Test { + +private String description = " File.renameTo()"; +private boolean mustPass; + +public void doAction() { + File f = new File("foo"); + f.renameTo( new File("bar") ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestRenameTo.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunExec.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunExec.java new file mode 100644 index 00000000000..e57bfff8b28 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunExec.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestRunExec implements Test { + +private String description = " call Runtime.exec()"; +private String fExec; +private boolean mustPass; + +public void doAction() throws Exception { + Runtime rt = Runtime.getRuntime(); + rt.exec( fExec ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestRunExec.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fExec = c.getProperty("SecTestRunExec.fExec"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunExit.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunExit.java new file mode 100644 index 00000000000..98ac15660ec --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunExit.java @@ -0,0 +1,57 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestRunExit implements Test { + +private String description = " call Runtime.exit()"; +private boolean mustPass; + +public void doAction() { + Runtime.getRuntime().exit( 1 ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestRunExit.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunLoad.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunLoad.java new file mode 100644 index 00000000000..e0715021ebd --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunLoad.java @@ -0,0 +1,74 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.File; +import java.util.StringTokenizer; + +public class SecTestRunLoad implements Test { + +private String description = " call Runtime.load()"; +private String libName; +private boolean mustPass; + +public void doAction() { + Runtime.getRuntime().load( libName ); +} + +public void execute( TestContext c ) { + String fileName = null; + String libPath = null; + mustPass = false; + + if (c.getProperty("SecTestRunLoad.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + + fileName = System.mapLibraryName(c.getProperty("SecTestRunLoad.libName")); + libPath = System.getProperty("java.library.path"); + String pathSeparator = System.getProperty("path.separator"); + String fileSeparator = System.getProperty("file.separator"); + for(StringTokenizer st = new StringTokenizer(libPath,pathSeparator);st.hasMoreElements();) { + libName = st.nextToken() + fileSeparator + fileName; + if ((new File(libName)).exists()) { + break; + } + } + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunLoadLib.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunLoadLib.java new file mode 100644 index 00000000000..3a28f0ecd59 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestRunLoadLib.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestRunLoadLib implements Test { + +private String description = " call Runtime.loadLib()"; +private String libName; +private boolean mustPass; + +public void doAction() { + Runtime.getRuntime().loadLibrary( libName ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestRunLoadLib.mustPass").equals( new String("true") )) { + mustPass = true; + }; + libName = c.getProperty("SecTestRunLoadLib.libName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSetSecMgr.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSetSecMgr.java new file mode 100644 index 00000000000..311d3a77805 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSetSecMgr.java @@ -0,0 +1,87 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.security.*; + +public class SecTestSetSecMgr implements Test { + +private String description = " setSecurityManager"; +private boolean mustPass; + +public void doAction() { + ASSSM1 sm = new ASSSM1(); + System.setSecurityManager( sm ); + + // if we got here then try it out... + sm.printClassDepth("ASSSM2"); // -1 + sm.printClassDepth("ASSSM1"); // 0 + sm.printClassDepth("AppSecSetSecMgr"); // 1 + + ASSSM2.printClassDepth("ASSSM2"); // 1 + ASSSM2.printClassDepth("ASSSM1"); // 0 + ASSSM2.printClassDepth("AppSecSetSecMgr"); // 2 + +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestSetSecMgr.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + +class ASSSM1 extends SecurityManager +{ + public void printClassDepth( String name ) + { + System.out.println( classDepth( name ) ); + } +} + +class ASSSM2 +{ + static void printClassDepth( String name ) + { + ((ASSSM1) System.getSecurityManager()).printClassDepth( name ); + } +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSocket.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSocket.java new file mode 100644 index 00000000000..cc1558bffff --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSocket.java @@ -0,0 +1,83 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; +import java.net.*; + +public class SecTestSocket implements Test { + +private String description = " setSecurityManager"; +private String fHost; +private String fPort; +private boolean mustPass; + +void dumpInputStream( InputStream is, boolean doAll ) throws java.lang.Exception { + BufferedReader data = new BufferedReader( new InputStreamReader(is) ); + + String line; + while ((line = data.readLine()) != null) { + System.out.println( line ); + if (!doAll) break; + } +} + +public void doAction() throws Exception { + + Socket es = new Socket( fHost, Integer.parseInt(fPort) ); + DataOutputStream os = new DataOutputStream( es.getOutputStream() ); + + os.writeBytes( "GET / HTTP/1.0\n\n" ); + + dumpInputStream( es.getInputStream(), true ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestSocket.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fHost = c.getProperty("SecTestSocket.fHost"); + fPort = c.getProperty("SecTestSocket.fPort"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSysExit.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSysExit.java new file mode 100644 index 00000000000..8334cf37c68 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestSysExit.java @@ -0,0 +1,60 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestSysExit implements Test { + +private String description = " call System.exit()"; +private boolean mustPass; + +public void doAction() { + System.exit( 1 ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestSysExit.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestURLFac.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestURLFac.java new file mode 100644 index 00000000000..c102d810055 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestURLFac.java @@ -0,0 +1,88 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; +import java.io.*; +import java.util.*; +import java.net.*; + +public class SecTestURLFac implements Test { + +private String description = " setURLStreamHandlerFactory"; +private String fFac; +private boolean mustPass; + +/* +**This class is dummy stub for test setURLStreamHandlerFactory method. +*/ +private class SecTestURLStreamHandlerFactory implements URLStreamHandlerFactory { + SecTestURLStreamHandlerFactory(){} + public URLStreamHandler createURLStreamHandler(String protocol) { + return new URLStreamHandler() { + public URLConnection openConnection(URL u) {return null;} + }; + } + +} +/* +**End of dummy class declaration +*/ +public void doAction() throws Exception { + + + try { + URL.setURLStreamHandlerFactory( new SecTestURLStreamHandlerFactory()); + } + catch (Error e) + { + throw new SecurityException( "URLFactory already installed" ); + } +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestURLFac.mustPass").equals( new String("true") )) { + mustPass = true; + }; + fFac = c.getProperty("SecTestURLFac.fFactory"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + e.printStackTrace(); + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccept.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccept.java new file mode 100644 index 00000000000..d368989431c --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccept.java @@ -0,0 +1,66 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXAccept implements Test { + +private String description = " ckeckAccept"; +private String fHost; +private String fPort; +private boolean mustPass; + + +public void doAction() { + System.getSecurityManager().checkAccept( fHost, Integer.parseInt(fPort) ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXAccept.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fHost = c.getProperty("SecTestXAccept.fHost"); + fPort = c.getProperty("SecTestXAccept.fPort"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccess.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccess.java new file mode 100644 index 00000000000..2ba6f57221d --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccess.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXAccess implements Test { + +private String description = " Access(Thread/Group)"; +private boolean mustPass; + +public void doAction() { + + Thread me = Thread.currentThread(); + System.getSecurityManager().checkAccess( me ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXAccess.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccessTG.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccessTG.java new file mode 100644 index 00000000000..e127708e0e1 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccessTG.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXAccessTG implements Test { + +private String description = " Access(Thread/Group)"; +private boolean mustPass; + +public void doAction() { + Thread me = Thread.currentThread(); + ThreadGroup tg = me.getThreadGroup(); + System.getSecurityManager().checkAccess( tg ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXAccessTG.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccessTop.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccessTop.java new file mode 100644 index 00000000000..52b34a78348 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXAccessTop.java @@ -0,0 +1,67 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXAccessTop implements Test { + +private String description = " Access(Thread/Group)"; +private boolean mustPass; + +public void doAction() { + Thread me = Thread.currentThread(); + ThreadGroup tg = me.getThreadGroup(); + + System.getSecurityManager().checkAccess( tg ); + + ThreadGroup topGroup = tg; + while ( topGroup.getParent() != null ) + topGroup = topGroup.getParent(); + + System.getSecurityManager().checkAccess( topGroup ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXAccessTop.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + +} + +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXCCL.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXCCL.java new file mode 100644 index 00000000000..f6e0675d4ea --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXCCL.java @@ -0,0 +1,57 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXCCL implements Test { + +private String description = " CreateClassLoader"; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkCreateClassLoader(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXCCL.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXConn.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXConn.java new file mode 100644 index 00000000000..1cb018ed5ae --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXConn.java @@ -0,0 +1,65 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXConn implements Test { + +private String description = " Connect"; +private String fHost; +private String fPort; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkConnect( fHost, Integer.parseInt(fPort) ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXConn.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fHost = c.getProperty("SecTestXConn.fHost"); + fPort = c.getProperty("SecTestXConn.fPort"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXDelete.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXDelete.java new file mode 100644 index 00000000000..5470d66083b --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXDelete.java @@ -0,0 +1,64 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXDelete implements Test { + + +private String description = " CheckDelete"; +private boolean mustPass; +private String fName; + + +public void doAction() { + System.getSecurityManager().checkDelete( fName ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXDelete.mustPass").equals( new String("true") )) { + mustPass = true; + }; + fName = c.getProperty("SecTestXDelete.fName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXExec.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXExec.java new file mode 100644 index 00000000000..c5181686b2f --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXExec.java @@ -0,0 +1,62 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXExec implements Test { + +private String description = " Exec"; +private String fExec; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkExec( fExec ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXExec.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fExec = c.getProperty("SecTestXExec.fExec"); + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXExit.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXExit.java new file mode 100644 index 00000000000..c371eb381ed --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXExit.java @@ -0,0 +1,60 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXExit implements Test { + +private String description = " Exit"; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkExit( 1 ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXExit.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXLink.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXLink.java new file mode 100644 index 00000000000..329c04647e6 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXLink.java @@ -0,0 +1,60 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXLink implements Test { + +private String description = " Link"; +private String fLink; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkLink( fLink ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXLink.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fLink = c.getProperty("SecTestXLink.fLink"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXListen.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXListen.java new file mode 100644 index 00000000000..32a211c6d21 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXListen.java @@ -0,0 +1,60 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXListen implements Test { + +private String description = " Listen Port"; +private String fPort; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkListen( Integer.parseInt(fPort) ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXListen.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fPort = c.getProperty("SecTestXListen.fPort"); + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPakAcc.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPakAcc.java new file mode 100644 index 00000000000..ae11d650211 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPakAcc.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXPakAcc implements Test { + +private String description = " Access Package"; +private String fName; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkPackageAccess( fName ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXPakAcc.mustPass").equals( new String("true") )) { + mustPass = true; + }; + fName = c.getProperty("SecTestXPakAcc.packageName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPakDef.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPakDef.java new file mode 100644 index 00000000000..de927225b83 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPakDef.java @@ -0,0 +1,59 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXPakDef implements Test { + +private String description = " Define Package"; +private String fName; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkPackageDefinition( fName ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXPakDef.mustPass").equals( new String("true") )) { + mustPass = true; + }; + fName = c.getProperty("SecTestXPakDef.packageName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPropAcc.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPropAcc.java new file mode 100644 index 00000000000..89f1f25d667 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXPropAcc.java @@ -0,0 +1,57 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXPropAcc implements Test { + +private String description = " Access All Properties"; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkPropertiesAccess(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXPropAcc.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXRead.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXRead.java new file mode 100644 index 00000000000..d9bbeb0f225 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXRead.java @@ -0,0 +1,64 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXRead implements Test { + +private String description = " CheckRead"; +private String fName; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkRead( fName, + System.getSecurityManager().getSecurityContext() ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXRead.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + fName =c.getProperty("SecTestXRead.fName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + } +} + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXSetFac.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXSetFac.java new file mode 100644 index 00000000000..43f005510ec --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXSetFac.java @@ -0,0 +1,57 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXSetFac implements Test { + +private String description = " SetFactory"; +private boolean mustPass; + +public void doAction() { + System.getSecurityManager().checkSetFactory(); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXSetFac.mustPass").equals( new String("true") )) { + mustPass = true; + }; + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXWrite.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXWrite.java new file mode 100644 index 00000000000..91e7bff6ff3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/automation/SecTestXWrite.java @@ -0,0 +1,61 @@ +/* + * The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Sun Microsystems, + * Inc. Portions created by Sun are + * Copyright (C) 1999 Sun Microsystems, Inc. All + * Rights Reserved. + * + * Contributor(s): + */ + +package org.mozilla.pluglet.test.basic.security.automation; + +import org.mozilla.pluglet.test.basic.*; + +public class SecTestXWrite implements Test { + +private String description = " CheckWrite"; +private boolean mustPass; +private String fName; + +public void doAction() { + System.getSecurityManager().checkWrite( fName ); +} + +public void execute( TestContext c ) { + + mustPass = false; + + if (c.getProperty("SecTestXWrite.mustPass").equals( new String("true") )) { + mustPass = true; + }; + fName = c.getProperty("SecTestXWrite.fName"); + + try { + doAction(); + if( mustPass ) + c.registerPASSED(new String("OK")); else + c.registerFAILED(new String(description) + new String(" failed.")); + } catch ( SecurityException e ) { + if( mustPass ) + c.registerFAILED(e.toString()); else + c.registerPASSED(e.toString()); + } catch ( Exception e ) { + c.registerFAILED(e.toString()); + } + + } +} + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/bastest.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/bastest.html new file mode 100644 index 00000000000..7925f651d96 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/bastest.html @@ -0,0 +1,8 @@ + +Security test page + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/manifest new file mode 100644 index 00000000000..f40b3750bc8 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/manifest @@ -0,0 +1,2 @@ +MIMEDescription: application/x-security-pluglet::Pluglet Security Test +Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/performAction.js b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/performAction.js new file mode 100644 index 00000000000..518ac8f1ad3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/performAction.js @@ -0,0 +1,26 @@ +var timeout=2000; + +function performActionIfNeed() { + action = Packages.org.mozilla.pluglet.test.basic.scenario.SequencialScenarioTest.getActionClear(); + if (action) { + if (action == "BACK") { + window.back(); + + } else if (action == "FORWARD") { + window.forward(); + + } else if (action == "LOAD_DEFAULT_BACK_URL") { + window.location = "back.html"; + + } else if (action == "WINDOW_RELOAD") { + window.location.reload(); + + } else if (action == "WINDOW_CLOSE") { + window.close(); + } + + } + + setTimeout("performActionIfNeed()",timeout); +} + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/BWTestList.lst.security b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/BWTestList.lst.security new file mode 100644 index 00000000000..e09a7a98fe3 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/BWTestList.lst.security @@ -0,0 +1,64 @@ +basic/security/DeleteFileTest +basic/security/GetClipboardTest +basic/security/GetSysPropsTest +basic/security/OpenWinTest +basic/security/PrintTest +basic/security/ReadFileTest +basic/security/RemoteConnectTest +basic/security/RunProgramTest +basic/security/WriteFileTest +basic/security/automation/SecTestCanRead +basic/security/automation/SecTestCanWrite +basic/security/automation/SecTestClipboard +basic/security/automation/SecTestDelete +basic/security/automation/SecTestEnv +basic/security/automation/SecTestExists +basic/security/automation/SecTestFileDescriptorIn +basic/security/automation/SecTestFileDescriptorOut +basic/security/automation/SecTestFileInputStream +basic/security/automation/SecTestFileOutputStream +basic/security/automation/SecTestGetAbsolutePath +basic/security/automation/SecTestGetCanonicalPath +basic/security/automation/SecTestGetContent +basic/security/automation/SecTestGetParent +basic/security/automation/SecTestGetPath +basic/security/automation/SecTestGetProps +basic/security/automation/SecTestGetSecMgr +basic/security/automation/SecTestIsDirectory +basic/security/automation/SecTestIsFile +basic/security/automation/SecTestLastModified +basic/security/automation/SecTestLength +basic/security/automation/SecTestList +basic/security/automation/SecTestListJSFilter +basic/security/automation/SecTestMkdir +basic/security/automation/SecTestMkdirs +basic/security/automation/SecTestOpenConx +basic/security/automation/SecTestPrintStream +basic/security/automation/SecTestRandomAccess +basic/security/automation/SecTestRandomAccessRW +basic/security/automation/SecTestRenameTo +basic/security/automation/SecTestRunExec +basic/security/automation/SecTestRunExit +basic/security/automation/SecTestRunLoad +basic/security/automation/SecTestRunLoadLib +basic/security/automation/SecTestSetSecMgr +basic/security/automation/SecTestSocket +basic/security/automation/SecTestSysExit +basic/security/automation/SecTestURLFac +basic/security/automation/SecTestXAccept +basic/security/automation/SecTestXAccess +basic/security/automation/SecTestXAccessTG +basic/security/automation/SecTestXAccessTop +basic/security/automation/SecTestXCCL +basic/security/automation/SecTestXConn +basic/security/automation/SecTestXDelete +basic/security/automation/SecTestXExec +basic/security/automation/SecTestXExit +basic/security/automation/SecTestXLink +basic/security/automation/SecTestXListen +basic/security/automation/SecTestXPakAcc +basic/security/automation/SecTestXPakDef +basic/security/automation/SecTestXPropAcc +basic/security/automation/SecTestXRead +basic/security/automation/SecTestXSetFac +basic/security/automation/SecTestXWrite diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/SecClassList.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/SecClassList.lst new file mode 100644 index 00000000000..d069e270012 --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/SecClassList.lst @@ -0,0 +1,64 @@ +org.mozilla.pluglet.test.basic.security.DeleteFileTest +org.mozilla.pluglet.test.basic.security.GetClipboardTest +org.mozilla.pluglet.test.basic.security.GetSysPropsTest +org.mozilla.pluglet.test.basic.security.OpenWinTest +org.mozilla.pluglet.test.basic.security.PrintTest +org.mozilla.pluglet.test.basic.security.ReadFileTest +org.mozilla.pluglet.test.basic.security.RemoteConnectTest +org.mozilla.pluglet.test.basic.security.RunProgramTest +org.mozilla.pluglet.test.basic.security.WriteFileTest +org.mozilla.pluglet.test.basic.security.automation.SecTestCanRead +org.mozilla.pluglet.test.basic.security.automation.SecTestCanWrite +org.mozilla.pluglet.test.basic.security.automation.SecTestClipboard +org.mozilla.pluglet.test.basic.security.automation.SecTestDelete +org.mozilla.pluglet.test.basic.security.automation.SecTestEnv +org.mozilla.pluglet.test.basic.security.automation.SecTestExists +org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorIn +org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorOut +org.mozilla.pluglet.test.basic.security.automation.SecTestFileInputStream +org.mozilla.pluglet.test.basic.security.automation.SecTestFileOutputStream +org.mozilla.pluglet.test.basic.security.automation.SecTestGetAbsolutePath +org.mozilla.pluglet.test.basic.security.automation.SecTestGetCanonicalPath +org.mozilla.pluglet.test.basic.security.automation.SecTestGetContent +org.mozilla.pluglet.test.basic.security.automation.SecTestGetParent +org.mozilla.pluglet.test.basic.security.automation.SecTestGetPath +org.mozilla.pluglet.test.basic.security.automation.SecTestGetProps +org.mozilla.pluglet.test.basic.security.automation.SecTestGetSecMgr +org.mozilla.pluglet.test.basic.security.automation.SecTestIsDirectory +org.mozilla.pluglet.test.basic.security.automation.SecTestIsFile +org.mozilla.pluglet.test.basic.security.automation.SecTestLastModified +org.mozilla.pluglet.test.basic.security.automation.SecTestLength +org.mozilla.pluglet.test.basic.security.automation.SecTestList +org.mozilla.pluglet.test.basic.security.automation.SecTestListJSFilter +org.mozilla.pluglet.test.basic.security.automation.SecTestMkdir +org.mozilla.pluglet.test.basic.security.automation.SecTestMkdirs +org.mozilla.pluglet.test.basic.security.automation.SecTestOpenConx +org.mozilla.pluglet.test.basic.security.automation.SecTestPrintStream +org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccess +org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccessRW +org.mozilla.pluglet.test.basic.security.automation.SecTestRenameTo +org.mozilla.pluglet.test.basic.security.automation.SecTestRunExec +org.mozilla.pluglet.test.basic.security.automation.SecTestRunExit +org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoad +org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoadLib +org.mozilla.pluglet.test.basic.security.automation.SecTestSetSecMgr +org.mozilla.pluglet.test.basic.security.automation.SecTestSocket +org.mozilla.pluglet.test.basic.security.automation.SecTestSysExit +org.mozilla.pluglet.test.basic.security.automation.SecTestURLFac +org.mozilla.pluglet.test.basic.security.automation.SecTestXAccept +org.mozilla.pluglet.test.basic.security.automation.SecTestXAccess +org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTG +org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTop +org.mozilla.pluglet.test.basic.security.automation.SecTestXCCL +org.mozilla.pluglet.test.basic.security.automation.SecTestXConn +org.mozilla.pluglet.test.basic.security.automation.SecTestXDelete +org.mozilla.pluglet.test.basic.security.automation.SecTestXExec +org.mozilla.pluglet.test.basic.security.automation.SecTestXExit +org.mozilla.pluglet.test.basic.security.automation.SecTestXLink +org.mozilla.pluglet.test.basic.security.automation.SecTestXListen +org.mozilla.pluglet.test.basic.security.automation.SecTestXPakAcc +org.mozilla.pluglet.test.basic.security.automation.SecTestXPakDef +org.mozilla.pluglet.test.basic.security.automation.SecTestXPropAcc +org.mozilla.pluglet.test.basic.security.automation.SecTestXRead +org.mozilla.pluglet.test.basic.security.automation.SecTestXSetFac +org.mozilla.pluglet.test.basic.security.automation.SecTestXWrite diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/tree-gen.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/tree-gen.pl new file mode 100644 index 00000000000..40556301e3e --- /dev/null +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/util/tree-gen.pl @@ -0,0 +1,108 @@ +#!/usr/local/bin/perl +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Sun Microsystems, +# Inc. Portions created by Sun are +# Copyright (C) 1999 Sun Microsystems, Inc. All +# Rights Reserved. +# +# Contributor(s): +# +# tree-gen.pl +# +# Generating the tree of subfolders with +# properties file. +# + +#Cwd used to determine top dir. +use Cwd 'abs_path'; +# + +$depth = $ARGV[0]; +printf "depth=$depth\n"; + +if ($^O=~/Win32/) { + $file_separator = "\\"; +} else { + $file_separator = "\/"; +} + +$sd_prefix = "$depth/build/test/basic/security"; +$class_list = "SecClassList.lst"; +$std_fname = "TestProperties"; +$props_list = "$depth/config/SecurityTests.properties"; +$pluglet = "build/classes/org/mozilla/pluglet/test/basic/security/TestSecurityPluglet.jar"; +$top_dir = abs_path($depth); +$abs_pluglet = $top_dir."/".$pluglet; +$abs_pluglet =~s#\/#$file_separator#g; +$base_html = "security/bastest.html"; +print $abs_pluglet,"\n"; +$package_prefix = "org.mozilla.pluglet.test.basic.security"; + +# note, that we will generate all the folders directly from +# this app. + +open( lst, $class_list ) or die("Can't open class list file\n"); + +if( !(-e $sd_prefix) ) { + mkdir($sd_prefix, 0777); +}; + +if(!( -e "$sd_prefix/automation") ) { + $t = join '', $sd_prefix, "/automation"; + mkdir("$sd_prefix/automation", 0777); +}; + +# This cycle implements the properties extraction file +while( $l = ) { + $tgt_prefix=$sd_prefix; + chop $l; # Avoid linebreaks + $class_name=$l; + $pkg_prefix = $package_prefix; + @temp = split /\./,$class_name; + $pure_class = $temp[$#temp]; + $pure_class =~s/\r|\n//g; + + if( $l =~ "automation" ) { + $tgt_prefix = join '',$sd_prefix,"/automation"; + $pkg_prefix = join '',$package_prefix,".automation"; + }; + + $class_to_call = "$pkg_prefix.$pure_class"; + $folder_to_create = "$tgt_prefix/$pure_class"; + if( !(-e $folder_to_create) ) { + mkdir($folder_to_create,0777); + printf "$folder_to_create\n"; + }; + + open( out, ">$folder_to_create/TestProperties" ) or + die("Can't create file $folder_to_create/TestProperties"); + + open( in, $props_list ) + or die(".properties file was not found.\n"); + + # Extract all the properties, we need + + while( $ln = ) { + if( $ln =~ /$pure_class/ ) { + printf out $ln; + }; + }; + printf out "RUN_STAGES=PLUGLET_INITIALIZE\n"; + printf out "TEST_CLASS=$class_to_call\n"; + printf out "TEST_HTML=$base_html\n"; + printf out "PLUGLET=$abs_pluglet\n"; + + close in; +};