From fbf67058704f31b58ce3b2bcbeca5709f93068e0 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Tue, 1 Jun 2021 22:13:46 +0000 Subject: [PATCH 1/7] Setting up GitHub Classroom Feedback From 56b42484194e5b0244e2169786865f423d1b8a84 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 1 Jun 2021 19:51:10 -0300 Subject: [PATCH 2/7] Mensagem Correta --- .idea/.gitignore | 3 +++ .idea/.name | 1 + .idea/compiler.xml | 16 +++++++++++++++ .idea/encodings.xml | 6 ++++++ .idea/jarRepositories.xml | 20 +++++++++++++++++++ .idea/libraries/Maven__junit_junit_4_12.xml | 13 ++++++++++++ .../Maven__org_hamcrest_hamcrest_core_1_3.xml | 13 ++++++++++++ .idea/misc.xml | 11 ++++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ olamundo.iml | 16 +++++++++++++++ src/main/java/olamundo/OlaMundo.java | 2 +- src/test/java/olamundo/TestOlaMundo.java | 2 +- 13 files changed, 115 insertions(+), 2 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/libraries/Maven__junit_junit_4_12.xml create mode 100644 .idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 olamundo.iml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..b882184 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +olamundo \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..0860d1c --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..63e9001 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100644 index 0000000..d411041 --- /dev/null +++ b/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml new file mode 100644 index 0000000..f58bbc1 --- /dev/null +++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..972ec8d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,11 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..ff8d8aa --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/olamundo.iml b/olamundo.iml new file mode 100644 index 0000000..3c40a7e --- /dev/null +++ b/olamundo.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/olamundo/OlaMundo.java b/src/main/java/olamundo/OlaMundo.java index f5e1622..d13ce83 100644 --- a/src/main/java/olamundo/OlaMundo.java +++ b/src/main/java/olamundo/OlaMundo.java @@ -4,7 +4,7 @@ public class OlaMundo { public static void main(String[] args) { - System.out.println("Vai falhar! Coloque a mensagem correta. Ver teste."); + System.out.println("Sou UFABC!"); } diff --git a/src/test/java/olamundo/TestOlaMundo.java b/src/test/java/olamundo/TestOlaMundo.java index 39d1f61..2df599f 100644 --- a/src/test/java/olamundo/TestOlaMundo.java +++ b/src/test/java/olamundo/TestOlaMundo.java @@ -19,7 +19,7 @@ public void testOlaMundo() { OlaMundo.main(null); // comparação - assertEquals("Sou UFABC!\n", saida.toString()); + assertEquals("Sou UFABC!\r\n", saida.toString()); // saída original System.setOut(saidaSistema); From 6da4ce06cc3b358e79cc31fa92e9412634f0781a Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 1 Jun 2021 19:55:29 -0300 Subject: [PATCH 3/7] Mensagem Correta --- src/test/java/olamundo/TestOlaMundo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/olamundo/TestOlaMundo.java b/src/test/java/olamundo/TestOlaMundo.java index 2df599f..39d1f61 100644 --- a/src/test/java/olamundo/TestOlaMundo.java +++ b/src/test/java/olamundo/TestOlaMundo.java @@ -19,7 +19,7 @@ public void testOlaMundo() { OlaMundo.main(null); // comparação - assertEquals("Sou UFABC!\r\n", saida.toString()); + assertEquals("Sou UFABC!\n", saida.toString()); // saída original System.setOut(saidaSistema); From edd33ce3875adcc6f0e053bd4ef356aee3d5ecd1 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Wed, 2 Jun 2021 04:08:26 +0000 Subject: [PATCH 4/7] Update GitHub Classroom Autograding From a9c0193a441807f0dcb06ef25f0b6cbaec37c668 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Wed, 2 Jun 2021 04:08:27 +0000 Subject: [PATCH 5/7] Update GitHub Classroom Autograding Workflow From bdfff3dedf83d98ce36dc19fee6bf8499b97545e Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 13:36:45 +0000 Subject: [PATCH 6/7] Update GitHub Classroom Autograding From 9dc0f226ee466783bf5e2665c7962f85134a853d Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 13:36:45 +0000 Subject: [PATCH 7/7] Update GitHub Classroom Autograding Workflow