Open Journal Systems
3.3.0
|
Definition at line 17 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorAddsContentTypeHeader | ( | ) |
Definition at line 58 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorEmptyCreatesJsonObject | ( | ) |
Definition at line 19 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorWithArrayCreatesJsonArray | ( | ) |
Definition at line 25 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorWithAssocArrayCreatesJsonObject | ( | ) |
Definition at line 31 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorWithCustomContentType | ( | ) |
Definition at line 71 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorWithCustomHeaders | ( | ) |
Definition at line 64 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorWithCustomStatus | ( | ) |
Definition at line 52 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorWithSimpleTypes | ( | ) |
Definition at line 37 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testCreate | ( | ) |
Definition at line 92 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testGetEncodingOptions | ( | ) |
Definition at line 183 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testItAcceptsJsonAsString | ( | ) |
Definition at line 202 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\fromJsonString().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testJsonEncodeFlags | ( | ) |
Definition at line 176 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetCallback | ( | ) |
Definition at line 168 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetCallbackInvalidIdentifier | ( | ) |
@expectedException \InvalidArgumentException
Definition at line 211 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetComplexCallback | ( | ) |
Definition at line 236 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetContent | ( | ) |
@expectedException \InvalidArgumentException
Definition at line 220 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetContentJsonSerializeError | ( | ) |
@expectedException \Exception @expectedExceptionMessage This error is expected
Definition at line 229 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetEncodingOptions | ( | ) |
Definition at line 190 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testSetJson | ( | ) |
Definition at line 79 of file JsonResponseTest.php.
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateAddsContentTypeHeader | ( | ) |
Definition at line 147 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateEmptyJsonObject | ( | ) |
Definition at line 101 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateJsonArray | ( | ) |
Definition at line 108 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateJsonObject | ( | ) |
Definition at line 115 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateWithCustomContentType | ( | ) |
Definition at line 160 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateWithCustomHeaders | ( | ) |
Definition at line 153 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateWithCustomStatus | ( | ) |
Definition at line 141 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().
Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testStaticCreateWithSimpleTypes | ( | ) |
Definition at line 122 of file JsonResponseTest.php.
References Symfony\Component\HttpFoundation\JsonResponse\create().