$darkmode
DENOPTIM
denoptim.io.DenoptimIOTest Class Reference

Unit test for input/output. More...

Collaboration diagram for denoptim.io.DenoptimIOTest:
[legend]

Public Member Functions

void testReadAllAtomContainersFromCIF () throws Exception
 
void testIOEmptyVertex () throws Exception
 
void testIOMolFragment () throws Exception
 
void testIOTemplate () throws Exception
 
void testReadGenerationFromSummary () throws Exception
 
void testReadLightWeightCandidate () throws Exception
 
void testSerializeDeserializeDENOPTIMGraphs () throws Exception
 
void testReadAllAPClasses () throws Exception
 
void testAppendToJSON () throws Exception
 
void testDetectFileFormat () throws Exception
 
void testReadCuttingRulsedDefault () throws Exception
 
void testIOCuttingRules () throws Exception
 
void testReadCSDFormulae () throws Exception
 

Package Attributes

File tempDir
 

Private Member Functions

void buildVertexAndConnectToGraph (EmptyVertex v, int apCount, DGraph graph) throws DENOPTIMException
 

Private Attributes

final String SEP = System.getProperty("file.separator")
 
final String NL = System.getProperty("line.separator")
 

Static Private Attributes

static final BondType BT = BondType.SINGLE
 

Detailed Description

Unit test for input/output.

Author
Marco Foscato

Definition at line 80 of file DenoptimIOTest.java.

Member Function Documentation

◆ buildVertexAndConnectToGraph()

void denoptim.io.DenoptimIOTest.buildVertexAndConnectToGraph ( EmptyVertex  v,
int  apCount,
DGraph  graph 
) throws DENOPTIMException
private

Definition at line 524 of file DenoptimIOTest.java.

Referenced by denoptim.io.DenoptimIOTest.testSerializeDeserializeDENOPTIMGraphs().

Here is the caller graph for this function:

◆ testAppendToJSON()

void denoptim.io.DenoptimIOTest.testAppendToJSON ( ) throws Exception

◆ testDetectFileFormat()

◆ testIOCuttingRules()

void denoptim.io.DenoptimIOTest.testIOCuttingRules ( ) throws Exception

Definition at line 629 of file DenoptimIOTest.java.

References denoptim.io.DenoptimIO.readCuttingRules(), denoptim.io.DenoptimIOTest.SEP, denoptim.io.DenoptimIOTest.tempDir, and denoptim.io.DenoptimIO.writeCuttingRules().

Here is the call graph for this function:

◆ testIOEmptyVertex()

void denoptim.io.DenoptimIOTest.testIOEmptyVertex ( ) throws Exception

◆ testIOMolFragment()

void denoptim.io.DenoptimIOTest.testIOMolFragment ( ) throws Exception

◆ testIOTemplate()

void denoptim.io.DenoptimIOTest.testIOTemplate ( ) throws Exception

◆ testReadAllAPClasses()

void denoptim.io.DenoptimIOTest.testReadAllAPClasses ( ) throws Exception

Definition at line 419 of file DenoptimIOTest.java.

References denoptim.graph.Fragment.addAPOnAtom(), denoptim.graph.Fragment.addAtom(), denoptim.files.FileUtils.getTempFolder(), denoptim.graph.APClass.make(), denoptim.graph.Fragment.projectAPsToProperties(), denoptim.io.DenoptimIO.readAllAPClasses(), and denoptim.io.DenoptimIO.writeVertexesToSDF().

Here is the call graph for this function:

◆ testReadAllAtomContainersFromCIF()

void denoptim.io.DenoptimIOTest.testReadAllAtomContainersFromCIF ( ) throws Exception

Definition at line 94 of file DenoptimIOTest.java.

References denoptim.io.DenoptimIOTest.NL, denoptim.io.DenoptimIO.readAllAtomContainers(), denoptim.io.DenoptimIOTest.SEP, denoptim.io.DenoptimIOTest.tempDir, and denoptim.io.DenoptimIO.writeData().

Here is the call graph for this function:

◆ testReadCSDFormulae()

void denoptim.io.DenoptimIOTest.testReadCSDFormulae ( ) throws Exception

Definition at line 653 of file DenoptimIOTest.java.

References denoptim.io.DenoptimIOTest.NL, denoptim.io.DenoptimIO.readCSDFormulae(), denoptim.io.DenoptimIOTest.SEP, denoptim.io.DenoptimIOTest.tempDir, and denoptim.io.DenoptimIO.writeData().

Here is the call graph for this function:

◆ testReadCuttingRulsedDefault()

void denoptim.io.DenoptimIOTest.testReadCuttingRulsedDefault ( ) throws Exception

Definition at line 609 of file DenoptimIOTest.java.

References denoptim.io.DenoptimIO.readCuttingRules().

Here is the call graph for this function:

◆ testReadGenerationFromSummary()

◆ testReadLightWeightCandidate()

void denoptim.io.DenoptimIOTest.testReadLightWeightCandidate ( ) throws Exception

◆ testSerializeDeserializeDENOPTIMGraphs()

Member Data Documentation

◆ BT

final BondType denoptim.io.DenoptimIOTest.BT = BondType.SINGLE
staticprivate

◆ NL

final String denoptim.io.DenoptimIOTest.NL = System.getProperty("line.separator")
private

◆ SEP

◆ tempDir


The documentation for this class was generated from the following file: