Home
last modified time | relevance | path

Searched refs:CollapsePath (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_test.py2802 self.assertEqual('.', self.filesystem.CollapsePath(''))
2805 self.assertEqual('.', self.filesystem.CollapsePath('.'))
2812 self.assertEqual('/', self.filesystem.CollapsePath('/'))
2813 self.assertEqual('/////', self.filesystem.CollapsePath('/////'))
2816 self.assertEqual('|', self.filesystem.CollapsePath('|'))
2819 self.assertEqual('|', self.filesystem.CollapsePath('|||||'))
2822 self.assertEqual('.', self.filesystem.CollapsePath('.|.|.|.'))
2825 self.assertEqual('|', self.filesystem.CollapsePath('|.|.|.|'))
2826 self.assertEqual('foo|bar', self.filesystem.CollapsePath('foo|.|.|.|bar'))
2829 self.assertEqual('|', self.filesystem.CollapsePath('|..|..|..|'))
[all …]
Dfake_filesystem.py419 def CollapsePath(self, path): member in FakeFilesystem
479 return self.CollapsePath(path)
679 return self.CollapsePath(link_path)
1121 return self.filesystem.CollapsePath(path)