Arquivos
hhvm/hphp/test/test_ext_spl.cpp
T
Sara Golemon 6ec64e8bf9 make #includes consistent
I was learning from @jdelong and he said that you should use
double quotes for local includes and angle brackets for library
includes. I asked why our code was the way it was, and he said he wanted
to clean it up. I beat him to it :)

Conflicts:

	hphp/runtime/base/server/admin_request_handler.cpp
	hphp/runtime/vm/named_entity.h
2013-05-15 13:05:06 -07:00

96 linhas
2.7 KiB
C++

/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#include "hphp/test/test_ext_spl.h"
#include "hphp/runtime/ext/ext_spl.h"
IMPLEMENT_SEP_EXTENSION_TEST(Spl);
///////////////////////////////////////////////////////////////////////////////
bool TestExtSpl::RunTests(const std::string &which) {
bool ret = true;
RUN_TEST(test_spl_classes);
RUN_TEST(test_spl_object_hash);
RUN_TEST(test_class_implements);
RUN_TEST(test_class_parents);
RUN_TEST(test_iterator_apply);
RUN_TEST(test_iterator_count);
RUN_TEST(test_iterator_to_array);
RUN_TEST(test_spl_autoload_call);
RUN_TEST(test_spl_autoload_extensions);
RUN_TEST(test_spl_autoload_functions);
RUN_TEST(test_spl_autoload_register);
RUN_TEST(test_spl_autoload_unregister);
RUN_TEST(test_spl_autoload);
return ret;
}
///////////////////////////////////////////////////////////////////////////////
bool TestExtSpl::test_spl_classes() {
return Count(true);
}
bool TestExtSpl::test_spl_object_hash() {
return Count(true);
}
bool TestExtSpl::test_class_implements() {
return Count(true);
}
bool TestExtSpl::test_class_parents() {
return Count(true);
}
bool TestExtSpl::test_iterator_apply() {
return Count(true);
}
bool TestExtSpl::test_iterator_count() {
return Count(true);
}
bool TestExtSpl::test_iterator_to_array() {
return Count(true);
}
bool TestExtSpl::test_spl_autoload_call() {
return Count(true);
}
bool TestExtSpl::test_spl_autoload_extensions() {
return Count(true);
}
bool TestExtSpl::test_spl_autoload_functions() {
return Count(true);
}
bool TestExtSpl::test_spl_autoload_register() {
return Count(true);
}
bool TestExtSpl::test_spl_autoload_unregister() {
return Count(true);
}
bool TestExtSpl::test_spl_autoload() {
return Count(true);
}