Skip to content

Commit

Permalink
http://code.google.com/p/wiquery/issues/detail?id=132
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=562
  • Loading branch information
hielkehoeve committed Nov 19, 2010
1 parent b4c16ef commit 1dd4790
Show file tree
Hide file tree
Showing 97 changed files with 195 additions and 196 deletions.
9 changes: 4 additions & 5 deletions pom.xml
Expand Up @@ -44,7 +44,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wicket.version>1.4.12</wicket.version>
<wicket.version>1.4.13</wicket.version>
<jackson.version>1.6.1</jackson.version>
<log4j.version>1.2.16</log4j.version>
<slf4j.version>1.6.1</slf4j.version>
Expand Down Expand Up @@ -159,10 +159,9 @@

<!-- Test dependencies -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.5</version>
<classifier>jdk15</classifier>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/odlabs/wiquery/core/JSQueryTestCase.java
Expand Up @@ -8,8 +8,8 @@
import org.odlabs.wiquery.core.javascript.JsStatement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

public class JSQueryTestCase extends TestCase {

Expand Down
Expand Up @@ -25,7 +25,7 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.ajax.JQueryAjaxOption.AjaxType;
import org.testng.annotations.Test;
import org.junit.Test;

/**
* Test on {@link JQueryAjaxOption}
Expand Down
Expand Up @@ -13,7 +13,7 @@
import org.odlabs.wiquery.ui.core.CoreUIJavaScriptResourceReference;
import org.odlabs.wiquery.ui.themes.WiQueryCoreThemeResourceReference;
import org.odlabs.wiquery.ui.widget.WidgetJavascriptResourceReference;
import org.testng.annotations.Test;
import org.junit.Test;
/**
* Tests {@link WiQuerySettings}.
* @author Arthur Hupka
Expand Down
Expand Up @@ -21,8 +21,8 @@
*/
package org.odlabs.wiquery.core.commons.merge;

import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

import junit.framework.TestCase;

Expand Down
Expand Up @@ -29,8 +29,8 @@
import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.util.tester.WicketTester;
import org.odlabs.wiquery.core.effects.basic.Hide;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;
import org.odlabs.wiquery.core.javascript.JsScope;
import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Test on {@link EffectTest}
Expand Down
Expand Up @@ -23,8 +23,8 @@

import junit.framework.TestCase;

import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;
import org.odlabs.wiquery.core.javascript.JsStatement;


Expand Down
Expand Up @@ -23,8 +23,8 @@

import junit.framework.TestCase;

import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;
import org.odlabs.wiquery.core.javascript.JsStatement;


Expand Down
Expand Up @@ -23,8 +23,8 @@

import junit.framework.TestCase;

import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;
import org.odlabs.wiquery.core.javascript.JsStatement;


Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -24,8 +24,8 @@
import junit.framework.TestCase;

import org.odlabs.wiquery.core.javascript.JsStatement;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;


/**
Expand Down
Expand Up @@ -29,7 +29,7 @@
import org.apache.wicket.util.tester.WicketTester;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.junit.Assert;

/**
* Test {@link JsQuery}
Expand Down
Expand Up @@ -4,8 +4,8 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link JsScope}
Expand Down
Expand Up @@ -4,8 +4,8 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link JsScope}
Expand Down
Expand Up @@ -31,7 +31,7 @@
import org.odlabs.wiquery.core.options.Options;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.junit.Assert;

/**
* Test {@link JsStatement}
Expand Down
Expand Up @@ -5,8 +5,8 @@
import org.odlabs.wiquery.core.events.MouseEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link JsUtils}
Expand Down
Expand Up @@ -6,8 +6,8 @@
import org.odlabs.wiquery.core.javascript.JsStatement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link AttributesHelper}
Expand Down
Expand Up @@ -6,8 +6,8 @@
import org.odlabs.wiquery.core.options.Options;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link CssHelper}
Expand Down
Expand Up @@ -6,8 +6,8 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

public class DateHelperTestCase extends TestCase{
protected static final Logger log = LoggerFactory.getLogger(
Expand Down
Expand Up @@ -26,7 +26,7 @@
import org.odlabs.wiquery.core.javascript.JsStatement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.junit.Assert;

import junit.framework.TestCase;

Expand Down
Expand Up @@ -5,8 +5,8 @@
import org.odlabs.wiquery.core.javascript.JsStatement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link ManipulatingHelper}
Expand Down
Expand Up @@ -5,8 +5,8 @@
import org.odlabs.wiquery.core.javascript.JsStatement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link TraversingHelper}
Expand Down
Expand Up @@ -25,8 +25,8 @@

import org.apache.wicket.WicketRuntimeException;
import org.odlabs.wiquery.ui.datepicker.DateOption;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Test on {@link JQueryCookieOption}
Expand Down
Expand Up @@ -6,8 +6,8 @@
import org.odlabs.wiquery.core.options.IntegerItemOptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link ArrayItemOptions}
Expand Down
Expand Up @@ -4,8 +4,8 @@
import org.odlabs.wiquery.core.options.EventLabelOptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

import junit.framework.TestCase;

Expand Down
Expand Up @@ -6,8 +6,8 @@
import org.odlabs.wiquery.core.options.ListItemOptions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link ListItemOptions}
Expand Down
Expand Up @@ -5,8 +5,8 @@
import org.odlabs.wiquery.core.options.LiteralOption;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link LiteralOption}
Expand Down
Expand Up @@ -15,8 +15,8 @@
import org.odlabs.wiquery.core.javascript.JsScope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

/**
* Unit test on the {@link ListItemOptions}
Expand Down Expand Up @@ -156,7 +156,7 @@ public void testGetFloat() {
options.put("keyFloat", 1F);

Assert.assertFalse(options.isEmpty());
Assert.assertEquals(1F, options.getFloat("keyFloat"));
Assert.assertEquals((Object) 1F, (Object) options.getFloat("keyFloat"));
}

@Test
Expand Down
Expand Up @@ -5,8 +5,8 @@
import org.odlabs.wiquery.core.options.LiteralOption;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

public class AccordionActiveTestCase extends TestCase{
protected static final Logger log = LoggerFactory.getLogger(
Expand Down
Expand Up @@ -4,8 +4,8 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.junit.Assert;
import org.junit.Test;

public class AccordionAnimatedTestCase extends TestCase{
protected static final Logger log = LoggerFactory.getLogger(
Expand Down

0 comments on commit 1dd4790

Please sign in to comment.