ASF Bugzilla – Attachment 19755 Details for
Bug 41903
ViewResultsFullVisualizer : status column looks bad when you do copy and paste
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested patch
patch_for_41903.patch (text/plain), 3.34 KB, created by
Alf Hogemark
on 2007-03-20 06:17:57 UTC
(
hide
)
Description:
Suggested patch
Filename:
MIME Type:
Creator:
Alf Hogemark
Created:
2007-03-20 06:17:57 UTC
Size:
3.34 KB
patch
obsolete
>Index: C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/components/org/apache/jmeter/visualizers/TableVisualizer.java >=================================================================== >--- C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/components/org/apache/jmeter/visualizers/TableVisualizer.java (revision 520379) >+++ C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/components/org/apache/jmeter/visualizers/TableVisualizer.java (working copy) >@@ -63,10 +63,12 @@ > private static final Logger log = LoggingManager.getLoggerForClass(); > > private static final ImageIcon imageSuccess = JMeterUtils.getImage( >- JMeterUtils.getPropDefault("viewResultsTree.success", "icon_success_sml.gif")); >+ JMeterUtils.getPropDefault("viewResultsTree.success", "icon_success_sml.gif"), >+ JMeterUtils.getResString("table_visualizer_success")); > > private static final ImageIcon imageFailure = JMeterUtils.getImage( >- JMeterUtils.getPropDefault("viewResultsTree.failure", "icon_warning_sml.gif")); >+ JMeterUtils.getPropDefault("viewResultsTree.failure", "icon_warning_sml.gif"), >+ JMeterUtils.getResString("table_visualizer_warning")); > > private final String[] COLUMNS = new String[] { > JMeterUtils.getResString("table_visualizer_sample_num"), // $NON-NLS-1$ >Index: C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/core/org/apache/jmeter/util/JMeterUtils.java >=================================================================== >--- C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/core/org/apache/jmeter/util/JMeterUtils.java (revision 520379) >+++ C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/core/org/apache/jmeter/util/JMeterUtils.java (working copy) >@@ -438,6 +438,26 @@ > return null; > } > } >+ >+ /** >+ * This looks for the requested image in the classpath under >+ * org.apache.jmeter.images. <name>, and also sets the description >+ * of the image, which is useful if the icon is going to be placed >+ * on the clipboard. >+ * >+ * @param name >+ * the name of the image >+ * @param description >+ * the description of the image >+ * @return The Image value >+ */ >+ public static ImageIcon getImage(String name, String description) { >+ ImageIcon icon = getImage(name); >+ if(icon != null) { >+ icon.setDescription(description); >+ } >+ return icon; >+ } > > public static String getResourceFileAsText(String name) { > BufferedReader fileReader = null; >Index: C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/core/org/apache/jmeter/resources/messages.properties >=================================================================== >--- C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/core/org/apache/jmeter/resources/messages.properties (revision 520379) >+++ C:/Documents and Settings/alf.hogemark/workspace/Jmeter 2.2/src/core/org/apache/jmeter/resources/messages.properties (working copy) >@@ -694,7 +694,9 @@ > table_visualizer_sample_time=Sample Time(ms) > table_visualizer_start_time=Start Time > table_visualizer_status=Status >+table_visualizer_success=Success > table_visualizer_thread_name=Thread Name >+table_visualizer_warning=Warning > tcp_config_title=TCP Sampler Config > tcp_nodelay=Set NoDelay > tcp_port=Port Number\:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41903
: 19755