Skip to content

Commit 7f0a803

Browse files
committed
1
1 parent de2151a commit 7f0a803

24 files changed

+403
-5
lines changed

Aulas/src/AboutMe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static void main(String[] args) {
2929
scanner.close();
3030
}
3131
catch(InputMismatchException e) {
32-
System.out.println("Campos idade/altura em formato incorreto");
32+
System.out.println("Campos idade/altura em formato incorreto");
3333
}
3434
}
3535
}

Aulas/src/formatadorCep.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public static void main(String[] args) {
1010
}
1111
static String formatarCep(String cep) throws CepInvalidoException{
1212
if(cep.length() != 8)
13-
throw new CepInvalidoException();
14-
//simulando um cep formatado
15-
return "23.765-064";
13+
throw new CepInvalidoException();
14+
//simulando um cep formatado
15+
return "23.765-064";
1616
}
1717
}

Banco de Dados Relacionais.pptx

1.7 MB
Binary file not shown.

Criar docker de Mongo.docx

162 KB
Binary file not shown.
681 KB
Binary file not shown.
865 KB
Binary file not shown.
483 KB
Binary file not shown.

MavenLearn/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>Apps</groupId>
5+
<artifactId>MavenLearn</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0-SNAPSHOT</version>
8+
<name>MavenLearn</name>
9+
<url>http://maven.apache.org</url>
10+
<dependencies>
11+
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
12+
<dependency>
13+
<groupId>org.junit.jupiter</groupId>
14+
<artifactId>junit-jupiter-engine</artifactId>
15+
<version>5.11.3</version>
16+
<scope>test</scope>
17+
</dependency>
18+
</dependencies>
19+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package main.java.Apps;
2+
3+
/**
4+
* Hello world!
5+
*
6+
*/
7+
public class App
8+
{
9+
public static void main( String[] args )
10+
{
11+
System.out.println( "Hello World!" );
12+
}
13+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
package test.java.Apps;
2+
3+
import junit.framework.Test;
4+
import junit.framework.TestCase;
5+
import junit.framework.TestSuite;
6+
7+
/**
8+
* Unit test for simple App.
9+
*/
10+
public class AppTest
11+
extends TestCase
12+
{
13+
/**
14+
* Create the test case
15+
*
16+
* @param testName name of the test case
17+
*/
18+
public AppTest( String testName )
19+
{
20+
super( testName );
21+
}
22+
23+
/**
24+
* @return the suite of tests being tested
25+
*/
26+
public static Test suite()
27+
{
28+
return new TestSuite( AppTest.class );
29+
}
30+
31+
/**
32+
* Rigourous Test :-)
33+
*/
34+
public void testApp()
35+
{
36+
assertTrue( true );
37+
}
38+
}

0 commit comments

Comments
 (0)