Lines Matching refs:result
24 $result = $langChooser->chooseCode('de', '/', null);
26 self::assertSame(['de', 'de'], $result);
32 $result = $langChooser->chooseCode('', '/de/echo', null);
34 self::assertSame(['de', 'de'], $result);
42 $result = $langChooser->chooseCode('', "/manual/$pathLang", null);
44 self::assertSame([$expected, $expected], $result);
50 $result = $langChooser->chooseCode('', '/', null);
52 self::assertSame(['de', ''], $result);
58 $result = $langChooser->chooseCode('', '/', 'de,ja,en');
60 self::assertSame(['de', ''], $result);
66 $result = $langChooser->chooseCode('', '/', 'de;q=0.8,ja,en');
68 self::assertSame(['ja', ''], $result);
78 $result = $langChooser->chooseCode('', '/', $acceptLanguage);
80 self::assertSame([$expected, ''], $result);
86 $result = $langChooser->chooseCode('', '/', null);
88 self::assertSame(['de', ''], $result);
94 $result = $langChooser->chooseCode('', '/', null);
96 self::assertSame(['en', ''], $result);
102 $result = $langChooser->chooseCode('de', '/manual/en', null);
104 self::assertSame(['de', 'de'], $result);
110 $result = $langChooser->chooseCode('', '/manual/de', null);
112 self::assertSame(['de', 'de'], $result);
118 $result = $langChooser->chooseCode('', '/manual/de', 'en');
120 self::assertSame(['de', 'de'], $result);
126 $result = $langChooser->chooseCode('pl', '/manual/pl', 'pl');
128 self::assertSame(['en', 'pl'], $result);