Skip to content

Commit

Permalink
Merge branch 'main' into dev/audio_worklet
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Dec 3, 2024
2 parents 76d0127 + db9d0b4 commit 13b0602
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/juce_core/juce_ReferenceCountedObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ TEST (ReferenceCountedObjectTests, DecReferenceCountWithoutDeleting)
EXPECT_TRUE (obj->decReferenceCountWithoutDeleting());
EXPECT_EQ (obj->getReferenceCount(), 0);

delete obj;
obj = nullptr;
}

TEST (ReferenceCountedObjectTests, DecConstReferenceCountWithoutDeleting)
Expand All @@ -85,7 +85,7 @@ TEST (ReferenceCountedObjectTests, DecConstReferenceCountWithoutDeleting)
EXPECT_TRUE (obj->decReferenceCountWithoutDeleting());
EXPECT_EQ (obj->getReferenceCount(), 0);

delete obj;
obj = nullptr;
}

// SingleThreadedReferenceCountedObject tests
Expand Down Expand Up @@ -125,7 +125,7 @@ TEST (SingleThreadedReferenceCountedObjectTests, DecReferenceCountWithoutDeletin
EXPECT_TRUE (obj->decReferenceCountWithoutDeleting());
EXPECT_EQ (obj->getReferenceCount(), 0);

delete obj;
obj = nullptr;
}

TEST (SingleThreadedReferenceCountedObjectTests, DecConstReferenceCountWithoutDeleting)
Expand All @@ -136,7 +136,7 @@ TEST (SingleThreadedReferenceCountedObjectTests, DecConstReferenceCountWithoutDe
EXPECT_TRUE (obj->decReferenceCountWithoutDeleting());
EXPECT_EQ (obj->getReferenceCount(), 0);

delete obj;
obj = nullptr;
}

// ReferenceCountedObjectPtr tests
Expand Down
2 changes: 1 addition & 1 deletion tests/juce_core/juce_ZipFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ TEST_F (ZipFileTests, CreateStreamForEntryByName)
ZipFile zip (zipFile);

const ZipFile::ZipEntry* entry = zip.getEntry ("nonexistent.txt");
EXPECT_EQ (zip.createStreamForEntry (*entry), nullptr); // Assumes the test.zip does not contain this file
ASSERT_EQ (nullptr, entry);
}

TEST_F (ZipFileTests, UncompressTo)
Expand Down

0 comments on commit 13b0602

Please sign in to comment.