V-Gears 0
Free Final Fantasy VII engine.
cfg_test.cpp File Reference
#include "decompiler/scummv6/engine.h"
#include <gmock/gmock.h>
#include <vector>
#include "../ControlFlow.h"
#include "../Disassembler.h"
#include "../Graph.h"
Include dependency graph for cfg_test.cpp:

Macros

#define GET(vertex)   (boost::get(boost::vertex_name, g, vertex))
 

Functions

 TEST (CFG, testUnreachable)
 
 TEST (CFG, testBranching)
 
 TEST (CFG, testGrouping)
 
 TEST (CFG, DISABLED_testShortCircuitDetection)
 
 TEST (CFG, testWhileDetection)
 
 TEST (CFG, testDoWhileDetection)
 
 TEST (CFG, testBreakDetection)
 
 TEST (CFG, testContinueDetection)
 
 TEST (CFG, testIfDetection)
 
 TEST (CFG, testElseDetection)
 
 TEST (CFG, testNestedLoops)
 
 TEST (CFG, DISABLED_testSamAndMaxScript30)
 

Macro Definition Documentation

◆ GET

#define GET (   vertex)    (boost::get(boost::vertex_name, g, vertex))

Function Documentation

◆ TEST() [1/12]

TEST ( CFG  ,
DISABLED_testSamAndMaxScript30   
)

◆ TEST() [2/12]

TEST ( CFG  ,
DISABLED_testShortCircuitDetection   
)

◆ TEST() [3/12]

TEST ( CFG  ,
testBranching   
)

◆ TEST() [4/12]

TEST ( CFG  ,
testBreakDetection   
)

◆ TEST() [5/12]

TEST ( CFG  ,
testContinueDetection   
)

◆ TEST() [6/12]

TEST ( CFG  ,
testDoWhileDetection   
)

◆ TEST() [7/12]

TEST ( CFG  ,
testElseDetection   
)

◆ TEST() [8/12]

TEST ( CFG  ,
testGrouping   
)

◆ TEST() [9/12]

TEST ( CFG  ,
testIfDetection   
)

◆ TEST() [10/12]

TEST ( CFG  ,
testNestedLoops   
)

◆ TEST() [11/12]

TEST ( CFG  ,
testUnreachable   
)

◆ TEST() [12/12]

TEST ( CFG  ,
testWhileDetection   
)