Skip to content

Commit 05c83bd

Browse files
committed
PHPC-1132: Remove HHVM checks in test suite
1 parent 8ebc871 commit 05c83bd

22 files changed

+0
-36
lines changed

tests/bson/bson-binary_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Binary #001 error
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM handles parameter parsing differently"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128_error-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
MongoDB\BSON\Decimal128 requires valid decimal string
33
--SKIPIF--
44
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
5-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM handles parameter parsing differently"); ?>
65
--FILE--
76
<?php
87

tests/bson/bson-encode-003.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
BSON encoding: Encoding objects into BSON representation
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM encodes __pclass last"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-encode-004.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
BSON encoding: Object Document Mapper
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM encodes __pclass last"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-javascript_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Javascript #001 error
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM handles parameter parsing differently"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-objectid_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\ObjectId #001 error
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM handles parameter parsing differently"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-regex_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Regex #001 error
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM handles parameter parsing differently"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-timestamp_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Timestamp #001 error
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM handles parameter parsing differently"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-toPHP-002.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\fromPHP(): Null type map values imply default behavior
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM encodes __pclass last"); ?>
53
--FILE--
64
<?php
75

tests/bson/bson-utcdatetime-int-size-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\UTCDateTime integer parsing from string
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM implements only an older version of DateTime"); ?>
53
--INI--
64
date.timezone=UTC
75
error_reporting=-1

tests/bson/bson-utcdatetime-int-size-002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
MongoDB\BSON\UTCDateTime integer parsing from number (64-bit)
33
--SKIPIF--
44
<?php if (8 !== PHP_INT_SIZE) { die('skip Only for 64-bit platform'); } ?>
5-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM implements only an older version of DateTime"); ?>
65
--INI--
76
date.timezone=UTC
87
error_reporting=-1

tests/bson/bug0631.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
PHPC-631: UTCDateTime::toDateTime() may return object that cannot be serialized
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM uses 'UTC' instead of '+00:00'"); ?>
53
--INI--
64
date.timezone=UTC
75
--FILE--

tests/cursor/cursor-get_iterator-002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
--TEST--
22
MongoDB\Driver\Cursor get_iterator handler does not yield multiple iterators (IteratorIterator)
33
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM cannot detect the *wrapping* of a Cursor"); ?>
54
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
65
<?php NEEDS('STANDALONE'); CLEANUP(STANDALONE); ?>
76
--FILE--

tests/functional/phpinfo-1.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
phpinfo() reports mongodb.debug (no value)
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM does not do phpinfo() this way"); ?>
53
--FILE--
64
<?php
75

tests/functional/phpinfo-2.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
phpinfo() reports mongodb.debug (default and overridden)
33
--INI--
44
mongodb.debug=stderr
5-
--SKIPIF--
6-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM does not do phpinfo() this way"); ?>
75
--FILE--
86
<?php
97

tests/manager/manager-ctor-003.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\Driver\Manager::__construct() URI defaults to "mongodb://127.0.0.1/"
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM uses HHVM's logging functionality, and hence can't catch this"); ?>
53
--FILE--
64
<?php
75

tests/manager/manager-ctor_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\Driver\Manager::__construct(): too many arguments
3-
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM throws Exception instead of InvalidArgumentException"); ?>
53
--FILE--
64
<?php
75

tests/readConcern/readconcern-ctor_error-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
MongoDB\Driver\ReadConcern construction (invalid arguments)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM throws Exception instead of InvalidArgumentException"); ?>
65
--FILE--
76
<?php
87
require_once __DIR__ . "/../utils/basic.inc";

tests/readConcern/readconcern-ctor_error-002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
MongoDB\Driver\ReadConcern construction (invalid level type)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM throws Exception instead of InvalidArgumentException"); ?>
65
--FILE--
76
<?php
87
require_once __DIR__ . "/../utils/basic.inc";

tests/standalone/bug0545.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
--TEST--
22
PHPC-545: Update does not serialize embedded Persistable's __pclass field
33
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM encodes __pclass last"); ?>
54
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
65
<?php NEEDS('STANDALONE'); CLEANUP(STANDALONE); ?>
76
--FILE--

tests/standalone/bug0655.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
--TEST--
22
PHPC-655: Use case insensitive parsing for Manager connectTimeoutMS array option
33
--SKIPIF--
4-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM does not use custom streams"); ?>
54
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
65
--FILE--
76
<?php

tests/writeConcern/writeconcern-ctor_error-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
MongoDB\Driver\WriteConcern construction (invalid arguments)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5-
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM throws Exception instead of InvalidArgumentException"); ?>
65
--FILE--
76
<?php
87
require_once __DIR__ . "/../utils/basic.inc";

0 commit comments

Comments
 (0)