Beispiel #1
0
 def test_start_new_version(self):
     result = start(
         code_dir=os.path.join(EXAMPLE_DATA_PATH, 'plugins', 'pom', 'a'))
     for item in result:
         self.assertIsNotNone(item['new_version'])
Beispiel #2
0
 def test_start_dir(self):
     result = start(code_dir='', skipNewVerCheck=True, tag_filter=['org.mybatis.generator'])
     for item in result:
         self.assertIn(item['origin'], self.pom_dir)
Beispiel #3
0
 def test_start_3_dir(self):
     result = start(code_dir=os.path.join(EXAMPLE_DATA_PATH, 'plugins',
                                          'pom'),
                    skipNewVerCheck=True)
     for item in result:
         self.assertIn(item['origin'], self.pom_dir)
Beispiel #4
0
 def test_start_include_dir(self):
     result = start(code_dir=os.path.join(EXAMPLE_DATA_PATH, 'plugins', 'pom', 'c'), skipNewVerCheck=True)
     for item in result:
         self.assertTrue(item)