public class

TestParserClosing

extends BaseTest
java.lang.Object
   ↳ TestCase
     ↳ com.fasterxml.jackson.test.BaseTest
       ↳ com.fasterxml.jackson.core.main.TestParserClosing

Class Overview

Set of basic unit tests that verify that the closing (or not) of the underlying source occurs as expected and specified by documentation.

Summary

[Expand]
Inherited Constants
From class com.fasterxml.jackson.test.BaseTest
Public Constructors
TestParserClosing()
Public Methods
void testAutoCloseReader()
void testNoAutoCloseInputStream()
void testNoAutoCloseReader()
This unit test checks the default behaviour; with no auto-close, no automatic closing should occur, nor explicit one unless specific forcing method is used.
void testReleaseContentBytes()
void testReleaseContentChars()
[Expand]
Inherited Methods
From class com.fasterxml.jackson.test.BaseTest
From class java.lang.Object

Public Constructors

public TestParserClosing ()

Public Methods

public void testAutoCloseReader ()

Throws
Exception

public void testNoAutoCloseInputStream ()

Throws
Exception

public void testNoAutoCloseReader ()

This unit test checks the default behaviour; with no auto-close, no automatic closing should occur, nor explicit one unless specific forcing method is used.

Throws
Exception

public void testReleaseContentBytes ()

Throws
Exception

public void testReleaseContentChars ()

Throws
Exception