Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List depends #639

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/data/duplicatedframeworks/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/duplicatedframeworks/samecategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkD(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/multipledefaultsframeworks/twodefaultscategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/overlayframeworks/duplicatedcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/overlayframeworks/duplicatedcategory2.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/overlayframeworks/overlayframeworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/overlayframeworks/withcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/overlayframeworks/withcategory2.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/testframeworks/anotherothercategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installed(self):
return False
Expand All @@ -58,6 +61,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installed(self):
return True
9 changes: 9 additions & 0 deletions tests/data/testframeworks/category_f.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -55,6 +58,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkC(umake.frameworks.BaseFramework):

Expand All @@ -67,3 +73,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/testframeworks/category_g.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -54,3 +57,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
9 changes: 9 additions & 0 deletions tests/data/testframeworks/framework_for_removal.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkRinstalled(umake.frameworks.BaseFramework):

Expand All @@ -54,6 +57,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installed(self):
return True
Expand All @@ -72,6 +78,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installed(self):
return True
Expand Down
9 changes: 9 additions & 0 deletions tests/data/testframeworks/is_installable.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installable(self):
return super().is_installable
Expand All @@ -60,6 +63,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installable(self):
"""overridden to say True"""
Expand All @@ -79,6 +85,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installable(self):
"""overridden to say False"""
Expand Down
3 changes: 3 additions & 0 deletions tests/data/testframeworks/oneframeworkcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/testframeworks/othercategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installed(self):
return True
Expand All @@ -58,6 +61,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()

@property
def is_installed(self):
return True
9 changes: 9 additions & 0 deletions tests/data/testframeworks/restrictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -54,6 +57,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkC(umake.frameworks.BaseFramework):

Expand All @@ -67,3 +73,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
3 changes: 3 additions & 0 deletions tests/data/testframeworks/uninstantiableframework.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class InheritedFromUninstantiable(Uninstantiable):

Expand Down
6 changes: 6 additions & 0 deletions tests/data/testframeworks/withcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkB(umake.frameworks.BaseFramework):

Expand All @@ -53,3 +56,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
6 changes: 6 additions & 0 deletions tests/data/testframeworks/withoutcategory.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def setup(self, install_path=None, auto_accept_license=False):
def remove(self):
super().remove()

def depends(self):
super().depends()


class FrameworkFreeB(umake.frameworks.BaseFramework):

Expand All @@ -47,3 +50,6 @@ def setup(self, install_path=None, auto_accept_license=False):

def remove(self):
super().remove()

def depends(self):
super().depends()
Loading