gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/rtmp r9906: disable now bogus test, elemen


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9906: disable now bogus test, elements don't resize, they throw exceptions.
Date: Fri, 26 Dec 2008 11:23:01 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9906
committer: address@hidden
branch nick: rtmp
timestamp: Fri 2008-12-26 11:23:01 -0700
message:
  disable now bogus test, elements don't resize, they throw exceptions.
modified:
  testsuite/libamf.all/test_el.cpp
=== modified file 'testsuite/libamf.all/test_el.cpp'
--- a/testsuite/libamf.all/test_el.cpp  2008-09-22 22:56:11 +0000
+++ b/testsuite/libamf.all/test_el.cpp  2008-12-26 18:23:01 +0000
@@ -382,8 +382,11 @@
     } else {
         runtest.fail("Made Unsupported Object element");
     }
-    
-    // Test recreating an element as a large size data type.
+
+#if 0
+    // this test is currently bogus, as we don't resize buffers when
+    // changing types, which shouldn't really be allowed anyway.
+    // Test recreating an element as a larger size data type.
     Element rel1;
     rel1.clear();
     rel1.makeBoolean(true);
@@ -395,7 +398,8 @@
     } else {
         runtest.fail("Remade boolean as a double element");
     }
-
+#endif
+    
 // amf::Element::makeNumber(std::string const&, double)
 // amf::Element::makeObject(unsigned char*, unsigned int)
 // amf::Element::makeString(char const*, unsigned int)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]