# Path: l2tscaffolder/definitions/interface.py
# class ScaffolderDefinition:
#   NAME = definitions.DEFINITION_UNDEFINED
#   def ValidatePath(self, root_path: str) -> bool:
# 
# Path: l2tscaffolder/definitions/manager.py
# class DefinitionManager:
#   def DeregisterDefinition(
#       cls, definition_class: Type[interface.ScaffolderDefinition]):
#   def GetDefinitionByName(
#       cls, name: str) -> Type[interface.ScaffolderDefinition]:
#   def GetDefinitionNames(cls) -> Iterator[str]:
#   def GetDefinitionObjects(cls) -> Iterator[interface.ScaffolderDefinition]:
#   def RegisterDefinition(
#       cls, definition_class: Type[interface.ScaffolderDefinition]):


import unittest
from l2tscaffolder.definitions import interface
from l2tscaffolder.definitions import manager

    Returns:
      bool: true if the path contains 'gold'.
    """
    if 'gold' in root_path:
      return True

    return False


class SilverTestProject(interface.ScaffolderDefinition):
  """Test project."""

  NAME = 'silver'

  def ValidatePath(self, root_path: str) -> bool:
    """Validates the path to the root directory of the project.

    Args:
      root_path (str): path to a project source tree.

    Returns:
      bool: true if the path contains 'gold'.
    """
    if 'silver' in root_path:
      return True

    return False



# Path: l2tscaffolder/definitions/interface.py
# class ScaffolderDefinition:
#   NAME = definitions.DEFINITION_UNDEFINED
#   def ValidatePath(self, root_path: str) -> bool:
# 
# Path: l2tscaffolder/definitions/manager.py
# class DefinitionManager:
#   def DeregisterDefinition(
#       cls, definition_class: Type[interface.ScaffolderDefinition]):
#   def GetDefinitionByName(
#       cls, name: str) -> Type[interface.ScaffolderDefinition]:
#   def GetDefinitionNames(cls) -> Iterator[str]:
#   def GetDefinitionObjects(cls) -> Iterator[interface.ScaffolderDefinition]:
#   def RegisterDefinition(
#       cls, definition_class: Type[interface.ScaffolderDefinition]):


# Path: tests/definitions/manager.py
import unittest
from l2tscaffolder.definitions import interface
from l2tscaffolder.definitions import manager


    Returns:
      bool: true if the path contains 'gold'.
    """
    if 'gold' in root_path:
      return True

    return False


class SilverTestProject(interface.ScaffolderDefinition):
  """Test project."""

  NAME = 'silver'

  def ValidatePath(self, root_path: str) -> bool:
    """Validates the path to the root directory of the project.

    Args:
      root_path (str): path to a project source tree.

    Returns:
      bool: true if the path contains 'gold'.
    """
    if 'silver' in root_path:
      return True

    return False



class FailingTestProject(interface.ScaffolderDefinition):