Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ai.picovoice.porcupine.PorcupineTest Class Reference

Private Member Functions

void runTestCase (String audioFileName, ArrayList< Integer > expectedResults) throws IOException, UnsupportedAudioFileException, PorcupineException
 

Static Private Member Functions

static String appendLanguage (String s, String language)
 
static String getTestAudioFilePath (String audioFileName)
 
static String getTestKeywordPath (String language, String keyword)
 
static String[] getTestKeywordPaths (String language, String[] keywords)
 
static String getTestModelPath (String language)
 

Private Attributes

String accessKey = System.getProperty("pvTestingAccessKey")
 
Porcupine porcupine
 

Static Private Attributes

static final String ENVIRONMENT_NAME
 

Detailed Description

Definition at line 34 of file binding/java/test/ai/picovoice/porcupine/PorcupineTest.java.

Member Function Documentation

◆ appendLanguage()

static String ai.picovoice.porcupine.PorcupineTest.appendLanguage ( String  s,
String  language 
)
inlinestaticprivate

◆ getTestAudioFilePath()

static String ai.picovoice.porcupine.PorcupineTest.getTestAudioFilePath ( String  audioFileName)
inlinestaticprivate

◆ getTestKeywordPath()

static String ai.picovoice.porcupine.PorcupineTest.getTestKeywordPath ( String  language,
String  keyword 
)
inlinestaticprivate

◆ getTestKeywordPaths()

static String [] ai.picovoice.porcupine.PorcupineTest.getTestKeywordPaths ( String  language,
String[]  keywords 
)
inlinestaticprivate

◆ getTestModelPath()

static String ai.picovoice.porcupine.PorcupineTest.getTestModelPath ( String  language)
inlinestaticprivate

◆ runTestCase()

void ai.picovoice.porcupine.PorcupineTest.runTestCase ( String  audioFileName,
ArrayList< Integer >  expectedResults 
) throws IOException, UnsupportedAudioFileException, PorcupineException
inlineprivate

Member Data Documentation

◆ accessKey

String ai.picovoice.porcupine.PorcupineTest.accessKey = System.getProperty("pvTestingAccessKey")
private

◆ ENVIRONMENT_NAME

final String ai.picovoice.porcupine.PorcupineTest.ENVIRONMENT_NAME
staticprivate

◆ porcupine

Porcupine ai.picovoice.porcupine.PorcupineTest.porcupine
private

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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20