NSKVOSupport: Add toMany test

This commit is contained in:
hmelder 2024-06-11 13:23:24 +02:00
parent 922813a90f
commit 3708abd5ed
2 changed files with 1217 additions and 1 deletions

File diff suppressed because it is too large Load diff

View file

@ -101,7 +101,7 @@ static char observerContext;
int
main(int argc, char *argv[])
{
[NSAutoreleasePool new];
NSAutoreleasePool *arp = [NSAutoreleasePool new];
Bar *bar = [Bar new];
bar.x = 0;
@ -134,6 +134,8 @@ main(int argc, char *argv[])
bar.firstFoo.a = 2;
PASS(obs1.receivedCalls == 3, "num observe calls");
PASS(obs2.receivedCalls == 2, "num observe calls");
DESTROY(arp);
}
#else