📄 defaultfileitemtest.html
字号:
<TH ALIGN="left"><B>Methods inherited from class junit.framework.Assert</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="DefaultFileItemTest(java.lang.String)"><!-- --></A><H3>DefaultFileItemTest</H3><PRE>public <B>DefaultFileItemTest</B>(java.lang.String name)</PRE><DL><DD>Standard JUnit test case constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the test case.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="testTextFieldConstruction()"><!-- --></A><H3>testTextFieldConstruction</H3><PRE>public void <B>testTextFieldConstruction</B>()</PRE><DL><DD>Test construction of a regular text field.<P><DD><DL></DL></DD></DL><HR><A NAME="testFileFieldConstruction()"><!-- --></A><H3>testFileFieldConstruction</H3><PRE>public void <B>testFileFieldConstruction</B>()</PRE><DL><DD>Test construction of a file field.<P><DD><DL></DL></DD></DL><HR><A NAME="testBelowThreshold()"><!-- --></A><H3>testBelowThreshold</H3><PRE>public void <B>testBelowThreshold</B>()</PRE><DL><DD>Test creation of a field for which the amount of data falls below the configured threshold.<P><DD><DL></DL></DD></DL><HR><A NAME="testAboveThresholdDefaultRepository()"><!-- --></A><H3>testAboveThresholdDefaultRepository</H3><PRE>public void <B>testAboveThresholdDefaultRepository</B>()</PRE><DL><DD>Test creation of a field for which the amount of data falls above the configured threshold, where no specific repository is configured.<P><DD><DL></DL></DD></DL><HR><A NAME="testAboveThresholdSpecifiedRepository()"><!-- --></A><H3>testAboveThresholdSpecifiedRepository</H3><PRE>public void <B>testAboveThresholdSpecifiedRepository</B>()</PRE><DL><DD>Test creation of a field for which the amount of data falls above the configured threshold, where a specific repository is configured.<P><DD><DL></DL></DD></DL><HR><A NAME="doTestAboveThreshold(java.io.File)"><!-- --></A><H3>doTestAboveThreshold</H3><PRE>public void <B>doTestAboveThreshold</B>(java.io.File repository)</PRE><DL><DD>Common code for cases where the amount of data is above the configured threshold, but the ultimate destination of the data has not yet been determined.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>repository</CODE> - The directory within which temporary files will be created.</DL></DD></DL><HR><A NAME="createFactory(java.io.File)"><!-- --></A><H3>createFactory</H3><PRE>protected org.apache.commons.fileupload.FileItemFactory <B>createFactory</B>(java.io.File repository)</PRE><DL><DD>Creates a new <code>FileItemFactory</code> and returns it, obscuring from the caller the underlying implementation of this interface.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>repository</CODE> - The directory within which temporary files will be created.<DT><B>Returns:</B><DD>the new <code>FileItemFactory</code> instance.</DL></DD></DL><HR><A NAME="testContentCharSet()"><!-- --></A><H3>testContentCharSet</H3><PRE>public void <B>testContentCharSet</B>() throws java.lang.Exception</PRE><DL><DD>Test construction of content charset.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/apache/commons/fileupload/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultFileItemTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../org/apache/commons/fileupload/DiskFileItemSerializeTest.html" title="class in org.apache.commons.fileupload"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/commons/fileupload/DefaultFileItemTest.html" target="_top"><B>FRAMES</B></A> <A HREF="DefaultFileItemTest.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright ? 2002-2008 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -