Skip to content

Commit

Permalink
v2.1 Android - Fix test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisMik committed Dec 4, 2024
1 parent 0689904 commit 28972b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void Setup() throws IOException {
assetManager = testContext.getAssets();
extractAssetsRecursively("test_resources");
testResourcesPath = new File(appContext.getFilesDir(), "test_resources").getAbsolutePath();
defaultModelPath = new File(testResourcesPath, "cheetah_params.pv").getAbsolutePath();
defaultModelPath = new File(testResourcesPath, "model_files/cheetah_params.pv").getAbsolutePath();

accessKey = appContext.getString(R.string.pvTestingAccessKey);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void testProcPerformance() throws Exception {
.setModelPath(defaultModelPath)
.build(appContext);

File testAudio = new File(testResourcesPath, "audio/test.wav");
File testAudio = new File(testResourcesPath, "audio_samples/test.wav");

long totalNSec = 0;
for (int i = 0; i < numTestIterations + 1; i++) {
Expand Down

0 comments on commit 28972b3

Please sign in to comment.