<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/marathonman/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/marathonman/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 15 Sep 2010 19:25:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/marathonman/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Patch for NPE in MComponent.unboxPremitiveArray</title><link>https://sourceforge.net/p/marathonman/patches/31/</link><description>There's a potential NullPointerException in this method if the user data contains a null.  This method attempts to get its class \(to see if it's an array\).  The attached patch adds a check for null.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Wasson</dc:creator><pubDate>Wed, 15 Sep 2010 19:25:43 -0000</pubDate><guid>https://sourceforge.net82f0a7d446a7e15b0e9d699984d2a2b27ad0cde3</guid></item><item><title>Created Maven 2 Build - part1</title><link>https://sourceforge.net/p/marathonman/patches/30/</link><description>Maven build including plugin to run tests in batch mode</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ean Dungey</dc:creator><pubDate>Fri, 21 May 2010 06:37:42 -0000</pubDate><guid>https://sourceforge.netf11bf7b7eaec94444fec1e0b29600a19e2d67379</guid></item><item><title>Created Maven 2 Build - part2</title><link>https://sourceforge.net/p/marathonman/patches/29/</link><description>Missing marathon-core. Add into top level Marathon directory</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 21 May 2010 06:35:20 -0000</pubDate><guid>https://sourceforge.netae41a9936e408f2865b15da6b387a1e402de7aad</guid></item><item><title>JTreeNode cannot be selected with / in text</title><link>https://sourceforge.net/p/marathonman/patches/28/</link><description>It is currently not possible to select a JTreeNode with a forward slash in it.  I also tried several variations of \#+ \(replacement characters\) to no avail.  Marathon 2.0b4 build 7.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 05 Feb 2010 19:09:56 -0000</pubDate><guid>https://sourceforge.net421cedc9d3ca3f0ea7128974cd0b852e2c648cc5</guid></item><item><title>Patch for MTableCell</title><link>https://sourceforge.net/p/marathonman/patches/27/</link><description>Attached is a patch for net.sourceforge.marathon.component.MTableCell

Fixes:
1\) Some method promoted from private to protected where they would be useful to those extending this class
2\) Fix for java.lang.NoSuchMethodException thrown by MTableCell\#tryGettingItFromTable\(\)</description><pubDate>Thu, 19 Nov 2009 06:02:27 -0000</pubDate><guid>https://sourceforge.net33d058e79f115c5fcd5a0bef92c98eaa4e2e1975</guid></item><item><title>Problem with MTableCell#tryGettingItFromTable</title><link>https://sourceforge.net/p/marathonman/patches/26/</link><description>MTableCell is throwing java.lang.NoSuchMethodExceptions

I have locaed the source of this, it is in marathon-runtime, net.sourceforge.marathon.component.MTableCell\#tryGettingItFromTable:

	private int tryGettingItFromTable\(\) \{
		int columnCount = eventQueueRunner.invokeInteger\(getTableComponent\(\), "getColumnCount"\);
		for \(int i = 0; i &amp;lt; columnCount; i++\) \{
			String name = \(String\) eventQueueRunner.invoke\(getTableComponent\(\), "", new Object\[\] \{ new Integer\(i\) \},
					new Class\[\] \{ Integer.TYPE \}\);
			if \(name.equals\(column\)\)
				return i;
		\}
		throw new TestException\("Problem looking up column with the name \"" + column + "\" in table \"" + getName\(\) + "\"."\);
	\}

I believe this linbe is at fault:
eventQueueRunner.invoke\(getTableComponent\(\), "", new Object\[\] \{ new Integer\(i\) \}, new Class\[\] \{ Integer.TYPE \}\);

The 2nd parameter of invoke is an empty String, which should be a method name for a method member of javax.swing.JTable. Obv. an empty String is unacceptable.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 30 Oct 2009 04:38:34 -0000</pubDate><guid>https://sourceforge.netba8c6dff2fed2a554a9ba08227defbde6657210b</guid></item><item><title>Update JUnit Library</title><link>https://sourceforge.net/p/marathonman/patches/25/</link><description>Updaet JUnit library that is used in marathon to the latest version.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bucalaete Nicolae</dc:creator><pubDate>Mon, 11 May 2009 07:17:33 -0000</pubDate><guid>https://sourceforge.net863143eef4130797f0e26374b3ae085826d4ecc3</guid></item><item><title>Bug in MTabbedPane</title><link>https://sourceforge.net/p/marathonman/patches/24/</link><description>Overrided method getText\(\) doesn't take into consideration the case when we have no tabs added to this JTabbedPane.
The getText\(\) method should look like this:
	public String getText\(\) \{
		int selectedIndex = eventQueueRunner.invokeInteger\(getTabbedPane\(\), "getSelectedIndex"\);
		if \(selectedIndex &amp;lt; 0\)
			return null;
		return \(String\) eventQueueRunner.invoke\(getTabbedPane\(\), "getTitleAt", new Object\[\] \{ new Integer\(selectedIndex\) \},
				new Class\[\] \{ Integer.TYPE \}\);
	\}
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 04 May 2009 07:56:46 -0000</pubDate><guid>https://sourceforge.netfca0a26b1d11e9e3a761dc89a85a83bddf9bee26</guid></item><item><title>Sample to reproduce recording problem</title><link>https://sourceforge.net/p/marathonman/patches/23/</link><description>For more details see

http://sourceforge.net/forum/message.php?msg\_id=5028770</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jam</dc:creator><pubDate>Fri, 13 Jun 2008 10:39:30 -0000</pubDate><guid>https://sourceforge.net4c5e512de72181b7e66011adf7c6a466440b233b</guid></item><item><title>Patch to allow dumping of components</title><link>https://sourceforge.net/p/marathonman/patches/22/</link><description>This patch is probably not ready for inclusion in a release, but may be helpful to people that can't wait for the more feature-filled version we've discussed in the forums.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">demotivator</dc:creator><pubDate>Fri, 01 Feb 2008 19:38:40 -0000</pubDate><guid>https://sourceforge.neted1c68baa20cf66fea25a855dd9f06e58659b202</guid></item></channel></rss>