Lines Matching refs:RunErrorTest
36 void RunErrorTest(const char *OptionsStr, const char *ErrorNeedle) { in RunErrorTest() function
48 RunErrorTest("Enabled=2", "Invalid boolean value '2' for option 'Enabled'"); in TEST()
49 RunErrorTest("Enabled=1:MaxSimultaneousAllocations=0", in TEST()
51 RunErrorTest("Enabled=1:MaxSimultaneousAllocations=-1", in TEST()
53 RunErrorTest("Enabled=1:SampleRate=0", "SampleRate must be > 0"); in TEST()
54 RunErrorTest("Enabled=1:SampleRate=-1", "SampleRate must be > 0"); in TEST()
55 RunErrorTest("Enabled=", "Invalid boolean value '' for option 'Enabled'"); in TEST()
56 RunErrorTest("==", "Unknown option '=='"); in TEST()
57 RunErrorTest("Enabled==0", "Invalid boolean value '=0' for option 'Enabled'"); in TEST()
58 RunErrorTest("Enabled:", "Expected '=' when parsing option 'Enabled:'"); in TEST()
59 RunErrorTest("Enabled:=", "Expected '=' when parsing option 'Enabled:='"); in TEST()
60 RunErrorTest("SampleRate=NOT_A_NUMBER", in TEST()
62 RunErrorTest("NOT_A_VALUE=0", "Unknown option 'NOT_A_VALUE"); in TEST()