コード例 #1
0
ファイル: test_namespace.py プロジェクト: lazka/pgi-docgen
 def test_fixup_added_since(self):
     self.assertEqual(
         fixup_since("Foo\nSince: 3.14"), ("Foo", "3.14"))
     self.assertEqual(
         fixup_since("Foo\n@Since: ATK-3.14"), ("Foo", "3.14"))
     self.assertEqual(
         fixup_since("to the baseline. Since 3.10."),
         ("to the baseline.", "3.10"))
コード例 #2
0
ファイル: test_namespace.py プロジェクト: clopez/pgi-docgen
 def test_fixup_added_since(self):
     self.assertEqual(
         fixup_since("Foo\nSince: 3.14"), ("Foo", "3.14"))
     self.assertEqual(
         fixup_since("Foo\n@Since: ATK-3.14"), ("Foo", "3.14"))
     self.assertEqual(
         fixup_since("to the baseline. Since 3.10."),
         ("to the baseline.", "3.10"))
コード例 #3
0
ファイル: test_namespace.py プロジェクト: lazka/pgi-docgen
 def test_fixup_deprecated_since(self):
     self.assertEqual(
         fixup_since("Since 2.12. Use atk_component_get_extents()."),
         ("Use atk_component_get_extents().", "2.12"))
コード例 #4
0
 def test_fixup_deprecated_since(self):
     self.assertEqual(
         fixup_since("Since 2.12. Use atk_component_get_extents()."),
         ("Use atk_component_get_extents().", "2.12"))