Index: devel/testlink/calendar/FUN03.2/.classpath
===================================================================
--- devel/testlink/calendar/FUN03.2/.classpath (revision 3426)
+++ devel/testlink/calendar/FUN03.2/.classpath (revision 3426)
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
Index: devel/testlink/calendar/FUN03.2/.project
===================================================================
--- devel/testlink/calendar/FUN03.2/.project (revision 3426)
+++ devel/testlink/calendar/FUN03.2/.project (revision 3426)
@@ -0,0 +1,23 @@
+
+
+ FUN03.2
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.maven.ide.eclipse.maven2Builder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.maven.ide.eclipse.maven2Nature
+
+
Index: devel/testlink/calendar/FUN03.2/target/surefire-reports/TEST-br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.xml
===================================================================
--- devel/testlink/calendar/FUN03.2/target/surefire-reports/TEST-br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.xml (revision 3426)
+++ devel/testlink/calendar/FUN03.2/target/surefire-reports/TEST-br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.xml (revision 3426)
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ java.lang.UnsupportedOperationException: Catch body broken: IOException from cmd=open&1=%2F -> java.net.ConnectException: Connection refused
+ at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:85)
+ at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:68)
+ at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:234)
+ at br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.testa(TestAdicionarCompromisso.java:23)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+ at java.lang.reflect.Method.invoke(Method.java:597)
+ at junit.framework.TestCase.runTest(TestCase.java:164)
+ at junit.framework.TestCase.runBare(TestCase.java:130)
+ at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:71)
+ at junit.framework.TestResult$1.protect(TestResult.java:110)
+ at junit.framework.TestResult.runProtected(TestResult.java:128)
+ at junit.framework.TestResult.run(TestResult.java:113)
+ at junit.framework.TestCase.run(TestCase.java:120)
+ at junit.framework.TestSuite.runTest(TestSuite.java:228)
+ at junit.framework.TestSuite.run(TestSuite.java:223)
+ at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
+ at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
+ at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
+ at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
+ at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+ at java.lang.reflect.Method.invoke(Method.java:597)
+ at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
+ at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
+
+
+
Index: devel/testlink/calendar/FUN03.2/target/surefire-reports/br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.txt
===================================================================
--- devel/testlink/calendar/FUN03.2/target/surefire-reports/br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.txt (revision 3426)
+++ devel/testlink/calendar/FUN03.2/target/surefire-reports/br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.txt (revision 3426)
@@ -0,0 +1,35 @@
+-------------------------------------------------------------------------------
+Test set: br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso
+-------------------------------------------------------------------------------
+Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 636.004 sec <<< FAILURE!
+testa(br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso) Time elapsed: 635.966 sec <<< ERROR!
+java.lang.UnsupportedOperationException: Catch body broken: IOException from cmd=open&1=%2F -> java.net.ConnectException: Connection refused
+ at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:85)
+ at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:68)
+ at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:234)
+ at br.gov.serpro.cte.agenda.casoteste.TestAdicionarCompromisso.testa(TestAdicionarCompromisso.java:23)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+ at java.lang.reflect.Method.invoke(Method.java:597)
+ at junit.framework.TestCase.runTest(TestCase.java:164)
+ at junit.framework.TestCase.runBare(TestCase.java:130)
+ at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:71)
+ at junit.framework.TestResult$1.protect(TestResult.java:110)
+ at junit.framework.TestResult.runProtected(TestResult.java:128)
+ at junit.framework.TestResult.run(TestResult.java:113)
+ at junit.framework.TestCase.run(TestCase.java:120)
+ at junit.framework.TestSuite.runTest(TestSuite.java:228)
+ at junit.framework.TestSuite.run(TestSuite.java:223)
+ at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
+ at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
+ at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
+ at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
+ at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+ at java.lang.reflect.Method.invoke(Method.java:597)
+ at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
+ at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
+
Index: devel/testlink/calendar/FUN03.2/src/test/java/br/gov/serpro/cte/agenda/casoteste/TestAdicionarCompromisso.java
===================================================================
--- devel/testlink/calendar/FUN03.2/src/test/java/br/gov/serpro/cte/agenda/casoteste/TestAdicionarCompromisso.java (revision 3426)
+++ devel/testlink/calendar/FUN03.2/src/test/java/br/gov/serpro/cte/agenda/casoteste/TestAdicionarCompromisso.java (revision 3426)
@@ -0,0 +1,39 @@
+package br.gov.serpro.cte.agenda.casoteste;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import com.thoughtworks.selenium.DefaultSelenium;
+import com.thoughtworks.selenium.SeleneseTestCase;
+
+public class TestAdicionarCompromisso extends SeleneseTestCase
+{
+ @Before
+ public void setUp() throws Exception
+ {
+ String url = "https://cte.serpro.gov.br";
+ selenium = new DefaultSelenium("localhost", 4444, "*pifirefox", url);
+ selenium.start();
+ }
+
+ @Test
+ public void testa()
+ {
+ selenium.open("/");
+ selenium.type("user", "alexandrecorreia");
+ selenium.type("passwd", "senha1234");
+ selenium.click("submitit");
+ selenium.waitForPageToLoad("10000");
+ selenium.open("/calendar/index.php");
+ selenium.click("//div[@id='toolbar']/table/tbody/tr/td[2]");
+ javax.swing.JOptionPane.showMessageDialog(null, "Fim Execução !");
+ }
+
+ @After
+ public void tearDown() throws Exception
+ {
+ selenium.close();
+ }
+
+}
Index: devel/testlink/calendar/FUN03.2/pom.xml
===================================================================
--- devel/testlink/calendar/FUN03.2/pom.xml (revision 3426)
+++ devel/testlink/calendar/FUN03.2/pom.xml (revision 3426)
@@ -0,0 +1,54 @@
+
+ 4.0.0
+ ExpressoCteAgenda
+ FUN03.2
+ 0.0.1-SNAPSHOT
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.3.2
+
+ 1.5
+
+
+
+
+
+
+
+
+ openqa
+ OpenQA Repository
+ http://nexus.openqa.org/content/repositories/releases
+
+ true
+
+
+ true
+
+
+
+
+
+
+ junit
+ junit
+ 4.1
+
+
+ org.openqa.selenium.client-drivers
+ selenium-java-client-driver
+ 1.0-beta-1
+ test
+
+
+ org.jbehave
+ jbehave-maven-plugin
+ 2.3
+
+
+
+
Index: devel/testlink/calendar/FUN03.2/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- devel/testlink/calendar/FUN03.2/.settings/org.eclipse.jdt.core.prefs (revision 3426)
+++ devel/testlink/calendar/FUN03.2/.settings/org.eclipse.jdt.core.prefs (revision 3426)
@@ -0,0 +1,13 @@
+#Thu Oct 28 10:00:04 BRST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.5
Index: devel/testlink/calendar/FUN03.2/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- devel/testlink/calendar/FUN03.2/.settings/org.maven.ide.eclipse.prefs (revision 3426)
+++ devel/testlink/calendar/FUN03.2/.settings/org.maven.ide.eclipse.prefs (revision 3426)
@@ -0,0 +1,9 @@
+#Thu Oct 28 09:52:00 BRST 2010
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1