diff --git a/mozilla/java/plugins/test/config/SecurityTests.keys b/mozilla/java/plugins/test/config/SecurityTests.keys index 0accb1f873a..7caa7442fb0 100644 --- a/mozilla/java/plugins/test/config/SecurityTests.keys +++ b/mozilla/java/plugins/test/config/SecurityTests.keys @@ -1,348 +1,348 @@ -# -# SecurityTests.keys -# -# Configuration key values -# - -# -# DeleteFileTest.java test properties -# -DeleteFileTest.mustPass=true -DeleteFileTest.FileName=foo - -# -# GetClipboardTest.java test properties -# -GetClipboardTest.mustPass=true - -# -# GetSysPropsTest.java test properties -# -GetSysPropsTest.mustPass=true -GetSysPropsTest.propertyName=path - -# -# OpenWinTest.java test properties -# -OpenWinTest.mustPass=true - -# -# PrintTest.java test properties -# -PrintTest.mustPass=true - -# -# ReadFileTest.java test properties -# -ReadFileTest.mustPass=true -ReadFileTest.FileName=foo - -# -# RemoteConnectTest.java test properties -# -RemoteConnectTest.mustPass=true -RemoteConnectTest.URL=http://sirius - -# -# RunProgramTest.java test properties -# -RunProgramTest.mustPass=true -RunProgramTest.command=ls -l - -# -# SecTestCanRead.java test properties -# -SecTestCanRead.mustPass=true -SecTestCanRead.fName=TestProperties -# -# SecTestCanWrite.java test properties -# -SecTestCanWrite.mustPass=true - -# -# SecTestClipboard.java test properties -# -SecTestClipboard.mustPass=true - -# -# SecTestDelete.java test properties -# -SecTestDelete.mustPass=true - -# -# SecTestEnv.java test properties -# -SecTestEnv.mustPass=true - -# -# SecTestExists.java test properties -# -SecTestExists.mustPass=true - -# -# SecTestFileDescriptorIn.java test properties -# -SecTestFileDescriptorIn.mustPass=true - -# -# SecTestFileDescriptorOut.java test properties -# -SecTestFileDescriptorOut.mustPass=true - -# -# SecTestFileInputStream.java test properties -# -SecTestFileInputStream.mustPass=true -SecTestFileInputStream.fName=TestProperties - -# -# SecTestFileOutputStream.java test properties -# -SecTestFileOutputStream.mustPass=true - -# -# SecTestGetAbsolutePath.java test properties -# -SecTestGetAbsolutePath.mustPass=true - -# -# SecTestGetCanonicalPath.java test properties -# -SecTestGetCanonicalPath.mustPass=true - -# -# SecTestGetContent.java test properties -# -SecTestGetContent.mustPass=true -SecTestGetContent.fName=TestProperties - -# -# SecTestGetParent.java test properties -# -SecTestGetParent.mustPass=true - -# -# SecTestGetPath.java test properties -# -SecTestGetPath.mustPass=true -SecTestGetPath.fName=foo - -# -# SecTestGetProps.java test properties -# -SecTestGetProps.mustPass=true - -# -# SecTestGetSecMgr.java test properties -# -SecTestGetSecMgr.mustPass=true - -# -# SecTestIsDirectory.java test properties -# -SecTestIsDirectory.mustPass=true - -# -# SecTestIsFile.java test properties -# -SecTestIsFile.mustPass=true - -# -# SecTestLastModified.java test properties -# -SecTestLastModified.mustPass=true - -# -# SecTestLength.java test properties -# -SecTestLength.mustPass=true - -# -# SecTestList.java test properties -# -SecTestList.mustPass=true - -# -# SecTestListJSFilter.java test properties -# -SecTestListJSFilter.mustPass=true - -# -# SecTestMkdir.java test properties -# -SecTestMkdir.mustPass=true - -# -# SecTestMkdirs.java test properties -# -SecTestMkdirs.mustPass=true - -# -# SecTestOpenConx.java test properties -# -SecTestOpenConx.mustPass=true -SecTestOpenConx.URL=http://sirius -# -# SecTestPrintStream.java test properties -# -SecTestPrintStream.mustPass=true - -# -# SecTestRandomAccess.java test properties -# -SecTestRandomAccess.mustPass=true - -# -# SecTestRandomAccessRW.java test properties -# -SecTestRandomAccessRW.mustPass=true - -# -# SecTestRenameTo.java test properties -# -SecTestRenameTo.mustPass=true - -# -# SecTestRunExec.java test properties -# -SecTestRunExec.mustPass=true -SecTestRunExec.fExec=ls -l - -# -# SecTestRunExit.java test properties -# -SecTestRunExit.mustPass=true - -# -# SecTestRunLoad.java test properties -# -SecTestRunLoad.mustPass=true -SecTestRunLoad.libName=java -# SecTestRunLoadLib.java test properties -# -SecTestRunLoadLib.mustPass=true -SecTestRunLoadLib.libName=plugletjni - -# -# SecTestSetSecMgr.java test properties -# -SecTestSetSecMgr.mustPass=true - -# -# SecTestSocket.java test properties -# -SecTestSocket.mustPass=true -SecTestSocket.fHost=sirius -SecTestSocket.fPort=80 - -# -# SecTestSysExit.java test properties -# -SecTestSysExit.mustPass=true - -# -# SecTestURLFac.java test properties -# -SecTestURLFac.mustPass=true -# -# SecTestXAccept.java test properties -# -SecTestXAccept.mustPass=true -SecTestXAccept.fHost=sirius -SecTestXAccept.fPort=80 - -# -# SecTestXAccess.java test properties -# -SecTestXAccess.mustPass=true - -# -# SecTestXAccessTG.java test properties -# -SecTestXAccessTG.mustPass=true - -# -# SecTestXAccessTop.java test properties -# -SecTestXAccessTop.mustPass=true - -# -# SecTestXCCL.java test properties -# -SecTestXCCL.mustPass=true - -# -# SecTestXConn.java test properties -# -SecTestXConn.mustPass=true -SecTestXConn.fHost=sirius -SecTestXConn.fPort=80 - -# -# SecTestXDelete.java test properties -# -SecTestXDelete.mustPass=true -SecTestXDelete.fName=foo - -# -# SecTestXExec.java test properties -# -SecTestXExec.mustPass=true -SecTestXExec.fExec=ls -l - -# -# SecTestXExit.java test properties -# -SecTestXExit.mustPass=true - -# -# SecTestXLink.java test properties -# -SecTestXLink.mustPass=true -SecTestXLink.fLink=sirius -# -# SecTestXListen.java test properties -# -SecTestXListen.mustPass=true -SecTestXListen.fPort=80 - -# -# SecTestXPakAcc.java test properties -# -SecTestXPakAcc.mustPass=true -SecTestXPakAcc.packageName=java.awt - -# -# SecTestXPakDef.java test properties -# -SecTestXPakDef.mustPass=true -SecTestXPakDef.packageName=java.awt - -# -# SecTestXPropAcc.java test properties -# -SecTestXPropAcc.mustPass=true - -# -# SecTestXRead.java test properties -# -SecTestXRead.mustPass=true -SecTestXRead.fName=foo - -# -# SecTestXSetFac.java test properties -# -SecTestXSetFac.mustPass=true - -# -# SecTestXWrite.java test properties -# -SecTestXWrite.mustPass=true -SecTestXWrite.fName=foo - -# -# WriteFileTest.java test properties -# -WriteFileTest.mustPass=true -WriteFileTest.FileName=foo - +# +# SecurityTests.keys +# +# Configuration key values +# + +# +# DeleteFileTest.java test properties +# +DeleteFileTest.mustPass=true +DeleteFileTest.FileName=foo + +# +# GetClipboardTest.java test properties +# +GetClipboardTest.mustPass=true + +# +# GetSysPropsTest.java test properties +# +GetSysPropsTest.mustPass=true +GetSysPropsTest.propertyName=path + +# +# OpenWinTest.java test properties +# +OpenWinTest.mustPass=true + +# +# PrintTest.java test properties +# +PrintTest.mustPass=true + +# +# ReadFileTest.java test properties +# +ReadFileTest.mustPass=true +ReadFileTest.FileName=foo + +# +# RemoteConnectTest.java test properties +# +RemoteConnectTest.mustPass=true +RemoteConnectTest.URL=http://sirius + +# +# RunProgramTest.java test properties +# +RunProgramTest.mustPass=true +RunProgramTest.command=ls -l + +# +# SecTestCanRead.java test properties +# +SecTestCanRead.mustPass=true +SecTestCanRead.fName=TestProperties +# +# SecTestCanWrite.java test properties +# +SecTestCanWrite.mustPass=true + +# +# SecTestClipboard.java test properties +# +SecTestClipboard.mustPass=true + +# +# SecTestDelete.java test properties +# +SecTestDelete.mustPass=true + +# +# SecTestEnv.java test properties +# +SecTestEnv.mustPass=true + +# +# SecTestExists.java test properties +# +SecTestExists.mustPass=true + +# +# SecTestFileDescriptorIn.java test properties +# +SecTestFileDescriptorIn.mustPass=true + +# +# SecTestFileDescriptorOut.java test properties +# +SecTestFileDescriptorOut.mustPass=true + +# +# SecTestFileInputStream.java test properties +# +SecTestFileInputStream.mustPass=true +SecTestFileInputStream.fName=TestProperties + +# +# SecTestFileOutputStream.java test properties +# +SecTestFileOutputStream.mustPass=true + +# +# SecTestGetAbsolutePath.java test properties +# +SecTestGetAbsolutePath.mustPass=true + +# +# SecTestGetCanonicalPath.java test properties +# +SecTestGetCanonicalPath.mustPass=true + +# +# SecTestGetContent.java test properties +# +SecTestGetContent.mustPass=true +SecTestGetContent.fName=TestProperties + +# +# SecTestGetParent.java test properties +# +SecTestGetParent.mustPass=true + +# +# SecTestGetPath.java test properties +# +SecTestGetPath.mustPass=true +SecTestGetPath.fName=foo + +# +# SecTestGetProps.java test properties +# +SecTestGetProps.mustPass=true + +# +# SecTestGetSecMgr.java test properties +# +SecTestGetSecMgr.mustPass=true + +# +# SecTestIsDirectory.java test properties +# +SecTestIsDirectory.mustPass=true + +# +# SecTestIsFile.java test properties +# +SecTestIsFile.mustPass=true + +# +# SecTestLastModified.java test properties +# +SecTestLastModified.mustPass=true + +# +# SecTestLength.java test properties +# +SecTestLength.mustPass=true + +# +# SecTestList.java test properties +# +SecTestList.mustPass=true + +# +# SecTestListJSFilter.java test properties +# +SecTestListJSFilter.mustPass=true + +# +# SecTestMkdir.java test properties +# +SecTestMkdir.mustPass=true + +# +# SecTestMkdirs.java test properties +# +SecTestMkdirs.mustPass=true + +# +# SecTestOpenConx.java test properties +# +SecTestOpenConx.mustPass=true +SecTestOpenConx.URL=http://sirius +# +# SecTestPrintStream.java test properties +# +SecTestPrintStream.mustPass=true + +# +# SecTestRandomAccess.java test properties +# +SecTestRandomAccess.mustPass=true + +# +# SecTestRandomAccessRW.java test properties +# +SecTestRandomAccessRW.mustPass=true + +# +# SecTestRenameTo.java test properties +# +SecTestRenameTo.mustPass=true + +# +# SecTestRunExec.java test properties +# +SecTestRunExec.mustPass=true +SecTestRunExec.fExec=ls -l + +# +# SecTestRunExit.java test properties +# +SecTestRunExit.mustPass=true + +# +# SecTestRunLoad.java test properties +# +SecTestRunLoad.mustPass=true +SecTestRunLoad.libName=java +# SecTestRunLoadLib.java test properties +# +SecTestRunLoadLib.mustPass=true +SecTestRunLoadLib.libName=plugletjni + +# +# SecTestSetSecMgr.java test properties +# +SecTestSetSecMgr.mustPass=true + +# +# SecTestSocket.java test properties +# +SecTestSocket.mustPass=true +SecTestSocket.fHost=sirius +SecTestSocket.fPort=80 + +# +# SecTestSysExit.java test properties +# +SecTestSysExit.mustPass=true + +# +# SecTestURLFac.java test properties +# +SecTestURLFac.mustPass=true +# +# SecTestXAccept.java test properties +# +SecTestXAccept.mustPass=true +SecTestXAccept.fHost=sirius +SecTestXAccept.fPort=80 + +# +# SecTestXAccess.java test properties +# +SecTestXAccess.mustPass=true + +# +# SecTestXAccessTG.java test properties +# +SecTestXAccessTG.mustPass=true + +# +# SecTestXAccessTop.java test properties +# +SecTestXAccessTop.mustPass=true + +# +# SecTestXCCL.java test properties +# +SecTestXCCL.mustPass=true + +# +# SecTestXConn.java test properties +# +SecTestXConn.mustPass=true +SecTestXConn.fHost=sirius +SecTestXConn.fPort=80 + +# +# SecTestXDelete.java test properties +# +SecTestXDelete.mustPass=true +SecTestXDelete.fName=foo + +# +# SecTestXExec.java test properties +# +SecTestXExec.mustPass=true +SecTestXExec.fExec=ls -l + +# +# SecTestXExit.java test properties +# +SecTestXExit.mustPass=true + +# +# SecTestXLink.java test properties +# +SecTestXLink.mustPass=true +SecTestXLink.fLink=sirius +# +# SecTestXListen.java test properties +# +SecTestXListen.mustPass=true +SecTestXListen.fPort=80 + +# +# SecTestXPakAcc.java test properties +# +SecTestXPakAcc.mustPass=true +SecTestXPakAcc.packageName=java.awt + +# +# SecTestXPakDef.java test properties +# +SecTestXPakDef.mustPass=true +SecTestXPakDef.packageName=java.awt + +# +# SecTestXPropAcc.java test properties +# +SecTestXPropAcc.mustPass=true + +# +# SecTestXRead.java test properties +# +SecTestXRead.mustPass=true +SecTestXRead.fName=foo + +# +# SecTestXSetFac.java test properties +# +SecTestXSetFac.mustPass=true + +# +# SecTestXWrite.java test properties +# +SecTestXWrite.mustPass=true +SecTestXWrite.fName=foo + +# +# WriteFileTest.java test properties +# +WriteFileTest.mustPass=true +WriteFileTest.FileName=foo + diff --git a/mozilla/java/plugins/test/config/SecurityTests.properties b/mozilla/java/plugins/test/config/SecurityTests.properties index 76061bfd33a..c2bc9ce7ce1 100644 --- a/mozilla/java/plugins/test/config/SecurityTests.properties +++ b/mozilla/java/plugins/test/config/SecurityTests.properties @@ -1,351 +1,351 @@ -# -# SecurityTests.template -# -# This is a template file for the security tests properties. -# - -# -# DeleteFileTest.java test properties -# -DeleteFileTest.mustPass=true -DeleteFileTest.FileName=foo - -# -# GetClipboardTest.java test properties -# -GetClipboardTest.mustPass=true - -# -# GetSysPropsTest.java test properties -# -GetSysPropsTest.mustPass=true -GetSysPropsTest.propertyName=path - -# -# OpenWinTest.java test properties -# -OpenWinTest.mustPass=true - -# -# PrintTest.java test properties -# -PrintTest.mustPass=true - -# -# ReadFileTest.java test properties -# -ReadFileTest.mustPass=true -ReadFileTest.FileName=foo - -# -# RemoteConnectTest.java test properties -# -RemoteConnectTest.mustPass=true -RemoteConnectTest.URL=http://sirius - -# -# RunProgramTest.java test properties -# -RunProgramTest.mustPass=true -RunProgramTest.command=ls -l - -# -# SecTestCanRead.java test properties -# -SecTestCanRead.mustPass=true -SecTestCanRead.fName=TestProperties -# -# SecTestCanWrite.java test properties -# -SecTestCanWrite.mustPass=true - -# -# SecTestClipboard.java test properties -# -SecTestClipboard.mustPass=true - -# -# SecTestDelete.java test properties -# -SecTestDelete.mustPass=true - -# -# SecTestEnv.java test properties -# -SecTestEnv.mustPass=true - -# -# SecTestExists.java test properties -# -SecTestExists.mustPass=true - -# -# SecTestFileDescriptorIn.java test properties -# -SecTestFileDescriptorIn.mustPass=true - -# -# SecTestFileDescriptorOut.java test properties -# -SecTestFileDescriptorOut.mustPass=true - -# -# SecTestFileInputStream.java test properties -# -SecTestFileInputStream.mustPass=true -SecTestFileInputStream.fName=TestProperties - -# -# SecTestFileOutputStream.java test properties -# -SecTestFileOutputStream.mustPass=true - -# -# SecTestGetAbsolutePath.java test properties -# -SecTestGetAbsolutePath.mustPass=true - -# -# SecTestGetCanonicalPath.java test properties -# -SecTestGetCanonicalPath.mustPass=true - -# -# SecTestGetContent.java test properties -# -SecTestGetContent.mustPass=true -SecTestGetContent.fName=TestProperties - -# -# SecTestGetParent.java test properties -# -SecTestGetParent.mustPass=true - -# -# SecTestGetPath.java test properties -# -SecTestGetPath.mustPass=true -SecTestGetPath.fName=foo - -# -# SecTestGetProps.java test properties -# -SecTestGetProps.mustPass=true - -# -# SecTestGetSecMgr.java test properties -# -SecTestGetSecMgr.mustPass=true - -# -# SecTestIsDirectory.java test properties -# -SecTestIsDirectory.mustPass=true - -# -# SecTestIsFile.java test properties -# -SecTestIsFile.mustPass=true - -# -# SecTestLastModified.java test properties -# -SecTestLastModified.mustPass=true - -# -# SecTestLength.java test properties -# -SecTestLength.mustPass=true - -# -# SecTestList.java test properties -# -SecTestList.mustPass=true - -# -# SecTestListJSFilter.java test properties -# -SecTestListJSFilter.mustPass=true - -# -# SecTestMkdir.java test properties -# -SecTestMkdir.mustPass=true - -# -# SecTestMkdirs.java test properties -# -SecTestMkdirs.mustPass=true - -# -# SecTestOpenConx.java test properties -# -SecTestOpenConx.mustPass=true -SecTestOpenConx.URL=http://sirius - -# -# SecTestPrintStream.java test properties -# -SecTestPrintStream.mustPass=true - -# -# SecTestRandomAccess.java test properties -# -SecTestRandomAccess.mustPass=true - -# -# SecTestRandomAccessRW.java test properties -# -SecTestRandomAccessRW.mustPass=true - -# -# SecTestRenameTo.java test properties -# -SecTestRenameTo.mustPass=true - -# -# SecTestRunExec.java test properties -# -SecTestRunExec.mustPass=true -SecTestRunExec.fExec=ls -l - -# -# SecTestRunExit.java test properties -# -SecTestRunExit.mustPass=true - -# -# SecTestRunLoad.java test properties -# -SecTestRunLoad.mustPass=true -SecTestRunLoad.libName=java -# -# SecTestRunLoadLib.java test properties -# -SecTestRunLoadLib.mustPass=true -SecTestRunLoadLib.libName=plugletjni - -# -# SecTestSetSecMgr.java test properties -# -SecTestSetSecMgr.mustPass=true - -# -# SecTestSocket.java test properties -# -SecTestSocket.mustPass=true -SecTestSocket.fHost=sirius -SecTestSocket.fPort=80 - -# -# SecTestSysExit.java test properties -# -SecTestSysExit.mustPass=true - -# -# SecTestURLFac.java test properties -# -SecTestURLFac.mustPass=true -# -# SecTestXAccept.java test properties -# -SecTestXAccept.mustPass=true -SecTestXAccept.fHost=sirius -SecTestXAccept.fPort=80 - -# -# SecTestXAccess.java test properties -# -SecTestXAccess.mustPass=true - -# -# SecTestXAccessTG.java test properties -# -SecTestXAccessTG.mustPass=true - -# -# SecTestXAccessTop.java test properties -# -SecTestXAccessTop.mustPass=true - -# -# SecTestXCCL.java test properties -# -SecTestXCCL.mustPass=true - -# -# SecTestXConn.java test properties -# -SecTestXConn.mustPass=true -SecTestXConn.fHost=sirius -SecTestXConn.fPort=80 - -# -# SecTestXDelete.java test properties -# -SecTestXDelete.mustPass=true -SecTestXDelete.fName=foo - -# -# SecTestXExec.java test properties -# -SecTestXExec.mustPass=true -SecTestXExec.fExec=ls -l - -# -# SecTestXExit.java test properties -# -SecTestXExit.mustPass=true - -# -# SecTestXLink.java test properties -# -SecTestXLink.mustPass=true -SecTestXLink.fLink=sirius - -# -# SecTestXListen.java test properties -# -SecTestXListen.mustPass=true -SecTestXListen.fPort=80 - -# -# SecTestXPakAcc.java test properties -# -SecTestXPakAcc.mustPass=true -SecTestXPakAcc.packageName=java.awt - -# -# SecTestXPakDef.java test properties -# -SecTestXPakDef.mustPass=true -SecTestXPakDef.packageName=java.awt - -# -# SecTestXPropAcc.java test properties -# -SecTestXPropAcc.mustPass=true - -# -# SecTestXRead.java test properties -# -SecTestXRead.mustPass=true -SecTestXRead.fName=foo - -# -# SecTestXSetFac.java test properties -# -SecTestXSetFac.mustPass=true - -# -# SecTestXWrite.java test properties -# -SecTestXWrite.mustPass=true -SecTestXWrite.fName=foo - -# -# WriteFileTest.java test properties -# -WriteFileTest.mustPass=true -WriteFileTest.FileName=foo - +# +# SecurityTests.template +# +# This is a template file for the security tests properties. +# + +# +# DeleteFileTest.java test properties +# +DeleteFileTest.mustPass=true +DeleteFileTest.FileName=foo + +# +# GetClipboardTest.java test properties +# +GetClipboardTest.mustPass=true + +# +# GetSysPropsTest.java test properties +# +GetSysPropsTest.mustPass=true +GetSysPropsTest.propertyName=path + +# +# OpenWinTest.java test properties +# +OpenWinTest.mustPass=true + +# +# PrintTest.java test properties +# +PrintTest.mustPass=true + +# +# ReadFileTest.java test properties +# +ReadFileTest.mustPass=true +ReadFileTest.FileName=foo + +# +# RemoteConnectTest.java test properties +# +RemoteConnectTest.mustPass=true +RemoteConnectTest.URL=http://sirius + +# +# RunProgramTest.java test properties +# +RunProgramTest.mustPass=true +RunProgramTest.command=ls -l + +# +# SecTestCanRead.java test properties +# +SecTestCanRead.mustPass=true +SecTestCanRead.fName=TestProperties +# +# SecTestCanWrite.java test properties +# +SecTestCanWrite.mustPass=true + +# +# SecTestClipboard.java test properties +# +SecTestClipboard.mustPass=true + +# +# SecTestDelete.java test properties +# +SecTestDelete.mustPass=true + +# +# SecTestEnv.java test properties +# +SecTestEnv.mustPass=true + +# +# SecTestExists.java test properties +# +SecTestExists.mustPass=true + +# +# SecTestFileDescriptorIn.java test properties +# +SecTestFileDescriptorIn.mustPass=true + +# +# SecTestFileDescriptorOut.java test properties +# +SecTestFileDescriptorOut.mustPass=true + +# +# SecTestFileInputStream.java test properties +# +SecTestFileInputStream.mustPass=true +SecTestFileInputStream.fName=TestProperties + +# +# SecTestFileOutputStream.java test properties +# +SecTestFileOutputStream.mustPass=true + +# +# SecTestGetAbsolutePath.java test properties +# +SecTestGetAbsolutePath.mustPass=true + +# +# SecTestGetCanonicalPath.java test properties +# +SecTestGetCanonicalPath.mustPass=true + +# +# SecTestGetContent.java test properties +# +SecTestGetContent.mustPass=true +SecTestGetContent.fName=TestProperties + +# +# SecTestGetParent.java test properties +# +SecTestGetParent.mustPass=true + +# +# SecTestGetPath.java test properties +# +SecTestGetPath.mustPass=true +SecTestGetPath.fName=foo + +# +# SecTestGetProps.java test properties +# +SecTestGetProps.mustPass=true + +# +# SecTestGetSecMgr.java test properties +# +SecTestGetSecMgr.mustPass=true + +# +# SecTestIsDirectory.java test properties +# +SecTestIsDirectory.mustPass=true + +# +# SecTestIsFile.java test properties +# +SecTestIsFile.mustPass=true + +# +# SecTestLastModified.java test properties +# +SecTestLastModified.mustPass=true + +# +# SecTestLength.java test properties +# +SecTestLength.mustPass=true + +# +# SecTestList.java test properties +# +SecTestList.mustPass=true + +# +# SecTestListJSFilter.java test properties +# +SecTestListJSFilter.mustPass=true + +# +# SecTestMkdir.java test properties +# +SecTestMkdir.mustPass=true + +# +# SecTestMkdirs.java test properties +# +SecTestMkdirs.mustPass=true + +# +# SecTestOpenConx.java test properties +# +SecTestOpenConx.mustPass=true +SecTestOpenConx.URL=http://sirius + +# +# SecTestPrintStream.java test properties +# +SecTestPrintStream.mustPass=true + +# +# SecTestRandomAccess.java test properties +# +SecTestRandomAccess.mustPass=true + +# +# SecTestRandomAccessRW.java test properties +# +SecTestRandomAccessRW.mustPass=true + +# +# SecTestRenameTo.java test properties +# +SecTestRenameTo.mustPass=true + +# +# SecTestRunExec.java test properties +# +SecTestRunExec.mustPass=true +SecTestRunExec.fExec=ls -l + +# +# SecTestRunExit.java test properties +# +SecTestRunExit.mustPass=true + +# +# SecTestRunLoad.java test properties +# +SecTestRunLoad.mustPass=true +SecTestRunLoad.libName=java +# +# SecTestRunLoadLib.java test properties +# +SecTestRunLoadLib.mustPass=true +SecTestRunLoadLib.libName=plugletjni + +# +# SecTestSetSecMgr.java test properties +# +SecTestSetSecMgr.mustPass=true + +# +# SecTestSocket.java test properties +# +SecTestSocket.mustPass=true +SecTestSocket.fHost=sirius +SecTestSocket.fPort=80 + +# +# SecTestSysExit.java test properties +# +SecTestSysExit.mustPass=true + +# +# SecTestURLFac.java test properties +# +SecTestURLFac.mustPass=true +# +# SecTestXAccept.java test properties +# +SecTestXAccept.mustPass=true +SecTestXAccept.fHost=sirius +SecTestXAccept.fPort=80 + +# +# SecTestXAccess.java test properties +# +SecTestXAccess.mustPass=true + +# +# SecTestXAccessTG.java test properties +# +SecTestXAccessTG.mustPass=true + +# +# SecTestXAccessTop.java test properties +# +SecTestXAccessTop.mustPass=true + +# +# SecTestXCCL.java test properties +# +SecTestXCCL.mustPass=true + +# +# SecTestXConn.java test properties +# +SecTestXConn.mustPass=true +SecTestXConn.fHost=sirius +SecTestXConn.fPort=80 + +# +# SecTestXDelete.java test properties +# +SecTestXDelete.mustPass=true +SecTestXDelete.fName=foo + +# +# SecTestXExec.java test properties +# +SecTestXExec.mustPass=true +SecTestXExec.fExec=ls -l + +# +# SecTestXExit.java test properties +# +SecTestXExit.mustPass=true + +# +# SecTestXLink.java test properties +# +SecTestXLink.mustPass=true +SecTestXLink.fLink=sirius + +# +# SecTestXListen.java test properties +# +SecTestXListen.mustPass=true +SecTestXListen.fPort=80 + +# +# SecTestXPakAcc.java test properties +# +SecTestXPakAcc.mustPass=true +SecTestXPakAcc.packageName=java.awt + +# +# SecTestXPakDef.java test properties +# +SecTestXPakDef.mustPass=true +SecTestXPakDef.packageName=java.awt + +# +# SecTestXPropAcc.java test properties +# +SecTestXPropAcc.mustPass=true + +# +# SecTestXRead.java test properties +# +SecTestXRead.mustPass=true +SecTestXRead.fName=foo + +# +# SecTestXSetFac.java test properties +# +SecTestXSetFac.mustPass=true + +# +# SecTestXWrite.java test properties +# +SecTestXWrite.mustPass=true +SecTestXWrite.fName=foo + +# +# WriteFileTest.java test properties +# +WriteFileTest.mustPass=true +WriteFileTest.FileName=foo + diff --git a/mozilla/java/plugins/test/config/SecurityTests.template b/mozilla/java/plugins/test/config/SecurityTests.template index 65f0b6820f8..b5109bac016 100644 --- a/mozilla/java/plugins/test/config/SecurityTests.template +++ b/mozilla/java/plugins/test/config/SecurityTests.template @@ -1,351 +1,351 @@ -# -# SecurityTests.template -# -# This is a template file for the security tests properties. -# - -# -# DeleteFileTest.java test properties -# -DeleteFileTest.mustPass= -DeleteFileTest.FileName= - -# -# GetClipboardTest.java test properties -# -GetClipboardTest.mustPass= - -# -# GetSysPropsTest.java test properties -# -GetSysPropsTest.mustPass= -GetSysPropsTest.propertyName= - -# -# OpenWinTest.java test properties -# -OpenWinTest.mustPass= - -# -# PrintTest.java test properties -# -PrintTest.mustPass= - -# -# ReadFileTest.java test properties -# -ReadFileTest.mustPass= -ReadFileTest.FileName= - -# -# RemoteConnectTest.java test properties -# -RemoteConnectTest.mustPass= -RemoteConnectTest.URL= - -# -# RunProgramTest.java test properties -# -RunProgramTest.mustPass= -RunProgramTest.command= - -# -# SecTestCanRead.java test properties -# -SecTestCanRead.mustPass= -SecTestCanRead.fName= -# -# SecTestCanWrite.java test properties -# -SecTestCanWrite.mustPass= - -# -# SecTestClipboard.java test properties -# -SecTestClipboard.mustPass= - -# -# SecTestDelete.java test properties -# -SecTestDelete.mustPass= - -# -# SecTestEnv.java test properties -# -SecTestEnv.mustPass= - -# -# SecTestExists.java test properties -# -SecTestExists.mustPass= - -# -# SecTestFileDescriptorIn.java test properties -# -SecTestFileDescriptorIn.mustPass= - -# -# SecTestFileDescriptorOut.java test properties -# -SecTestFileDescriptorOut.mustPass= - -# -# SecTestFileInputStream.java test properties -# -SecTestFileInputStream.mustPass= -SecTestFileInputStream.fName= - -# -# SecTestFileOutputStream.java test properties -# -SecTestFileOutputStream.mustPass= - -# -# SecTestGetAbsolutePath.java test properties -# -SecTestGetAbsolutePath.mustPass= - -# -# SecTestGetCanonicalPath.java test properties -# -SecTestGetCanonicalPath.mustPass= - -# -# SecTestGetContent.java test properties -# -SecTestGetContent.mustPass= -SecTestGetContent.fName= - -# -# SecTestGetParent.java test properties -# -SecTestGetParent.mustPass= - -# -# SecTestGetPath.java test properties -# -SecTestGetPath.mustPass= -SecTestGetPath.fName= - -# -# SecTestGetProps.java test properties -# -SecTestGetProps.mustPass= - -# -# SecTestGetSecMgr.java test properties -# -SecTestGetSecMgr.mustPass= - -# -# SecTestIsDirectory.java test properties -# -SecTestIsDirectory.mustPass= - -# -# SecTestIsFile.java test properties -# -SecTestIsFile.mustPass= - -# -# SecTestLastModified.java test properties -# -SecTestLastModified.mustPass= - -# -# SecTestLength.java test properties -# -SecTestLength.mustPass= - -# -# SecTestList.java test properties -# -SecTestList.mustPass= - -# -# SecTestListJSFilter.java test properties -# -SecTestListJSFilter.mustPass= - -# -# SecTestMkdir.java test properties -# -SecTestMkdir.mustPass= - -# -# SecTestMkdirs.java test properties -# -SecTestMkdirs.mustPass= - -# -# SecTestOpenConx.java test properties -# -SecTestOpenConx.mustPass= -SecTestOpenConx.URL= - -# -# SecTestPrintStream.java test properties -# -SecTestPrintStream.mustPass= - -# -# SecTestRandomAccess.java test properties -# -SecTestRandomAccess.mustPass= - -# -# SecTestRandomAccessRW.java test properties -# -SecTestRandomAccessRW.mustPass= - -# -# SecTestRenameTo.java test properties -# -SecTestRenameTo.mustPass= - -# -# SecTestRunExec.java test properties -# -SecTestRunExec.mustPass= -SecTestRunExec.fExec= - -# -# SecTestRunExit.java test properties -# -SecTestRunExit.mustPass= - -# -# SecTestRunLoad.java test properties -# -SecTestRunLoad.mustPass= -SecTestRunLoad.libName= -# -# SecTestRunLoadLib.java test properties -# -SecTestRunLoadLib.mustPass= -SecTestRunLoadLib.libName= - -# -# SecTestSetSecMgr.java test properties -# -SecTestSetSecMgr.mustPass= - -# -# SecTestSocket.java test properties -# -SecTestSocket.mustPass= -SecTestSocket.fHost= -SecTestSocket.fPort= - -# -# SecTestSysExit.java test properties -# -SecTestSysExit.mustPass= - -# -# SecTestURLFac.java test properties -# -SecTestURLFac.mustPass= -# -# SecTestXAccept.java test properties -# -SecTestXAccept.mustPass= -SecTestXAccept.fHost= -SecTestXAccept.fPort= - -# -# SecTestXAccess.java test properties -# -SecTestXAccess.mustPass= - -# -# SecTestXAccessTG.java test properties -# -SecTestXAccessTG.mustPass= - -# -# SecTestXAccessTop.java test properties -# -SecTestXAccessTop.mustPass= - -# -# SecTestXCCL.java test properties -# -SecTestXCCL.mustPass= - -# -# SecTestXConn.java test properties -# -SecTestXConn.mustPass= -SecTestXConn.fHost= -SecTestXConn.fPort= - -# -# SecTestXDelete.java test properties -# -SecTestXDelete.mustPass= -SecTestXDelete.fName= - -# -# SecTestXExec.java test properties -# -SecTestXExec.mustPass= -SecTestXExec.fExec= - -# -# SecTestXExit.java test properties -# -SecTestXExit.mustPass= - -# -# SecTestXLink.java test properties -# -SecTestXLink.mustPass= -SecTestXLink.fLink= - -# -# SecTestXListen.java test properties -# -SecTestXListen.mustPass= -SecTestXListen.fPort= - -# -# SecTestXPakAcc.java test properties -# -SecTestXPakAcc.mustPass= -SecTestXPakAcc.packageName= - -# -# SecTestXPakDef.java test properties -# -SecTestXPakDef.mustPass= -SecTestXPakDef.packageName= - -# -# SecTestXPropAcc.java test properties -# -SecTestXPropAcc.mustPass= - -# -# SecTestXRead.java test properties -# -SecTestXRead.mustPass= -SecTestXRead.fName= - -# -# SecTestXSetFac.java test properties -# -SecTestXSetFac.mustPass= - -# -# SecTestXWrite.java test properties -# -SecTestXWrite.mustPass= -SecTestXWrite.fName= - -# -# WriteFileTest.java test properties -# -WriteFileTest.mustPass= -WriteFileTest.FileName= - +# +# SecurityTests.template +# +# This is a template file for the security tests properties. +# + +# +# DeleteFileTest.java test properties +# +DeleteFileTest.mustPass= +DeleteFileTest.FileName= + +# +# GetClipboardTest.java test properties +# +GetClipboardTest.mustPass= + +# +# GetSysPropsTest.java test properties +# +GetSysPropsTest.mustPass= +GetSysPropsTest.propertyName= + +# +# OpenWinTest.java test properties +# +OpenWinTest.mustPass= + +# +# PrintTest.java test properties +# +PrintTest.mustPass= + +# +# ReadFileTest.java test properties +# +ReadFileTest.mustPass= +ReadFileTest.FileName= + +# +# RemoteConnectTest.java test properties +# +RemoteConnectTest.mustPass= +RemoteConnectTest.URL= + +# +# RunProgramTest.java test properties +# +RunProgramTest.mustPass= +RunProgramTest.command= + +# +# SecTestCanRead.java test properties +# +SecTestCanRead.mustPass= +SecTestCanRead.fName= +# +# SecTestCanWrite.java test properties +# +SecTestCanWrite.mustPass= + +# +# SecTestClipboard.java test properties +# +SecTestClipboard.mustPass= + +# +# SecTestDelete.java test properties +# +SecTestDelete.mustPass= + +# +# SecTestEnv.java test properties +# +SecTestEnv.mustPass= + +# +# SecTestExists.java test properties +# +SecTestExists.mustPass= + +# +# SecTestFileDescriptorIn.java test properties +# +SecTestFileDescriptorIn.mustPass= + +# +# SecTestFileDescriptorOut.java test properties +# +SecTestFileDescriptorOut.mustPass= + +# +# SecTestFileInputStream.java test properties +# +SecTestFileInputStream.mustPass= +SecTestFileInputStream.fName= + +# +# SecTestFileOutputStream.java test properties +# +SecTestFileOutputStream.mustPass= + +# +# SecTestGetAbsolutePath.java test properties +# +SecTestGetAbsolutePath.mustPass= + +# +# SecTestGetCanonicalPath.java test properties +# +SecTestGetCanonicalPath.mustPass= + +# +# SecTestGetContent.java test properties +# +SecTestGetContent.mustPass= +SecTestGetContent.fName= + +# +# SecTestGetParent.java test properties +# +SecTestGetParent.mustPass= + +# +# SecTestGetPath.java test properties +# +SecTestGetPath.mustPass= +SecTestGetPath.fName= + +# +# SecTestGetProps.java test properties +# +SecTestGetProps.mustPass= + +# +# SecTestGetSecMgr.java test properties +# +SecTestGetSecMgr.mustPass= + +# +# SecTestIsDirectory.java test properties +# +SecTestIsDirectory.mustPass= + +# +# SecTestIsFile.java test properties +# +SecTestIsFile.mustPass= + +# +# SecTestLastModified.java test properties +# +SecTestLastModified.mustPass= + +# +# SecTestLength.java test properties +# +SecTestLength.mustPass= + +# +# SecTestList.java test properties +# +SecTestList.mustPass= + +# +# SecTestListJSFilter.java test properties +# +SecTestListJSFilter.mustPass= + +# +# SecTestMkdir.java test properties +# +SecTestMkdir.mustPass= + +# +# SecTestMkdirs.java test properties +# +SecTestMkdirs.mustPass= + +# +# SecTestOpenConx.java test properties +# +SecTestOpenConx.mustPass= +SecTestOpenConx.URL= + +# +# SecTestPrintStream.java test properties +# +SecTestPrintStream.mustPass= + +# +# SecTestRandomAccess.java test properties +# +SecTestRandomAccess.mustPass= + +# +# SecTestRandomAccessRW.java test properties +# +SecTestRandomAccessRW.mustPass= + +# +# SecTestRenameTo.java test properties +# +SecTestRenameTo.mustPass= + +# +# SecTestRunExec.java test properties +# +SecTestRunExec.mustPass= +SecTestRunExec.fExec= + +# +# SecTestRunExit.java test properties +# +SecTestRunExit.mustPass= + +# +# SecTestRunLoad.java test properties +# +SecTestRunLoad.mustPass= +SecTestRunLoad.libName= +# +# SecTestRunLoadLib.java test properties +# +SecTestRunLoadLib.mustPass= +SecTestRunLoadLib.libName= + +# +# SecTestSetSecMgr.java test properties +# +SecTestSetSecMgr.mustPass= + +# +# SecTestSocket.java test properties +# +SecTestSocket.mustPass= +SecTestSocket.fHost= +SecTestSocket.fPort= + +# +# SecTestSysExit.java test properties +# +SecTestSysExit.mustPass= + +# +# SecTestURLFac.java test properties +# +SecTestURLFac.mustPass= +# +# SecTestXAccept.java test properties +# +SecTestXAccept.mustPass= +SecTestXAccept.fHost= +SecTestXAccept.fPort= + +# +# SecTestXAccess.java test properties +# +SecTestXAccess.mustPass= + +# +# SecTestXAccessTG.java test properties +# +SecTestXAccessTG.mustPass= + +# +# SecTestXAccessTop.java test properties +# +SecTestXAccessTop.mustPass= + +# +# SecTestXCCL.java test properties +# +SecTestXCCL.mustPass= + +# +# SecTestXConn.java test properties +# +SecTestXConn.mustPass= +SecTestXConn.fHost= +SecTestXConn.fPort= + +# +# SecTestXDelete.java test properties +# +SecTestXDelete.mustPass= +SecTestXDelete.fName= + +# +# SecTestXExec.java test properties +# +SecTestXExec.mustPass= +SecTestXExec.fExec= + +# +# SecTestXExit.java test properties +# +SecTestXExit.mustPass= + +# +# SecTestXLink.java test properties +# +SecTestXLink.mustPass= +SecTestXLink.fLink= + +# +# SecTestXListen.java test properties +# +SecTestXListen.mustPass= +SecTestXListen.fPort= + +# +# SecTestXPakAcc.java test properties +# +SecTestXPakAcc.mustPass= +SecTestXPakAcc.packageName= + +# +# SecTestXPakDef.java test properties +# +SecTestXPakDef.mustPass= +SecTestXPakDef.packageName= + +# +# SecTestXPropAcc.java test properties +# +SecTestXPropAcc.mustPass= + +# +# SecTestXRead.java test properties +# +SecTestXRead.mustPass= +SecTestXRead.fName= + +# +# SecTestXSetFac.java test properties +# +SecTestXSetFac.mustPass= + +# +# SecTestXWrite.java test properties +# +SecTestXWrite.mustPass= +SecTestXWrite.fName= + +# +# WriteFileTest.java test properties +# +WriteFileTest.mustPass= +WriteFileTest.FileName= + diff --git a/mozilla/java/plugins/test/config/set_env.bat b/mozilla/java/plugins/test/config/set_env.bat index 06c72919f32..79f08bc896c 100644 --- a/mozilla/java/plugins/test/config/set_env.bat +++ b/mozilla/java/plugins/test/config/set_env.bat @@ -1,4 +1,4 @@ -# The directory where html files of tests should be placed -# The URL of this directory should be pointed in HTML_ROOT -set HTML_ROOT_DIR=h:\apache\share\htdocs\pl_tests - +# The directory where html files of tests should be placed +# The URL of this directory should be pointed in HTML_ROOT +set HTML_ROOT_DIR=h:\apache\share\htdocs\pl_tests + diff --git a/mozilla/java/plugins/test/doc/equiv_classes.html b/mozilla/java/plugins/test/doc/equiv_classes.html index db62527a5a2..259893db116 100644 --- a/mozilla/java/plugins/test/doc/equiv_classes.html +++ b/mozilla/java/plugins/test/doc/equiv_classes.html @@ -1,438 +1,438 @@ - - - -Browser side pluglet API arguments partitioning. - - - -Table of contents -
    -
  1. Introduction -
  2. PlugletManager interface -
  3. PlugletPeer interface -
  4. PlugletStreamInfo interface -
  5. PlugletTagInfo -
  6. PlugletTagInfo2 -
- -Below the description of equivalence class partitioning of the browser side pluglet API.
-This partitioning is based on: -
    -
  • common partitioning for parameter of given type
    - (for example <for_string>: null, 0 length, some arbitrary string) -
  • partitioning from point of view of functional sense of this parameter
    - (for example <for_target>: <for_string>, "_self", "_parent", "_top", "_blank", - non-existing and existing named target) -
-Some commom set of parameters: - - - - - -
<for_int> 0, (+-)MAX, some arbitrary value
<for_boolean> true, false
<for_string>null, non-null with 0 length, some arbitrary string
<for_target> <for_string>, "_self", "_parent", "_top", "_blank", non-existing and - existing named target
-
-Comment: 
-- for PlugletManager.getURL and especially for PlugletManager.postURL the number of 
-  possible combinations of parameters is very big, so the combinations with more than 
-  2 for getURL and 1 for postURL "incorrect" parameters will not be tested.
-- for methods with non-void return values should be modelled situations such that expected 
-  return values cover all significant classes from specified set of return values (
-  for example for PlugletInstancePeer.getMode specified set of return values consist of  
-  only two values indicated embedded pluglet or full-page ( not of whole set of int values)) 
-- values of arguments for each test you can find in the ParamCombinations file in test dir
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Interface PlugletManager
-Method - -Arguments - -Values -
public void getURL -PlugletInstance plugletInstnull, this and other instance (when method is called inside the pluglet instance)
URL urlnull, http, javascript, ftp, file(win32 & unix), gopher, news -
String target -<for_target> -
PlugletStreamListener streamListener -null, new listener and used -
String altHost -null, the same as in url, other than in url, bad string(not ip address) -
URL refferer -null, the url of this page - cases of http, javascript, ftp, file(although in - last 3 cases there is not refferer) -
boolean forceJSEnabled -<for_boolean> -
public void postURL -PlugletInstance plugletInstnull, this and other instance (when method is called inside the pluglet instance)
URL url -null, http, javascript, ftp, file(win32 & unix), news, mailto -
int postDataLen -<for_int>, equal to actual length, less and great -
byte[] postData -null, 0 byte array, random array fulfiled and not, syntactically - correct path + name of existing file and non-existent, also syntactically incorrect path -
boolean isFile -<for_boolean> -
String target -<for_target> -
PlugletStreamListener streamListener -null, new listener and used -
String altHost -null, the same as in url, other than in url, bad string(not ip address) -
URL referrer -null, the url of this page - cases of http, javascript, ftp, file(although in - last 3 cases there is not refferer) -
boolean forceJSEnabled -<for_boolean> -
int postHeadersLength -<for_int>, equal to actual length, less and great -
byte[] postHeaders -postHeaders - null, 0 byte array, correctly formed headers (fulfiled array and not) and not -
public void reloadPluglets -boolean reloadPages<for_boolean>
public String userAgentnonenone
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Interface PlugletPeer
-Method - -Arguments - -Values -
public String getMIMETypenonenone
public int getModenonenone
public PlugletTagInfo getTagInfononenone
public String getValueint variable<for_int>, PlugletInstancePeer.NETSCAPE_WINDOW, PlugletManager.APPCONTEXT, - PlugletManager.DISPLAY
public OutputStream newStreamString type<for_string>, text/html, text/plain, image/gif, application/x-java-vm, incorrectly formed
String target -<for_target> -
public void setWindowSizeint width<for_int>
int height -<for_int> -
public void showStatusString message<for_string>
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Interface PlugletStreamInfo
-Method - -Arguments - -Values -
public String getContentTypenonenone
public int getLastModifiednonenone
public int getLengthnonenone
public String getURLnonenone
public boolean isSeekablenonenone
public void requestReadByteRanges rangesnull, non-null object with 0 ranges, with 1 range for each combination: <for_int> x <for_int>, with more than 1 range
- -
- - - - - - - - - - - - - - - - - -
Interface PlugletTagInfo
-Method - -Arguments - -Values -
public String getAttributeString name<for_string>, existing attribute name
public Properties getAttributesnonenone
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Interface PlugletTagInfo2
-Method - -Arguments - -Values -
public String getAlignmentnonenone
public String getAttributeString name<for_string>, existing attribute name
public Properties getAttributesnonenone
public int getBorderHorizSpacenonenone
public int getBorderVertSpacenonenone
public String getDocumentBasenonenone
public String getDocumentEncodingnonenone
public int getHeightnonenone
public String getParameterString name<for_string>, existing parameter name
public Properties getParametersnonenone
public String getTagTextnonenone
public String getTagTypenonenone
public int getUniqueIDnonenone
public int getWidthnonenone
- - - - - - - - - - - + + + +Browser side pluglet API arguments partitioning. + + + +Table of contents +
    +
  1. Introduction +
  2. PlugletManager interface +
  3. PlugletPeer interface +
  4. PlugletStreamInfo interface +
  5. PlugletTagInfo +
  6. PlugletTagInfo2 +
+ +Below the description of equivalence class partitioning of the browser side pluglet API.
+This partitioning is based on: +
    +
  • common partitioning for parameter of given type
    + (for example <for_string>: null, 0 length, some arbitrary string) +
  • partitioning from point of view of functional sense of this parameter
    + (for example <for_target>: <for_string>, "_self", "_parent", "_top", "_blank", + non-existing and existing named target) +
+Some commom set of parameters: + + + + + +
<for_int> 0, (+-)MAX, some arbitrary value
<for_boolean> true, false
<for_string>null, non-null with 0 length, some arbitrary string
<for_target> <for_string>, "_self", "_parent", "_top", "_blank", non-existing and + existing named target
+
+Comment: 
+- for PlugletManager.getURL and especially for PlugletManager.postURL the number of 
+  possible combinations of parameters is very big, so the combinations with more than 
+  2 for getURL and 1 for postURL "incorrect" parameters will not be tested.
+- for methods with non-void return values should be modelled situations such that expected 
+  return values cover all significant classes from specified set of return values (
+  for example for PlugletInstancePeer.getMode specified set of return values consist of  
+  only two values indicated embedded pluglet or full-page ( not of whole set of int values)) 
+- values of arguments for each test you can find in the ParamCombinations file in test dir
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Interface PlugletManager
+Method + +Arguments + +Values +
public void getURL +PlugletInstance plugletInstnull, this and other instance (when method is called inside the pluglet instance)
URL urlnull, http, javascript, ftp, file(win32 & unix), gopher, news +
String target +<for_target> +
PlugletStreamListener streamListener +null, new listener and used +
String altHost +null, the same as in url, other than in url, bad string(not ip address) +
URL refferer +null, the url of this page - cases of http, javascript, ftp, file(although in + last 3 cases there is not refferer) +
boolean forceJSEnabled +<for_boolean> +
public void postURL +PlugletInstance plugletInstnull, this and other instance (when method is called inside the pluglet instance)
URL url +null, http, javascript, ftp, file(win32 & unix), news, mailto +
int postDataLen +<for_int>, equal to actual length, less and great +
byte[] postData +null, 0 byte array, random array fulfiled and not, syntactically + correct path + name of existing file and non-existent, also syntactically incorrect path +
boolean isFile +<for_boolean> +
String target +<for_target> +
PlugletStreamListener streamListener +null, new listener and used +
String altHost +null, the same as in url, other than in url, bad string(not ip address) +
URL referrer +null, the url of this page - cases of http, javascript, ftp, file(although in + last 3 cases there is not refferer) +
boolean forceJSEnabled +<for_boolean> +
int postHeadersLength +<for_int>, equal to actual length, less and great +
byte[] postHeaders +postHeaders + null, 0 byte array, correctly formed headers (fulfiled array and not) and not +
public void reloadPluglets +boolean reloadPages<for_boolean>
public String userAgentnonenone
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Interface PlugletPeer
+Method + +Arguments + +Values +
public String getMIMETypenonenone
public int getModenonenone
public PlugletTagInfo getTagInfononenone
public String getValueint variable<for_int>, PlugletInstancePeer.NETSCAPE_WINDOW, PlugletManager.APPCONTEXT, + PlugletManager.DISPLAY
public OutputStream newStreamString type<for_string>, text/html, text/plain, image/gif, application/x-java-vm, incorrectly formed
String target +<for_target> +
public void setWindowSizeint width<for_int>
int height +<for_int> +
public void showStatusString message<for_string>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Interface PlugletStreamInfo
+Method + +Arguments + +Values +
public String getContentTypenonenone
public int getLastModifiednonenone
public int getLengthnonenone
public String getURLnonenone
public boolean isSeekablenonenone
public void requestReadByteRanges rangesnull, non-null object with 0 ranges, with 1 range for each combination: <for_int> x <for_int>, with more than 1 range
+ +
+ + + + + + + + + + + + + + + + + +
Interface PlugletTagInfo
+Method + +Arguments + +Values +
public String getAttributeString name<for_string>, existing attribute name
public Properties getAttributesnonenone
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Interface PlugletTagInfo2
+Method + +Arguments + +Values +
public String getAlignmentnonenone
public String getAttributeString name<for_string>, existing attribute name
public Properties getAttributesnonenone
public int getBorderHorizSpacenonenone
public int getBorderVertSpacenonenone
public String getDocumentBasenonenone
public String getDocumentEncodingnonenone
public int getHeightnonenone
public String getParameterString name<for_string>, existing parameter name
public Properties getParametersnonenone
public String getTagTextnonenone
public String getTagTypenonenone
public int getUniqueIDnonenone
public int getWidthnonenone
+ + + + + + + + + + + diff --git a/mozilla/java/plugins/test/doc/params/params.html b/mozilla/java/plugins/test/doc/params/params.html index 6b0db37aeed..9c44bd72fa6 100644 --- a/mozilla/java/plugins/test/doc/params/params.html +++ b/mozilla/java/plugins/test/doc/params/params.html @@ -1,137 +1,137 @@ - -Index of tests on passed in client side api simple parameters - -Index of tests on passed in client side api simple parameters
-(i.e not browser side objects, which is subject for browser side api tests) -
    -
  1. Pluglet_createPlugletInstance_mimeType_1 -
  2. Pluglet_createPlugletInstance_mimeType_2 -
  3. Pluglet_createPlugletInstance_mimeType_3 -
  4. Pluglet_createPlugletInstance_mimeType_4 -
  5. Pluglet_createPlugletInstance_mimeType_5 -
  6. Pluglet_createPlugletInstance_mimeType_6 -
  7. PlugletStreamListener_onDataAvailable_input_1 -
  8. PlugletStreamListener_onDataAvailable_input_2 -
  9. PlugletStreamListener_onDataAvailable_input_3 -
  10. PlugletStreamListener_onDataAvailable_input_4 -
  11. PlugletStreamListener_onDataAvailable_input_5 -
  12. PlugletStreamListener_onDataAvailable_input_6 -
  13. PlugletStreamListener_onDataAvailable_input_7 -
  14. PlugletStreamListener_onDataAvailable_input_8 -
  15. PlugletStreamListener_onDataAvailable_input_9 -
  16. PlugletStreamListener_onDataAvailable_input_11 -
  17. PlugletStreamListener_onDataAvailable_input_12 -
-
-Pluglet.createPlugletInstance(String mimeType)
-
-
-  basic/params/Pluglet_createPlugletInstance_mimeType_1
-    The test on the mimetype "*"
-
-
-  basic/params/Pluglet_createPlugletInstance_mimeType_2
-    The test on the ordinary mimetype "application/x-pluglet-test-params"
-
-
-  basic/params/Pluglet_createPlugletInstance_mimeType_3
-    The test on the mimetype with attributes: "multipart/x-pluglet-test-params; boundary=Some_Boundary"
-
-
-  basic/params/Pluglet_createPlugletInstance_mimeType_4
-    The test on the non-correctly formed mimetype: "some_type"
-
-
-  basic/params/Pluglet_createPlugletInstance_mimeType_5
-    The test on case insensitivity: "MULTIPART/X-PLUGLET-TEST-PARAMS; boundary=Some_Boundary"
-
-
-  basic/params/Pluglet_createPlugletInstance_mimeType_6
-    The test on passin in mimetype in the case when only SRC attribute
-    is pointed.
-
-
-PlugletStreamListener.onDataAvailable(PlugletStreamInfo plugletInfo, InputStream input, int  length)
-
-- input
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_1
-    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.    
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_2
-    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.
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_3
-    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.    
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_4
-    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.    
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_5
-    Test for passed in onDataAvailable method 2d parameter (input)   
-    The goal is to check the correctnesses of its method skip(long) 
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_6
-    Test for passed in onDataAvailable method 2d parameter (input)   
-    The goal is to check the correctnesses of its method close() 
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_7
-    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.
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_8
-    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.
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_9
-    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.
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_11
-    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.
-
-
-  basic/params/PlugletStreamListener_onDataAvailable_input_12
-    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.
-
-
-
-
-
+ +Index of tests on passed in client side api simple parameters + +Index of tests on passed in client side api simple parameters
+(i.e not browser side objects, which is subject for browser side api tests) +
    +
  1. Pluglet_createPlugletInstance_mimeType_1 +
  2. Pluglet_createPlugletInstance_mimeType_2 +
  3. Pluglet_createPlugletInstance_mimeType_3 +
  4. Pluglet_createPlugletInstance_mimeType_4 +
  5. Pluglet_createPlugletInstance_mimeType_5 +
  6. Pluglet_createPlugletInstance_mimeType_6 +
  7. PlugletStreamListener_onDataAvailable_input_1 +
  8. PlugletStreamListener_onDataAvailable_input_2 +
  9. PlugletStreamListener_onDataAvailable_input_3 +
  10. PlugletStreamListener_onDataAvailable_input_4 +
  11. PlugletStreamListener_onDataAvailable_input_5 +
  12. PlugletStreamListener_onDataAvailable_input_6 +
  13. PlugletStreamListener_onDataAvailable_input_7 +
  14. PlugletStreamListener_onDataAvailable_input_8 +
  15. PlugletStreamListener_onDataAvailable_input_9 +
  16. PlugletStreamListener_onDataAvailable_input_11 +
  17. PlugletStreamListener_onDataAvailable_input_12 +
+
+Pluglet.createPlugletInstance(String mimeType)
+
+
+  basic/params/Pluglet_createPlugletInstance_mimeType_1
+    The test on the mimetype "*"
+
+
+  basic/params/Pluglet_createPlugletInstance_mimeType_2
+    The test on the ordinary mimetype "application/x-pluglet-test-params"
+
+
+  basic/params/Pluglet_createPlugletInstance_mimeType_3
+    The test on the mimetype with attributes: "multipart/x-pluglet-test-params; boundary=Some_Boundary"
+
+
+  basic/params/Pluglet_createPlugletInstance_mimeType_4
+    The test on the non-correctly formed mimetype: "some_type"
+
+
+  basic/params/Pluglet_createPlugletInstance_mimeType_5
+    The test on case insensitivity: "MULTIPART/X-PLUGLET-TEST-PARAMS; boundary=Some_Boundary"
+
+
+  basic/params/Pluglet_createPlugletInstance_mimeType_6
+    The test on passin in mimetype in the case when only SRC attribute
+    is pointed.
+
+
+PlugletStreamListener.onDataAvailable(PlugletStreamInfo plugletInfo, InputStream input, int  length)
+
+- input
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_1
+    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.    
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_2
+    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.
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_3
+    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.    
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_4
+    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.    
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_5
+    Test for passed in onDataAvailable method 2d parameter (input)   
+    The goal is to check the correctnesses of its method skip(long) 
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_6
+    Test for passed in onDataAvailable method 2d parameter (input)   
+    The goal is to check the correctnesses of its method close() 
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_7
+    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.
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_8
+    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.
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_9
+    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.
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_11
+    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.
+
+
+  basic/params/PlugletStreamListener_onDataAvailable_input_12
+    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.
+
+
+
+
+
\ No newline at end of file diff --git a/mozilla/java/plugins/test/doc/returns/returns.html b/mozilla/java/plugins/test/doc/returns/returns.html index 7f4dc46a35c..a627e2f1823 100644 --- a/mozilla/java/plugins/test/doc/returns/returns.html +++ b/mozilla/java/plugins/test/doc/returns/returns.html @@ -1,17 +1,17 @@ - -Index of tests on returning values from the client side Pluglet API. - -
-Index of tests on returning values from the client side Pluglet API.
-
-basic/returns/Pluglet_createPlugletInstance
-  The test tests the stability in case when the
-  null is returned instead of PlugletInstance
-
-basic/returns/PlugletInstance_newStream
-  The test tests the stability in case when the 
-  null is returned instead of new stream.
-
-
-
+ +Index of tests on returning values from the client side Pluglet API. + +
+Index of tests on returning values from the client side Pluglet API.
+
+basic/returns/Pluglet_createPlugletInstance
+  The test tests the stability in case when the
+  null is returned instead of PlugletInstance
+
+basic/returns/PlugletInstance_newStream
+  The test tests the stability in case when the 
+  null is returned instead of new stream.
+
+
+
\ No newline at end of file diff --git a/mozilla/java/plugins/test/doc/scenario/scenario.html b/mozilla/java/plugins/test/doc/scenario/scenario.html index 87a505247bb..8d0a0f646ee 100644 --- a/mozilla/java/plugins/test/doc/scenario/scenario.html +++ b/mozilla/java/plugins/test/doc/scenario/scenario.html @@ -1,257 +1,257 @@ - - -Index of scenario tests - - -Index of scenario tests. -
    -
  1. basic/scenario/1 -
  2. basic/scenario/2 -
  3. basic/scenario/3 -
  4. basic/scenario/4 -
  5. basic/scenario/5 -
  6. basic/scenario/8 -
  7. basic/scenario/9 -
  8. basic/scenario/fr1 -
  9. basic/scenario/fr2 -
  10. basic/scenario/fr3 -
-
-Comment: Description of test cases below contains the parts of 
-corresponding TestProperties files which points out 
-the stages when the test will be executed (RUN_STAGES) and 
-the required sequence of calls (STAGE_(N)). 
-
-
-basic/scenario/1
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet and closing browser after that.
-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
-
-
-basic/scenario/2
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet, leaving this page and going back.
-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
-
-
-basic/scenario/3
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet and reloading page after that.
-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
-
-
-basic/scenario/4
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet, going back to the previous page and going forward to 
-  this page.
-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
-
-
-basic/scenario/5
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet in new window and closing this new window.
-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
-
-
-basic/scenario/8
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet with SRC attribute, loading data and closing browser.
-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
-
-
-basic/scenario/9
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet with SRC attribute, loading data and reloading the page.
-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
-
-
-basic/scenario/fr1
-  The framed version of the basic/scenario/1
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet into a frame and closing browser after that.
-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
-
-
-basic/scenario/fr2
-  The framed version of the basic/scenario/2
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet into a frame, leaving this page and going back.
-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
-
-
-basic/scenario/fr3
-  The framed version of the basic/scenario/3.
-  Test on correctnesses of calls sequence in case of loading page 
-  with pluglet into a frame and reloading page after that.
-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
-
-
- - - - - - - - + + +Index of scenario tests + + +Index of scenario tests. +
    +
  1. basic/scenario/1 +
  2. basic/scenario/2 +
  3. basic/scenario/3 +
  4. basic/scenario/4 +
  5. basic/scenario/5 +
  6. basic/scenario/8 +
  7. basic/scenario/9 +
  8. basic/scenario/fr1 +
  9. basic/scenario/fr2 +
  10. basic/scenario/fr3 +
+
+Comment: Description of test cases below contains the parts of 
+corresponding TestProperties files which points out 
+the stages when the test will be executed (RUN_STAGES) and 
+the required sequence of calls (STAGE_(N)). 
+
+
+basic/scenario/1
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet and closing browser after that.
+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
+
+
+basic/scenario/2
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet, leaving this page and going back.
+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
+
+
+basic/scenario/3
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet and reloading page after that.
+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
+
+
+basic/scenario/4
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet, going back to the previous page and going forward to 
+  this page.
+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
+
+
+basic/scenario/5
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet in new window and closing this new window.
+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
+
+
+basic/scenario/8
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet with SRC attribute, loading data and closing browser.
+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
+
+
+basic/scenario/9
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet with SRC attribute, loading data and reloading the page.
+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
+
+
+basic/scenario/fr1
+  The framed version of the basic/scenario/1
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet into a frame and closing browser after that.
+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
+
+
+basic/scenario/fr2
+  The framed version of the basic/scenario/2
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet into a frame, leaving this page and going back.
+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
+
+
+basic/scenario/fr3
+  The framed version of the basic/scenario/3.
+  Test on correctnesses of calls sequence in case of loading page 
+  with pluglet into a frame and reloading page after that.
+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/doc/security/DeleteFileTest.html b/mozilla/java/plugins/test/doc/security/DeleteFileTest.html index f1c7e05afef..1d51a744d3b 100644 --- a/mozilla/java/plugins/test/doc/security/DeleteFileTest.html +++ b/mozilla/java/plugins/test/doc/security/DeleteFileTest.html @@ -1,69 +1,69 @@ - - - -
-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.DeleteFileTest - -

-Tries to delete a file from the local disk -
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.DeleteFileTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.DeleteFileTest + +

+Tries to delete a file from the local disk +
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.DeleteFileTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/GetClipboardTest.html b/mozilla/java/plugins/test/doc/security/GetClipboardTest.html index 1dbcf02e9f8..46d7f417991 100644 --- a/mozilla/java/plugins/test/doc/security/GetClipboardTest.html +++ b/mozilla/java/plugins/test/doc/security/GetClipboardTest.html @@ -1,67 +1,67 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.GetClipboardTest -

Tries to retrieve a local clipboard -
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.GetClipboardTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.GetClipboardTest +

Tries to retrieve a local clipboard +
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.GetClipboardTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/GetSysPropsTest.html b/mozilla/java/plugins/test/doc/security/GetSysPropsTest.html index bbad388f5f1..0a96e4d7cff 100644 --- a/mozilla/java/plugins/test/doc/security/GetSysPropsTest.html +++ b/mozilla/java/plugins/test/doc/security/GetSysPropsTest.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.GetSysPropsTest -

Tries to get system properties
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.GetSysPropsTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.GetSysPropsTest +

Tries to get system properties
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.GetSysPropsTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/OpenWinTest.html b/mozilla/java/plugins/test/doc/security/OpenWinTest.html index aa5deb076a4..20c366fa517 100644 --- a/mozilla/java/plugins/test/doc/security/OpenWinTest.html +++ b/mozilla/java/plugins/test/doc/security/OpenWinTest.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.OpenWinTest -

Tries to open a new window
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.OpenWinTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.OpenWinTest +

Tries to open a new window
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.OpenWinTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/PrintTest.html b/mozilla/java/plugins/test/doc/security/PrintTest.html index 221737fff49..2abc431e2bf 100644 --- a/mozilla/java/plugins/test/doc/security/PrintTest.html +++ b/mozilla/java/plugins/test/doc/security/PrintTest.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.PrintTest -

Tries to print something on the local printer
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.PrintTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.PrintTest +

Tries to print something on the local printer
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.PrintTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/ReadFileTest.html b/mozilla/java/plugins/test/doc/security/ReadFileTest.html index ae60ff7a8a6..f2a8588c283 100644 --- a/mozilla/java/plugins/test/doc/security/ReadFileTest.html +++ b/mozilla/java/plugins/test/doc/security/ReadFileTest.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.ReadFileTest -

Tries to read the local file
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.ReadFileTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.ReadFileTest +

Tries to read the local file
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.ReadFileTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/RemoteConnectTest.html b/mozilla/java/plugins/test/doc/security/RemoteConnectTest.html index 00ac4643fec..c7e0d5b3434 100644 --- a/mozilla/java/plugins/test/doc/security/RemoteConnectTest.html +++ b/mozilla/java/plugins/test/doc/security/RemoteConnectTest.html @@ -1,67 +1,67 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.RemoteConnectTest - -

Tries to establish a certain connection to some host
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.RemoteConnectTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.RemoteConnectTest + +

Tries to establish a certain connection to some host
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.RemoteConnectTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/RunProgramTest.html b/mozilla/java/plugins/test/doc/security/RunProgramTest.html index ce1f8a9f20e..2c9957a9a78 100644 --- a/mozilla/java/plugins/test/doc/security/RunProgramTest.html +++ b/mozilla/java/plugins/test/doc/security/RunProgramTest.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.RunProgramTest -

Tries to run some program
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.RunProgramTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.RunProgramTest +

Tries to run some program
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.RunProgramTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/WriteFileTest.html b/mozilla/java/plugins/test/doc/security/WriteFileTest.html index 6d9aa08268d..957f6bb6782 100644 --- a/mozilla/java/plugins/test/doc/security/WriteFileTest.html +++ b/mozilla/java/plugins/test/doc/security/WriteFileTest.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.WriteFileTest -

Tries to write some local file
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.WriteFileTest -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.WriteFileTest +

Tries to write some local file
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.WriteFileTest +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestCanRead.html b/mozilla/java/plugins/test/doc/security/automation/SecTestCanRead.html index c8217c64949..ce3201544f3 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestCanRead.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestCanRead.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestCanRead -

Test if pluglet can read from the local disk
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestCanRead -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestCanRead +

Test if pluglet can read from the local disk
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestCanRead +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestCanWrite.html b/mozilla/java/plugins/test/doc/security/automation/SecTestCanWrite.html index cd553f4a930..03bb5bef4b6 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestCanWrite.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestCanWrite.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestCanWrite -

Tests if pluglet can write to the local disk
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestCanWrite -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestCanWrite +

Tests if pluglet can write to the local disk
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestCanWrite +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestClipboard.html b/mozilla/java/plugins/test/doc/security/automation/SecTestClipboard.html index c9239ef8f9e..1de6fb61812 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestClipboard.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestClipboard.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestClipboard -
Tests if pluglet can retrieve local clipboard
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestClipboard -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestClipboard +
Tests if pluglet can retrieve local clipboard
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestClipboard +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestDelete.html b/mozilla/java/plugins/test/doc/security/automation/SecTestDelete.html index 3b57f23986c..37b3d7bcc56 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestDelete.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestDelete.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestDelete -

Tests if pluglet can delete some local file
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestDelete -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestDelete +

Tests if pluglet can delete some local file
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestDelete +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestEnv.html b/mozilla/java/plugins/test/doc/security/automation/SecTestEnv.html index 797aa603045..f6102b64d1b 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestEnv.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestEnv.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestEnv -

Tests if pluglet can read some environment settings
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestEnv -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestEnv +

Tests if pluglet can read some environment settings
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestEnv +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestExists.html b/mozilla/java/plugins/test/doc/security/automation/SecTestExists.html index 7f5802bbed3..2a89f261016 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestExists.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestExists.html @@ -1,67 +1,67 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestExists - -

Tests if pluglet can check for the local file existance
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestExists -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestExists + +

Tests if pluglet can check for the local file existance
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestExists +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorIn.html b/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorIn.html index e0c4f2fde2d..ea1250fb87c 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorIn.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorIn.html @@ -1,67 +1,67 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorIn - -

Tests if pluglet can open some file descriptor for input
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorIn -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorIn + +

Tests if pluglet can open some file descriptor for input
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorIn +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorOut.html b/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorOut.html index 22e93814e16..8939686ef40 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorOut.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestFileDescriptorOut.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorOut - -

Tests if pluglet can open some file descriptor for output
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorOut -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorOut + +

Tests if pluglet can open some file descriptor for output
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileDescriptorOut +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestFileInputStream.html b/mozilla/java/plugins/test/doc/security/automation/SecTestFileInputStream.html index 3d4f56b823e..b60f28e8510 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestFileInputStream.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestFileInputStream.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestFileInputStream -

Tests if pluglet can open local FileInputStream
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileInputStream -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestFileInputStream +

Tests if pluglet can open local FileInputStream
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileInputStream +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestFileOutputStream.html b/mozilla/java/plugins/test/doc/security/automation/SecTestFileOutputStream.html index 62857dbb828..aaab7577097 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestFileOutputStream.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestFileOutputStream.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestFileOutputStream -

Tests if pluglet can open some local FileOutputStream
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileOutputStream -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestFileOutputStream +

Tests if pluglet can open some local FileOutputStream
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestFileOutputStream +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetAbsolutePath.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetAbsolutePath.html index a02634e1f84..70474dffdc6 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetAbsolutePath.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetAbsolutePath.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetAbsolutePath -

Tests if pluglet can retrieve an abslute path to local file
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetAbsolutePath -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetAbsolutePath +

Tests if pluglet can retrieve an abslute path to local file
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetAbsolutePath +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetCanonicalPath.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetCanonicalPath.html index 0cb73aa9e83..5d72bee7b18 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetCanonicalPath.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetCanonicalPath.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetCanonicalPath -

Tests if pluglet can retrieve canonical path
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetCanonicalPath -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetCanonicalPath +

Tests if pluglet can retrieve canonical path
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetCanonicalPath +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetContent.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetContent.html index 327e0f5ff22..d4cc368f884 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetContent.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetContent.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetContent -

Tests ig pluglet can retrieve contents of the given URL
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetContent -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetContent +

Tests ig pluglet can retrieve contents of the given URL
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetContent +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetParent.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetParent.html index 3323d294582..916bdb7f505 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetParent.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetParent.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetParent -

Tests if pluglet can retrieve parent information
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetParent -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetParent +

Tests if pluglet can retrieve parent information
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetParent +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetPath.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetPath.html index b39a515f2f3..f357eee8596 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetPath.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetPath.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetPath -

Tests if pluglet can retrieve PATH environment variable
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetPath -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetPath +

Tests if pluglet can retrieve PATH environment variable
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetPath +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetProps.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetProps.html index 50a70854cef..b8abaa09953 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetProps.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetProps.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetProps -

Tests if pluglet can retrieve local properties
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetProps -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetProps +

Tests if pluglet can retrieve local properties
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetProps +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestGetSecMgr.html b/mozilla/java/plugins/test/doc/security/automation/SecTestGetSecMgr.html index e9b14773201..b78fbff4a76 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestGetSecMgr.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestGetSecMgr.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestGetSecMgr -

Tests if pluglet can set the security manager
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetSecMgr -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestGetSecMgr +

Tests if pluglet can set the security manager
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestGetSecMgr +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestIsDirectory.html b/mozilla/java/plugins/test/doc/security/automation/SecTestIsDirectory.html index ad8d9b290c9..758095d326c 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestIsDirectory.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestIsDirectory.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestIsDirectory -

Tests if pluglet can check for the local file is a directory
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestIsDirectory -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestIsDirectory +

Tests if pluglet can check for the local file is a directory
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestIsDirectory +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestIsFile.html b/mozilla/java/plugins/test/doc/security/automation/SecTestIsFile.html index 95551e2949a..5676c042c1f 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestIsFile.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestIsFile.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestIsFile -

Tests if file can check for the file is "file" type
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestIsFile -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestIsFile +

Tests if file can check for the file is "file" type
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestIsFile +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestLastModified.html b/mozilla/java/plugins/test/doc/security/automation/SecTestLastModified.html index ee51960a29f..861fa1ad9a4 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestLastModified.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestLastModified.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestLastModified -

Tests if pluglet can determinate, when the local file was modified
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestLastModified -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestLastModified +

Tests if pluglet can determinate, when the local file was modified
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestLastModified +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestLength.html b/mozilla/java/plugins/test/doc/security/automation/SecTestLength.html index f8b442608d1..edd883df754 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestLength.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestLength.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestLength -

Tests if pluglet can retrieve local file length
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestLength -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestLength +

Tests if pluglet can retrieve local file length
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestLength +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestList.html b/mozilla/java/plugins/test/doc/security/automation/SecTestList.html index 530f759ceca..60e2ef92c13 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestList.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestList.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestList -

Tests if pluglet can list a local file
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestList -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestList +

Tests if pluglet can list a local file
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestList +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestListJSFilter.html b/mozilla/java/plugins/test/doc/security/automation/SecTestListJSFilter.html index 03ad2e9f632..919aba5b1b1 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestListJSFilter.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestListJSFilter.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestListJSFilter -

Tests if pluglet can lost a file with "JS" filter
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestListJSFilter -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestListJSFilter +

Tests if pluglet can lost a file with "JS" filter
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestListJSFilter +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestMkdir.html b/mozilla/java/plugins/test/doc/security/automation/SecTestMkdir.html index f60122a8e23..3b506d37cdc 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestMkdir.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestMkdir.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestMkdir -

Tests if pluglet can create a directory
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestMkdir -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestMkdir +

Tests if pluglet can create a directory
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestMkdir +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestMkdirs.html b/mozilla/java/plugins/test/doc/security/automation/SecTestMkdirs.html index 3d9d0035969..067071abc95 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestMkdirs.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestMkdirs.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestMkdirs -

Tests if pluglet is allowed to perform "Mkdirs" operation.
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestMkdirs -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestMkdirs +

Tests if pluglet is allowed to perform "Mkdirs" operation.
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestMkdirs +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestOpenConx.html b/mozilla/java/plugins/test/doc/security/automation/SecTestOpenConx.html index c276f5ab0e4..28ec2a86c32 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestOpenConx.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestOpenConx.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestOpenConx -

Tests if pluglet is allowed to open the connection
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestOpenConx -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestOpenConx +

Tests if pluglet is allowed to open the connection
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestOpenConx +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestPrintStream.html b/mozilla/java/plugins/test/doc/security/automation/SecTestPrintStream.html index c286d768493..fc72ce49a05 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestPrintStream.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestPrintStream.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestPrintStream -

Tests if pluglet is allowed to open the local print stream
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestPrintStream -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestPrintStream +

Tests if pluglet is allowed to open the local print stream
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestPrintStream +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccess.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccess.html index b75b8731a6d..bb5836c0317 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccess.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccess.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccess -

Tests if pluglet can open the local file for random "r" access
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccess -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccess +

Tests if pluglet can open the local file for random "r" access
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccess +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccessRW.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccessRW.html index bba5e39ebea..3f008192f3b 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccessRW.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRandomAccessRW.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccessRW -

Tests if pluglet can open the local file for random "rw" access
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccessRW -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccessRW +

Tests if pluglet can open the local file for random "rw" access
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRandomAccessRW +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRenameTo.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRenameTo.html index bee0f81c87a..e92c16af8ef 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRenameTo.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRenameTo.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRenameTo -

Tests if pluglet can rename the local file
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRenameTo -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRenameTo +

Tests if pluglet can rename the local file
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRenameTo +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRunExec.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRunExec.html index 37866538469..e7b1ca7ea76 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRunExec.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRunExec.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRunExec -

Test if pluglet can execute the local command
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunExec -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRunExec +

Test if pluglet can execute the local command
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunExec +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRunExit.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRunExit.html index 7ee4e3cb621..9b6520d7491 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRunExit.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRunExit.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRunExit -

Tests if pluglet can run "exit" command
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunExit -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRunExit +

Tests if pluglet can run "exit" command
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunExit +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoad.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoad.html index 7aa23bb6865..8424513d6e8 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoad.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoad.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoad -

Tests if pluglet is allowed to execute Load command
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoad -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoad +

Tests if pluglet is allowed to execute Load command
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoad +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoadLib.html b/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoadLib.html index f8fe512e1f7..a4494280ff7 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoadLib.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestRunLoadLib.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoadLib -

Tests if pluglet is allowed to load some library
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoadLib -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoadLib +

Tests if pluglet is allowed to load some library
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestRunLoadLib +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestSetSecMgr.html b/mozilla/java/plugins/test/doc/security/automation/SecTestSetSecMgr.html index f0e15fb1c7e..143cfaf5700 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestSetSecMgr.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestSetSecMgr.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestSetSecMgr -

Tests if pluglet can set the default security manager
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestSetSecMgr -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestSetSecMgr +

Tests if pluglet can set the default security manager
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestSetSecMgr +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestSocket.html b/mozilla/java/plugins/test/doc/security/automation/SecTestSocket.html index 962de12d38a..50cb7c4166b 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestSocket.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestSocket.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestSocket -

Test if the test can open a socket
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestSocket -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestSocket +

Test if the test can open a socket
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestSocket +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestSysExit.html b/mozilla/java/plugins/test/doc/security/automation/SecTestSysExit.html index 7235cf6ab44..974faa6a74e 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestSysExit.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestSysExit.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestSysExit - -

Tests if pluglet can exit JVM
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestSysExit -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestSysExit + +

Tests if pluglet can exit JVM
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestSysExit +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestURLFac.html b/mozilla/java/plugins/test/doc/security/automation/SecTestURLFac.html index 25a130afbce..06220321eac 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestURLFac.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestURLFac.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestURLFac -

Tests if pluglet is allowed to perform setURLStreamHandlerFactory action
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestURLFac -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestURLFac +

Tests if pluglet is allowed to perform setURLStreamHandlerFactory action
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestURLFac +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccept.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccept.html index 1a6aa4c4191..377f7209b57 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccept.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccept.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXAccept -

Tests is pluglet is allowed to execute "checkAccept" operation
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccept -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXAccept +

Tests is pluglet is allowed to execute "checkAccept" operation
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccept +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccess.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccess.html index b2c152e1315..aeda3ee18c2 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccess.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccess.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXAccess -

Tests if pluglet is allowed to perform checkAccess operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccess -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXAccess +

Tests if pluglet is allowed to perform checkAccess operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccess +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTG.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTG.html index 1a9dd1b0a0b..fe8c2bcd033 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTG.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTG.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTG -

Tests if pluglet is allowed to access current thread group
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTG -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTG +

Tests if pluglet is allowed to access current thread group
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTG +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTop.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTop.html index febe854ee2d..c35b8580d97 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTop.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXAccessTop.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTop -

Tests if pluglet is allowed to access top thread from the current group
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTop -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTop +

Tests if pluglet is allowed to access top thread from the current group
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXAccessTop +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXCCL.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXCCL.html index a6e3dca89a6..a2d5d133e2e 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXCCL.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXCCL.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXCCL -

Tests if pluglet is allowed to create class loader
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXCCL -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXCCL +

Tests if pluglet is allowed to create class loader
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXCCL +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXConn.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXConn.html index e3bef5e844a..012108b3fe7 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXConn.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXConn.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXConn -

Tests if pluglet is allowed to test a connection
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXConn -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXConn +

Tests if pluglet is allowed to test a connection
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXConn +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXDelete.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXDelete.html index 8338f81cbad..b6f4ec8db45 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXDelete.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXDelete.html @@ -1,66 +1,66 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXDelete -

Tests if pluglet is allowed to check delete operation
- - -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXDelete -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXDelete +

Tests if pluglet is allowed to check delete operation
+ + +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXDelete +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXExec.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXExec.html index eca5f6cf07c..d70c3b32cbb 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXExec.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXExec.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXExec -

Tests if pluglet is allowed to check exec operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXExec -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXExec +

Tests if pluglet is allowed to check exec operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXExec +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXExit.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXExit.html index 468b0a9d38b..fa21239cd33 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXExit.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXExit.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXExit -

Tests if pluglet is allowed to check exit operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXExit -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXExit +

Tests if pluglet is allowed to check exit operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXExit +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXLink.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXLink.html index 17080be1061..f39a574b946 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXLink.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXLink.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXLink -

Tests if pluglet is allowed to check link operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXLink -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXLink +

Tests if pluglet is allowed to check link operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXLink +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXListen.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXListen.html index 7d5e38b3141..e028cbed96e 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXListen.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXListen.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXListen -

Tests if pluglet is allowed to check listen operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXListen -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXListen +

Tests if pluglet is allowed to check listen operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXListen +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXPakAcc.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXPakAcc.html index 26b517f9bb2..586bf4e7baf 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXPakAcc.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXPakAcc.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXPakAcc -

Tests if pluglet is allowed to check package access operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXPakAcc -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXPakAcc +

Tests if pluglet is allowed to check package access operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXPakAcc +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXPakDef.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXPakDef.html index 2ad54977b24..0a7293d549e 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXPakDef.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXPakDef.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXPakDef -

Tests if pluglet is allowed to check package defined operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXPakDef -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXPakDef +

Tests if pluglet is allowed to check package defined operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXPakDef +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXPropAcc.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXPropAcc.html index 7dd9b74e9ac..123167d0a8c 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXPropAcc.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXPropAcc.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXPropAcc -

Tests if pluglet is allowed to check properties access operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXPropAcc -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXPropAcc +

Tests if pluglet is allowed to check properties access operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXPropAcc +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXRead.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXRead.html index 9aed50957ff..0957231a54f 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXRead.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXRead.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXRead -

Tests if pluglet is allowed to check read operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXRead -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXRead +

Tests if pluglet is allowed to check read operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXRead +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXSetFac.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXSetFac.html index 355b9d5da6a..ba82c9b1bc1 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXSetFac.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXSetFac.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXSetFac -

Tests if pluglet is allowed to check set factory operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXSetFac -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXSetFac +

Tests if pluglet is allowed to check set factory operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXSetFac +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + diff --git a/mozilla/java/plugins/test/doc/security/automation/SecTestXWrite.html b/mozilla/java/plugins/test/doc/security/automation/SecTestXWrite.html index b1e43e3758d..cac8bf701ef 100644 --- a/mozilla/java/plugins/test/doc/security/automation/SecTestXWrite.html +++ b/mozilla/java/plugins/test/doc/security/automation/SecTestXWrite.html @@ -1,65 +1,65 @@ - - - -

-

TestCase Information

-
- -
- - -

Test Id - - - - -
  - -

Synopsis -
- - org.mozilla.pluglet.test.basic.security.automation.SecTestXWrite -

Tests if pluglet is allowed to check write operation
- -
-
  - -

Pre-Conditions -
-
- Build MOZILLA 'mozilla'
- Have MOZILLA environment setup. Check out environment settings
-
- - -

Description -
- - - -
-This method returns the name of the attribute. -
-
-Execute from command line -
-perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXWrite -
-
- - - -

Expected Result -
-
- Browser should come up.
- The security exception will or will not be thrown, depends on your - configuration of test
-
- Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
- There should be an entry indicating that the test has PASSED or FAILED.
-
-
- - - + + + +

+

TestCase Information

+
+ +
+ + +

Test Id + + + + +
  + +

Synopsis +
+ + org.mozilla.pluglet.test.basic.security.automation.SecTestXWrite +

Tests if pluglet is allowed to check write operation
+ +
+
  + +

Pre-Conditions +
+
+ Build MOZILLA 'mozilla'
+ Have MOZILLA environment setup. Check out environment settings
+
+ + +

Description +
+ + + +
+This method returns the name of the attribute. +
+
+Execute from command line +
+perl autorun.pl -t org.mozilla.pluglet.test.basic.security.automation.SecTestXWrite +
+
+ + + +

Expected Result +
+
+ Browser should come up.
+ The security exception will or will not be thrown, depends on your + configuration of test
+
+ Open file BW_TESTDIR/log/(date)BWTest.html in a browser.
+ There should be an entry indicating that the test has PASSED or FAILED.
+
+
+ + + 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 index eb342b03a16..34471a384f2 100644 --- 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 @@ -1,1596 +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 +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/NS.list b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/NS.list index 54fa2b50086..932fa9c3c1a 100644 --- 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 @@ -1,1550 +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 +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 index 0b6a01dd679..efed5cab3ef 100644 --- 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 @@ -1,92 +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 +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 index 9bf0d05bd7a..b1dffd889df 100644 --- 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 @@ -18,10 +18,10 @@ * * Contributor(s): */ -package org.mozilla.pluglet.test.basic; - -public interface Test { - - public void execute(TestContext context); - -} +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 index 36dbb646451..c936248fdc6 100644 --- 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 @@ -20,315 +20,315 @@ */ - -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; - } - }); - } - - -} - - - - - - + +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/TestDescr.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestDescr.java index 098d134c732..02b3ebd6bb9 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestDescr.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestDescr.java @@ -20,116 +20,116 @@ */ - -package org.mozilla.pluglet.test.basic; - -import java.util.*; -import org.mozilla.pluglet.*; -import org.mozilla.pluglet.mozilla.*; - -public class TestDescr { - - public static String DELAY_PROP_NAME = "DELAY"; - public static String RUN_STAGES_PROP_NAME = "RUN_STAGES"; - public static String TEST_CLASS_PROP_NAME = "TEST_CLASS"; - public static String ITERATOR_CLASS_PROP_NAME = "ITERATOR_CLASS"; - - Class testClass = null; - Class iteratorClass = null; - Test testInstance = null; - - TestContext context = null; - Vector runStages = new Vector(); - - public TestDescr() { - - } - - public void initialize(Properties props, TestContext context){ - this.context = context; - - String stagesStr; - stagesStr = props.getProperty(RUN_STAGES_PROP_NAME); - if (stagesStr != null) { - StringTokenizer st = new StringTokenizer(stagesStr); - TestStage stage = null; - System.out.println(stagesStr); - while (st.hasMoreTokens()) { - stage = TestStage.getStageByName(st.nextToken()); - if (stage != null) { - runStages.add(stage); - } else { - ;//nb - } - } - } else { - ;//nb - } - - String testClassName = props.getProperty(TEST_CLASS_PROP_NAME); - try { - testClass = Class.forName(testClassName); - } catch (Exception e) { - e.printStackTrace(); - TestContext.registerFAILED("No test class name"); - } - String iteratorClassName = props.getProperty(ITERATOR_CLASS_PROP_NAME); - if (iteratorClassName != null) { - try { - iteratorClass = Class.forName(iteratorClassName); - } catch (Exception e) { - TestContext.registerFAILED("Incorrectly specified iterator class name"); - } - try { - testInstance = new IterTest(testClass, (TestListIterator)iteratorClass.newInstance()); - } catch (Exception e) { - e.printStackTrace(); - TestContext.registerFAILED("Cann't instantiate iterator class"); - } - } else { - try { - testInstance = (Test)testClass.newInstance(); - } catch (Exception e) { - e.printStackTrace(); - TestContext.registerFAILED("Cann't instantiate test class"); - } - } - } - - public Test getTestInstance(TestStage stage) { - //System.out.println("the stage value is "+stage.getName()); - if (runStages.indexOf(stage) > -1) { - return testInstance; - } else { - return null; - } - } -} - -class IterTest implements Test { - Class testClass = null; - TestListIterator iterator = null; - - public IterTest(Class testClass, TestListIterator iterator) { - this.testClass = testClass; - this.iterator = iterator; - } - - public void execute (TestContext context) { - if (iterator.initialize(context)) { - while(iterator.next()) { - try{ - ((Test)testClass.newInstance()).execute(context); - System.out.println("Executing"); - } catch (Exception e) { - e.printStackTrace(); - TestContext.registerFAILED("Cann't instantiate/execute test"); - break; - } - } - } else { - TestContext.registerFAILED("Cann't initialize iterator"); - } - } - -} + +package org.mozilla.pluglet.test.basic; + +import java.util.*; +import org.mozilla.pluglet.*; +import org.mozilla.pluglet.mozilla.*; + +public class TestDescr { + + public static String DELAY_PROP_NAME = "DELAY"; + public static String RUN_STAGES_PROP_NAME = "RUN_STAGES"; + public static String TEST_CLASS_PROP_NAME = "TEST_CLASS"; + public static String ITERATOR_CLASS_PROP_NAME = "ITERATOR_CLASS"; + + Class testClass = null; + Class iteratorClass = null; + Test testInstance = null; + + TestContext context = null; + Vector runStages = new Vector(); + + public TestDescr() { + + } + + public void initialize(Properties props, TestContext context){ + this.context = context; + + String stagesStr; + stagesStr = props.getProperty(RUN_STAGES_PROP_NAME); + if (stagesStr != null) { + StringTokenizer st = new StringTokenizer(stagesStr); + TestStage stage = null; + System.out.println(stagesStr); + while (st.hasMoreTokens()) { + stage = TestStage.getStageByName(st.nextToken()); + if (stage != null) { + runStages.add(stage); + } else { + ;//nb + } + } + } else { + ;//nb + } + + String testClassName = props.getProperty(TEST_CLASS_PROP_NAME); + try { + testClass = Class.forName(testClassName); + } catch (Exception e) { + e.printStackTrace(); + TestContext.registerFAILED("No test class name"); + } + String iteratorClassName = props.getProperty(ITERATOR_CLASS_PROP_NAME); + if (iteratorClassName != null) { + try { + iteratorClass = Class.forName(iteratorClassName); + } catch (Exception e) { + TestContext.registerFAILED("Incorrectly specified iterator class name"); + } + try { + testInstance = new IterTest(testClass, (TestListIterator)iteratorClass.newInstance()); + } catch (Exception e) { + e.printStackTrace(); + TestContext.registerFAILED("Cann't instantiate iterator class"); + } + } else { + try { + testInstance = (Test)testClass.newInstance(); + } catch (Exception e) { + e.printStackTrace(); + TestContext.registerFAILED("Cann't instantiate test class"); + } + } + } + + public Test getTestInstance(TestStage stage) { + //System.out.println("the stage value is "+stage.getName()); + if (runStages.indexOf(stage) > -1) { + return testInstance; + } else { + return null; + } + } +} + +class IterTest implements Test { + Class testClass = null; + TestListIterator iterator = null; + + public IterTest(Class testClass, TestListIterator iterator) { + this.testClass = testClass; + this.iterator = iterator; + } + + public void execute (TestContext context) { + if (iterator.initialize(context)) { + while(iterator.next()) { + try{ + ((Test)testClass.newInstance()).execute(context); + System.out.println("Executing"); + } catch (Exception e) { + e.printStackTrace(); + TestContext.registerFAILED("Cann't instantiate/execute test"); + break; + } + } + } else { + TestContext.registerFAILED("Cann't initialize iterator"); + } + } + +} 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 index a80b1fa07ce..20e81ab84a9 100644 --- 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 @@ -20,91 +20,91 @@ */ - -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); - } - } -} - + +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 index e8944987a78..04202acbdcf 100644 --- 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 @@ -20,14 +20,14 @@ */ - -package org.mozilla.pluglet.test.basic; - -public interface TestListIterator { - - public boolean initialize(TestContext context); - - public boolean next(); - -} - + +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 index e192dc53b70..4af4f0709b6 100644 --- 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 @@ -20,91 +20,91 @@ */ - -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); - } - -} - - - + +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 index 578ab112d4a..d0c17a37ae3 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestProperties +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/TestProperties @@ -1,3 +1,3 @@ -RUN_STAGES=PLUGLET_INITIALIZE -TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_postURL_9216 +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 index fde837e2298..05fb6411547 100644 --- 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 @@ -20,96 +20,96 @@ */ - -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; - } - -} + +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 index 5d74ed976e5..7fedaf9cfc5 100644 --- 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 @@ -20,79 +20,79 @@ */ - -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(); - } -} + +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/PlugletManager_getURL/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/ParamCombinations index e5987c674ea..092c5096d43 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/ParamCombinations +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/ParamCombinations @@ -1,7 +1,7 @@ -null_PlugletInstance'1, this_PlugletInstance'0, other_PlugletInstance'0 -null'1, HTTP_URL_FOR_GET'0, FTP_URL_FOR_GET'0, MAILTO_URL_FOR_GET'1, FILE_URL_FOR_GET'1, FILE_WIN_URL_FOR_GET'1 -null'0, _self'0, _parent'1, EXISTING_TARGET_FOR_GET'1, NONEXISTING_TARGET_FOR_GET'1 -null_streamListener'1, current_streamListener'0, new_streamListener'1 -null'1, CURRENT_ALT_HOST'0, OTHER_ALT_HOST'1, INCORRECT_ALT_HOST'1 -null'0, CURRENT_REFERER_URL'0, HTTP_OTHER_REFERER_URL'1 +null_PlugletInstance'1, this_PlugletInstance'0, other_PlugletInstance'0 +null'1, HTTP_URL_FOR_GET'0, FTP_URL_FOR_GET'0, MAILTO_URL_FOR_GET'1, FILE_URL_FOR_GET'1, FILE_WIN_URL_FOR_GET'1 +null'0, _self'0, _parent'1, EXISTING_TARGET_FOR_GET'1, NONEXISTING_TARGET_FOR_GET'1 +null_streamListener'1, current_streamListener'0, new_streamListener'1 +null'1, CURRENT_ALT_HOST'0, OTHER_ALT_HOST'1, INCORRECT_ALT_HOST'1 +null'0, CURRENT_REFERER_URL'0, HTTP_OTHER_REFERER_URL'1 true'1, false'0 \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/PlugletManager_getURL.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/PlugletManager_getURL.lst index 45054ccbdf6..7c3e927e5d2 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/PlugletManager_getURL.lst +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/PlugletManager_getURL.lst @@ -1,184 +1,184 @@ -0: null_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -1: null_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -2: null_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -3: null_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -4: null_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -5: null_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -6: null_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -7: null_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -8: this_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, null, false -9: this_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -10: this_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, null, false -11: this_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -12: this_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false -13: this_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -14: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, null, false -15: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false -16: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true -17: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -18: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -19: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -20: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -21: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false -22: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -23: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false -24: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -25: this_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false -26: this_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -27: this_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false -28: this_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -29: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, null, false -30: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false -31: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true -32: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -33: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -34: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -35: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -36: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false -37: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -38: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false -39: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -40: this_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false -41: this_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -42: this_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false -43: this_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -44: this_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -45: this_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -46: this_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -47: this_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -48: this_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false -49: this_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -50: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, null, false -51: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false -52: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true -53: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -54: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -55: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -56: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -57: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false -58: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -59: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false -60: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -61: this_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false -62: this_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -63: this_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false -64: this_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -65: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, null, false -66: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false -67: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true -68: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -69: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -70: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -71: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -72: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false -73: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -74: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false -75: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -76: this_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false -77: this_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -78: this_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false -79: this_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -80: this_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -81: this_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -82: this_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -83: this_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -84: this_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -85: this_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -86: this_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -87: this_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -88: this_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -89: this_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -90: this_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -91: this_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -92: this_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -93: this_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -94: this_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -95: this_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -96: other_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, null, false -97: other_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -98: other_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, null, false -99: other_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -100: other_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false -101: other_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -102: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, null, false -103: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false -104: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true -105: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -106: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -107: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -108: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -109: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false -110: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -111: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false -112: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -113: other_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false -114: other_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -115: other_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false -116: other_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -117: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, null, false -118: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false -119: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true -120: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -121: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -122: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -123: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -124: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false -125: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -126: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false -127: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -128: other_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false -129: other_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -130: other_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false -131: other_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -132: other_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -133: other_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -134: other_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -135: other_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -136: other_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false -137: other_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -138: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, null, false -139: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false -140: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true -141: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -142: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -143: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -144: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -145: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false -146: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -147: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false -148: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -149: other_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false -150: other_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -151: other_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false -152: other_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -153: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, null, false -154: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false -155: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true -156: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -157: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true -158: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -159: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false -160: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false -161: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false -162: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false -163: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false -164: other_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false -165: other_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -166: other_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false -167: other_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -168: other_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -169: other_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -170: other_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false -171: other_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -172: other_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -173: other_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -174: other_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -175: other_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -176: other_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -177: other_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -178: other_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -179: other_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -180: other_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false -181: other_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false -182: other_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false -183: other_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +0: null_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +1: null_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +2: null_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +3: null_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +4: null_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +5: null_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +6: null_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +7: null_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +8: this_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, null, false +9: this_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +10: this_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, null, false +11: this_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +12: this_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false +13: this_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +14: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, null, false +15: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false +16: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true +17: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +18: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +19: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +20: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +21: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false +22: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +23: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false +24: this_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +25: this_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false +26: this_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +27: this_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false +28: this_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +29: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, null, false +30: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false +31: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true +32: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +33: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +34: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +35: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +36: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false +37: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +38: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false +39: this_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +40: this_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false +41: this_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +42: this_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false +43: this_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +44: this_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +45: this_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +46: this_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +47: this_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +48: this_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false +49: this_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +50: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, null, false +51: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false +52: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true +53: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +54: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +55: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +56: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +57: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false +58: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +59: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false +60: this_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +61: this_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false +62: this_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +63: this_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false +64: this_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +65: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, null, false +66: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false +67: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true +68: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +69: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +70: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +71: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +72: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false +73: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +74: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false +75: this_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +76: this_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false +77: this_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +78: this_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false +79: this_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +80: this_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +81: this_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +82: this_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +83: this_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +84: this_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +85: this_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +86: this_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +87: this_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +88: this_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +89: this_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +90: this_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +91: this_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +92: this_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +93: this_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +94: this_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +95: this_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +96: other_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, null, false +97: other_PlugletInstance, null, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +98: other_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, null, false +99: other_PlugletInstance, null, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +100: other_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false +101: other_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +102: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, null, false +103: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false +104: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true +105: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +106: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +107: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +108: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +109: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false +110: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +111: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false +112: other_PlugletInstance, HTTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +113: other_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false +114: other_PlugletInstance, HTTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +115: other_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false +116: other_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +117: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, null, false +118: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false +119: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true +120: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +121: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +122: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +123: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +124: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false +125: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +126: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false +127: other_PlugletInstance, HTTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +128: other_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false +129: other_PlugletInstance, HTTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +130: other_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false +131: other_PlugletInstance, HTTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +132: other_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +133: other_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +134: other_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +135: other_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +136: other_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, null, false +137: other_PlugletInstance, FTP_URL_FOR_GET, null, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +138: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, null, false +139: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, null, CURRENT_REFERER_URL, false +140: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, true +141: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +142: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +143: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +144: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +145: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, null, false +146: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +147: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, null, false +148: other_PlugletInstance, FTP_URL_FOR_GET, null, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +149: other_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, null, false +150: other_PlugletInstance, FTP_URL_FOR_GET, null, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +151: other_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, null, false +152: other_PlugletInstance, FTP_URL_FOR_GET, _self, null_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +153: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, null, false +154: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, null, CURRENT_REFERER_URL, false +155: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, true +156: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +157: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, true +158: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +159: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, HTTP_OTHER_REFERER_URL, false +160: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, null, false +161: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, OTHER_ALT_HOST, CURRENT_REFERER_URL, false +162: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, null, false +163: other_PlugletInstance, FTP_URL_FOR_GET, _self, current_streamListener, INCORRECT_ALT_HOST, CURRENT_REFERER_URL, false +164: other_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, null, false +165: other_PlugletInstance, FTP_URL_FOR_GET, _self, new_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +166: other_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, null, false +167: other_PlugletInstance, FTP_URL_FOR_GET, _parent, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +168: other_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +169: other_PlugletInstance, FTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +170: other_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, null, false +171: other_PlugletInstance, FTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +172: other_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +173: other_PlugletInstance, MAILTO_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +174: other_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +175: other_PlugletInstance, MAILTO_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +176: other_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +177: other_PlugletInstance, FILE_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +178: other_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +179: other_PlugletInstance, FILE_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +180: other_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, null, false +181: other_PlugletInstance, FILE_WIN_URL_FOR_GET, null, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false +182: other_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, null, false +183: other_PlugletInstance, FILE_WIN_URL_FOR_GET, _self, current_streamListener, CURRENT_ALT_HOST, CURRENT_REFERER_URL, false diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/TestParameters index 1d2cb3648bb..3b60fb56d99 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/TestParameters +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/TestParameters @@ -1,12 +1,12 @@ -NONEXISTING_TARGET_FOR_GET=nonexist_target_for_get -EXISTING_TARGET_FOR_GET=exist_target_for_get -HTTP_OTHER_REFERER_URL=http://router/index.html -FILE_WIN_URL_FOR_GET=file:C:/TEMP/file_for_get -CURRENT_REFERER_URL=http://earth:11000/PlugletAPITests/PlugletManager_getURL.html -MAILTO_URL_FOR_GET=mailto:avm@sparc.spb.su -INCORRECT_ALT_HOST=no_ip_addr -HTTP_URL_FOR_GET=http://earth:11000/cgi-bin/get_url.cgi -FILE_URL_FOR_GET=file:/tmp/file_for_get -CURRENT_ALT_HOST=192.168.205.165 -FTP_URL_FOR_GET=ftp://ftp.funet.fi +NONEXISTING_TARGET_FOR_GET=nonexist_target_for_get +EXISTING_TARGET_FOR_GET=exist_target_for_get +HTTP_OTHER_REFERER_URL=http://router/index.html +FILE_WIN_URL_FOR_GET=file:C:/TEMP/file_for_get +CURRENT_REFERER_URL=http://earth:11000/PlugletAPITests/PlugletManager_getURL.html +MAILTO_URL_FOR_GET=mailto:avm@sparc.spb.su +INCORRECT_ALT_HOST=no_ip_addr +HTTP_URL_FOR_GET=http://earth:11000/cgi-bin/get_url.cgi +FILE_URL_FOR_GET=file:/tmp/file_for_get +CURRENT_ALT_HOST=192.168.205.165 +FTP_URL_FOR_GET=ftp://ftp.funet.fi OTHER_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/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/makefile.win index 7fa4567660b..cbb80f8ff4d 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/makefile.win +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL/makefile.win @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletManager_getURL -DEPTH=..\..\..\..\..\..\..\.. +TEST_NAME=PlugletManager_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) +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: +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: + @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 + @$(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_1/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/ParamCombinations index 9f895e15389..2403493e2d9 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/ParamCombinations +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/ParamCombinations @@ -1,7 +1,7 @@ -this_PlugletInstance'0 -null'1, HTTP_URL_FOR_GET'0 -null'0, _self'0, _parent'0, _top'0, EXISTING_TARGET_FOR_GET'1, NONEXISTING_TARGET_FOR_GET'1 -null_streamListener'0 -null'0 -null'0 +this_PlugletInstance'0 +null'1, HTTP_URL_FOR_GET'0 +null'0, _self'0, _parent'0, _top'0, EXISTING_TARGET_FOR_GET'1, NONEXISTING_TARGET_FOR_GET'1 +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_1/PlugletManager_getURL_1.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_1.lst index 8186ed99c1a..1c09020f67a 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_1.lst +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_1.lst @@ -1,10 +1,10 @@ -0: this_PlugletInstance, null, null, null_streamListener, null, null, false -1: this_PlugletInstance, null, _self, null_streamListener, null, null, false -2: this_PlugletInstance, null, _parent, null_streamListener, null, null, false -3: this_PlugletInstance, null, _top, null_streamListener, null, null, false -4: this_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, null, null, false -5: this_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, null, null, false -6: this_PlugletInstance, HTTP_URL_FOR_GET, _parent, null_streamListener, null, null, false -7: this_PlugletInstance, HTTP_URL_FOR_GET, _top, null_streamListener, null, null, false -8: this_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, null_streamListener, null, null, false -9: this_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, null_streamListener, null, null, false +0: this_PlugletInstance, null, null, null_streamListener, null, null, false +1: this_PlugletInstance, null, _self, null_streamListener, null, null, false +2: this_PlugletInstance, null, _parent, null_streamListener, null, null, false +3: this_PlugletInstance, null, _top, null_streamListener, null, null, false +4: this_PlugletInstance, HTTP_URL_FOR_GET, null, null_streamListener, null, null, false +5: this_PlugletInstance, HTTP_URL_FOR_GET, _self, null_streamListener, null, null, false +6: this_PlugletInstance, HTTP_URL_FOR_GET, _parent, null_streamListener, null, null, false +7: this_PlugletInstance, HTTP_URL_FOR_GET, _top, null_streamListener, null, null, false +8: this_PlugletInstance, HTTP_URL_FOR_GET, EXISTING_TARGET_FOR_GET, null_streamListener, null, null, false +9: this_PlugletInstance, HTTP_URL_FOR_GET, NONEXISTING_TARGET_FOR_GET, null_streamListener, null, null, false diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_default_getData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_default_getData.html index 22f88e288fd..e9d563cf64f 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_default_getData.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/PlugletManager_getURL_default_getData.html @@ -1,26 +1,26 @@ - - -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
- - - - + + +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_1/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/README index 885316bf14a..ff6d89ed475 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/README +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/README @@ -2,10 +2,10 @@ PlugletManager_getURL Information. Test name: PlugletManager_getURL_1 -Goals: This test case calls getURL method with different targets -and good another arguments. -See ParamCombinations and TestParameters for used targets. - +Goals: This test case calls getURL method with different targets +and good another arguments. +See ParamCombinations and TestParameters for used targets. + Synopsis: getURL method of class PlugletManager Pre-Conditions: Build mozilla, setup enviroment as for running mozilla diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestParameters index fa8ff362cb8..de0aa73dca8 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestParameters +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestParameters @@ -1,3 +1,3 @@ -NONEXISTING_TARGET_FOR_GET=nonexisting_target -EXISTING_TARGET_FOR_GET=exist_target_for_get -HTTP_URL_FOR_GET=use_default_html +NONEXISTING_TARGET_FOR_GET=nonexisting_target +EXISTING_TARGET_FOR_GET=exist_target_for_get +HTTP_URL_FOR_GET=use_default_html diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestProperties index 5e9d017623d..dd6a3682d1e 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestProperties +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/TestProperties @@ -1,5 +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_1/PlugletManager_getURL.html +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_1/PlugletManager_getURL.html PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/makefile.win index 40484e85b29..f7949fda4e7 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/makefile.win +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_1/makefile.win @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletManager_getURL_1 -DEPTH=..\..\..\..\..\..\..\.. +TEST_NAME=PlugletManager_getURL_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) +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: +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: + @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 + @$(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_128.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_128.java index a99ec79eb11..9003a7ede4d 100644 --- 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 @@ -20,152 +20,152 @@ */ -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 {} - } -} +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/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/ParamCombinations index 13dc9661620..03f42bebc81 100644 --- 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 @@ -1,7 +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 +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_default_getData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/PlugletManager_getURL_default_getData.html index a5a85ab0c23..987d1633fa1 100644 --- 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 @@ -1,24 +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
- - - - + + +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/README b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/README index e124fee1717..aa44909a197 100644 --- 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 @@ -4,9 +4,9 @@ Test name: PlugletManager_getURL Synopsis: getURL method of class PlugletManager -Goals: this test case test possible URL types. -, and should be specified. - +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. 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 index 4bead70a5b8..129baf26864 100644 --- 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 @@ -1,7 +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'); +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/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/makefile.win index bedc3a1c76b..6c515ac4185 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/makefile.win +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_2/makefile.win @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletManager_getURL_2 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/ParamCombinations index 4519f84267a..dfae062c50a 100644 --- 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 @@ -1,7 +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 +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/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/TestParameters index d6743806120..4dc908ea894 100644 --- 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 @@ -1,4 +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 +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/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_3/makefile.win index a9ed52542b1..4d25405035d 100644 --- 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 @@ -20,28 +20,28 @@ # Contributor(s): -TEST_NAME=PlugletManager_getURL_3 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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 index 1ea2cd9c7c4..3045d5bb4b6 100644 --- 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 @@ -1,11 +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 ""; +#!/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/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/ParamCombinations index 92a9cd56f4c..eb8cff75f08 100644 --- 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 @@ -1,7 +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 +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/TestParameters b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/TestParameters index 9b46ea25947..88df6c005f2 100644 --- 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 @@ -1,6 +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 +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/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_getURL_4/makefile.win index c10b7e2c87f..c293d1fe15b 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletManager_getURL_4 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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 index ad8ab889fb4..0e41df4b8f9 100644 --- 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 @@ -20,221 +20,221 @@ */ -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 - *********************************************************** - * +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 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 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 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 index 5cbb7aec243..13db1d40dba 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletManager_postURL -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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 index 84da114d539..61047c8d6dc 100644 --- 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 @@ -20,107 +20,107 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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 index 82f3d5fd416..090d63db197 100644 --- 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 @@ -20,313 +20,313 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - - - + + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.html index 3b75286d027..dd9ac8a3786 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.html @@ -1,9 +1,9 @@ - - - - - - - - - + + + + + + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.lst index e4b736399ab..895ee6c2dc0 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.lst +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.lst @@ -1,2 +1,2 @@ -0: true -1: false +0: true +1: false diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_empty.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_empty.html index 6388ad57ae2..6e45f09fc14 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_empty.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_empty.html @@ -1,7 +1,7 @@ - - -
-This page is empty, pluglet should be loaded here. -
- - + + +
+This page is empty, pluglet should be loaded here. +
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_head.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_head.html index 49b073c4c89..7917d32c5a2 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_head.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_head.html @@ -1,10 +1,10 @@ - - -

Depth 0

-
This widow contains a frameset with empty frame and DelApp applet. -Aftre removing second jar file test pluglet will be loaded to empty window. -
-
-PS.We should use this scheme!(Mozilla's JVM bug now causes JVM to suspend in some cases) - - + + +

Depth 0

+
This widow contains a frameset with empty frame and DelApp applet. +Aftre removing second jar file test pluglet will be loaded to empty window. +
+
+PS.We should use this scheme!(Mozilla's JVM bug now causes JVM to suspend in some cases) + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_pluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_pluglet.html index 5d5c2271d43..c1948a57ae5 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_pluglet.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets_pluglet.html @@ -1,23 +1,23 @@ - - - - - -

Depth 0

-
This window contains a pluglet with PlugletManager_reloadPluglets test.
- - - + + + + + +

Depth 0

+
This window contains a pluglet with PlugletManager_reloadPluglets test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet.html index 301efa77029..6e1c33b5aa3 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet.html @@ -1,9 +1,9 @@ - - - - -

Depth 0

-
This window contains a pluglet with type application/x-second-pluglet test.
- - - + + + + +

Depth 0

+
This window contains a pluglet with type application/x-second-pluglet test.
+ + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/SecondPluglet.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/SecondPluglet.java index f415795d582..75e712bf39a 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/SecondPluglet.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/SecondPluglet.java @@ -1,152 +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. - * - */ -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; -import org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_2; -public class SecondPluglet implements PlugletFactory { - public SecondPluglet() { - } - /** - * 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() { - TestContext.registerPASSED("Second pluglet loaded"); - } - /** - * 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; - } - /** - * 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; //:) - } -} - - - - - - + /* + * 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; +import org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_2; +public class SecondPluglet implements PlugletFactory { + public SecondPluglet() { + } + /** + * 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() { + TestContext.registerPASSED("Second pluglet loaded"); + } + /** + * 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; + } + /** + * 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/PlugletManager_reloadPluglets/SecondPluglet/manifest b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/SecondPluglet/manifest index 6ece386c525..2309071c45a 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-second-pluglet::Second Pluglet -Pluglet-Class: SecondPluglet +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/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/TestProperties index f3899dbde2a..8591a57cb79 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/TestProperties +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/TestProperties @@ -1,9 +1,9 @@ -RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE -TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_2 -ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_Iterator -TEST_HTML=api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.html -PLUGLET_DIR=c:\\home\\avm\\pl_test\\build\\classes\\org\\mozilla\\pluglet\\test\\basic -TEST_DIR=c:\\home\\avm\\pl_test\\build\\test\\basic\\api\\PlugletManager_reloadPluglets -SECOND_PLUGLET_FILE=SecondPluglet.jar -LST_FILE_NAME=PlugletManager_reloadPluglets.lst.TEMP +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_2 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_Iterator +TEST_HTML=api/PlugletManager_reloadPluglets/PlugletManager_reloadPluglets.html +PLUGLET_DIR=c:\\home\\avm\\pl_test\\build\\classes\\org\\mozilla\\pluglet\\test\\basic +TEST_DIR=c:\\home\\avm\\pl_test\\build\\test\\basic\\api\\PlugletManager_reloadPluglets +SECOND_PLUGLET_FILE=SecondPluglet.jar +LST_FILE_NAME=PlugletManager_reloadPluglets.lst.TEMP PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.html index adf106cf048..5e0ea72406c 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.html +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.html @@ -1,13 +1,13 @@ - - - -This page used to delete second jar file. -Applet DelApp used for this action , so you must grant permisions for it in file .java.policy - - - - - - - + + + +This page used to delete second jar file. +Applet DelApp used for this action , so you must grant permisions for it in file .java.policy + + + + + + + \ No newline at end of file diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java index 10e89ee74e3..ea48ae89424 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/deleteApplet/DelApp.java @@ -20,70 +20,70 @@ */ -import java.applet.Applet; //Applet -import java.io.*; -import java.net.URL; -import java.util.Properties; - -public class DelApp extends Applet -{ - private File secondPluglet = null; - private URL nextHTML = null; - private String target = null; - public void init() - { - String codeBase = getCodeBase().toString(); - String fileName = getParameter("PROPS_FILE_NAME"); - String htmlName = getParameter("NEXT_HTML"); - target = getParameter("NEXT_HTML_TARGET"); - if ((fileName == null)||(htmlName == null)||(target == null)) { - printLog("PROPS_FILE_NAME or NEXT_HTML or NEXT_HTML_TARGET parameter not specified for APPLET!"); - return; - } - Properties pProps = new Properties(); - try { - nextHTML = new URL(codeBase + "/" + htmlName); - URL propsURL = new URL(codeBase + "/" + fileName); - pProps.load(propsURL.openStream()); - } catch(Exception e) { - printLog("Exception " + e + " ocurred during applet initialization"); - return; - } - String pDir = pProps.getProperty("PLUGLET_DIR",null); - String pName = pProps.getProperty("SECOND_PLUGLET_FILE",null); - String separator = System.getProperty("file.separator"); - if ((pDir == null)||(pName == null)) { - printLog("PLUGLET_DIR or SECOND_PLUGLET_FILE properties not initialized"); - return; - } - secondPluglet = new File(pDir + separator + pName); - } - public void start() - { - if (!secondPluglet.exists()) { - printLog("File " + secondPluglet + " not exist, nothing to do."); - nextURL(); - return; - } - if (!secondPluglet.delete()) { - printLog("Can't delete " + secondPluglet); - return; - } else { - printLog("File: " + secondPluglet + " succesfully deleted"); - } - nextURL(); - } - private void nextURL() - { - printLog("Going to the next URL: " + nextHTML); - getAppletContext().showDocument(nextHTML,target); - } - private void printLog(String msg) - { - org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_2.msgVect.addElement(msg); - } -} - - - - +import java.applet.Applet; //Applet +import java.io.*; +import java.net.URL; +import java.util.Properties; + +public class DelApp extends Applet +{ + private File secondPluglet = null; + private URL nextHTML = null; + private String target = null; + public void init() + { + String codeBase = getCodeBase().toString(); + String fileName = getParameter("PROPS_FILE_NAME"); + String htmlName = getParameter("NEXT_HTML"); + target = getParameter("NEXT_HTML_TARGET"); + if ((fileName == null)||(htmlName == null)||(target == null)) { + printLog("PROPS_FILE_NAME or NEXT_HTML or NEXT_HTML_TARGET parameter not specified for APPLET!"); + return; + } + Properties pProps = new Properties(); + try { + nextHTML = new URL(codeBase + "/" + htmlName); + URL propsURL = new URL(codeBase + "/" + fileName); + pProps.load(propsURL.openStream()); + } catch(Exception e) { + printLog("Exception " + e + " ocurred during applet initialization"); + return; + } + String pDir = pProps.getProperty("PLUGLET_DIR",null); + String pName = pProps.getProperty("SECOND_PLUGLET_FILE",null); + String separator = System.getProperty("file.separator"); + if ((pDir == null)||(pName == null)) { + printLog("PLUGLET_DIR or SECOND_PLUGLET_FILE properties not initialized"); + return; + } + secondPluglet = new File(pDir + separator + pName); + } + public void start() + { + if (!secondPluglet.exists()) { + printLog("File " + secondPluglet + " not exist, nothing to do."); + nextURL(); + return; + } + if (!secondPluglet.delete()) { + printLog("Can't delete " + secondPluglet); + return; + } else { + printLog("File: " + secondPluglet + " succesfully deleted"); + } + nextURL(); + } + private void nextURL() + { + printLog("Going to the next URL: " + nextHTML); + getAppletContext().showDocument(nextHTML,target); + } + private void printLog(String msg) + { + org.mozilla.pluglet.test.basic.api.PlugletManager_reloadPluglets_2.msgVect.addElement(msg); + } +} + + + + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/makefile.win index 413b5fa6750..52254d298ee 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/makefile.win +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_reloadPluglets/makefile.win @@ -20,54 +20,54 @@ # Contributor(s): -TEST_NAME=PlugletManager_reloadPluglets -DEPTH=..\..\..\..\..\..\..\.. -#DEPTH1 used to build in the subdirectories, e.g SecondPluglet and deleteApplet -DEPTH1=..\..\..\..\..\..\..\..\.. +TEST_NAME=PlugletManager_reloadPluglets +DEPTH=..\..\..\..\..\..\..\.. +#DEPTH1 used to build in the subdirectories, e.g SecondPluglet and deleteApplet +DEPTH1=..\..\..\..\..\..\..\..\.. UTIL_DIR=$(DEPTH)\utils BUILD_DIR=$(DEPTH)\build -CONFIG_FILE=$(DEPTH)\config\CommonProperties -BASIC_PATH=test\basic\api -CLASSPATH1=$(DEPTH1)\build\classes;$(CLASSPATH) -DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) +CONFIG_FILE=$(DEPTH)\config\CommonProperties +BASIC_PATH=test\basic\api +CLASSPATH1=$(DEPTH1)\build\classes;$(CLASSPATH) +DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME) MAKE_PARAM=..\makeParameters.pl -MAKE_COMB=..\makeCombinations.pl - -default: all -all: second_pluglet delApplet html properties parameters data_files -html: - @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I - @xcopy deleteApplet\*.html $(HTML_DEST_DIR)\$(TEST_NAME) /I - -second_pluglet: - @cd SecondPluglet - $(JDKHOME)\bin\javac -classpath $(CLASSPATH1) *.java - @$(JDKHOME)\bin\jar cvfm SecondPluglet.jar manifest *.class - @cd .. -delApplet: - @cd deleteApplet - $(JDKHOME)\bin\javac -classpath $(CLASSPATH1) DelApp.java - @cd .. -properties: +MAKE_COMB=..\makeCombinations.pl + +default: all +all: second_pluglet delApplet html properties parameters data_files +html: + @xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + @xcopy deleteApplet\*.html $(HTML_DEST_DIR)\$(TEST_NAME) /I + +second_pluglet: + @cd SecondPluglet + $(JDKHOME)\bin\javac -classpath $(CLASSPATH1) *.java + @$(JDKHOME)\bin\jar cvfm SecondPluglet.jar manifest *.class + @cd .. +delApplet: + @cd deleteApplet + $(JDKHOME)\bin\javac -classpath $(CLASSPATH1) DelApp.java + @cd .. +properties: @-1 mkdir $(DEST_DIR) - @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties -#We need to do it for deleteApplet - @xcopy TestProperties $(HTML_DEST_DIR)\$(TEST_NAME) -parameters: - @xcopy $(TEST_NAME).lst $(DEST_DIR) + @perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties +#We need to do it for deleteApplet + @xcopy TestProperties $(HTML_DEST_DIR)\$(TEST_NAME) +parameters: + @xcopy $(TEST_NAME).lst $(DEST_DIR) combinations: - @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG -#Copy second pluglet jar in parameters dir -#Note, that this jar file will be copied in $PLUGLET dir by test pluglet before execution -#of reload pluglets. -data_files: - @xcopy SecondPluglet\SecondPluglet.jar $(DEST_DIR) - @xcopy deleteApplet\DelApp.class $(HTML_DEST_DIR)\$(TEST_NAME) -clobber: - @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html - @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.class - @del $(DEST_DIR)\$(TEST_NAME).lst - @del $(DEST_DIR)\TestProperties - @del $(DEST_DIR)\SecondPluglet.jar - @del SecondPluglet\SecondPluglet.jar - @del SecondPluglet\*.class + @$(MAKE_COMB) ParamCombinations $(TEST_NAME).lst $(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG +#Copy second pluglet jar in parameters dir +#Note, that this jar file will be copied in $PLUGLET dir by test pluglet before execution +#of reload pluglets. +data_files: + @xcopy SecondPluglet\SecondPluglet.jar $(DEST_DIR) + @xcopy deleteApplet\DelApp.class $(HTML_DEST_DIR)\$(TEST_NAME) +clobber: + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html + @del $(HTML_DEST_DIR)\$(TEST_NAME)\*.class + @del $(DEST_DIR)\$(TEST_NAME).lst + @del $(DEST_DIR)\TestProperties + @del $(DEST_DIR)\SecondPluglet.jar + @del SecondPluglet\SecondPluglet.jar + @del SecondPluglet\*.class 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 index 8314ab9f9bb..4a1ac8c33ad 100644 --- 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 @@ -20,160 +20,160 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
-This window contains a pluglet with PlugletManager_userAgent test. -UserAgent value will be passed to pluglet via JavaScript -
- - - + + + + + +

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/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletManager_userAgent/TestProperties index 6f5fe4dfd8d..2b60b6a4893 100644 --- 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 @@ -1,6 +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) +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 index 520d7c32903..b4ea2d32371 100644 --- 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 @@ -20,27 +20,27 @@ # Contributor(s): -TEST_NAME=PlugletManager_userAgent -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 - + 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 index 750d7ad064b..92407ec4b71 100644 --- 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 @@ -20,108 +20,108 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletPeer_getMIMEType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/PlugletPeer_getMIMEType.html index 1cf46cf46d2..23af99099f6 100644 --- 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 @@ -1,26 +1,26 @@ - - - - - -

Depth 0

-
This window contains a pluglet with PlugletPeer_getMIMEType test.
- - - + + + + + +

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/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMIMEType/TestProperties index 5d346765d67..3a181406cda 100644 --- 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 @@ -1,8 +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 +#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 index 4d81d326379..3a47e623ef1 100644 --- 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 @@ -20,25 +20,25 @@ # Contributor(s): -TEST_NAME=PlugletPeer_getMIMEType -DEPTH=..\..\..\..\..\..\..\.. +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) +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 +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 + 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 index 48627b0d257..f5e661fc327 100644 --- 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 @@ -20,110 +20,110 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} - - - - - - + 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 index 6a620baf76f..a1059b395f9 100644 --- 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 @@ -20,79 +20,79 @@ */ -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 - *********************************************************** - * +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 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 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; - } - } -} + 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/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getMode/TestProperties index 905979da157..afb0a5065be 100644 --- 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 @@ -1,6 +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 +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 index 0906659a050..2a1b62571c1 100644 --- 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 @@ -20,25 +20,25 @@ # Contributor(s): -TEST_NAME=PlugletPeer_getMode -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 382e97fcc0c..4536f389493 100644 --- 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 @@ -20,98 +20,98 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletPeer_getTagInfo.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/PlugletPeer_getTagInfo.html index a16b5b73fe0..84b6fa7f984 100644 --- 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 @@ -1,39 +1,39 @@ - - - - - -

Depth 0

-
This window contains a pluglet with PlugletPeer_getTagInfo test.
- - - - + + + + + +

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/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getTagInfo/TestProperties index ed2a63debab..043ecc79fda 100644 --- 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 @@ -1,5 +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 +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 index 4e29156e8d5..bd015f8fa75 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletPeer_getTagInfo -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index c3e42c942f4..8556de153a0 100644 --- 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 @@ -20,120 +20,120 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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 index a594daf5647..d78a1d05792 100644 --- 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 @@ -20,78 +20,78 @@ */ -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 - *********************************************************** - * +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 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 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; - } - } - - -} + 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/PlugletPeer_getValue.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/PlugletPeer_getValue.lst index d3dc44ee1b0..0e1ad18f2cd 100644 --- 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 @@ -1,4 +1,4 @@ -0: 0 -1: Integer.MIN_VALUE -2: Integer.MAX_VALUE -3: NETSCAPE_WINDOW_FOR_GET_VALUE +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/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_getValue/TestProperties index d07e36f9e14..d0de1ccddd0 100644 --- 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 @@ -1,7 +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 +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 index bd432940841..75844562c44 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletPeer_getValue -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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 index 05edfb3589a..8b7ddbd0969 100644 --- 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 @@ -20,114 +20,114 @@ */ -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 - *********************************************************** - * +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 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 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 index a58056a9231..fa0690b8ddd 100644 --- 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 @@ -1,45 +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 +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 index 20c385938b1..fb12a9c8a8a 100644 --- 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 @@ -1,6 +1,6 @@ - - -

Depth 0

-
This a empty winow. Just for making depth 1 for pluglet frame.
- - + + +

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_inputData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_inputData.html index 238016e90fd..1153e94b66d 100644 --- 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 @@ -1,26 +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
- - - - + + +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_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_0/PlugletPeer_newStream_plugletFrameset.html index d24ebf9c31b..ab5603dddb8 100644 --- 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 @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + 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 index 3021910f5c2..233c8356757 100644 --- 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 @@ -1,10 +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 +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 index 3b1929fe25d..36956d6a918 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletPeer_newStream_0 -DEPTH=..\..\..\..\..\..\..\.. +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) +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) +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: + @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 + @$(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/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/ParamCombinations index f495f94c9fa..7239b87e955 100644 --- 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 @@ -1,2 +1,2 @@ -text/html'0 +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 index 02e498fbabe..d07835dd321 100644 --- 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 @@ -1,6 +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 index 4ad7fd0e37d..75c602e77dd 100644 --- 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 @@ -1,6 +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 +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 index 20c385938b1..fb12a9c8a8a 100644 --- 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 @@ -1,6 +1,6 @@ - - -

Depth 0

-
This a empty winow. Just for making depth 1 for pluglet frame.
- - + + +

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_inputData.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_inputData.html index 238016e90fd..1153e94b66d 100644 --- 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 @@ -1,26 +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
- - - - + + +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_plugletFrameset.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_newStream_1/PlugletPeer_newStream_plugletFrameset.html index d24ebf9c31b..ab5603dddb8 100644 --- 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 @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + 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 index cefde242411..69e0cf9a443 100644 --- 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 @@ -1,10 +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 +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 index 8df41926ffa..589d301243a 100644 --- 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 @@ -20,31 +20,31 @@ # Contributor(s): -TEST_NAME=PlugletPeer_newStream_1 -DEPTH=..\..\..\..\..\..\..\.. +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) +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) +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 + @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 + @$(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 index f32acdbfd6d..bd187d571d1 100644 --- 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 @@ -20,177 +20,177 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
This window contains a pluglet with PlugletPeer_setWindowSize test.
-
-
The test result's will be passed to pluglet by JavaScript
- - + + + + + +

Depth 0

+
This window contains a pluglet with PlugletPeer_setWindowSize test.
+
+
The test result's will be passed to pluglet by JavaScript
+ + diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.lst index 908b83220e6..c0f67179a4b 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.lst +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.lst @@ -1,7 +1,7 @@ -0: NORMAL_WINDOW_SIZE_X, NORMAL_WINDOW_SIZE_Y -1: NORMAL_WINDOW_SIZE_X, 0 -2: NORMAL_WINDOW_SIZE_X, Integer.MIN_VALUE -3: NORMAL_WINDOW_SIZE_X, Integer.MAX_VALUE -4: 0, NORMAL_WINDOW_SIZE_Y -5: Integer.MIN_VALUE, NORMAL_WINDOW_SIZE_Y -6: Integer.MAX_VALUE, NORMAL_WINDOW_SIZE_Y +0: NORMAL_WINDOW_SIZE_X, NORMAL_WINDOW_SIZE_Y +1: NORMAL_WINDOW_SIZE_X, 0 +2: NORMAL_WINDOW_SIZE_X, Integer.MIN_VALUE +3: NORMAL_WINDOW_SIZE_X, Integer.MAX_VALUE +4: 0, NORMAL_WINDOW_SIZE_Y +5: Integer.MIN_VALUE, NORMAL_WINDOW_SIZE_Y +6: Integer.MAX_VALUE, NORMAL_WINDOW_SIZE_Y diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/TestProperties b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/TestProperties index 125f3ead5d5..d3cc1cb5656 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/TestProperties +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/TestProperties @@ -1,6 +1,6 @@ -RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE -TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_setWindowSize_9 -ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_setWindowSize_Iterator -TEST_HTML=api/PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.html -LST_FILE_NAME=PlugletPeer_setWindowSize.lst.TEMP +RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE +TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_setWindowSize_9 +ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletPeer_setWindowSize_Iterator +TEST_HTML=api/PlugletPeer_setWindowSize/PlugletPeer_setWindowSize.html +LST_FILE_NAME=PlugletPeer_setWindowSize.lst.TEMP PLUGLET=buildclassesorgmozillapluglettestbasicapiTestAPIPluglet.jar diff --git a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/makefile.win index b15e7aa0868..91711c3fd0c 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/makefile.win +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize/makefile.win @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletPeer_setWindowSize -DEPTH=..\..\..\..\..\..\..\.. +TEST_NAME=PlugletPeer_setWindowSize +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) +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: +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: + @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 + @$(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_setWindowSize_9.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize_9.java index 6c5bac3b3a7..1a86b495fa9 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize_9.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize_9.java @@ -20,118 +20,118 @@ */ -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_setWindowSize_9 implements Test -{ - private static int expectedX=-1; - private static int expectedY=-1; - public static boolean actionPerformed = false; - /** - * - *********************************************************** - * Constructor - *********************************************************** - * +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_setWindowSize_9 implements Test +{ + private static int expectedX=-1; + private static int expectedY=-1; + public static boolean actionPerformed = false; + /** + * + *********************************************************** + * Constructor + *********************************************************** + * */ - public PlugletPeer_setWindowSize_9() - { - } - - - /** - * - *********************************************************** - * Starting point of application - * - * @param args Array of command line arguments - * - *********************************************************** + public PlugletPeer_setWindowSize_9() + { + } + + + /** + * + *********************************************************** + * 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 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_setWindowSize_9"); - 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_setWindowSize_9"); - return; - } - expectedX=((Integer)vectorOfParameters.elementAt(0)).intValue(); - expectedY=((Integer)vectorOfParameters.elementAt(1)).intValue(); - TestContext.printLog("Call Void method PlugletPeer_setWindowSize(" + expectedX + "," + expectedY + ")"); - PlugletPeer_obj.setWindowSize(expectedX,expectedY); - actionPerformed = true; - } - /** - * - *********************************************************** - * This routine called from JavaScript. - * - * @param curX, curY - current values for window outher size - *********************************************************** - * + 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_setWindowSize_9"); + 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_setWindowSize_9"); + return; + } + expectedX=((Integer)vectorOfParameters.elementAt(0)).intValue(); + expectedY=((Integer)vectorOfParameters.elementAt(1)).intValue(); + TestContext.printLog("Call Void method PlugletPeer_setWindowSize(" + expectedX + "," + expectedY + ")"); + PlugletPeer_obj.setWindowSize(expectedX,expectedY); + actionPerformed = true; + } + /** + * + *********************************************************** + * This routine called from JavaScript. + * + * @param curX, curY - current values for window outher size + *********************************************************** + * */ - public static void verifySize(int curX,int curY) { - - TestContext.printLog("After test execution: windowX = " + curX + " windowY = " + curY + "\n"); - if ((expectedX == curX) && (expectedY == curY)) { - TestContext.registerPASSED("PlugletPeer.setWindowSize passed\n"); - } else { - TestContext.registerFAILED("PlugletPeer.setWindowSize failed\n"); - } - } - - /** - * - *********************************************************** - * Routine where OS specific checks are made. - * - * @param os OS Name (SunOS/Linus/MacOS/...) - *********************************************************** - * + public static void verifySize(int curX,int curY) { + + TestContext.printLog("After test execution: windowX = " + curX + " windowY = " + curY + "\n"); + if ((expectedX == curX) && (expectedY == curY)) { + TestContext.registerPASSED("PlugletPeer.setWindowSize passed\n"); + } else { + TestContext.registerFAILED("PlugletPeer.setWindowSize failed\n"); + } + } + + /** + * + *********************************************************** + * 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 {} - } -} + 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_setWindowSize_Iterator.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize_Iterator.java index a91fc58f176..6f2513d5a3e 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize_Iterator.java +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletPeer_setWindowSize_Iterator.java @@ -20,167 +20,167 @@ */ -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_setWindowSize_Iterator implements TestListIterator -{ - Vector combstr = new Vector(); - int curElement = 0; - Properties testProps = null; - TestContext context = null; - - /** - * - *********************************************************** - * Constructor - *********************************************************** - * +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_setWindowSize_Iterator implements TestListIterator +{ + Vector combstr = new Vector(); + int curElement = 0; + Properties testProps = null; + TestContext context = null; + + /** + * + *********************************************************** + * Constructor + *********************************************************** + * */ - public PlugletPeer_setWindowSize_Iterator() - { - - } - /** - * - *********************************************************** - * Starting point of application - * - * @param args Array of command line arguments - * - *********************************************************** + public PlugletPeer_setWindowSize_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 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; - String fileName = context.getProperty("LST_FILE_NAME"); - String separator = System.getProperty("file.separator"); - String paramFile = context.getTestDir() + separator + fileName; - BufferedReader br = null; - String paramString = new String(""); - 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[2]; - Vector vectorOfParameters = new Vector(); - if (context == null) - { - System.err.println("context not initialized" ); - TestContext.registerFAILED("context not initialized"); - return false; - - } - if(curElement - - -PlugletPeer.showStatus(String) test - - - - -

Depth 0

-
This window contains a pluglet with PlugletPeer_showStatus test.
- - - + + + +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 index 7db7f79c4e3..2fcc6a2af12 100644 --- 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 @@ -1,2 +1,2 @@ -0: null -1: STATUS_STRING +0: null +1: STATUS_STRING 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 index ac02959118b..3be67d3c702 100644 --- 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 @@ -1,6 +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 +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 index dd784a8ca70..cd29dd61f49 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletPeer_showStatus -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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 index be1a7680525..6197a155052 100644 --- 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 @@ -20,112 +20,112 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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 index fc19623394f..36072e38d53 100644 --- 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 @@ -20,123 +20,123 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
This window contains a pluglet with PlugletStreamInfo_getContentType test.
- - - + + + + + +

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/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestImage.gif index f89d6811665..f44f15c8be0 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getContentType/TestImage.gif 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 index dcb7a56de45..566017e4176 100644 --- 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 @@ -1,7 +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 +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 index 2026539a240..f733f9ac7a8 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletStreamInfo_getContentType -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index ffbef198c75..5cca506015d 100644 --- 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 @@ -20,108 +20,108 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletStreamInfo_getLastModified.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/PlugletStreamInfo_getLastModified.html index 359e4ee555c..70fc8618711 100644 --- 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 @@ -1,7 +1,7 @@ - - -

Depth 0

-
This window contains a pluglet with PlugletStreamInfo_getLastModified test.
- - - + + +

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/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestImage.gif index f89d6811665..f44f15c8be0 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLastModified/TestImage.gif 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 index 89ec8fedf9d..e009e0c2b0c 100644 --- 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 @@ -1,5 +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 +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 index 2079ad01cfd..266dfecb18b 100644 --- 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 @@ -20,27 +20,27 @@ # Contributor(s): -TEST_NAME=PlugletStreamInfo_getLastModified -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 131eae51fe3..01ab54b4765 100644 --- 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 @@ -20,96 +20,96 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletStreamInfo_getLength.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/PlugletStreamInfo_getLength.html index c95d7c4a59d..407eba681d4 100644 --- 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 @@ -1,32 +1,32 @@ - - - - - - -

Depth 0

-
This window contains a pluglet with PlugletStreamInfo_getLength test.
- - - + + + + + + +

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/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestImage.gif index f89d6811665..f44f15c8be0 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getLength/TestImage.gif 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 index 97645428713..3f4262529f4 100644 --- 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 @@ -1,6 +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 +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 index 722900b4e4f..f5f8ca78c70 100644 --- 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 @@ -20,28 +20,28 @@ # Contributor(s): -TEST_NAME=PlugletStreamInfo_getLength -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index c1854fbf032..6b093d42743 100644 --- 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 @@ -20,136 +20,136 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} - - - - - - - + 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/PlugletStreamInfo_getURL.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/PlugletStreamInfo_getURL.html index 42d62843d52..e9be68524f5 100644 --- 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 @@ -1,31 +1,31 @@ - - - - - -

Depth 0

-
This window contains a pluglet with PlugletStreamInfo_getURL test.
- - - + + + + + +

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/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestImage.gif index f89d6811665..f44f15c8be0 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_getURL/TestImage.gif 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 index 82be88f1362..0b5a13cd67f 100644 --- 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 @@ -1,6 +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 +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 index ea333d40e8b..be9f10e16ae 100644 --- 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 @@ -20,27 +20,27 @@ # Contributor(s): -TEST_NAME=PlugletStreamInfo_getURL -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index af1c87e071a..7f3d06e7d8a 100644 --- 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 @@ -20,114 +20,114 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletStreamInfo_isSeekable.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/PlugletStreamInfo_isSeekable.html index 23976a75039..02b8d67c8fa 100644 --- 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 @@ -1,7 +1,7 @@ - - -

Depth 0

-
This window contains a pluglet with PlugletStreamInfo_isSeekable test.
- - - + + +

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/TestImage.gif b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestImage.gif index f89d6811665..f44f15c8be0 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_isSeekable/TestImage.gif 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 index cb14a33d111..a0365bc090e 100644 --- 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 @@ -1,6 +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 +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 index 67335f8777c..9762216f145 100644 --- 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 @@ -20,28 +20,28 @@ # Contributor(s): -TEST_NAME=PlugletStreamInfo_isSeekable -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index cb7b007efd6..bab791e05f5 100644 --- 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 @@ -20,102 +20,102 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletStreamInfo_requestRead.lst b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletStreamInfo_requestRead/PlugletStreamInfo_requestRead.lst index 64f7f5f3f0d..debd35233de 100644 --- 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 @@ -1,3 +1,3 @@ -0: null -1: correct_ranges -2: incorrect_ranges +0: null +1: correct_ranges +2: incorrect_ranges 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 index 164d564ac1c..1b05f5b9f31 100644 --- 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 @@ -1,6 +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 +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 index df10a3ed44c..658f82ec9c3 100644 --- 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 @@ -20,30 +20,30 @@ # Contributor(s): -TEST_NAME=PlugletStreamInfo_requestRead -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 +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 index 5446d4d342e..a181587d4c4 100644 --- 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 @@ -20,100 +20,100 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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 index 0465e91daf3..cf359d85b2a 100644 --- 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 @@ -20,140 +20,140 @@ */ -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 - *********************************************************** - * +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 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 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 - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getAlignment test.
- - - + + +

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 index ab368278134..c26616e52eb 100644 --- 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 @@ -1,18 +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 - +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 index 9310832b6b2..ffce692074e 100644 --- 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 @@ -1,5 +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 +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 index 2761c1e2129..d235aa5ea88 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getAlignment -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 9873a960527..5ec6c5af5ff 100644 --- 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 @@ -20,92 +20,92 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getAttribute.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getAttribute/PlugletTagInfo2_getAttribute.html index bc3cdc96507..78c7b7b84ff 100644 --- 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 @@ -1,38 +1,38 @@ - - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getAttribute test.
- - - + + + + + +

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 index 96eb10925cd..8d48130dafc 100644 --- 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 @@ -1,4 +1,4 @@ -0: type -1: name -2: DUMMY_ATTR_NAME -3: null +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 index 358a9b9990b..a3d3ca6ca65 100644 --- 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 @@ -1,18 +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 - +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 index 20ef3b32d86..b44cc44df07 100644 --- 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 @@ -1,6 +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 +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 index 40b5ef00d0b..67f309f110e 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getAttribute -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 + @$(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 index 3ea4580e7a4..4c024983eb5 100644 --- 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 @@ -20,133 +20,133 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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 index 2a18708e0e1..347e198e901 100644 --- 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 @@ -20,122 +20,122 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getAttributes test.
- - - + + + + + +

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 index 17f3ce03c13..ee8f5bf263f 100644 --- 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 @@ -1,18 +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 - +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 index c9840c109d1..7b6d33ad948 100644 --- 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 @@ -1,5 +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 +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 index e60f1ab126f..817d7e2f7ac 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getAttributes -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 83db934ca73..a21d801b2f3 100644 --- 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 @@ -20,121 +20,121 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getBorderHorizSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace/PlugletTagInfo2_getBorderHorizSpace.html index 184806f0299..19b0a8b5547 100644 --- 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 @@ -1,30 +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.
- - - + + + + + +

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 index 5bb82be2eed..6aeaaf96e6d 100644 --- 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 @@ -1,18 +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 - +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 index 2d4b49af257..1e7fde10ffe 100644 --- 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 @@ -1,5 +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 +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 index 9d695ddd27a..d279c9214f3 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getBorderHorizSpace -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index ec1d6c435da..0a6c1f71c8a 100644 --- 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 @@ -20,103 +20,103 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getBorderHorizSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderHorizSpace_1/PlugletTagInfo2_getBorderHorizSpace.html index 21722e2c93a..6c4cfc8a2f4 100644 --- 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 @@ -1,33 +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. -
- - - + + + + + +

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 index 5bb82be2eed..6aeaaf96e6d 100644 --- 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 @@ -1,18 +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 - +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 index b73de1dc94c..0b6cab4f55c 100644 --- 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 @@ -1,5 +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 +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 index 9741d3cc011..8da23521121 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getBorderHorizSpace_1 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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/PlugletTagInfo2_getBorderVertSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace/PlugletTagInfo2_getBorderVertSpace.html index 5685d832fe1..16e3c04faed 100644 --- 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 @@ -1,30 +1,30 @@ - - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getBorderVertSpace test. -The EMBED tag hasn't vspace attribute so 0 should be returned
- - - + + + + + +

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 index d70b1b4964f..14f1510cfa8 100644 --- 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 @@ -1,18 +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 - +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 index cb7ee122b66..37ddb763729 100644 --- 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 @@ -1,5 +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 +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 index 3ca9bb1c06d..d3117ae130c 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getBorderVertSpace -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 195dd9a8a77..e156babb9fb 100644 --- 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 @@ -20,102 +20,102 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getBorderVertSpace.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getBorderVertSpace_1/PlugletTagInfo2_getBorderVertSpace.html index 9b245236e27..85864f4c226 100644 --- 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 @@ -1,32 +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. -
- - - + + + + + +

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 index d70b1b4964f..14f1510cfa8 100644 --- 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 @@ -1,18 +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 - +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 index ea8b24e87e5..7cc05563459 100644 --- 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 @@ -1,5 +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 +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 index 2c4116b0892..c02e1136bcd 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getBorderVertSpace_1 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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/PlugletTagInfo2_getDOMElement.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDOMElement/PlugletTagInfo2_getDOMElement.html index eb584a267ce..7b62bbeaa7b 100644 --- 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 @@ -1,9 +1,9 @@ - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getDOMElement test.
- - - + + + + +

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 index 5e2c8245055..cd1cdf84edf 100644 --- 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 @@ -1,18 +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 - +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 index f6973af7f47..7cf40cc8015 100644 --- 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 @@ -1,5 +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 +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 index b34b0b943a8..0002f25a140 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getDOMElement -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 09e196b3a95..1b084b2ae85 100644 --- 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 @@ -20,109 +20,109 @@ */ -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 - *********************************************************** - * +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 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 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"); + 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/...) - *********************************************************** - * + } + /** + * + *********************************************************** + * 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 {} - } -} - - - - - - - - - - - + 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/PlugletTagInfo2_getDocumentBase.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentBase/PlugletTagInfo2_getDocumentBase.html index cbfac45b99f..7d78bc387cf 100644 --- 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 @@ -1,30 +1,30 @@ - - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getDocumentBase test.
- - - + + + + + +

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 index b893ef450ee..e1867c11e1e 100644 --- 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 @@ -1,18 +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 - +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 index 2f6fcbb1588..25c1d010ed2 100644 --- 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 @@ -1,5 +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 +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 index 74b9dc78cde..a389cc527da 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getDocumentBase -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index ba2930fc02f..bb8e1a0d97c 100644 --- 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 @@ -20,111 +20,111 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getDocumentEncoding.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getDocumentEncoding/PlugletTagInfo2_getDocumentEncoding.html index 82670d885fe..a50289bf122 100644 --- 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 @@ -1,7 +1,7 @@ - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getDocumentEncoding test.
- - - + + +

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 index 2ba3ae229d7..41c5fd44add 100644 --- 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 @@ -1,18 +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 - +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 index 1f5e4e7c8e1..2bd2551ceae 100644 --- 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 @@ -1,5 +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 +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 index d49a4c0167b..5a099b2139c 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getDocumentEncoding -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 9b2eacc9d20..85bd62dd2b7 100644 --- 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 @@ -20,92 +20,92 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getHeight.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight/PlugletTagInfo2_getHeight.html index 3f3a1a145e1..a4d7ed13aa4 100644 --- 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 @@ -1,32 +1,32 @@ - - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getHeight test. -EMBED tag hasn't height attribute so default value should be returned
- - - + + + + + +

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 index 56b4e577277..698c813f61a 100644 --- 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 @@ -1,18 +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 - +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 index 70c34c81d0e..17f3668914e 100644 --- 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 @@ -1,5 +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 +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 index edd32174cc9..0149b13dcd7 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getHeight -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index de89475a48c..fade0eb4d2b 100644 --- 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 @@ -20,104 +20,104 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getHeight.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getHeight_1/PlugletTagInfo2_getHeight.html index 8b00ed71f2c..5db6587e2b5 100644 --- 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 @@ -1,32 +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 -
- - - + + + + + +

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 index 56b4e577277..698c813f61a 100644 --- 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 @@ -1,18 +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 - +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 index 9f9c10031f9..657c208eff8 100644 --- 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 @@ -1,5 +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 +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 index fdf5b645f1d..12d21091a25 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getHeight_1 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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_getParameter/ParamCombinations b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameter/ParamCombinations index be6f7b30c38..ed058e6dd66 100644 --- 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 @@ -1 +1 @@ -Description'0, TestID'0, DUMMY_ATTR_NAME'0, null'0 +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 index d84116fd4fb..926ec8a7432 100644 --- 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 @@ -1,45 +1,45 @@ - - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getParameter test.
- - - - - - - + + + + + +

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 index d3dcabcb24f..038ecdee639 100644 --- 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 @@ -1,4 +1,4 @@ -0: Description -1: TestID -2: DUMMY_ATTR_NAME -3: null +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 index 9720ea455db..d59eb426277 100644 --- 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 @@ -1,18 +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 - +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 index b9e67112b74..5968ee3b5c5 100644 --- 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 @@ -1,6 +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 +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 index bd67edd1a8c..eca2006e9cd 100644 --- 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 @@ -20,29 +20,29 @@ # 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: +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 index fc878e2ca84..e59e181e5d8 100644 --- 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 @@ -20,134 +20,134 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} - - - - - + 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 index 4feeefc4360..7e643661e58 100644 --- 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 @@ -20,121 +20,121 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getParameters test.
- - - - - - - - - + + + + + +

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 index a3f9a8e7222..639591f8ff8 100644 --- 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 @@ -1,18 +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 - +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 index b632e251c7f..fa6f48c10f3 100644 --- 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 @@ -1,5 +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 +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 index 72b10a02961..8362af5338e 100644 --- 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 @@ -20,26 +20,26 @@ # 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 +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 index db26e07333e..17a89fd57ce 100644 --- 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 @@ -20,135 +20,135 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} - - - - - - + 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/PlugletTagInfo2_getParameters.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getParameters_1/PlugletTagInfo2_getParameters.html index 7436eb745ed..b11ee7f9a7c 100644 --- 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 @@ -1,34 +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. -
- - - - - + + + + + +

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 index a3f9a8e7222..639591f8ff8 100644 --- 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 @@ -1,18 +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 - +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 index aa16f739570..df61165c873 100644 --- 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 @@ -1,5 +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 +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 index 236188f7f44..85deccd7162 100644 --- 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 @@ -20,26 +20,26 @@ # 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 +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 index 09940763ade..946923bb350 100644 --- 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 @@ -20,79 +20,79 @@ */ -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 - *********************************************************** - * +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 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 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; - } - } -} + 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/PlugletTagInfo2_getTagText.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagText/PlugletTagInfo2_getTagText.html index f2b3f70c6f4..cbd0ae29bc5 100644 --- 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 @@ -1,7 +1,7 @@ - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getTagText test.
- - - + + +

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 index ba352a61575..5de9b115807 100644 --- 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 @@ -1,18 +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 - +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 index a1486e869f8..86943ca9d1e 100644 --- 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 @@ -1,5 +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 +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 index 2258ea39fdb..6fd18660e52 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getTagText -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 11cd7e5f650..e2ef5a503ca 100644 --- 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 @@ -20,92 +20,92 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getTagType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType/PlugletTagInfo2_getTagType.html index a562a34f70e..b95886a5126 100644 --- 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 @@ -1,32 +1,32 @@ - - - - - -

Depth 0

-
-This window contains a pluglet PlugletTagInfo2_getTagType test. -Pluglet created with EMBED tag, so EMBED value should be returned. -
- - - + + + + + +

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 index d1c472b1467..4e53d41383e 100644 --- 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 @@ -1,18 +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 - +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 index a756adffef6..ad6ec7280e0 100644 --- 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 @@ -1,5 +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 +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 index 8288519bc90..8a758bda1f7 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getTagType -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 2623072f8ab..1f372074144 100644 --- 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 @@ -20,115 +20,115 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} - - - - - - - - - + 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/PlugletTagInfo2_getTagType.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getTagType_1/PlugletTagInfo2_getTagType.html index ed86025023d..64bc9d475c3 100644 --- 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 @@ -1,33 +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 - - - + + + + + +

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 index d1c472b1467..4e53d41383e 100644 --- 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 @@ -1,18 +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 - +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 index 37d08afc1ec..573e01b768c 100644 --- 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 @@ -1,5 +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 +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 index b71a5341557..86c454cc282 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getTagType_1 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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_getUniqueID/IDPluglet/IDPluglet.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/IDPluglet/IDPluglet.java index f34d8e28c8a..2cfd4b900a9 100644 --- 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 @@ -1,165 +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; //:) - } -} - - - - - - + /* + * 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 index 607ff32c778..2f10628cc45 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-id-pluglet::Unique ID Pluglet -Pluglet-Class: IDPluglet +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/PlugletTagInfo2_getUniqueID.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getUniqueID/PlugletTagInfo2_getUniqueID.html index 3a6724fea30..608e9142240 100644 --- 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 @@ -1,11 +1,11 @@ - - -

Depth 0

- - - -
This window contains a pluglet PlugletTagInfo2_getUniqueID test.
- -
And 3 test pluglets, just for verify uniqueID
- - + + +

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 index 18459fccbdf..91e6459b0d3 100644 --- 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 @@ -1,18 +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 - +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 index 4fbff57aa43..dcfe11f0bb1 100644 --- 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 @@ -1,8 +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 +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 index 87a3bdff9aa..630a2599afa 100644 --- 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 @@ -20,41 +20,41 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getUniqueID -DEPTH=..\..\..\..\..\..\..\.. +TEST_NAME=PlugletTagInfo2_getUniqueID +DEPTH=..\..\..\..\..\..\..\.. #DEPTH1 used to build in the subdirectories -DEPTH1=..\..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index b3327626d19..9738739b785 100644 --- 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 @@ -20,113 +20,113 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo2_getWidth test. -The EMBED tag hasn't width attribute, so default value should be returned. -
- - - + + + + + +

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 index 4bc8a442998..527cdbc3e25 100644 --- 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 @@ -1,18 +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 - +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 index 950b916c309..0a0b800847f 100644 --- 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 @@ -1,5 +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 +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 index af564c60cd6..20b475acfb3 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getWidth -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index 90d29f82ec8..d656b717846 100644 --- 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 @@ -20,104 +20,104 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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/PlugletTagInfo2_getWidth.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo2_getWidth_1/PlugletTagInfo2_getWidth.html index 4f62f8fbb23..5cb5e44b56b 100644 --- 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 @@ -1,31 +1,31 @@ - - - - - -

Depth 0

-
-This window contains a pluglet PlugletTagInfo2_getWidth test. -EMBED tag has a width attribute, equals to 111. -
- - - + + + + + +

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 index 4bc8a442998..527cdbc3e25 100644 --- 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 @@ -1,18 +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 - +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 index bd772ce8b6f..d2ddb6c025b 100644 --- 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 @@ -1,5 +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 +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 index 396f8437850..a156309f127 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo2_getWidth_1 -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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_getAttribute/PlugletTagInfo_getAttribute.html b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/PlugletTagInfo_getAttribute/PlugletTagInfo_getAttribute.html index dc96ed9f3ce..5944ae59f57 100644 --- 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 @@ -1,39 +1,39 @@ - - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo_getAttribute test.
- - - + + + + + +

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 index 96eb10925cd..8d48130dafc 100644 --- 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 @@ -1,4 +1,4 @@ -0: type -1: name -2: DUMMY_ATTR_NAME -3: null +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 index 9eb559e0c4e..5fe42382224 100644 --- 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 @@ -1,18 +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 - +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 index 7f3b8dcdc34..435f00c422a 100644 --- 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 @@ -1,6 +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 +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 index 1c3bbde3136..b67d555c23e 100644 --- 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 @@ -20,29 +20,29 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo_getAttribute -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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: + @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 index ad2fd68c2d1..38b487dcbbb 100644 --- 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 @@ -20,127 +20,127 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} - - - - - + 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 index 0b7a0f6897e..6daf3dc75f7 100644 --- 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 @@ -20,121 +20,121 @@ */ -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 - *********************************************************** - * +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 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 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 - - - - -

Depth 0

-
This window contains a pluglet PlugletTagInfo_getAttributes test.
- - - + + + + + +

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 index ca6e086add9..122418ac25a 100644 --- 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 @@ -1,18 +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 - +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 index 19d2c295e2f..303d27fa64b 100644 --- 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 @@ -1,5 +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 +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 index 49ad20cae97..71132de4729 100644 --- 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 @@ -20,26 +20,26 @@ # Contributor(s): -TEST_NAME=PlugletTagInfo_getAttributes -DEPTH=..\..\..\..\..\..\..\.. +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) +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: +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 + @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 + 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 index b89039d541f..90799054661 100644 --- 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 @@ -20,114 +20,114 @@ */ -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 - *********************************************************** - * +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 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 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/...) - *********************************************************** - * + 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 {} - } -} + 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 index 8d4a30edc85..f3f637450fc 100644 --- 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 @@ -20,79 +20,79 @@ */ -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 - *********************************************************** - * +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 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 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; - } - } -} + 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 index edc1f5582d9..961359a8384 100644 --- 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 @@ -1,52 +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. - - - - - - - - - - - +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 index 2058a450636..c9436fda014 100644 --- 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 @@ -15,32 +15,32 @@ Comments: where M is modifier, the posible values of modifier are 0 and 1. 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. +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 ---------------------------------------------------------------------- - - +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/makeProps.pl b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makeProps.pl index 4634a2d6790..0baeec35406 100644 --- 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 @@ -19,182 +19,182 @@ # # 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; -} - - - - - - - - +$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/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/api/makefile.win index 801e39773e0..4717a12b834 100644 --- 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 @@ -20,133 +20,133 @@ # 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 - - - - - - - - - - - - - - +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 index d6678f5dfad..da72984c7d4 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-api-pluglet::Pluglet API Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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/makefile.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/makefile.win index 8713b91a5cd..b99ee55b19b 100644 --- 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 @@ -20,38 +20,38 @@ # 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 + +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 index b119a10dd2e..c48208ce0bc 100644 --- a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/manifest +++ b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/manifest @@ -1,2 +1,2 @@ -MIMEDescription: *:*:Pluglet Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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/PlugletStreamListener_onDataAvailable_input_1.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1.java index a8e3989d925..e6e518150e6 100644 --- 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 @@ -20,58 +20,58 @@ */ - -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. - * - * + +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()); - } - } -} + +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 index 812b52e9fc1..698c84818cd 100644 --- 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 @@ -1,5 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_1/test.tdt 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 index 22e0fb4d8d4..92b90ff15f9 100644 --- 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 @@ -20,115 +20,115 @@ */ - -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. - * + +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; - - } - -} + +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 index b424eee4f61..d66f7dd4bfc 100644 --- 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 @@ -1,6 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_11/test.tdt 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 index c18b1bc9524..d9f4c3e9429 100644 --- 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 @@ -20,156 +20,156 @@ */ - -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. - * + +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; - - } - - -} + +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 index cb32af02625..174184d3063 100644 --- 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 @@ -1,6 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_12/test.tdt 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 index b7c7b4d048a..d6935f09e26 100644 --- 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 @@ -20,111 +20,111 @@ */ - -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. - * + +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"); - } - } - - } -} + +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 index e0be68dee96..cd0292cb99a 100644 --- 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 @@ -1,8 +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 - - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_2/test.tdt 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 index 04577e5cfbe..4c1b7b8f168 100644 --- 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 @@ -20,58 +20,58 @@ */ - -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. - * - * + +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()); - } - } -} + +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 index c60c1f14488..6e38f299222 100644 --- 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 @@ -1,5 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_3/test.tdt 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 index 043964afbe8..de82c5a311a 100644 --- 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 @@ -20,50 +20,50 @@ */ - -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. - * - * + +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()); - } - } -} + +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 index accdb8eb930..2e5ca77cd07 100644 --- 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 @@ -1,5 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_4/test.tdt 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 index b42354adf04..83c5a5b7ecf 100644 --- 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 @@ -20,66 +20,66 @@ */ - -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) - * - * - * - * + +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()); - } - } -} + +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 index 51dad5a918f..25a2b3bfaf6 100644 --- 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 @@ -1,5 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_5/test.tdt 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 index 3000804cd79..851c5082730 100644 --- 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 @@ -20,66 +20,66 @@ */ - -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() - * - * - * - * + +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); - - } -} + +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 index 50e8e13cf41..08dca56e340 100644 --- 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 @@ -1,5 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_6/test.tdt 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 index 98acf0776b7..6c0fd9479db 100644 --- 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 @@ -20,77 +20,77 @@ */ - -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. - * + +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(""); - } - } - -} + +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 index 1e078bd57f2..de961b6ae38 100644 --- 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 @@ -1,8 +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 - - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_7/test.tdt 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 index 925103a6147..80a6e0d3738 100644 --- 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 @@ -20,116 +20,116 @@ */ - -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. - * - * - * + +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; - } - -} + +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 index 5736f8f259d..f9e7dcc8de1 100644 --- 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 @@ -1,6 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_8/test.tdt 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 index ab2b339dcbe..e335462853b 100644 --- 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 @@ -20,110 +20,110 @@ */ - -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. - * - * - * - * + +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; - } - -} + +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 index 14c1db845c7..45cb32e3243 100644 --- 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 @@ -1,6 +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 - +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 index 49b187245c5..de466385c00 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 4f143603086..d4153d26d06 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 16da86b2bcc..943176fd609 100644 Binary files a/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/params/PlugletStreamListener_onDataAvailable_input_9/test.tdt 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 index a07fcc62928..039427a55db 100644 --- 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 @@ -20,42 +20,42 @@ */ - -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. - * - * - * + +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"); - } - } -} + + + +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 index 16320c1305a..b6ccb7285c4 100644 --- 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 @@ -1,5 +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 +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 index 27c34060e84..8fbd023e877 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: multipart/x-pluglet-test-params;application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 6cbeef4026b..397fef9407e 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 42f6b20c442..aabbe9cfefd 100644 --- 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 @@ -1,5 +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 +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 index 27c34060e84..8fbd023e877 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: multipart/x-pluglet-test-params;application/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index ad3a07194d9..801bdd398ec 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 92f08cd908b..0057a9a91bd 100644 --- 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 @@ -1,5 +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 +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 index 26253bcbf0e..605d6f9fea7 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: multipart/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 18eb33c3b70..46044f1ac11 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 9354224d9bb..22349db30e9 100644 --- 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 @@ -1,5 +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 +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 index 0eb6040aa97..f0c55a12cc5 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: some_type::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index efab25349e7..755c7f79110 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index c66b48a80bf..65b3edcd302 100644 --- 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 @@ -1,5 +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 +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 index 26253bcbf0e..605d6f9fea7 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: multipart/x-pluglet-test-params::Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 079e5107ad7..598a35da87c 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +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 index 728eb752595..ddc7e8b7ba0 100644 --- 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 @@ -1,5 +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 +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 index 2899c90baa0..e04d86b9c04 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/zip;application/x-zip-compressed:zip:Pluglet Params Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 061a9020aa6..ca02234693d 100644 --- 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 @@ -1,8 +1,8 @@ - -Params test page - - - - - + +Params test page + + + + + \ No newline at end of file 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 index 3d2814912b1..793538bbc3c 100644 --- 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 @@ -20,76 +20,76 @@ # 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\$@ + +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/PlugletInstance_newStream.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/returns/PlugletInstance_newStream.java index d625236b931..436613885b7 100644 --- 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 @@ -20,16 +20,16 @@ */ - -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; - } - -} + +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 index c7f1fefa5cf..5736ff89434 100644 --- 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 @@ -1,4 +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 +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 index 1f413393554..3ef637668fd 100644 --- 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 @@ -20,16 +20,16 @@ */ - -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; - } - -} + +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 index fe9e63fff75..714771bbd40 100644 --- 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 @@ -1,4 +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 +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 index 174f767f8b3..88bec73b2f7 100644 --- 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 @@ -20,54 +20,54 @@ # 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\ - + +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 index 7c13f7eb6b6..3d1bca73df1 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-pluglet-test-returns::Pluglet Returns Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index fd631bda937..92a1fcb491d 100644 --- 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 @@ -1,8 +1,8 @@ - -Test page - - - - - + +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 index 3c8dcb1bbab..30c78896785 100644 --- 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 @@ -1,22 +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 +# 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 index 2d4c8837cfd..e282208c610 100644 --- 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 @@ -1,17 +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 +# 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 index 485e70330f4..4b9ae17b5f5 100644 --- 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 @@ -1,18 +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 - +# 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 index aa903bbaaba..04814552536 100644 --- 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 @@ -1,17 +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 +# 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 index 72c7ccfff32..3ba876b6c21 100644 --- 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 @@ -1,21 +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 +# 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 index cf5d18e8b73..ad1d1e3a470 100644 --- 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 @@ -1,8 +1,8 @@ - - - -This window automatically open new window with pluglet test. - + + + +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 index 98c043d42f5..031283ebc6b 100644 --- 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 @@ -1,31 +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 +# 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 index 465d4d0645d..cbf791b4c72 100644 --- 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 @@ -1,38 +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 +# 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/SequencialScenarioTest.java b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/scenario/SequencialScenarioTest.java index d50e386390f..c5a0e3e90ce 100644 --- 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 @@ -20,157 +20,157 @@ */ - -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; - - } - -} + +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 index ebb76efcbd6..63661d5e090 100644 --- 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 @@ -1,8 +1,8 @@ - -Default document for returning back. - - -You should automatically return back from this page. + +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 index a6e486ad21e..079a1cd0ab7 100644 --- 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 @@ -1,6 +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 index 1afe12fdc34..3394f538264 100644 --- 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 @@ -1,16 +1,16 @@ - -Scenario test page - - - - - - - - - + +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 index 2b45797da7b..44f6b692fb6 100644 --- 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 @@ -1,16 +1,16 @@ - -Scenario test page - - - - - - - - - + +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 index bf07f9eab34..0caf5752399 100644 --- 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 @@ -1,5 +1,5 @@ - - -Intentionally empty page. - + + +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 index 5ff6f1ac954..b9b9fe9f4e5 100644 --- 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 @@ -1,14 +1,14 @@ - - Page for automatically forward - - -After you have seen this page the forward should be done automatically - + + 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 index 5f8903ea113..66405b8e18c 100644 --- 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 @@ -1,22 +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 +# 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 index 2009971cad4..eb906f27c23 100644 --- 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 @@ -1,17 +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 +# 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 index f751a5199a1..6af5f32bc3b 100644 --- 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 @@ -1,18 +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 - +# 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 index 74a86267a02..a2579a8eb49 100644 --- 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 @@ -20,44 +20,44 @@ # 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\$@ + +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 index 52973a00921..8474b20e94f 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-scenario-pluglet::Pluglet Scenario Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 0cc842a37a9..ffb4e5d854c 100644 --- 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 @@ -1,28 +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); -} - +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 index 6bd028c0c64..7c9f35d20aa 100644 --- 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 @@ -18,15 +18,15 @@ * * Contributor(s): */ -package org.mozilla.pluglet.test.basic.security; - -import org.mozilla.pluglet.test.basic.*; - -public class BasicSecurityTest { - - boolean mustPass; - - public void doAction( ) { - }; - -} +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 index cebd77d9592..bcb70a65902 100644 --- 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 @@ -18,60 +18,60 @@ * * 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 +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 +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. - * +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()); - } - } - -} +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 index bb9f2bfaa0f..363ec827bdb 100644 --- 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 @@ -18,50 +18,50 @@ * * 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()); - } - } - -} +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 index 5dd929a43b5..6560b2cf3d1 100644 --- 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 @@ -18,61 +18,61 @@ * * 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()); - } -} - -} +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.win b/mozilla/java/plugins/test/src/org/mozilla/pluglet/test/basic/security/Makefile.win index 1df2decefc7..f4899968d49 100644 --- 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 @@ -1,67 +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 - +#!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 index b10f7e3a75c..a2123dcc4c3 100644 --- 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 @@ -18,47 +18,47 @@ * * 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()); - } - } - -} +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 index 1f9acd29d3f..0d9a9384001 100644 --- 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 @@ -18,66 +18,66 @@ * * 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()); - } -} - -} +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 index a45a636b572..52147f76f08 100644 --- 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 @@ -18,67 +18,67 @@ * * 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()); - } -} - - -} +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 index f791d6bf109..f90acfaad54 100644 --- 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 @@ -18,58 +18,58 @@ * * 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()); - } - -} - -} - +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 index cef118ba8d2..30808ddb563 100644 --- 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 @@ -18,68 +18,68 @@ * * 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()); - } - -} - -} - +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 index 632f5e92042..0d6571aa683 100644 --- 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 @@ -1,37 +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 +# +# 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 index 0348851736e..dd4cb9989af 100644 --- 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 @@ -18,58 +18,58 @@ * * 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()); - } -} - -} - +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 index 300ea5d8501..096326d6de0 100644 --- 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 @@ -18,46 +18,46 @@ * * 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()); - } -} - -} - + +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 index 22178e62091..e06923218cd 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - + +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 index 134a1222903..34435420825 100644 --- 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 @@ -18,55 +18,55 @@ * * 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()); - } - - } + +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 index cc8a6a72c0e..dfc59fcaa73 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index d31b417af19..531cbce2ba1 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - - + +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 index 82441704171..05a3fd60cf9 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - - + +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 index 7462dfc6676..7997ac71d4b 100644 --- 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 @@ -18,41 +18,41 @@ * * 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()); - } - } -} + +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 index 278035a2176..872e1fd7ee7 100644 --- 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 @@ -18,42 +18,42 @@ * * 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()); - } - } -} + +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 index 456d0f64c7e..5ad3b7497b5 100644 --- 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 @@ -18,46 +18,46 @@ * * 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()); - } - } -} - - + +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 index 789f520b35a..bcf63d034a6 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index f48924723b2..2a345989c31 100644 --- 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 @@ -18,48 +18,48 @@ * * 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()); - } - - } -} - - + +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 index 0571d01c79d..bbd3e86bc89 100644 --- 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 @@ -18,48 +18,48 @@ * * 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()); - } - } -} - - + +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 index d1333bee0f2..1c1b37a8f3b 100644 --- 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 @@ -18,58 +18,58 @@ * * 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()); - } - } -} - - + +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 index 5d0f6871e41..1d823aee5f5 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index 1641fd94a40..6e4ed5718e6 100644 --- 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 @@ -18,48 +18,48 @@ * * 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()); - } - - } -} - - + +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 index a718efaa4bf..d5f6174506e 100644 --- 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 @@ -18,43 +18,43 @@ * * 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()); - } - - } -} - - + +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 index 9a24a720098..ff44e47a7f0 100644 --- 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 @@ -18,42 +18,42 @@ * * 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()); - } - - } -} - - + +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 index 47988133502..ea8e3dc51bc 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index aaf8058a113..bd2e3d0e66e 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index 16ee779ce9c..b04d36b82e8 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index 74ed910ff67..7c8eb361f39 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index cf11fb17ec0..7135b820320 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - - } -} - - - + +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 index 633ddde6a7e..872c131f2bc 100644 --- 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 @@ -18,52 +18,52 @@ * * 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") ); - } -} + +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 index 8ddfb4782ff..215c2acd9b7 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - - } -} - - - + +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 index 2998cdac02c..756ae7f8263 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - - } -} - - - + +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 index 8944835cb50..305462f3ae6 100644 --- 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 @@ -18,61 +18,61 @@ * * 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()); - } - - } -} - - + +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 index 021c9d00955..6f6dc58cd44 100644 --- 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 @@ -18,50 +18,50 @@ * * 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()); - } - - } -} - - + +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 index 450e39f5ef0..e5b1480c197 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - - } -} - - - + +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 index 8cdb6e8f263..ea0aa601f71 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - - } -} - - - + +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 index 19b3b63b0e0..68c648e5e2b 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - + +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 index e57bfff8b28..c246fc64bb0 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - } -} - + +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 index 98ac15660ec..078f2b8ef56 100644 --- 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 @@ -18,40 +18,40 @@ * * 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()); - } - } + +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 index e0715021ebd..e3e358b4a29 100644 --- 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 @@ -18,57 +18,57 @@ * * 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()); - } - } -} - - + +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 index 3a28f0ecd59..e0260185162 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - + +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 index 311d3a77805..71bd3e162da 100644 --- 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 @@ -18,70 +18,70 @@ * * 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 ); - } -} - + +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 index cc1558bffff..f37a738f1f9 100644 --- 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 @@ -18,66 +18,66 @@ * * 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()); - } - } -} - - - + +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 index 8334cf37c68..4baf3dad596 100644 --- 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 @@ -18,43 +18,43 @@ * * 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()); - } - } -} - - - + +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 index c102d810055..607a65958ec 100644 --- 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 @@ -18,71 +18,71 @@ * * 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. + +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 +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()); - } - } -} - - +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 index d368989431c..9c9bb0a1125 100644 --- 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 @@ -18,49 +18,49 @@ * * 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()); - } - - } -} - - - + +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 index 2ba6f57221d..18c5b4b06a6 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - + +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 index e127708e0e1..bc073830175 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index 52b34a78348..1f135a022ac 100644 --- 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 @@ -18,50 +18,50 @@ * * 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()); - } - -} - -} + +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 index f6e0675d4ea..a4b806a112d 100644 --- 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 @@ -18,40 +18,40 @@ * * 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()); - } - - } -} + +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 index 1cb018ed5ae..b9c6c02d3bc 100644 --- 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 @@ -18,48 +18,48 @@ * * 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()); - } - - } -} - - - + +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 index 5470d66083b..83ca50a23a4 100644 --- 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 @@ -18,47 +18,47 @@ * * 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()); - } - - } -} - - - + +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 index c5181686b2f..8d394ec6c9b 100644 --- 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 @@ -18,45 +18,45 @@ * * 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()); - } - } -} - - - + +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 index c371eb381ed..bde2f82ccd4 100644 --- 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 @@ -18,43 +18,43 @@ * * 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()); - } - } -} - - - + +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 index 329c04647e6..5fd86fc1649 100644 --- 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 @@ -18,43 +18,43 @@ * * 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()); - } - - } + +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 index 32a211c6d21..f9829bb640e 100644 --- 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 @@ -18,43 +18,43 @@ * * 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()); - } - - } -} - + +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 index ae11d650211..b4eab9bd47c 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - } -} - - + +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 index de927225b83..82d17e0e5bb 100644 --- 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 @@ -18,42 +18,42 @@ * * 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()); - } - - } + +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 index 89f1f25d667..1771ebd0108 100644 --- 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 @@ -18,40 +18,40 @@ * * 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()); - } - - } -} + +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 index d9bbeb0f225..6286b36be88 100644 --- 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 @@ -18,47 +18,47 @@ * * 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()); - } - } -} - - - + +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 index 43f005510ec..67d83b01c0a 100644 --- 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 @@ -18,40 +18,40 @@ * * 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()); - } - - } + +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 index 91e7bff6ff3..64029a8934f 100644 --- 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 @@ -18,44 +18,44 @@ * * 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()); - } - - } -} - - + +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 index 7925f651d96..14e81c2693d 100644 --- 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 @@ -1,8 +1,8 @@ - -Security test page - - - - - + +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 index f40b3750bc8..d64d2a9fb3c 100644 --- 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 @@ -1,2 +1,2 @@ -MIMEDescription: application/x-security-pluglet::Pluglet Security Test -Pluglet-Class: org.mozilla.pluglet.test.basic.TestLoaderPluglet +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 index 518ac8f1ad3..d9ff0db7b79 100644 --- 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 @@ -1,26 +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); -} - +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 index e09a7a98fe3..73981a943b3 100644 --- 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 @@ -1,64 +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 +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 index d069e270012..6fe1cbd3606 100644 --- 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 @@ -1,64 +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 +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/utils/configurator.readme b/mozilla/java/plugins/test/utils/configurator.readme index b420c1f7bc6..2bc6f8f4e39 100644 --- a/mozilla/java/plugins/test/utils/configurator.readme +++ b/mozilla/java/plugins/test/utils/configurator.readme @@ -1,85 +1,85 @@ - -configurator.pl readme file - ---------------------------------------------------------- -1. About - - This utility is necessary for test building. Each - test in suite has each own number of properties. - It is also necessary to the end-user to configurate - properties correct, because of different platforms - test is running under and different situation test - suite must be used. - -2. Usage - - perl conigurator.pl infile outfile templatefile - - infile: - - the input file with the key valies. For more - details see "File format section" - - outfile: - - the output file, that generates from template - and input file. For more details see "File - format section" - - template: - - the template file, that describes the format - of output file. For more details see "File - format section" - -3. File format. - - 3.1 Input file - - The input file format seems to be very easy. - "#" sign in the beginning means comment, empty - lines are ignored. The key features described - as this : - - KeyName = KeyValue - - generator utility searches for such a strings - and inserts Key values into the key names fields - as it describes in the template section. - - 3.2 Template file - - The template file is a simple file, that uses - signs as following to insert the key values - into the text. Here comes the example. - - - Example 1 - - See some text is goes and Oo--oO we will insert - the "here" key value, that goes from the input file - - - - - So, generator will search the string in the input - file like this : - - - Example 2 - - # "Here" key - here = my own value - - - - - The output will be like this : - - - Example 3 - - See some text is goes and Oo- my own value -oO we - will insert the "here" key value, that goes from the - input file - - - - -4. FAQ - + +configurator.pl readme file + +--------------------------------------------------------- +1. About + + This utility is necessary for test building. Each + test in suite has each own number of properties. + It is also necessary to the end-user to configurate + properties correct, because of different platforms + test is running under and different situation test + suite must be used. + +2. Usage + + perl conigurator.pl infile outfile templatefile + + infile: + + the input file with the key valies. For more + details see "File format section" + + outfile: + + the output file, that generates from template + and input file. For more details see "File + format section" + + template: + + the template file, that describes the format + of output file. For more details see "File + format section" + +3. File format. + + 3.1 Input file + + The input file format seems to be very easy. + "#" sign in the beginning means comment, empty + lines are ignored. The key features described + as this : + + KeyName = KeyValue + + generator utility searches for such a strings + and inserts Key values into the key names fields + as it describes in the template section. + + 3.2 Template file + + The template file is a simple file, that uses + signs as following to insert the key values + into the text. Here comes the example. + + - Example 1 + + See some text is goes and Oo--oO we will insert + the "here" key value, that goes from the input file + + - + + So, generator will search the string in the input + file like this : + + - Example 2 + + # "Here" key + here = my own value + + - + + The output will be like this : + + - Example 3 + + See some text is goes and Oo- my own value -oO we + will insert the "here" key value, that goes from the + input file + + - + +4. FAQ + TBD \ No newline at end of file diff --git a/mozilla/java/plugins/test/utils/example.input b/mozilla/java/plugins/test/utils/example.input index 6b01612724c..306289dd17f 100644 --- a/mozilla/java/plugins/test/utils/example.input +++ b/mozilla/java/plugins/test/utils/example.input @@ -1,8 +1,8 @@ -# -# example.input -# -# This file shows, how you can use the input key values -# -key1= somebody@mail.1 -key2= noone@mail.2 -key3= anonymous@mail.3 (# This does not seems to be a comment) +# +# example.input +# +# This file shows, how you can use the input key values +# +key1= somebody@mail.1 +key2= noone@mail.2 +key3= anonymous@mail.3 (# This does not seems to be a comment) diff --git a/mozilla/java/plugins/test/utils/example.out b/mozilla/java/plugins/test/utils/example.out index 468e19f60b8..525a817bf3c 100644 --- a/mozilla/java/plugins/test/utils/example.out +++ b/mozilla/java/plugins/test/utils/example.out @@ -1,12 +1,12 @@ -# -# example.template -# -# This file shows, how you can use the -# template values. -# - -Welcome to the template. You can send a dummy mail to the -one man : somebody@mail.1. If you does like this example you can -send the email to noone@mail.2, anonymous@mail.3 (# This does not seems to be a comment) . Note, that all these -email addresses are in space - there's no such a domains. - +# +# example.template +# +# This file shows, how you can use the +# template values. +# + +Welcome to the template. You can send a dummy mail to the +one man : somebody@mail.1. If you does like this example you can +send the email to noone@mail.2, anonymous@mail.3 (# This does not seems to be a comment) . Note, that all these +email addresses are in space - there's no such a domains. + diff --git a/mozilla/java/plugins/test/utils/example.template b/mozilla/java/plugins/test/utils/example.template index 0b659d68376..1a8f13d4096 100644 --- a/mozilla/java/plugins/test/utils/example.template +++ b/mozilla/java/plugins/test/utils/example.template @@ -1,13 +1,13 @@ -# -# example.template -# -# This file shows, how you can use the -# template values. -# - -Welcome to the template. You can send a dummy mail to the -one man : . If you does like this example you can -send the email to , . Note, that all these -email addresses are in space - there's no such a domains. - +# +# example.template +# +# This file shows, how you can use the +# template values. +# + +Welcome to the template. You can send a dummy mail to the +one man : . If you does like this example you can +send the email to , . Note, that all these +email addresses are in space - there's no such a domains. + Thank you. \ No newline at end of file