/trunk/CoelTest-web |
---|
New file |
0,0 → 1,3 |
#!/bin/sh |
APPDIR=`dirname $0`; |
java -Dgwt.args="-web -out www-test" -Xmx256M -cp "$APPDIR/src:$APPDIR/test:$APPDIR/bin:/opt/eclipse/plugins/org.junit_3.8.2.v20090203-1005/junit.jar:/opt/gwt-1.5.3/gwt-user.jar:/opt/gwt-1.5.3/gwt-dev-linux.jar:/opt/gxt-1.2.4/gxt.jar" junit.textui.TestRunner org.tela_botanica.client.CoelTest "$@"; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/trunk/CoelTest-hosted.launch |
---|
New file |
0,0 → 1,26 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig"> |
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> |
<listEntry value="/coel/test/org/tela_botanica/client/CoelTest.java"/> |
</listAttribute> |
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> |
<listEntry value="1"/> |
</listAttribute> |
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> |
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> |
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> |
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> |
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/> |
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH"> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER" javaProject="coel" path="1" type="4"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/coel/test" path="3" type="2"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/coel/src" path="3" type="2"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry id="org.eclipse.jdt.launching.classpathentry.defaultClasspath"> <memento exportedEntriesOnly="false" project="coel"/> </runtimeClasspathEntry> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.USER_LIBRARY/GWT-1.5.3" path="3" type="4"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.USER_LIBRARY/GXT-1.2.4" path="3" type="4"/> "/> |
</listAttribute> |
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/> |
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.tela_botanica.client.CoelTest"/> |
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="coel"/> |
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgwt.args="-out www-test" -Xmx256M"/> |
</launchConfiguration> |
/trunk/test/org/tela_botanica/client/CoelTest.java |
---|
New file |
0,0 → 1,54 |
package org.tela_botanica.client; |
import org.tela_botanica.client.i18n.AppliConstantes; |
import com.extjs.gxt.ui.client.Registry; |
import com.google.gwt.junit.client.GWTTestCase; |
public class CoelTest extends GWTTestCase { |
private Coel module = null; |
public String getModuleName() { |
return "org.tela_botanica.Coel"; |
} |
protected void gwtSetUp() { |
module = new Coel(); |
module.onModuleLoad(); |
} |
public void testerExistanceConstanteI18n() { |
String messageErreur = "L'attribut contenant l'i18n doit ĂȘtre accesible et non null"; |
assertTrue(messageErreur, module.i18nC != null); |
} |
public void testerInstanceConstanteI18n() { |
String messageErreur = "L'attribut contenant l'i18n doit ĂȘtre une instance de "+AppliConstantes.class; |
assertTrue(messageErreur, module.i18nC instanceof AppliConstantes); |
} |
public void testerRegistreContientAppliNom() { |
assertEquals(module.i18nC.appliNom(), Registry.get(RegistreId.APPLI_NOM)); |
} |
public void testerRegistreContientAppliCode() { |
assertEquals(module.i18nC.appliCode(), Registry.get(RegistreId.APPLI_CODE)); |
} |
public void testerRegistreContientAppliVersion() { |
assertEquals(module.i18nC.appliVersion(), Registry.get(RegistreId.APPLI_VERSION)); |
} |
public void testerRegistreContientAppliRevision() { |
assertTrue(Registry.get(RegistreId.APPLI_VERSION) != null); |
} |
public void testerRegistreContientConfiguration() { |
assertTrue(Registry.get(RegistreId.CONFIG) != null); |
} |
public void testerRegistreContientPopUpChargement() { |
assertTrue(Registry.get(RegistreId.POPUP_CHARGEMENT) != null); |
} |
} |
/trunk/CoelTest-hosted |
---|
New file |
0,0 → 1,3 |
#!/bin/sh |
APPDIR=`dirname $0`; |
java -Dgwt.args="-noserver -port 80 -out www-test" -Xmx256M -cp "$APPDIR/src:$APPDIR/test:$APPDIR/bin:/opt/eclipse/plugins/org.junit_3.8.2.v20090203-1005/junit.jar:/opt/gwt-1.5.3/gwt-user.jar:/opt/gwt-1.5.3/gwt-dev-linux.jar:/opt/gxt-1.2.4/gxt.jar" junit.textui.TestRunner org.tela_botanica.client.CoelTest "$@"; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/trunk/CoelTest-web.launch |
---|
New file |
0,0 → 1,26 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig"> |
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> |
<listEntry value="/coel/test/org/tela_botanica/client/CoelTest.java"/> |
</listAttribute> |
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> |
<listEntry value="1"/> |
</listAttribute> |
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> |
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> |
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> |
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> |
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/> |
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH"> |
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER" javaProject="coel" path="1" type="4"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry internalArchive="/coel/src" path="3" type="2"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry internalArchive="/coel/test" path="3" type="2"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8"?> <runtimeClasspathEntry id="org.eclipse.jdt.launching.classpathentry.defaultClasspath"> <memento project="coel"/> </runtimeClasspathEntry> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.USER_LIBRARY/GWT-1.5.3" path="3" type="4"/> "/> |
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.USER_LIBRARY/GXT-1.2.4" path="3" type="4"/> "/> |
</listAttribute> |
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/> |
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.tela_botanica.client.CoelTest"/> |
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="coel"/> |
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgwt.args="-web -out www-test" -Xmx256M"/> |
</launchConfiguration> |
/trunk/. |
---|
Property changes: |
Modified: svn:ignore |
tomcat |
bin |
+www-test |
+.gwt-tmp |