[colobot] 53/145: Enabled ArraysInClasses test after 1941020993d740c7dc90762a9dbf788916729e63

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit efc5431da2a68af6c7f14973893075fc78cf01a4
Author: krzys-h <krzys_h at interia.pl>
Date:   Thu Apr 7 21:28:16 2016 +0200

    Enabled ArraysInClasses test after 1941020993d740c7dc90762a9dbf788916729e63
---
 test/unit/CBot/CBot_test.cpp | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/test/unit/CBot/CBot_test.cpp b/test/unit/CBot/CBot_test.cpp
index b4e1bbb..63c3e91 100644
--- a/test/unit/CBot/CBot_test.cpp
+++ b/test/unit/CBot/CBot_test.cpp
@@ -524,8 +524,7 @@ TEST_F(CBotUT, Arrays)
     );
 }
 
-// TODO: BAD! WRONG! NOOOOO!!! :<
-TEST_F(CBotUT, DISABLED_ArraysInClasses)
+TEST_F(CBotUT, ArraysInClasses)
 {
     ExecuteTest(
         "public class TestClass {\n"
@@ -533,9 +532,9 @@ TEST_F(CBotUT, DISABLED_ArraysInClasses)
         "    private int test2[5];\n"
         "    \n"
         "    public void TestClass() {\n"
-        "        ASSERT(sizeof(test) == 0);\n" // TODO: NOT INITIALIZED
-        "        ASSERT(sizeof(this.test) == 0);\n" // TODO: NOT INITIALIZED
-        "        ASSERT(test == null);\n" // TODO: Again, not sure // TODO: NOT INITIALIZED
+        "        ASSERT(sizeof(test) == 0);\n"
+        "        ASSERT(sizeof(this.test) == 0);\n"
+        "        ASSERT(test == null);\n" // TODO: Again, not sure
         "        test[0] = 5;\n"
         "        this.test[1] = 5;\n"
         "        ASSERT(sizeof(test) == 2);\n"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list