Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: tests/gclient_utils_test.py

Issue 546022: gclient: git relative url implementation (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/gclient_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_utils_test.py
diff --git a/tests/gclient_utils_test.py b/tests/gclient_utils_test.py
index 5e509ea24b7502d620bac35b4283ac4ae845f664..4bbc0b9f69a29186aa3e3f3bf0dec6ef8b629fe5 100644
--- a/tests/gclient_utils_test.py
+++ b/tests/gclient_utils_test.py
@@ -15,8 +15,7 @@ class GclientUtilsUnittest(SuperMoxTestBase):
def testMembersChanged(self):
members = [
'CheckCall', 'CheckCallError', 'Error', 'FileRead', 'FileWrite',
- 'FindGclientRoot',
- 'FullUrlFromRelative', 'FullUrlFromRelative2', 'GetNamedNodeText',
+ 'FindGclientRoot', 'GetNamedNodeText',
'GetNodeNamedAttributeText', 'IsUsingGit', 'PathDifference',
'ParseXML', 'PrintableObject', 'RemoveDirectory', 'SplitUrlRevision',
'SubprocessCall', 'SubprocessCallAndFilter', 'errno', 'logging', 'os',
@@ -138,18 +137,6 @@ class SplitUrlRevisionTestCase(SuperMoxTestBase):
self.assertEquals(out_url, url)
-class FullUrlFromRelative(SuperMoxTestBase):
- def testFullUrlFromRelative(self):
- base_url = 'svn://a/b/c/d'
- full_url = gclient_utils.FullUrlFromRelative(base_url, '/crap')
- self.assertEqual(full_url, 'svn://a/b/crap')
-
- def testFullUrlFromRelative2(self):
- base_url = 'svn://a/b/c/d'
- full_url = gclient_utils.FullUrlFromRelative2(base_url, '/crap')
- self.assertEqual(full_url, 'svn://a/b/c/crap')
-
-
if __name__ == '__main__':
import unittest
unittest.main()
« no previous file with comments | « tests/gclient_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698