You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mikhail Loenko <ml...@gmail.com> on 2006/11/23 08:22:08 UTC

[classlib][test] isHarmony method in the swing tests

Did I understand correctly that it's a temporary solution to
differentiate between
"api" and "impl" tests?

package javax.swing.text;
<...>
public class PlainViewI18N_LineViewTest extends SwingTestCase {
<...>
    public void testGetPreferredSpan01() throws Exception {
        if (!isHarmony()) {
            return;
        }